/esp8266-pio-debug

Primary LanguageC++MIT LicenseMIT

GDBStub example using PlatformIO

Instructions

  • Change the port in the last line of gdbcmds from /dev/cu.SLAB_USBtoUART to your port.
    • On mac/linux, run ls /dev/cu.* if you're not sure which port.
  • Upload firmware to you board: platformio run -t upload
  • Connect gdb: ./gdb.sh