mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-22 01:30:31 -05:00
* Cortex M3 MPS2: fix alignment warning from assembler Fix assembler alignment warnings for Cortex M3 MPS2: Warning: section does not have enough alignment to ensure safe PC-relative loads Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| build | ||
| CMSIS | ||
| FreeRTOSConfig.h | ||
| Instructions.url | ||
| IntQueueTimer.c | ||
| IntQueueTimer.h | ||
| main.c | ||
| main_blinky.c | ||
| main_full.c | ||
| Readme.md | ||
Running with VSCode Launch Configurations
Prerequisites
- Install C/C++ extension in VSCode.
- Install arm-none-eabi-gcc.
- Install GNU make utility.
- Ensure the required binaries are in PATH with
arm-none-eabi-gcc --version,arm-none-eabi-gdb --version, andmake --version.
Building and Running
- Open VSCode to the folder
FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC. - Open
.vscode/launch.json, and ensure themiDebuggerPathvariable is set to the path where arm-none-eabi-gdb is on your machine. - Open
main.c, and setmainCREATE_SIMPLE_BLINKY_DEMO_ONLYto1to generate just the simply blinky demo. - On the VSCode left side panel, select the “Run and Debug” button. Then select “Launch QEMU RTOSDemo” from the dropdown on the top right and press the play button. This will build, run, and attach a debugger to the demo program.