An experiment to write firmware for the Ergodox EZ using the latest C++ features.
Check out build_avr_gcc.sh to see how I built the AVR toolchain.
Install bazel and build everything like so:
bazel build -c opt //...
To build for AVR you need to specify the --cpu
argument:
bazel build -c opt --cpu=avr //...
For YouCompleteMe integration create a symlink to contrib/ycm_extra_conf.py to the top-level of the repo.
ln -s contrib/ycm_extra_conf.py .ycm_extra_conf.py
Note the fact that you're creating a hidden file here.