Last active
May 27, 2017 21:16
-
-
Save gojimmypi/c2f65d468573028908c3ad87ff1aca9c to your computer and use it in GitHub Desktop.
ESP32 IDF OpenOCD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# assumes git clone started in ~\workspace for openocd-esp32 | |
export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin | |
export IDF_PATH=~/esp/esp-idf | |
cd ~/workspace/openocd-esp32/tcl | |
sudo openocd -f interface/ftdi/olimex-arm-usb-ocd-h-1MHz.cfg -c "transport select jtag" -f target/esp32.cfg | |
#sudo openocd -f interface/jlink.cfg -f target/esp32.cfg | |
# or | |
#sudo openocd -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f target/esp32.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment