-
-
Notifications
You must be signed in to change notification settings - Fork 7k
missing documentation: list of the Arduino board types + print the current one #6345
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
Hi @tofrnr , |
why do you close that topic? it's not resoved ! |
which constants for board and MCUs are used by Arduino? |
This is a question for the forum: https://forum.arduino.cc/ Please also search for already answered questions, I'm pretty sure that someone else already discussed the same question. |
no, this is a request for adding and publishing the (missing) documentation! |
@facchinm, |
@tofrnr , |
It appears as that what the O.P. wants can be achieved with extraction of information from the boards.txt files, possibly together with some formatting. Try
as a first start (on typical Linux installation).(Can use cygwin if on Windows.) |
@facchinm, |
Actually, what Martino thinks does matter. He's one of the very few active Arduino developers. You aren't. |
so then please tell how to poll from a general program for AVR and ARM and Nodemcu boards during runtime
for a simple example: if there was a list of board and MCU type constants like requested then one could determine that easily on his own. And reopen this topic because it's not resolved! |
@tofrnr you're being extremely rude. This is a place to report bugs with the Arduino IDE. As was already suggested, if you want help you need to post your questions on the forum. Hundreds of people get an email every time you make a pointless comment here. Please stop wasting the time of the Arduino developers so they can instead work on the things that benefit the entire Arduino community. The board macros are already documented here: As for the MCU specific macros, that's outside the scope of Arduino. A list of the AVR macros is found here: |
no, I was asking nicely to publish the list but my request was immediately closed in an extremely rude manner without solving the issue. anyway, so is it true that its possible to determine if the current board is a Nano type (feat. A0...A7) by ? |
hello,
where can I find the list of the available Arduino board or MCU types (e.g., for Uno, Nano, Mega, M0, Due, but also supported boards like ESP8266, and how can I print the current board / MCU type from a running program to check the settings?
I need that overview and the current type check for writing cross-board-compatible code for pin numbers and interrupt numbers, e.g. by
#ifdef
#ifndef
#elseif
The text was updated successfully, but these errors were encountered: