Closed cyberboy666 closed 1 month ago
No, this is not possible. You can either use the PicoSDK USB or Adafruit TinyUSB, not both. FatFSUSB requires the PicoSDK one. TinyUSB has predefined callbacks that need to be implemented and both the core and the Adafruit library define them hence the multiple definitions problem.
You might be able to finagle your own TinyUSB flash exporter app, though. The FatFSUSB library is pretty simple and you'd just need to translate the raw API calls to the Adafruit wrapped versions. Good luck!
hello @earlephilhower and thanks so much for your work on this !
i have a question about whether it would be possible to run a project that compiles both
Adafruit_TinyUSB.h
andFatFSUSB.h
libraries - i understand that it may not be possible to use both at same time, however for my __midi_controller__ project i was hoping i could implement a button that switched between:config.json
file that user could edit to update the mappingi have these functions working individually however when i try to combine them i get compiler errors such as:
do you know if this should be possible in theory ? is there a recommended approach ? im happy to modify the source for my project if needed... was thinking about trying to add some namespaces or something but thought i would ask here first
thanks for your time tim