question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v3.3.2 Does not compile with Arduino

See original GitHub issue

Apologies if this is a duplicate, it seems closely related to: https://github.com/espressif/arduino-esp32/issues/5436

However, I had hoped that the new v3.3.2 release might have resolved this. When trying to compile a blink example, I get this error

Linking .pio/build/esp32-s2/firmware.elf
/Users/calum/.platformio/packages/toolchain-xtensa32s2/bin/../lib/gcc/xtensa-esp32s2-elf/8.4.0/../../../../xtensa-esp32s2-elf/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
*** [.pio/build/esp32-s2/firmware.elf] Error 1

It seems OK when I use platform-espressif32.git#feature/arduino-upstream Is that expected still? Valeros previously said “This workflow is temporary and once the core v2.0 is officially released, everything will get back to normal.”

[env:esp32-s2] ; platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream platform = https://github.com/platformio/platform-espressif32#v3.3.2 board = esp32dev framework = arduino board_build.mcu = esp32s2

platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#2.0.0

upload_port = /dev/cu.usbmodem01

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
Miq1commented, Sep 28, 2021

v3.3.2 was a maintenance release and didn’t include the latest Arduino core. Anyway, we’re working on integrating Arduino core v2.0, so it should be fixed in the dev branch pretty soon.

This statement was a bit bold, so it seems. Are there any predictions as when to expext the 2.0 core integration?

3reactions
valeroscommented, Sep 3, 2021

v3.3.2 was a maintenance release and didn’t include the latest Arduino core. Anyway, we’re working on integrating Arduino core v2.0, so it should be fixed in the dev branch pretty soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Arduino Error - Pastebin.com - Arduino Forum
I'm trying to verify and upload this program to my Teensy 3.2 but it gives this error: This is the .ino file I...
Read more >
Compilation error teensy 3.2 / 3.1 - Arduino Forum
Hello This is my first time using a teensy. I trying too run the script but it is giving me a an error....
Read more >
If your sketch doesn't compile - Arduino Help Center
This will compile the sketch without attempting to upload it. If your error only occurs when uploading, see Errors when uploading a sketch....
Read more >
[solved] compile error swiching from Arduino to Teensy
Hi, I want to port a project from Arduino 2560 to Teensy 3.2 with a 3rd party library SimpleSDAudio. I'm advancing step by...
Read more >
Sketch won't upload to Nano Every, works fine on an Uno
I've built some LED matrices using NeoPixels and have been controlling them with Arduino Unos. When I try to compile or upload the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found