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

Error loading hardware platform (ESP8266) error when installing mbed Portenta core #1864

Closed
3 tasks done
aliphys opened this issue Sep 6, 2022 · 1 comment
Closed
3 tasks done
Assignees
Labels
conclusion: invalid Issue/PR not valid type: imperfection Perceived defect in any part of project

Comments

@aliphys
Copy link

aliphys commented Sep 6, 2022

Describe the problem

When installing the mbed_portenta core, an error message is displated regarding the ESP8266 having malformed custom board options. Does not noticablely affect the operation with a Portenta board otherwise.

To reproduce

  1. Open Windows PowerShell (non-adminsistrator)
  2. Provide permissions for the Scoop installer Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
  3. Install the latest arduino IDE via scoop scoop install arduino-cli (in this case, 0.27.0)
  4. Update the CLI index then install the mbed_portenta core arduino-cli core install arduino:mbed_portenta
  5. The following message is displayed
Downloading missing tool builtin:[email protected]...
builtin:[email protected] downloaded
Installing builtin:[email protected]...
builtin:[email protected] installed
Error initializing instance: Error loading hardware platform: loading platform release esp8266:[email protected]: loading boards: skipping loading of boards esp8266:esp8266:espduino: malformed custom board options
Error initializing instance: Error loading hardware platform: loading platform release esp8266:[email protected]: loading boards: skipping loading of boards esp8266:esp8266:espduino: malformed custom board options

Expected behavior

No messages about the ESP8266 would show up.

Arduino CLI version

0.27.0

Operating system

Windows

Operating system version

Windows 10

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details
@aliphys aliphys added the type: imperfection Perceived defect in any part of project label Sep 6, 2022
@per1234
Copy link
Contributor

per1234 commented Sep 6, 2022

Hi @aliphys. As reported by Arduino CLI, there is a problem with the version of the ESP8266 boards platform you have installed.

That problem was fixed last year, so you must have an outdated version of the platform installed on your computer:

esp8266/Arduino#8153

You will no longer get the error if you update to esp8266:[email protected]

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2022
@per1234 per1234 self-assigned this Sep 6, 2022
@per1234 per1234 added the conclusion: invalid Issue/PR not valid label Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants