-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework examples to use csolution layers
- Loading branch information
1 parent
92f4016
commit 7f1f395
Showing
183 changed files
with
19,599 additions
and
27,382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "CM0", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm FVP::MPS2_Cortex_M0::Bare Metal Debug::Bare Metal Debug::Cortex-M0", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM0/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM0plus", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm FVP::MPS2_Cortex_M0plus::Bare Metal Debug::Bare Metal Debug::Cortex-M0+", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM0plus/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM3", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm FVP::MPS2_Cortex_M3::Bare Metal Debug::Bare Metal Debug::Cortex-M3", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM3/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM4", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm FVP::MPS2_Cortex_M4::Bare Metal Debug::Bare Metal Debug::Cortex-M4", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM4/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM7", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm FVP::MPS2_Cortex_M7::Bare Metal Debug::Bare Metal Debug::Cortex-M7", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM7/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM23", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm FVP::MPS2_Cortex_M23::Bare Metal Debug::Bare Metal Debug::Cortex-M23_0", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM23/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM23_noTZ", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm FVP::MPS2_Cortex_M23::Bare Metal Debug::Bare Metal Debug::Cortex-M23_0", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM23_noTZ/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM33", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm FVP::MPS2_Cortex_M33::Bare Metal Debug::Bare Metal Debug::Cortex-M33_0", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM33/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM33_noTZ", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm FVP::MPS2_Cortex_M33::Bare Metal Debug::Bare Metal Debug::Cortex-M33_0", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM33_noTZ/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM55", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm SubSystem FVP::Corstone SSE-300 Ethos-U55 (MPS3)::Bare Metal Debug::Bare Metal Debug::Cortex-M55", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM55/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM55_noTZ", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm SubSystem FVP::Corstone SSE-300 Ethos-U55 (MPS3)::Bare Metal Debug::Bare Metal Debug::Cortex-M55", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM55_noTZ/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM85", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm SubSystem FVP::Corstone SSE-310 Ethos-U55 (MPS3)::Bare Metal Debug::Bare Metal Debug::Cortex-M85", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM85/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
}, | ||
{ | ||
"name": "CM85_noTZ", | ||
"type": "arm-debugger.fvp", | ||
"request": "launch", | ||
"program": "${command:arm-debugger.getApplicationFile}", | ||
"cdbEntry": "Arm SubSystem FVP::Corstone SSE-310 Ethos-U55 (MPS3)::Bare Metal Debug::Bare Metal Debug::Cortex-M85", | ||
"fvpParameters": "\"${workspaceFolder}\"/Target/CM85_noTZ/fvp_config.txt", | ||
"debugFrom": "Reset_Handler" | ||
} | ||
] | ||
} |
35 changes: 35 additions & 0 deletions
35
CMSIS/RTOS2/FreeRTOS/Examples/App/Hello/Hello.cproject.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
project: | ||
description: Hello World example | ||
|
||
packs: | ||
- pack: ARM::CMSIS@>=6.0.0-0 | ||
- pack: ARM::Cortex_DFP | ||
- pack: ARM::CMSIS-FreeRTOS | ||
- pack: ARM::CMSIS-View | ||
|
||
components: | ||
- component: ARM::CMSIS:CORE | ||
- component: ARM::CMSIS:OS Tick | ||
- component: ARM::CMSIS:RTOS2:FreeRTOS | ||
- component: ARM::CMSIS-View:Event Recorder&Semihosting | ||
|
||
- component: ARM::RTOS&FreeRTOS:Core&Cortex-M | ||
- component: ARM::RTOS&FreeRTOS:Config&CMSIS RTOS2 | ||
- component: ARM::RTOS&FreeRTOS:Event Groups | ||
- component: ARM::RTOS&FreeRTOS:Heap&Heap_4 | ||
- component: ARM::RTOS&FreeRTOS:Timers | ||
|
||
groups: | ||
- group: Documentation | ||
files: | ||
- file: README.md | ||
- group: Application | ||
files: | ||
- file: hello.c | ||
- group: Board | ||
files: | ||
- file: main.c | ||
|
||
layers: | ||
- layer: $Target-Layer$ | ||
type: Target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Hello World Application | ||
This example prints "Hello World" and a counter value via the standard output. It | ||
can be used as a starting point when developing new applications. | ||
|
||
### Functionality | ||
The application initializes CMSIS-RTOS2, creates the main application thread and starts | ||
the RTOS scheduler. The application thread increments a counter and outputs it together | ||
with the counter value. | ||
|
||
### Output | ||
The "Hello World" string, along with the counter value, is output via printf and | ||
retargeted to the debug console. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.