Skip to content

Cannot install custom Arduino Core package #577

Closed
@maxgerhardt

Description

@maxgerhardt

Describe the bug

The Arduino IDE 1.8.13 allows me to install our custom-made Arduino Core (https://raw.githubusercontent.com/CommunityGD32Cores/GD32Core-New/main/package_gd32_index.json) when I add the URL in the additional board managers list.

grafik

Once I install it in the Arduino IDE 1.x, the Arduino IDE 2.0 also picks it up and lets me compile for a board.

grafik

However, once I remove the board package again (either through the Arduino IDE 1.x or 2.x), I cannot install it in the Arduino IDE 2.0 environment. Searching for "GD" (and simliar "Giga") just turns out empty.

grafik

It's like the Arduino IDE 2.0 does not accept our index JSON file. Restarting the Arduino IDE 2.0 or adding the URL in its Prefrences -> Additional Board Manager URLs (which is empty in comparison to the Arduino IDE 1.x) does not make a difference.

To Reproduce
Steps to reproduce the behavior:

  1. Install latest Arduino IDE 2.0 package
  2. Go to File -> Preferences -> Additional boards manager URLs
  3. Paste in https://raw.githubusercontent.com/CommunityGD32Cores/GD32Core-New/main/package_gd32_index.json
  4. Press Okay
  5. Restart Arduino IDE 2.0
  6. Go to the board manager
  7. Wait a bit (possible board manager refresh)
  8. Search for "GD" or "Giga"

Expected behavior
The "GD32 ARM Boards" shows up the same way it did in the Arduino IDE 1.x and is installable.

Actual behavior
No search result for the expected board name.

Screenshots
See above.

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: 2.0.0-beta.12

Additional context
See CommunityGD32Cores/ArduinoCore-GD32#52.

Possibly it does not accept our file because we point the archive file to the bleeding-edge https://github.com/CommunityGD32Cores/ArduinoCore-GD32/archive/refs/heads/main.zip with no size and checksum field present?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions