mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-07-30 01:48:35 -04:00
Add firmware hash calculation to RAK4631 + more
This commit is contained in:
parent
7466b675b0
commit
94828d825b
7 changed files with 199 additions and 27 deletions
|
@ -77,7 +77,13 @@ void setup() {
|
|||
fifo_init(&serialFIFO, serialBuffer, CONFIG_UART_BUFFER_SIZE);
|
||||
|
||||
Serial.begin(serial_baudrate);
|
||||
#if BOARD_MODEL != BOARD_RAK4631
|
||||
// Some boards need to wait until the hardware UART is set up before booting
|
||||
// the full firmware. In the case of the RAK4631, the line below will wait
|
||||
// until a serial connection is actually established with a master. Thus, it
|
||||
// is disabled on this platform.
|
||||
while (!Serial);
|
||||
#endif
|
||||
|
||||
serial_interrupt_init();
|
||||
|
||||
|
@ -1112,7 +1118,7 @@ void validate_status() {
|
|||
if (eeprom_checksum_valid()) {
|
||||
eeprom_ok = true;
|
||||
if (modem_installed) {
|
||||
#if PLATFORM == PLATFORM_ESP32
|
||||
#if PLATFORM == PLATFORM_ESP32 || PLATFORM == PLATFORM_NRF52
|
||||
if (device_init()) {
|
||||
hw_ready = true;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue