Skip to content

Building from master results in non-running firmware #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
azidoazid opened this issue Mar 15, 2025 · 1 comment
Closed

Building from master results in non-running firmware #66

azidoazid opened this issue Mar 15, 2025 · 1 comment

Comments

@azidoazid
Copy link

Building from master for target e22_esp32 fails with:

fatal error: soc/rtc_wdt.h: No such file or directory 12 | #include "soc/rtc_wdt.h" | ^~~~~~~~~~~~~~~ compilation terminated.

Editing

#include "soc/rtc_wdt.h"

to:
#include "rtc_wdt.h"
resolves this error.

After uploading, OLED is flashing a single line for a split second. Rnodeconf is not detecting rnode.
Output from serial monitor:

Rebooting...
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4688
load:0x40078000,len:15516
load:0x40080400,len:4
load:0x40080404,len:3196
entry 0x400805a4

assert failed: xEventGroupWaitBits event_groups.c:344 (xEventGroup)

Backtrace: 0x40082975:0x3ffd39d0 0x40095335:0x3ffd39f0 0x4009b706:0x3ffd3a10 0x40095e77:0x3ffd3b40 0x400dc0e5:0x3ffd3b70 0x400dc0ff:0x3ffd3b90 0x400d360e:0x3ffd3bb0 0x400d36a4:0x3ffd3bf0 0x400d828f:0x3ffd3c10 0x400ea4e7:0x3ffd3c40 0x400960b2:0x3ffd3c60

ELF file SHA256: 335a4d422

Rebooting...

Trying to compile for a "known good" hardware with lora32_v21 target throws error:

Could not determine ESP32 Bluetooth buffer configuration: [Errno 2] No such file or directory: '/home/$USER/.arduino15/packages/esp32/hardware/esp32/2.0.17/libraries/BluetoothSerial/src/BluetoothSerial.cpp' Please fix this error and try again

but build process finishes. After uploading same behavior as previous hardware.

Library Versions:

SPI 3.1.3
EEPROM 3.1.3
Adafruit GFX Library 1.12.0
Adafruit BusIO 1.17.0
Wire 3.1.3
Adafruit SSD1306 2.5.13
BluetoothSerial 3.1.3
Crypto 0.4.0
FS 3.1.3
SPIFFS 3.1.3
WiFi 3.1.3
Networking 3.1.3
WebServer 3.1.3
SD 3.1.3

Platform Version
esp32:esp32 3.1.3

@azidoazid
Copy link
Author

after scratching my head for several hours, running
make prep-esp32
fixed the issues. Firmware is running. I somehow managed to pull in the wrong versions of the mentioned libs...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant