Continuation of mistakenly closed #2063
Here is commit with start of support for ESP32-P4.
I have started working on flashing support but I need to shelve that plan for the time being.
I am pushing the things which seems to work - patch is rough, but more will hopefully come later.
Tested with BMA and ESP-prog (FT2232H) on FreeBSD with Waveshare ESP32-P4 board with flashed IDF example.
Works:
- JTAG scan
- attach to target
- run program
- reset
- hardware breakpoint
- continue
- printing of var in SRAM
>>> p var
4ドル = 123
>>> p &var
5ドル = (uint32_t *) 0x4ff26334
>>> x /d 0x4ff26334
0x4ff26334: 123
- changing value of var:
>>> set var var = 100
>>> p var
8ドル = 100
>>> x /d 0x4ff26334
0x4ff26334: 100
What doesn't work:
- software breakpoint (needs flash support)
- stepping
- single instruction stepping