I haven't used C since university, and haven't coded for microcontrollers ever. Read: the code might be really bad.
Check out src/settings.h
for actual settings and src/common_defs.h
for constants.
- Install CMake
- Prepare project with
mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" .. && cd ..
- Run
cmake --build build
- Connect the controller to USB port
- Install
c45b
bootloader frontend - Uncomment the
flash(...)
line inCMakeLists.txt
- Update device name with your USB serial port connected to the controller
- Build the project
Use screen /dev/cu.usbserial-AI1WX4XP 19200
but use your USB serial port
instead of cu.usbserial-AI1WX4XP
. Ctrl+a+\
to exit, just in case.
S. Burenkov for awesome controllers and open source library for them.