Third party board examples in IDE menu

Hi,

Is it possible to have third party board example showing in the Arduino IDE examples menu?

I've created a Examples folder in my third party core with Arduino "sketches" that I would like the user to access via the example menu of the IDE.
By the way, libraries that are specific to the board reside in the core in a Libraries folder. If example are provided, their not available via the example menu....

Any help would be appreciated.

Thanks :slight_smile:

Did you include the examples in the libs folder itself then install the libs ?

Or place them all in a folder and then copy that folder to C:\program Files (x86}\Arduino\Examples
That works just as well and places them near the top of the list.

I just tried it with 1.6.12 and called my folder "0-9" and it shows at the top of Arduinos own examples.

AloyseTech:
I've created a Examples folder in my third party core with Arduino "sketches" that I would like the user to access via the example menu of the IDE.

This is commonly done via a dummy library. You will need a .h file in the library in order for it to be recognized but it can be a blank file(I usually add a comment in the file to explain its purpose). For an example see:

I seem to remember a core examples feature being added to the IDE recently but I can't find it now or get it working(maybe I'm imagining that) and this would not be backwards compatible with IDEs previous to that change anyway. I see [Boards Manager] Include core examples to Examples menu · Issue #3297 · arduino/Arduino · GitHub is still open so that makes me think I did imagine it.

AloyseTech:
If example are provided, they're not available via the example menu....

The core bundled libraries examples are only shown in the File > Examples library when you have one of the boards for that core selected. Are you experiencing something different? If so, I'd need a better description of how I can reproduce the issue to look into it(link to core, IDE version you're using, installation method, etc.).