Hi there,
I'm working on a project where I've changed some code in the USB joystick class, which means that I've got modified versions of usb_desc.h, usb_desc.c, and usb_joystick.h in /cores/teensy3/. I switched from the Arduino IDE to PlatformIO recently, and am wondering if there's a way that I can include these three modified files in my project folder and have them override the default ones in the PlatformIO framework, so that they go along with the project. Is that possible?
As an extension of that idea, is it possible to include an entire specific version of the Teensy package with the project? That way if I were to come back to this project in the future, I wouldn't have to worry about future updates to Teensy breaking it.
Thanks for any tips!
I'm working on a project where I've changed some code in the USB joystick class, which means that I've got modified versions of usb_desc.h, usb_desc.c, and usb_joystick.h in /cores/teensy3/. I switched from the Arduino IDE to PlatformIO recently, and am wondering if there's a way that I can include these three modified files in my project folder and have them override the default ones in the PlatformIO framework, so that they go along with the project. Is that possible?
As an extension of that idea, is it possible to include an entire specific version of the Teensy package with the project? That way if I were to come back to this project in the future, I wouldn't have to worry about future updates to Teensy breaking it.
Thanks for any tips!