-
Notifications
You must be signed in to change notification settings - Fork 16
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
Buid.link error: bad value #9
Comments
This does not look correct: when i update the platformio.ini file to the latest arduino version, this is the output:
Try deleting the files in the .pio folder, this will let platformio re-download packages here is my current platformio.ini file for this project:
|
Short: In more detail.
After changing the platformio.ini file to this content:
The proper arduino framework seems to be used, i.e. However, I get the error More details:
I also tested with esptool.py upgraded to version 4.4.0by including the line directly below in platformio.ini, but the error did not go away: |
After running the build command with the More details:
These files seem to have been copied from https://github.com/espressif/arduino-esp32/tree/master/tools/sdk/esp32/bin, Just issuing the 'Build' command results in:
and indeed, after copying The crucial line is:
|
The error may be related to this change, committed 2 days ago: |
And indeed, changing the line that specifies the platform in
So, it seems commit specified in platformio/platform-espressif32@d0835e9 that is currently in the develop branch is needed to compile the firmware properly!? |
The fix is incorporatedin release v6.0.0 of the espressif32 platform So, after pulling v6.0.0 from GitHub, in platform.ini for the platfrm line, you can now simply use the line and then the issue is gone. |
Thanks for debugging this issue. platform = espressif32 did not work for me.
did install the correct platform, framework and esptool |
I got a
bad value
error while during linkingfirmware.elf
after cloning this repo yesterday, doing a 'clean all' and building this repo using Visual Studio Code (v1.74.2), PlatformIO (Core: 6.1.5; Home 3.4.3) and Windoes 11 Education (v21H2). I also get the same error when I change the platform line in platromio.ini to espressif32. Similarly, I also get the same error when compiling the source code in the v2.0.0 release. More details below.What could be the problem here?
...
I also tried the solution mentioned in SmartEVSE-3/issues/36, but that did not help either:
...
I also get the same error when compiling the source code in the v2.0.0 release:
...
The text was updated successfully, but these errors were encountered: