Skip to content
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

Arduino Uno Board should be pre selected for 1st time #56

Open
mishracodes opened this issue Feb 18, 2021 · 2 comments
Open

Arduino Uno Board should be pre selected for 1st time #56

mishracodes opened this issue Feb 18, 2021 · 2 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@mishracodes
Copy link

Is your feature request related to a problem? Please describe.
While compiling a file without selecting any board we get compile time error, So either the error should be meaningful like "SELECT BOARD BEFORE COMPILING" Or Default Arduino Uno should be set for compiling for first time user Or User should be prompted to select any board as he has not selected any board and will get error.

Error on compiling when board is not selected and this error is meaningless for a new user
https://raw.githubusercontent.com/mishracodes/mishracodes.github.io/master/github%20Bugs/bug%203.png

No Error after selecting board and compiling
https://raw.githubusercontent.com/mishracodes/mishracodes.github.io/master/github%20Bugs/bug%204.png

Describe the solution you'd like
Adding default board as Arduino Uno for the 1st time user, means the board should be default selected as Arduino Uno for the users who are running this application for the first time.
OR
Users must be prompted to set the board when we hit compile for the first time As when no board is selected and when the user hits compile then it is giving error which is not a good sign and also the error is not meaningful for normal user.

Describe alternatives you've considered
Either a default Arduino Uno board should be pre selected, OR User should be prompted to select the board before compiling cod for the first time

@mishracodes mishracodes changed the title Arduino Uno Board should be pre selected for 1st time Or the error shown must me meaningful or user should be prompted to select board Arduino Uno Board should be pre selected for 1st time Or the error shown must be meaningful or user should be prompted to select board Feb 18, 2021
@per1234
Copy link
Contributor

per1234 commented Feb 18, 2021

Users must be prompted to set the board when we hit compile for the first time As when no board is selected and when the user hits compile then it is giving error which is not a good sign and also the error is not meaningful for normal user.

There is a prior feature request about this here: #62 so we can restrict this issue solely to your request that there be a default pre-selected board.

This is a little bit more tricky than it might seem at first. The reason is that, unlike the classic Arduino IDE, Arduino Pro IDE doesn't come with the Arduino AVR Boards platform of the Uno pre-installed. What happens now is that if you connect or select the Uno from the board menu, the Pro IDE displays a nice notiification that explains Arduino AVR Boards must be installed and offers to do it automatically.

The solution I see is that if an uninstalled board is already selected and you try to compile or upload, the Pro IDE should show that same notification. Currently it just gives you that same painful "Compilation error: Error: 2 UNKNOWN: no FQBN provided" error.

@per1234 per1234 changed the title Arduino Uno Board should be pre selected for 1st time Or the error shown must be meaningful or user should be prompted to select board Arduino Uno Board should be pre selected for 1st time Feb 18, 2021
@rsora rsora transferred this issue from arduino/arduino-pro-ide Mar 1, 2021
@silvanocerza silvanocerza added the type: enhancement Proposed improvement label Mar 1, 2021
@per1234
Copy link
Contributor

per1234 commented Oct 29, 2021

doesn't come with the Arduino AVR Boards platform of the Uno pre-installed

Update:

It still isn't bundled with the IDE installation, but the platform is now installed on the first run of the IDE: #497

An alternative proposal here: #62 (comment)

@per1234 per1234 added the topic: code Related to content of the project itself label Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants