Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
1 year, 9 months ago.
How to get USBSerial to enumerate with mbed-cli GCC_ARM debug build ?
Working with a MAX32630FTHR, mbed-os 5.11.5 (as 5.12 embeds usb and doesn't have a target for max yet) I've been wracking what I did wrong when my USBSerial object tests started getting run time errors with red led flashing 4x4. The online compiler worked. I see it is using ARM 5. I tried GCC ARM 5/6/7/8 - they all failed. MStudio 0.4 locks up a lot for me so didn't go that route. Thinking the online compiler creates release builds I tried a release build on GCC ARM 8 for giggles and it worked !
Does anyone know the magic to get a debug build USBSerial object connect properly and share please ?