Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

STM32 boards custom options are not available #195

Closed
TzOk83 opened this issue Jan 31, 2020 · 5 comments
Closed

STM32 boards custom options are not available #195

TzOk83 opened this issue Jan 31, 2020 · 5 comments
Labels
conclusion: duplicate This issue or pull request already exists type: imperfection Something isn't working

Comments

@TzOk83
Copy link

TzOk83 commented Jan 31, 2020

The STM32Duino package boards are impossible to select. No options available for them.

@TzOk83 TzOk83 added the type: imperfection Something isn't working label Jan 31, 2020
@ubidefeo
Copy link

ubidefeo commented Feb 1, 2020

hi @TzOk83
you're going to have to add the additional_url to the CLI configuration file.
It can be a bit tricky but it's on the list to make that easily accessible via UI.

what platform are you on?
if you can find arduino-cli.yaml on your system you can add the custom core URL and the boards will show up in Boards Manager

You can see my config file below

arduino_data: /Users/xxx/Library/arduino15
board_manager:
  additional_urls:
  - https://dl.espressif.com/dl/package_esp32_index.json
  - http://arduino.esp8266.com/stable/package_esp8266com_index.json
  - https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
daemon:
  port: "50051"
directories:
  data: /Users/xxx/Library/Arduino15
  downloads: /Users/xxx/Library/Arduino15/staging
  user: /xxx/xxx/AppsDocuments/Arduino
logging:
  file: ""
  format: text
  level: info
proxy_type: auto
sketchbook_path: /xxx/xxx/AppsDocuments/Arduino

Screenshot 2020-02-01 at 08 05 56

@ornea
Copy link

ornea commented Feb 1, 2020

I am using Win7 and failed to find arduino-cli.yaml in the user or Arduino_pro directory. Also used agent-ransack to search for entries shown above such as proxy_type and arduino_data but failed to find a match. Except embedded in the executable arduino_cli.exe

@TzOk83
Copy link
Author

TzOk83 commented Feb 1, 2020

I'm on windows 7 and Arduino PRO found all boards and libraries installed in Arduino IDE. The problem is I can't access options for the boards.

This is how it looks in Arduino IDE:
obraz

...and in Arduino PRO IDE:
obraz

@ubidefeo
Copy link

ubidefeo commented Feb 1, 2020

@TzOk83
I understand what you mean, this requires the CLI to drill down into variants and display them in a secondary menu.
the boards are of course in the core, and strangely enough even though they are listed in the boards.txt file they are not made available as choices.
the boards of the ESP8266 core are all showing up.

let's wait for our devs to check this issue out, it might just be a parsing bug somewhere :)

@per1234
Copy link
Contributor

per1234 commented Feb 29, 2020

Closing as duplicate of #10

@per1234 per1234 closed this as completed Feb 29, 2020
@per1234 per1234 added the conclusion: duplicate This issue or pull request already exists label Feb 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
conclusion: duplicate This issue or pull request already exists type: imperfection Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants