Hi,
Just found a project https://github.com/ftrias/TeensyDebug which seems to offer what I need to track down some tricky bugs as it offers some level of gdb in dual USB serial config with teensy.
Need to get it into USB_DUAL_SERIAL mode but despite changing the defines in my .vscode\c_cpp_properties.json file so that it has
"defines": ["PLATFORMIO=40304",
"__IMXRT1062__",
"ARDUINO_TEENSY41",
"USB_DUAL_SERIAL",
"ARDUINO=10805",
"TEENSYDUINO=153",
"CORE_TEENSY",
"F_CPU=600000000",
"LAYOUT_US_ENGLISH",
"" ]
it is still using the usb_desc.h section for USB_SERIAL,
Am I changing this in the correct way?
HAs anyone had success with this debug route? Printf’s get me a lot but its hanging in impossible places so need to be able get closer to the code