Skip to content

ucayalifish/cmake-avr-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake AVR Project Template

This is a project template for using the avr-gcc toolchain with cmake.

What's included?

  • AVR cmake toolchain file
  • Template CMakeLists.txt file
  • CMake module to find Arduino Core TODO

Requirements

  • AVR toolchain installed on your system

Flashing

  • uses avrdude

You can specify upload options when you generate your cmake project (Or just use the defaults).

~$ cd build
~$ cmake .. -DAVR_UPLOAD_BUAD=115200 -DAVR_UPLOAD_PORT=/dev/ttyACM0

And flash the device with:

~$ make flash-targetname

About

cmake avr-gcc toolchain project template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 86.5%
  • C 10.6%
  • C++ 2.9%