Linking fails with latest arduino-esp32
See original GitHub issueHello together, with the latest arduino-esp32, I’m getting linker errors with platform-espressif32. Compilation in Arduino with the same arduino-esp32 works fine (https://pastebin.com/Z6XaJUUz). The errors with PIO: https://pastebin.com/q96pXzrm
The environment:
[env:demo_env]
platform = espressif32
board = esp-wrover-kit
upload_protocol = esptool
monitor_speed = 115200
framework = arduino
monitor_filers = esp32_exception_decoder
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
OS is Linux Mint 19.3
This does not happen when using the default framework-arduinoespressif32. Unfortunately, due to #298 that’s not a solution for me.
Best regards margau
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
ESP32 Troubleshooting Guide | Random Nerd Tutorials
When you try to upload a new sketch to your ESP32 and it fails to connect to your board, it means that your...
Read more >A fatal error occurred: Failed to connect to ESP32 - Voltlog #357
High quality PCB Services https://pcbway.com “A fatal error occurred: Failed to connect to ESP32 : Timed out waiting for packet header” This ...
Read more >[SOLVED] Can't connect Arduino IDE with ESP32
This is the First time that I try to use the arduino IDE with a new ESP32 WROOM-S2 (38 pins). I can't connect...
Read more >ESP32 Error When Compiling - Arduino Forum
Select File > Preferences from the Arduino IDE's menus. · Click the link on the line following "More preferences can be edited directly...
Read more >Problems to connect Arduino IDE with ESP32
A fatal error occurred: Failed to connect to ESP32: Timed out ... You'll either have a new port in the list if you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Another Update: Workaround is adding
board_build.ldscript = esp32_out.ld
(or other ldscript) manually to the build-env - the root cause (config.build.arduino.ldscript not used when using framework-arduinoespressif32 as custom platform package) I haven’t found yet.@valeros, could you take a look at this part of configuration? Thanks!
Hi @margau ! There is a pending PR https://github.com/espressif/arduino-esp32/pull/3735 with changes required to work with the upstream Arduino for ESP32. You can try to add that two lines from the PR to the freshly pulled package and should work.