mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 01:07:47 -04:00
The line 'Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.'
used to have two spaces between the first and second sentences.
This would cause the header check to fail due to the copyright regex located
|
||
---|---|---|
.. | ||
.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 themiDebuggerPath
variable is set to the path where arm-none-eabi-gdb is on your machine. - Open
main.c
, and setmainCREATE_SIMPLE_BLINKY_DEMO_ONLY
to1
to 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.