FreeRTOS-Kernel/FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC
Aniruddha Kanhere 1277ba1661
Revert "Remove coroutines (#874)" (#1019)
* Revert "Remove coroutines (#874)"

This reverts commit 569c78fd8c.

* Update freertos Kernel submodule to latest head

* Remove temporary files

* Fix MingW demos and spell check

* Fix manifest version; fix headers

* Add ignore files and paths to core-checker.py

* Fix copyright in remaining files

* Fix PR check build failure

1. Remove defining `inline` in Makefile. This was causing build
   warnings.
2. Ensure that the linker removed unused functions from various
   compilation units.
3. Update the linker script so that all the functions are correctly
   placed in FLASH section.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-06-09 15:25:48 -07:00
..
.vscode VSCode launch configurations (#820) 2022-06-07 21:21:52 -07:00
build Revert "Remove coroutines (#874)" (#1019) 2023-06-09 15:25:48 -07:00
CMSIS Add a GCC build to the QEMU/IAR project (#728) 2021-12-18 15:11:29 -08:00
FreeRTOSConfig.h Revert "Remove coroutines (#874)" (#1019) 2023-06-09 15:25:48 -07:00
Instructions.url Add a GCC build to the QEMU/IAR project (#728) 2021-12-18 15:11:29 -08:00
IntQueueTimer.c [AUTO][RELEASE]: Bump file header version to "202212.00" 2022-12-10 01:17:30 +00:00
IntQueueTimer.h [AUTO][RELEASE]: Bump file header version to "202212.00" 2022-12-10 01:17:30 +00:00
main.c [AUTO][RELEASE]: Bump file header version to "202212.00" 2022-12-10 01:17:30 +00:00
main_blinky.c [AUTO][RELEASE]: Bump file header version to "202212.00" 2022-12-10 01:17:30 +00:00
main_full.c [AUTO][RELEASE]: Bump file header version to "202212.00" 2022-12-10 01:17:30 +00:00
Readme.md VSCode launch configurations (#820) 2022-06-07 21:21:52 -07:00

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, and make --version.

Building and Running

  1. Open VSCode to the folder FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC.
  2. Open .vscode/launch.json, and ensure the miDebuggerPath variable is set to the path where arm-none-eabi-gdb is on your machine.
  3. Open main.c, and set mainCREATE_SIMPLE_BLINKY_DEMO_ONLY to 1 to generate just the simply blinky demo.
  4. 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.