rfaass
December 19, 2021, 8:54pm
1
I like to program a m%stack Atom NB IOT...
I tried in preferences/additional boards the following url:
https://dl.espressif.com/dl/package_esp32_index.json
https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json
No additional boards show up, even after restart and re-install of IDE 2.0
What am I doing wrong?
After adding the json file links did you use the Boards Manager to actually install the boards ?
rfaass
December 19, 2021, 10:08pm
3
The boards did not show up in the boards manager...
But it showed up under the board selection, then asked to install the board manager file manually, which it did, got the board selected with a yellow exclation mark but now I tried an example and got the following error:
Compilation error: Missing FQBN (Fully Qualified Board Name)}
Selected M5Stick-C and it works...
Thank you for the help here.
This bug is being tracked by the Arduino IDE developers here:
opened 09:31PM - 26 Nov 21 UTC
closed 07:04AM - 08 Jul 22 UTC
conclusion: resolved
topic: code
type: imperfection
## Describe the bug
In order to [install a 3rd party boards platform via Boar… ds Manager](https://www.arduino.cc/en/guide/cores), the user must first add its [package index](https://arduino.github.io/arduino-cli/dev/package_index_json-specification/) URL to the Arduino IDE's **File > Preferences > Additional Boards Manager URLs** field.
🐛 After doing that, they will open Boards Manager and expect to find the platforms from that package index listed in addition to the default platforms of [the primary official package index](https://downloads.arduino.cc/packages/package_index.json), as it works in the classic IDE. However, those platforms will not be shown because the Arduino IDE never downloaded the new package index after the user added its URL to the preferences. The user must restart the IDE in order to trigger the package index download.
## To Reproduce
1. If present, delete the following:
- `<directories.data>/package_esp32_index.json`
- `<directories.data>/packages/esp32/hardware/`
1. Start the Arduino IDE.
1. Select **File > Preferences** from the Arduino IDE menus.
1. Add the following URL:
```
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
```
(The issue is not specific to this package index. I just picked an arbitrary one for the sake of the demo.)
1. Click the <kbd>OK</kbd> button.
1. Watch `directories.data` for some time.
🐛 Note that the expected `package_esp32_index.json` file never appeared.
1. Open Boards Manager
1. Watch `directories.data` for some time.
🐛 Note that the expected `package_esp32_index.json` file never appeared.
1. Look for the expected "**esp32 by Espressif Systems**" platform in the Boards Manager offerings.
🐛 Note that it is not present.
1. Select **File > Quit** from the Arduino IDE menus.
1. Start the Arduino IDE.
1. Watch `directories.data`.
🙂 Note that the `package_esp32_index.json` file now appears.
1. Open Boards Manager
1. Look for the expected "**esp32 by Espressif Systems**" platform in the Boards Manager offerings.
🙂 Note that it is now present.
## Expected behavior
Package index is downloaded after adding a new URL to **File > Preferences > Additional Boards Manager URLs**.
## Desktop
- OS: Windows 10, Ubuntu 20.04
- Version: 2.0.0-beta.12-snapshot.a090dfe
Date: 2021-11-25T17:24:00.480Z
CLI Version: 0.20.0 [553c6375]
This is meant by the IDE to communicate that the board could not be automatically identified from the port. That is a normal and expected state of affairs for a board like the M5Stack that uses a general purpose USB chip without a custom VID/PID pair. It only means that you must select the correct port yourself.
I'm glad to hear it!
system
Closed
June 18, 2022, 2:09am
5
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.