-
-
Notifications
You must be signed in to change notification settings - Fork 398
Need assistance tracking down FQBNs for boards #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
For a board without custom menu options, you can get it from You can determine the FQBN by looking at boards.txt. In the case of the Nano, you can see the option id
https://github.com/arduino/ArduinoCore-avr/blob/1.6.21/boards.txt#L141-L184
More information: My current approach in the case of boards with custom Tools menus is to do a compilation in the Arduino IDE for the specific board configuration I want with File > Preferences > Show verbose output during: compilation enabled, and then copy the FQBN from the first line of the output in the black console window at the bottom of the Arduino IDE window. Quite crude, but it seems the fastest and least error-prone solution for me.
Not very easily, since the custom menu selections for every board you've ever used are all stored in preferences.txt. The only way you could practically do this is by clearing all the previous data out of preferences.txt before starting the IDE, selecting the desired board configuration, and then exiting the Arduino IDE to save the data to preferences.txt. I think my clumsy method is preferable to that. There is a boards.txt parser Python script proposed for addition to the ESP8266 hardware package that extracts the FQBN components from boards.txt here: esp8266/Arduino#5657. That provides the option of human readable text output or machine readable JSON output. Now that I reconsider that Python script, I think it's a bit flawed for universal usage because it will only truly be useful for packages like ESP8266 that use the same options for all boards. Other packages like Arduino AVR Boards only provide certain options for certain boards. I'll provide some feedback to the author about this. It might be nice for arduino-cli to provided something to show the available menu options for each board, in addition to the partial FQBNs provided by |
This was extremely helpful, and exactly what I needed. Thank you. |
Should help discovering features "inline" (see arduino#138)
…download Use temporary file for storing the downloaded OTA image.
I came to Github to create an issue asking for the FQBN for an Arduino Nano with the "old" bootloader. Luckily I was able to find it in an old issue.
I'm working on a similar project which is a simple
Makefile
wrapper of the Arduino 1.5+ CLI commands. My question is, what is the proper way to track down the FQBN of a given board, and any potential CPU flags for variants?I'm happy to come here and post an issue every time I run in to one, but that puts more work on you. Is there documentation somewhere that talks about FQBNs? Is there a way that I can read them from the IDE preferences?
The text was updated successfully, but these errors were encountered: