mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-28 08:16:15 -04:00
* 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. |
||
|---|---|---|
| .. | ||
| RTOSDemo | ||
| AVR_ATmega328PB_Xplained_mini_GCC.atsln | ||
| readme.md | ||
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
- Board details https://www.microchip.com/DevelopmentTools/ProductDetails/atmega328pb-xmini
- Development environment https://www.microchip.com/mplab/avr-support/atmel-studio-7