Pokey has quit [Remote host closed the connection]
Pokey has joined #openocd
opencbd has joined #openocd
<opencbd>
I'd like to enable thread-awareness from the command line, is it possible? E.g. "$_TARGETNAME configure -rtos Zephyr". Maybe with the -c argument? But I can't find the right syntax
russ_ has joined #openocd
russ has quit [Read error: Connection reset by peer]
russ_ has quit [Ping timeout: 252 seconds]
russ_ has joined #openocd
russ_ has quit [Read error: Connection reset by peer]
russ_ has joined #openocd
russ__ has joined #openocd
russ_ has quit [Read error: Connection reset by peer]
<borneoa___>
opencbd: yes, it should work, with -c "..." at the end of the command line, after the name of the TCL script. I think you should use zephyr lowercase. Plus not all scripts use the same variable _TARGETNAME, so check inside the script you plan to use
russ__ has quit [Read error: Connection reset by peer]
russ__ has joined #openocd
<opencbd>
borneoa___ thanks it works, I had to escape the $ symbol though otherwise bash would interpret the variable it seems. I.e. -f target/stm32u5x.cfg -c "\$_TARGETNAME configure -rtos Zephyr"
russ__ has quit [Read error: Connection reset by peer]
russ__ has joined #openocd
russ__ has quit [Read error: Connection reset by peer]
russ__ has joined #openocd
opencbd has quit [Quit: Client closed]
russ__ is now known as russ
russ has quit [Ping timeout: 244 seconds]
slobodan_ has joined #openocd
russ has joined #openocd
slobodan_ has quit [Read error: Connection reset by peer]