Skip to content
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

[Nightly] Malformed board options error. #1329

Closed
ScaredyCat opened this issue Jun 20, 2021 · 4 comments
Closed

[Nightly] Malformed board options error. #1329

ScaredyCat opened this issue Jun 20, 2021 · 4 comments

Comments

@ScaredyCat
Copy link

ScaredyCat commented Jun 20, 2021

Bug Report

esp32:esp32 and esp8266:esp8266 cores installed via core install but an error is generated during board list and no boards are discovered. There are currently 2 network connected esp32 boards both supporting OTA which works flawlessly from the IDE.

Current behavior

$arduino-cli board list
arduino-cli board list
Downloading missing tool builtin:[email protected]...
builtin:[email protected] downloaded
Installing builtin:[email protected]...
builtin:[email protected] installed
Error initializing instance: loading platform release esp8266:[email protected]: loading boards: skipping loading of boards esp8266:esp8266:espduino: malformed custom board options
Port Type Board Name FQBN Core
/dev/cu.Bluetooth-Incoming-Port Serial Port Unknown
/dev/cu.SLAB_USBtoUART Serial Port (USB) Unknown

Expected behavior

List discoverable boards, similar to those IDE v1 port menu. Allow flashing over the network to one of those boards.

Environment

  • CLI version (output of arduino-cli version): arduino-cli alpha Version: nightly-20210620 Commit: 2173c12 Date: 2021-06-20T01:25:39Z
  • OS and platform: MacOS Mojave 10.14.6 18.7.0 Darwin Kernel Version 18.7.0: Tue Jan 12 22:04:47 PST 2021; root:xnu-4903.278.56~1/RELEASE_X86_64 x86_64

Additional context

This does not happen with version 0.18.3

./arduino-cli version
arduino-cli alpha Version: 0.18.3 Commit: d710b64 Date: 2021-05-14T12:36:58Z

./arduino-cli board list
Port Type Board Name FQBN Core
/dev/cu.Bluetooth-Incoming-Port Serial Port Unknown
/dev/cu.SLAB_USBtoUART Serial Port (USB) Unknown

@per1234
Copy link
Contributor

per1234 commented Jun 20, 2021

Here's the change that now prevents loading any board with "malformed custom board options":
#1326

@silvanocerza
Copy link
Contributor

I opened a PR on the esp8266 repo to fix this. I'll close this issue after esp8266/Arduino#8153 is merged.
Thanks for the report @ScaredyCat.

@silvanocerza
Copy link
Contributor

That PR has been merged, the fix will be probably released with [email protected].
https:/esp8266/Arduino/milestone/23

Guess I'll close this issue when that version is released in case other people have the same issue.

@silvanocerza
Copy link
Contributor

[email protected] has been released on June 26, closing this PR.
https:/esp8266/Arduino/releases/tag/3.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants