Closed ayh20 closed 1 year ago
There were some changes to config.h, that added some new options. Try comparing your config.h to the latest config.h. It appears you might not have a valid locale defined.
I recently changed the capitalization of the locales. Check to see if this is the issue.
i.e. EN_US -> en_US
Yes, user error ;-) .. thanks, so much for the fast response.
Apologies for opening this as it may be something environmental. I've been running the project for a while and love it.
I've just made up a new case and in the process was swapping to a new Firebeetle, so thought i should do an update from Github. Unfortunately, it's now failing to build and i can't see why. It seems to be to do with resource references in some of the source files but everything seems to be set up as i'd expected. I've even tried playing with the LDF loader settings, creating a new PIO project, but so far no luck.
Sample error: c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/_strftime.cpp.o:(.literal._Z9_strftimePcjPKcPK2tm+0x10): undefined reference to `LC_ABDAY'
Hopefully, I'm just being dense but not being a CPP programmer and new to the ESP32 platform I'm struggling to understand why it's stopped working
Thanks for any insight anyone can offer ....
Full log:
Processing dfrobot_firebeetle2_esp32e (platform: espressif32; board: dfrobot_firebeetle2_esp32e; framework: arduino) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/dfrobot_firebeetle2_esp32e.html PLATFORM: Espressif 32 (6.1.0) > DFRobot Firebeetle 2 ESP32-E HARDWARE: ESP32 80MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)PACKAGES:
LC_ABDAY' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/_strftime.cpp.o:(.literal._Z9_strftimePcjPKcPK2tm+0x14): undefined reference to
LC_DAY' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/_strftime.cpp.o:(.literal._Z9_strftimePcjPKcPK2tm+0x18): undefined reference toLC_ABMON' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/_strftime.cpp.o:(.literal._Z9_strftimePcjPKcPK2tm+0x1c): undefined reference to
LC_MON' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/_strftime.cpp.o:(.literal._Z9_strftimePcjPKcPK2tm+0x20): undefined reference toLC_D_T_FMT' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/_strftime.cpp.o:(.literal._Z9_strftimePcjPKcPK2tm+0x5c): undefined reference to
LC_AM_STR' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/_strftime.cpp.o:(.literal._Z9_strftimePcjPKcPK2tm+0x60): undefined reference toLC_PM_STR' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/_strftime.cpp.o:(.literal._Z9_strftimePcjPKcPK2tm+0x64): undefined reference to
LC_T_FMT_AMPM' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/_strftime.cpp.o:(.literal._Z9_strftimePcjPKcPK2tm+0x74): undefined reference toLC_D_FMT' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/_strftime.cpp.o:(.literal._Z9_strftimePcjPKcPK2tm+0x78): undefined reference to
LC_T_FMT' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/client_utils.cpp.o:(.literal._Z13getOWMonecallR10WiFiClientR16owm_resp_onecall+0x1c): undefined reference toOWM_LANG' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z17getRefreshTimeStrR6StringbP2tm+0x0): undefined reference to
TXT_UNKNOWN' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z10getUVIdescj+0x0): undefined reference toTXT_UV_LOW' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z10getUVIdescj+0x4): undefined reference to
TXT_UV_MODERATE' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z10getUVIdescj+0x8): undefined reference toTXT_UV_HIGH' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z10getUVIdescj+0xc): undefined reference to
TXT_UV_VERY_HIGH' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z10getUVIdescj+0x10): undefined reference toTXT_UV_EXTREME' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z11getWiFidesci+0x0): undefined reference to
TXT_WIFI_NO_CONNECTION' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z11getWiFidesci+0x4): undefined reference toTXT_WIFI_EXCELLENT' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z11getWiFidesci+0x8): undefined reference to
TXT_WIFI_GOOD' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z11getWiFidesci+0xc): undefined reference toTXT_WIFI_FAIR' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/display_utils.cpp.o:(.literal._Z11getWiFidesci+0x10): undefined reference to
TXT_WIFI_WEAK' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x0): undefined reference toTXT_UNITS_TEMP_CELSIUS' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0xc): undefined reference to
TXT_FEELS_LIKE' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x3c): undefined reference toTXT_SUNRISE' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x40): undefined reference to
TXT_WIND' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x44): undefined reference toTXT_UV_INDEX' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x48): undefined reference to
TXT_AIR_QUALITY_INDEX' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x4c): undefined reference toTXT_INDOOR_TEMPERATURE' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x50): undefined reference to
TXT_SUNSET' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x54): undefined reference toTXT_HUMIDITY' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x58): undefined reference to
TXT_PRESSURE' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x5c): undefined reference toTXT_VISIBILITY' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x60): undefined reference to
TXT_INDOOR_HUMIDITY' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x68): undefined reference toTXT_UNITS_SPEED_MILESPERHOUR' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x70): undefined reference to
TXT_UNITS_PRES_MILLIBARS' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/src/renderer.cpp.o:(.literal._Z21drawCurrentConditionsR11owm_currentR9owm_dailyR22owm_resp_air_pollutionff+0x74): undefined reference toTXT_UNITS_DIST_MILES' c:/users/ayh20.000/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/dfrobot_firebeetle2_esp32e/libfe5/libpollutant-concentration-to-aqi.a(aqi.c.o):(.literal.united_kingdom_daqi_desc+0x0): undefined reference to
UNITED_KINGDOM_DAQI_TXT' collect2.exe: error: ld returned 1 exit status *** [.pio\build\dfrobot_firebeetle2_esp32e\firmware.elf] Error 1`