Intended for use with an ATmega328P device, such as the Gelid Solutions CODI6, available here. A list of complimentary ARGB products is here.
The FreeRTOS version of the project is now deprecated due to its lack of granular task scheduling.
Notes:
- The script files must be run first.
patch.batwill add some missing#includestatements to the relevant files.update_subs.batwill pull the latest changes for each submodule.- Unix shell scripts are provided as an alternative.
- Atmel Studio (now Microchip Studio) version 7.0.2542 is here.
- Atmel ATmega Device Pack version 2.0.401 is here.
- Install it in Atmel Studio with
Tools (Alt + T) -> Device Pack Manager -> Install -> Browse pack file.
- Install it in Atmel Studio with
- AVR-GCC version 11.1.0 is here.
- Unzip it somewhere accessible (i.e.
C:\opt). - Add AVR-GCC to Atmel Studio with
Tools (Alt + T) -> Options (O) -> Toolchain -> Package Configuration.- Select
Toolchains: Atmel AVR 8-bit (C language) -> Add Flavour. - Package Name:
avr-gcc-11.1.0-x64-windows. - Package Base Path:
binfolder in wherever AVR-GCC was unzipped (i.e.C:\opt\avr-gcc-11.1.0-x64-windows\bin). - Repeat for
Atmel AVR 8-bit (CPP language).
- Select
- Add Make with
Tools (Alt + T) -> Options (O) -> Builder -> GNU make.- Select
ShellUtils Packages: Custom. - Path: leave default (i.e.
C:\Program Files (x86)\Atmel\Studio\7.0\shellutils). - Path to make:
make.exewithin thebinfolder (i.e.C:\opt\avr-gcc-11.1.0-x64-windows\bin\make.exe).
- Select
- Add AVRDUDE with
Tools (Alt + T) -> External Tools (E) -> Add- Title:
avrdude - Command:
avrdude.exewithin thebinfolder (i.e.C:\opt\avr-gcc-11.1.0-x64-windows\bin\avrdude.exe). - Arguments:
-carduino -patmega328p -b115200 -D -Uflash:w:"$(TargetName).hex":i -C"C:\opt\avr-gcc-11.1.0-x64-windows\bin\avrdude.conf -PCOM#"- Adjust
-PCOM#for the relevantCOMport (i.e.-PCOM4). - Adjust
-C"C:\opt\avr-gcc-11.1.0-x64-windows\bin\avrdude.conf"for the location ofavrdude.conf.
- Adjust
- Initial directory:
$(TargetDir) - Tick the box next to
Use Output window.
- Title:
- Build output will no longer show
Program Memory UsageorData Memory Usage. However,avr-size.exewill give the size in bytes of thetext,data, andbssmemory sections; information about AVR memory sections is here. - Debugging via the Atmel Studio Simulator, with or without GDB, will no longer work. An alternative external simulator, AVRSimV2, is here.
- If use of the Atmel Studio Simulator is absolutely necessary, then
Toolchain FlavourunderProject Properties (Alt + F7) -> Advancedmust be reverted toNativefor each project in the dependency tree.
- If use of the Atmel Studio Simulator is absolutely necessary, then
- Unzip it somewhere accessible (i.e.