only:mailboxes unit test

This commit is contained in:
Andrey 2023-08-04 12:42:11 -04:00
parent bde14dd28d
commit eea5f8293f
2 changed files with 11 additions and 0 deletions

11
misc/install/run_openocd_f4.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
STLINK=$(lsusb | grep 'ST-LINK\|STLINK')
if [ "$STLINK" ]; then
echo "I see $STLINK make sure your board file accepts this specific kind of ST-LINK"
else
echo "Do not see any ST-LINK. If you are on WSL make sure you have bound USB"
exit -1
fi
sudo openocd -f board/stm32f4discovery.cfg -c init -c reset