Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Board manager mixes up packages from different sources #414

Closed
emontnemery opened this issue Sep 24, 2017 · 10 comments
Closed

Board manager mixes up packages from different sources #414

emontnemery opened this issue Sep 24, 2017 · 10 comments
Assignees
Milestone

Comments

@emontnemery
Copy link

With the following settings:

"arduino.additionalUrls": "https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json,
                           http://arduino.esp8266.com/stable/package_esp8266com_index.json"

Board manager mixes up / merges the ESP8266 packages from esp8266.com and sparkfun.
What is shown in board manager is a merged list of supported boards, and version number from esp8266.com package:

SparkFun ESP8266 Boards by SparkFun Electronics
Boards included in this package:
SparkFun Blynk Board - ESP8266, SparkFun ESP8266 Thing, SparkFun ESP8266 Thing - Development Board, 
Generic ESP8266 Module, Olimex MOD-WIFI-ESP8266(-DEV), NodeMCU 0.9 (ESP-12 Module), NodeMCU 1.0 (ESP-12E Module), 
Adafruit HUZZAH ESP8266 (ESP-12), ESPresso Lite 1.0, ESPresso Lite 2.0, Phoenix 1.0, Phoenix 2.0, SparkFun Thing, 
SweetPea ESP-210, WeMos D1, WeMos D1 mini, ESPino (ESP-12 Module), ESPino (WROOM-02 Module), WifInfo, ESPDuino
@liydu liydu added this to the Sprint 133 milestone Feb 9, 2018
@czgtest
Copy link
Contributor

czgtest commented Mar 6, 2018

This is design by Arduino IDE behavior
Repro steps:

  1. only add "Additional Boards Manager URLs" value : thttps://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json
    then select SparkFun in Boards Manager, you can see 'SparkFun ESP8266 Boards by SparkFun Electronics'
    image

  2. Re-set "Additional Boards Manager URLs" value :
    https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json
    http://arduino.esp8266.com/stable/package_esp8266com_index.json

Select SparkFun again in Boards Manager, you can not see 'SparkFun ESP8266 Boards by SparkFun Electronics', only find "esp8266".
image

@czgtest
Copy link
Contributor

czgtest commented Mar 7, 2018

@ArthurMa1978 ,This is design by Arduino IDE behavior, can we close it?

@emontnemery
Copy link
Author

emontnemery commented Mar 7, 2018

@czgtest The issue/bug you have reproduced in Arduino IDE is not same as I reported, please don't close this issue.
Issue in Arduino IDE

  • Only one board package with same name allowed

Issue reported in VS Code plugin

  • Two packages with same name are merged

@czgtest
Copy link
Contributor

czgtest commented Mar 16, 2018

@Sneezry can you help to investigate it?

image

image

@Sneezry
Copy link
Member

Sneezry commented Mar 27, 2018

@emontnemery If I understand correctly, we should just ignore one board with the same name, but not merge them, right?

@emontnemery
Copy link
Author

You should for sure not merge them.
Only displaying one, just like Arduino IDE is doing, is OK I guess.
A nicer solution might be to display both in the board manager, but only allow installing one at the same time.

@Sneezry
Copy link
Member

Sneezry commented Mar 27, 2018

@emontnemery OK, thanks for figuring it out.

@czgtest
Copy link
Contributor

czgtest commented Mar 29, 2018

@Sneezry I can't see any change, the result is the same as before.

image

@Sneezry
Copy link
Member

Sneezry commented Mar 29, 2018

kkk

@czgtest
Copy link
Contributor

czgtest commented Apr 3, 2018

the new version 0.2.12 fix this issue

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

No branches or pull requests

6 participants