Skip to content

bazel workspace for cross-compiling to microcontroller architectures (so far only AVR)

Notifications You must be signed in to change notification settings

schmist/bazel-mcu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCU workspace for bazel

to build the app and produce an elf file run

bazel build //app --config 328p

to convert the app elf file to a hex file run

bazel build //app:hex --config 328p

to flash the app to your device run

bazel build //app:flash --config 328p

You need to have avr-gcc installed. Change toolchain/CROSSTOOL to fit your installation path. To add support for a different AVR CPU, add a new config to tools/bazel.rc.

About

bazel workspace for cross-compiling to microcontroller architectures (so far only AVR)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published