Closed coldfire100 closed 1 year ago
Hi Mark,
Yeah go ahead and share your full output. Additionally, can you confirm what esp32 board you are using?
-Luke
Hi Luke Sorry for the late response. The board the is DF Robot Firebeetle2. I have 2 on order. This is a clone of your project. I didn't change anything in the settings. Below is the output from the build.
Executing task: C:\Users\ZZZ.platformio\penv\Scripts\platformio.exe run
Processing dfrobot_firebeetle2_esp32e (board: dfrobot_firebeetle2_esp32e; platform: espressif32 @ 6.1.0; 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:
^~~~~~~~~~~~~~~~
compilation terminated. Compiling .pio\build\dfrobot_firebeetle2_esp32e\src\client_utils.cpp.o Compiling .pio\build\dfrobot_firebeetle2_esp32e\src\config.cpp.o In file included from C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:79, from C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36, from .pio/libdeps/dfrobot_firebeetle2_esp32e/ArduinoJson/src/ArduinoJson.hpp:17, from .pio/libdeps/dfrobot_firebeetle2_esp32e/ArduinoJson/src/ArduinoJson.h:9, from src/api_response.cpp:19: C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-gpio.h:29:10: fatal error: pins_arduino.h: No such file or directory
^~~~~~~~~~~~~~~~
compilation terminated. In file included from C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:79, from C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36, from src/client_utils.cpp:23: C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-gpio.h:29:10: fatal error: pins_arduino.h: No such file or directory
^~~~~~~~~~~~~~~~
compilation terminated. In file included from C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:79, from C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36, from src/config.cpp:19: C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-gpio.h:29:10: fatal error: pins_arduino.h: No such file or directory
^~~~~~~~~~~~~~~~
compilation terminated. Compiling .pio\build\dfrobot_firebeetle2_esp32e\src\display_utils.cpp.o Compiling .pio\build\dfrobot_firebeetle2_esp32e\src\locales\locale_en_gb.cpp.o [.pio\build\dfrobot_firebeetle2_esp32e\src_strftime.cpp.o] Error 1 [.pio\build\dfrobot_firebeetle2_esp32e\src\api_response.cpp.o] Error 1 [.pio\build\dfrobot_firebeetle2_esp32e\src\client_utils.cpp.o] Error 1 [.pio\build\dfrobot_firebeetle2_esp32e\src\config.cpp.o] Error 1 In file included from C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:79, from C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36, from src/display_utils.cpp:20: C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-gpio.h:29:10: fatal error: pins_arduino.h: No such file or directory
^~~~~~~~~~~~~~~~
compilation terminated. *** [.pio\build\dfrobot_firebeetle2_esp32e\src\display_utils.cpp.o] Error 1 In file included from C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:79, from C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36, from include/config.h:23, from src/locales/locale_en_gb.cpp:18: C:/Users/ZZZ/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-gpio.h:29:10: fatal error: pins_arduino.h: No such file or directory
^~~~~~~~~~~~~~~~
compilation terminated. *** [.pio\build\dfrobot_firebeetle2_esp32e\src\locales\locale_en_gb.cpp.o] Error 1 ========================================================================= [FAILED] Took 260.67 seconds =========================================================================
Environment Status Duration
dfrobot_firebeetle2_esp32e FAILED 00:04:20.669 ===================================================================== 1 failed, 0 succeeded in 00:04:20.669 =====================================================================
I have your latest platformio.ini file. Not sure if anything else needs to be updated. If you could take a look at this.
Thanks
Mark
hmmm.. can you see if there are any updates for arduino core or espressif, etc?
Navigate to PlatformIO Home > Platforms > Updates.
Hi Luke I did a bit of research and found a reference to the "arduino.pins.h" error. The suggestions was to delete the folders in the user/.platformio/packages that referenced the esp32.
I wound up deleting the folders:
framework-arduinoespressif32@3.10004.210126 tool-esptoolpy framework-arduinoespressif32 toolchain-xtensa-esp32@8.4.0+2021r2-patch5
I did a clean and rebuild. Lo and behold it compiled without the errors. Any idea why this would have worked?
Anyway, I don't have the boards in yet to test it. They should be here in a couple of weeks. Hopefully all will work.
Thanks for looking into this.
Mark
No idea. Sounds like platformio being buggy, smh. Glad to hear you were able to resolve your issue.
Hi Luke First off, great project nice work! One problem I can't seem to get around is the error "fatal error: pins_arduino.h: No such file or director" I cloned the project from Github and have the latest files and platformio.ini. Any suggestions on where to look for this.
I can post the full output from the build if needed.
I'm pretty new at VsCode and PlatformIO so any help would be much appreciated.
Thanks
Mark