Skip to content

Instantly share code, notes, and snippets.

@gojimmypi
Last active May 23, 2017 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gojimmypi/1a912f8944f0649c77763964c529db2c to your computer and use it in GitHub Desktop.
Save gojimmypi/1a912f8944f0649c77763964c529db2c to your computer and use it in GitHub Desktop.
ESP32 IDF GDB
#!/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