FreeRTOS-Kernel/FreeRTOS/Demo/AVR_ATmega328PB_Xplained_mini_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
..
RTOSDemo Revert "Remove coroutines (#874)" (#1019) 2023-06-09 15:25:48 -07:00
AVR_ATmega328PB_Xplained_mini_GCC.atsln ATmega328PB Xplained Mini -- demo project for ATmega port. (#70) 2020-05-27 10:44:03 -07:00
readme.md readme.md for ATmega328PB Xplained Mini. (#76) 2020-05-28 17:05:24 -07:00

Overview

This directory contains a demo project for ATmega328PB Xplained Mini.

ATmega328PB has 2KB SRAM. Thus the number of demo tasks we put in this demo project is very limited. At minimum, these are included for now:

  • register tasks to verify context switch
  • queue consumer-producer tasks to verify kernel primitives
  • an integer math task
  • a user task to blink on-board LED periodically
  • a check task to monitor if all tasks are running

Jump start

To run the demo:

  • Install Atmel Studio IDE.
  • Open project file AVR_ATmega328PB_Xplained_mini_GCC.atsln.
  • Build and debug. Could either debug with simulator or debugWIRE interface.

Note that avrdude can be used to program device as well. Though you'll need to manually add external tool, and it does not have debug capability.

Reference