The new IDE doesn't seem to detect custom boards.
I added custom board for UNO 16U2 bootloader but the IDE doesn't detect it.
Al
pert
March 8, 2021, 9:59pm
2
Hi @aharper .
Please provide a detailed description of what you mean by "doesn't seem to detect".
Please provide a detailed description of how you added the custom board.
Refer to the following article.
To speed things up if you want to avoid reading the whole article, Search for:
/Users/david/Documents/Arduino/hardware/custom/avr/bootloaders) directory
I performed these procedures on 1.8.13 IDE and it worked perfectly.
Thought I'd get my feet wet and play with the new 2.0 Beta.
When I start the 2.0 IDE it does not pickup the new board like 1.8.13 does. It's supposed to create a new IDE menu Tools -> Board.
https://www.instructables.com/How-to-Restore-the-Arduino-UNO-R3-ATmega16U2-Firmw/#:~:text=Connect%20the%20programmer%20UNO%20to,Goto%20Tools%2C%20Burn%20Bootloader .
Al
pert
March 9, 2021, 3:52pm
4
OK, I understand now. This is a known deficiency in Arduino IDE 2.x:
opened 11:22AM - 05 Jan 20 UTC
closed 04:09AM - 28 Oct 21 UTC
conclusion: resolved
topic: code
type: imperfection
criticality: medium
custom boards definitions from hardware folder in sketches folder are not handle… d correctly.
* The Boards Manager shows them as boards package an offers INSTALL.
* the custom boards can't be selected in Select Board
Steps to reproduce the behavior:
As an example of custom hardware definitions you can download [my_boards](https://github.com/jandrassy/my_boards). The repository also contains README with informations and links about Arduino custom board definitions.
I am on Linux with pro IDE 0.0.3
In order to support boards platforms installed under the sketchbook, it's first necessary to add some additional capabilities to Arduino CLI, which handles all non-GUI tasks for Arduino IDE 2.x. There is work in progress on that right now:
arduino:master
← arduino:scerza/board-search
opened 12:20PM - 04 Mar 21 UTC
**Please check if the PR fulfills these requirements**
- [x] The PR has no du… plicates (please search among the [Pull Requests](https://github.com/arduino/arduino-cli/pulls)
before creating one)
- [x] The PR follows [our contributing guidelines](https://arduino.github.io/arduino-cli/latest/CONTRIBUTING/#pull-requests)
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] Docs have been added / updated (for bug fixes / features)
- [ ] `UPGRADING.md` has been updated with a migration guide (for breaking changes)
* **What kind of change does this PR introduce?**
Adds a new CLI command and related gRPC interface function.
- **What is the current behavior?**
There is currently no way to get or search a list of boards from installed and installable platforms, manually installed platforms are included in the search.
* **What is the new behavior?**
A new `board search` command and its related gRPC interface can now be used to get a list of boards from installed and installable platforms.
Sample output:
```
$ arduino-cli board search
Board Name FQBN Platform ID
Adafruit Circuit Playground arduino:avr
Adafruit Circuit Playground Express arduino:samd
Analog ADI Arrow:samd
```
Sample json output:
```
$ arduino-cli board search --format json
[
{
"name": "Arduino Mega ADK",
"FQBN": "arduino:avr:megaADK",
"platform": {
"ID": "arduino:avr",
"Installed": "1.8.3",
"Latest": "1.8.3",
"Name": "Arduino AVR Boards",
"Maintainer": "Arduino",
"Website": "http://www.arduino.cc/",
"Email": "packages@arduino.cc"
}
},
...]
```
`FQBN` is omitted if a board's platform is not installed because that information is not present in the `index.json` file but only in the `boards.txt` file.
The result can be filtered passing one or more argument to the command, a fuzzy search is done to return all boards that closely match the arg string:
```
$ arduino-cli board search mkr1000
Board Name FQBN Platform ID
Adafruit Circuit Playground Express arduino:samd
Arduino M0 arduino:samd
Arduino M0 Pro arduino:samd
Arduino MKR FOX 1200 arduino:samd
Arduino MKR GSM 1400 arduino:samd
Arduino MKR NB 1500 arduino:samd
Arduino MKR Vidor 4000 arduino:samd
Arduino MKR WAN 1300 arduino:samd
Arduino MKR WAN 1310 arduino:samd
Arduino MKR1000 arduino:samd
Arduino MKRZERO arduino:samd
Arduino Nano 33 IoT arduino:samd
Arduino Tian arduino:samd
```
- **Does this PR introduce a breaking change, and is [titled accordingly](https://arduino.github.io/arduino-cli/latest/CONTRIBUTING/#breaking)?**
Nope.
* **Other information**:
None.
---
See [how to contribute](https://arduino.github.io/arduino-cli/latest/CONTRIBUTING/)
So I think this will be supported in one of the upcoming releases of Arduino IDE 2.x. But for now you'll need to use Arduino IDE 1.8.13 in order to use those boards.
Ok, that's great.. Yea I kinda figure it's work in progress.
Thanks.
Al
system
Closed
July 7, 2021, 5:22pm
6
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.