popbee
New member
I have a *Teensy 2* project that compiles under Arduino IDE 1.x & Teensyduino by manually adding a new entry for "NOUSB" in `boards.txt`.
I copied some of the USB stack files in the project so I can control exactly the USB descriptors and that also allows me to fix some of the USB stack bugs without touching files outside of the project (other than boards.txt).
Now I am trying to make it work under Arduino IDE 2.x. The first step was to try to modify boards.txt to add a NOUSB menu entry. But sadly, it seems it has no effect, this info seems to be "stored" elsewhere(?).
QUESTION: Is there a way to force the re-reading/processing of this file to alter the menu?
Someone in another post was able to do this by "upgrading the IDE" after installing the Teensy Board. I suppose when that happens AND you already have the board installed it will re-run the board "installation". I'm already at the latest version and couldn't do that so I tried uninstalling/reinstalling but it didn't work. I want to put this project on github with instructions on how to compile it. Right now, they have to install the old Arduino IDE.
Is there something I can do? The only thing I can think of now is to "copy/proxy" the whole Teensy board files in a random host to serve an "altered" version. Not only it's a lot of work, it's not very nice and probably not very legal either! Any other suggestion?
Paul: I always appreciated all the efforts you put into this community. You must be super busy as usual, so fixing good 'old "Teensy 2" issues is probably not a priority. If I can help in anyway?
Regards,
Bernard
I copied some of the USB stack files in the project so I can control exactly the USB descriptors and that also allows me to fix some of the USB stack bugs without touching files outside of the project (other than boards.txt).
Now I am trying to make it work under Arduino IDE 2.x. The first step was to try to modify boards.txt to add a NOUSB menu entry. But sadly, it seems it has no effect, this info seems to be "stored" elsewhere(?).
QUESTION: Is there a way to force the re-reading/processing of this file to alter the menu?
Someone in another post was able to do this by "upgrading the IDE" after installing the Teensy Board. I suppose when that happens AND you already have the board installed it will re-run the board "installation". I'm already at the latest version and couldn't do that so I tried uninstalling/reinstalling but it didn't work. I want to put this project on github with instructions on how to compile it. Right now, they have to install the old Arduino IDE.
Is there something I can do? The only thing I can think of now is to "copy/proxy" the whole Teensy board files in a random host to serve an "altered" version. Not only it's a lot of work, it's not very nice and probably not very legal either! Any other suggestion?
Paul: I always appreciated all the efforts you put into this community. You must be super busy as usual, so fixing good 'old "Teensy 2" issues is probably not a priority. If I can help in anyway?
Regards,
Bernard