Skip to content

Commit 197b1b8

Browse files
committed
Add ThreadDebug serial port string
To use, add this snippet on the top of your project ``` #include <ThreadDebug.h> USBSerial SerialUSB1(false, "DebugPort"); UsbDebugCommInterface debugComm(&SerialUSB1); ThreadDebug threadDebug(&debugComm, DEBUG_BREAK_IN_SETUP); ```
1 parent 862e861 commit 197b1b8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

boards.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ envie_m7.bootloader.programmer=-f interface/stlink.cfg
4747
envie_m7.bootloader.extra_action.preflash=stm32h7x option_write 0 0x01c 0xb86aaf0
4848
envie_m7.bootloader.file=PORTENTA_H7/portentah7_bootloader_mbed_hs_v2.elf
4949

50+
envie_m7_thread_debug.name=Arduino Portenta H7 (ThreadDebug)
51+
envie_m7_thread_debug.vid.0=0x2341
52+
envie_m7_thread_debug.pid.0=0x025B
53+
envie_m7_thread_debug.descriptor.0=DebugPort
54+
envie_m7_thread_debug.hide=true
55+
envie_m7_thread_debug.build.board=PORTENTA_H7_M7
56+
5057
##############################################################
5158

5259
envie_m4.name=Arduino Portenta H7 (M4 core)

0 commit comments

Comments
 (0)