Last active
May 23, 2017 21:29
-
-
Save gojimmypi/1a912f8944f0649c77763964c529db2c to your computer and use it in GitHub Desktop.
ESP32 IDF GDB
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 | |
export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin | |
export IDF_PATH=~/esp/esp-idf | |
find /. -name xtensa-esp32-elf-gdb 2>/dev/null | |
cd ~/esp/hello_world/build | |
#xtensa-esp32-elf-gdb -tui -x hello_world.gdb hello-world.elf | |
xtensa-esp32-elf-gdb hello-world.elf | |
# once in gdb enter target remote localhost:3333 | |
# continue | |
# ctrl-c to break | |
# option, in separate shell: | |
# make monitor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment