The esp8266 portion of the project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
740 B

  1. # ESP8266 HW limits the number of breakpoints/watchpoints
  2. set remote hardware-breakpoint-limit 1
  3. set remote hardware-watchpoint-limit 1
  4. # Some GDBstub settings
  5. set remote interrupt-on-connect on
  6. set remote kill-packet off
  7. set remote symbol-lookup-packet off
  8. set remote verbose-resume-packet off
  9. # The memory map, so GDB knows where it can install SW breakpoints
  10. mem 0x20000000 0x3fefffff ro cache
  11. mem 0x3ff00000 0x3fffffff rw
  12. mem 0x40000000 0x400fffff ro cache
  13. mem 0x40100000 0x4013ffff rw cache
  14. mem 0x40140000 0x5fffffff ro cache
  15. mem 0x60000000 0x60001fff rw
  16. # Change the following to your sketch's ELF file
  17. file /path/to/sketch.ino.elf
  18. # Change the following to your serial port and baud
  19. set serial baud 115200
  20. target remote /dev/ttyUSB0