Skip to content

Commit 5833dba

Browse files
Support Segger J-Link to flash Olimex E407 (#635) (#640)
(cherry picked from commit 76de41b) Co-authored-by: DaniGarciaLopez <d.garcialopez@hotmail.com>
1 parent f89d523 commit 5833dba

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • config/freertos/olimex-stm32-e407

config/freertos/olimex-stm32-e407/flash.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ pushd $OLIMEX_EXTENSIONS_DIR > /dev/null
1515
PROGRAMMER=interface/stlink-v2-1.cfg
1616
elif lsusb -d 0483:3748; then
1717
PROGRAMMER=interface/stlink-v2.cfg
18+
elif lsusb -d 1366:0101 || lsusb -d 1366:0105; then
19+
PROGRAMMER=interface/jlink.cfg
1820
else
1921
echo "Error. Unsuported OpenOCD USB programmer"
2022
exit 1
@@ -27,3 +29,4 @@ pushd $OLIMEX_EXTENSIONS_DIR > /dev/null
2729

2830
popd > /dev/null
2931

32+

0 commit comments

Comments
 (0)