Hello again,
unfortunately, I have to open the case one more time. Actually, I moved my framework from sandeepmistry’s to Adafruit’s following our discussion here, and this advices didn’t work anymore.
The build scripts do not recognize my custom board that is set according to the instructions here. (json manifest in the /boards
, variants h/.cpp in the variants/my_variants
directory).
The compilation only works with the native Adafruit board like adafruit_feather_nrf52832, and I changed my json and variant files according to it. Not even putting those into the PIO core directory make it work.
All of the errors I get in the build process are related to the Adafruit TinyUSB library, like this one:
C:\users\krivi\.platformio\packages\framework-arduinoadafruitnrf52\libraries\Adafruit_TinyUSB_Arduino\src\arduino/Adafruit_USBD_CDC.h:90:26: error: conflicting declaration 'Adafruit_USBD_CDC Serial'
Got any advice on how to solve this?