mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-08-03 11:56:07 -04:00
Initial ATmega2560 support
This commit is contained in:
parent
54411a44fc
commit
f1e4ada1ca
3 changed files with 1517 additions and 2 deletions
11
Makefile
11
Makefile
|
@ -31,3 +31,14 @@ release-tbeam:
|
|||
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.partitions.bin build/rnode_firmware_latest_tbeam.partitions
|
||||
zip --junk-paths ./Precompiled/rnode_firmware_latest_tbeam.zip ./Precompiled/esptool/esptool.py build/rnode_firmware_latest_tbeam.boot_app0 build/rnode_firmware_latest_tbeam.bin build/rnode_firmware_latest_tbeam.bootloader build/rnode_firmware_latest_tbeam.partitions
|
||||
rm -r build
|
||||
|
||||
firmware-mega2560:
|
||||
arduino-cli compile --fqbn arduino:avr:mega
|
||||
|
||||
release-mega2560:
|
||||
arduino-cli compile --fqbn arduino:avr:mega -e
|
||||
cp build/arduino.avr.mega/RNode_Firmware.ino.hex Precompiled/rnode_firmware_latest_m2560.hex
|
||||
rm -r build
|
||||
|
||||
upload-mega2560:
|
||||
arduino-cli upload -p /dev/ttyUSB0 --fqbn arduino:avr:mega
|
Loading…
Add table
Add a link
Reference in a new issue