mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2024-07-02 14:34:13 +02:00
Initial ATmega2560 support
This commit is contained in:
parent
54411a44fc
commit
f1e4ada1ca
4
Config.h
4
Config.h
@ -67,8 +67,8 @@
|
|||||||
|
|
||||||
#define BOARD_MODEL BOARD_HMBRW
|
#define BOARD_MODEL BOARD_HMBRW
|
||||||
|
|
||||||
#define CONFIG_UART_BUFFER_SIZE 2048
|
#define CONFIG_UART_BUFFER_SIZE 1024
|
||||||
#define CONFIG_QUEUE_SIZE 2048
|
#define CONFIG_QUEUE_SIZE 4096
|
||||||
#define CONFIG_QUEUE_MAX_LENGTH 80
|
#define CONFIG_QUEUE_MAX_LENGTH 80
|
||||||
|
|
||||||
#define EEPROM_SIZE 4096
|
#define EEPROM_SIZE 4096
|
||||||
|
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
|
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
|
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
|
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
|
1504
Precompiled/rnode_firmware_latest_m2560.hex
Normal file
1504
Precompiled/rnode_firmware_latest_m2560.hex
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user