Skip to content

Add examples for hardware folders #3857

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

Closed
NicoHood opened this issue Sep 24, 2015 · 7 comments
Closed

Add examples for hardware folders #3857

NicoHood opened this issue Sep 24, 2015 · 7 comments
Labels
Component: IDE user interface The Arduino IDE's user interface Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix) Type: Duplicate Another item already exists for this topic

Comments

@NicoHood
Copy link
Contributor

It would be nice it hardware folders also could contain example folder which are recognized by the IDE. This would also get rid of the warning errors:
[exec] Could not find boards.txt in /Arduino/sketchbook/hardware/HoodLoader2/examples. Is it pre-1.5?

@ffissore
Copy link
Contributor

That warning is about an invalid folder structure, indeed pre 1.5. It should be hardare/Hoodloader2/avr

@ffissore ffissore self-assigned this Sep 24, 2015
@NicoHood
Copy link
Contributor Author

But where to put the examples? Inside avr?

@ffissore
Copy link
Contributor

ATM you can't deliver examples for cores. You can only add them to libraries, whether they are bundled with a core or not

@ffissore ffissore added the feature request A request to make an enhancement (not a bug fix) label Sep 25, 2015
@NicoHood
Copy link
Contributor Author

Exactly. And I want to add core examples, since my HoodLoader2 has some extra features/explanation/examples to show what is different.
It would be nice to at least avoid the warning first and then add a proper IDE menu when you have time for this.

@ffissore
Copy link
Contributor

In order to avoid the warning, move that examples folder away. It won't be the right place anyway, since at that level you specify the arch

@NicoHood
Copy link
Contributor Author

A behavior like this would be appreciated (without workaround via library):
NicoHood/HoodLoader2#23

@sandeepmistry sandeepmistry added the Type: Duplicate Another item already exists for this topic label Mar 9, 2016
@sandeepmistry
Copy link
Contributor

Marking this a duplicate of #3297.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix) Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

4 participants