FreeRTOS-Kernel/FreeRTOS/Demo/AVR_ATmega328PB_Xplained_mini_GCC
RichardBarry a9680a54cf
Fix warnings after moving callback prototypes (#208)
* Recently the prototypes for the application hook functions were
moved out of the kernel .c files and into the .h files.  That
changes results in compile time warnings for projects that provide
hook functions with a slightly different prototype - in particular
where signed char * is used in place of just char * as an older
FreeRTOS coding convention required chars to be explicitly qualified
as signed or unsigned.

This checkin fixes the warnings by ensuring the signature of
implemented hook functions matches the signature of the prototypes.
2020-08-27 00:40:47 -07:00
..
RTOSDemo Fix warnings after moving callback prototypes (#208) 2020-08-27 00:40:47 -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