Closed bugadani closed 1 year ago
And just after posting this, the problem goes away by itself, of course...
I have the same issue on Alacritty and the default terminal of RaspberryPiOS. Only way to stop espflash is to kill it in another terminal.
It doesn't even stop on SIGQUIT Ctrl+\
.
Anyone knows a fix?
The exact cause is unknown at this point, but here is the setup:
The serial output includes the bootloader messages and the "Hello, world!" printed from the main task, but does not include the state printing a few lines below. In this state (i.e. probably while stuck in Board::initialize, which is trying to configure a display over SPI, but disregarding the bug in my code), espflash doesn't react to
Ctrl+C
orCtrl+R
and does not exit.Manually resetting the MCU exits espflash and then the terminal prints the control characters:![image](https://github.com/esp-rs/espflash/assets/977627/5b0332a3-18dc-4f0b-a254-8df2905ac0bb)