-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hello!
This is a really great and helpful project!
However there seems to be a problem when you want to use it in conjunction with the Teensy Audio lib (https://github.com/PaulStoffregen/Audio).
When including both libs (TeensyDebug needs to be defined first to avoid other warnings) I get
impossible constraint in 'asm'
as an error in the file "Audio\utility\dspinst.h" at line 38
asm volatile("ssat %0, %1, %2, asr %3" : "=r" (out) : "I" (bits), "r" (val), "I" (rshift));
and the following warning
asm operand 3 probably doesn't match constraints Audio/utility/dspinst.h:38:92: warning: asm operand 1 probably doesn't match constraints asm volatile("ssat %0, %1, %2, asr %3" : "=r" (out) : "I" (bits), "r" (val), "I" (rshift));
is there a way to resolve this issue?
I am using PlatformIO (Core 5.2.5) and VSCode. I tried different platformio.init configurations but my recent one is as adviced.
[env:teensy41]
platform = teensy
board = teensy41
framework = arduino
build_type = debug
build_flags =
-D USB_DUAL_SERIAL
build_unflags = -D USB_SERIAL
debug_port = \\.\COM3
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 =
I am using the latest version from GitHub of TeensyDebug