Files
SDK_SG200x_V2/freertos/Demo/AVR_ATmega328PB_Xplained_mini_GCC
carbon 0545e9dc6d init version 2024-05-07
commit d1edce71135cc6d98c0a4b5729774542b676e769
Author: sophgo-forum-service <forum_service@sophgo.com>
Date:   Fri Mar 15 16:07:33 2024 +0800

    [fix] recommend using ssh method to clone repo.
    [fix] fix sensor driver repo branch name.
2024-05-07 19:36:36 +08:00
..
2024-05-07 19:36:36 +08:00
2024-05-07 19:36:36 +08: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