Files
SDK_STM32F302x/kernel/FreeRTOS/Demo/AVR_ATmega328PB_Xplained_mini_GCC
gaoyang3513 a345df017b [修改] 增加freeRTOS
1. 版本FreeRTOSv202212.01,命名为kernel;
2023-05-06 16:43:01 +00:00
..
2023-05-06 16:43:01 +00:00
2023-05-06 16:43:01 +00: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