Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging from PlatformIO doesnt work #24

Open
Stevenlawrencehoriba opened this issue May 31, 2023 · 0 comments
Open

Debugging from PlatformIO doesnt work #24

Stevenlawrencehoriba opened this issue May 31, 2023 · 0 comments

Comments

@Stevenlawrencehoriba
Copy link

I have tried all the forums and various questions and answers, but still just bricks the teensy 4.1 with no com ports showing in windows device manager.. it also mentions extra menus , after installing using the extra scripts, but they are not available or obvious where they are on VS code menus. Using RUN and debug start from VS code, it cant find any com ports yet it has been build with dual USB ports.. Can you not test this and fix, as this would be so much more useful than printf. or wiring up the ICE
[env:teensy41_debug]
;triedeverything to get this workingm, unflags, build flags etc..
; debugger wont connect to it!
platform = teensy
board = teensy41
framework = arduino
monitor_port = COM15
monitor_speed = 115200
monitor_rts = 0
build_type = debug
;upload_protocol = teensy-cli
debug_port = \.\COM16
debug_tool = custom
debug_load_mode = manual
debug_server =
debug_init_cmds =
target extended-remote $DEBUG_PORT
$INIT_BREAK
define pio_reset_run_target
interrupt
tbreak loop
continue
end
define pio_restart_target
echo Restart is undefined for now.
end
debug_init_break =
lib_deps =
ssilverman/QNEthernet@^0.21.0
rlogiacco/CircularBuffer@^1.3.3
nickgammon/Regexp@^0.1.0
C:....../Documents/Arduino/libraries/TeensyDebug/
build_unflags = -DUSB_SERIAL -Og
build_flags = -O1
-DTIME=$UNIX_TIME -D TEENSY41_THREADS -D USB_DUAL_SERIAL -D DEBUG -Wunknown-pragmas -Wno-unused-local-typedefs -Wunused-variable -Wno-unused-parameter -Wno-attributes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant