Adding platform specific examples - for example Teensy #869
Labels
conclusion: declined
Will not be worked on
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Is your feature request related to a problem? Please describe.
With Arduino 1.8.x releases along with Teensyduino releases, the initial list of examples is augmented with the "Teensy" menu
The question is what is the best way to do this with IDE2?
Sorry in advance if this is a duplicate and has been asked/answered before. I did not find anything specific, so thought best to ask.
This is sort of related to issue: #817 but in reverse. That is the majority of the top bracket of examples may seldom be used except maybe the real basic ones like blink.
And as when the IDE first comes up, or right after you change board types to a different platform, these are the only items in the example menu:
Not sure if that is by design or not, but wish it at least indicated somehow that this menu is incomplete...
Describe the solution you'd like
Some way for the Teensy and other platforms to somehow specify some way to add and maybe remove items from this top level list.
Like what @PaulStoffregen does with teensy installs for V1 of IDE.
Describe alternatives you've considered
Alternative is to do it like I have seen some others do it, like Robotis with OpenCM9.04
They install a dummy library with their install, called OpenCM9.04, which contains empty files for .h and .cpp, and then has examples under it for the platform. I tried hacking up a version for Teensy, but so far has not shown up. Maybe the data is cached somewhere, so would need to clear out all of the data again...
Additional context
Note: I am mostly testing this with Windows 10, currently running nightly build 20220225, which I believe is reasonably up to date.
The text was updated successfully, but these errors were encountered: