kopia lustrzana https://github.com/stlink-org/stlink
stm32f7: also send features to gdb.
So that 'extra' registers (msp, psp, ...) are visible to user.pull/360/head
rodzic
881ed008da
commit
cce54ea2c7
|
@ -840,7 +840,9 @@ int serve(stlink_t *sl, st_state_t *st) {
|
|||
DLOG("query: %s;%s\n", queryName, params);
|
||||
|
||||
if(!strcmp(queryName, "Supported")) {
|
||||
if(sl->chip_id==STM32_CHIPID_F4 || sl->chip_id==STM32_CHIPID_F4_HD) {
|
||||
if(sl->chip_id==STM32_CHIPID_F4
|
||||
|| sl->chip_id==STM32_CHIPID_F4_HD
|
||||
|| sl->chip_id==STM32_CHIPID_F7) {
|
||||
reply = strdup("PacketSize=3fff;qXfer:memory-map:read+;qXfer:features:read+");
|
||||
}
|
||||
else {
|
||||
|
|
Ładowanie…
Reference in New Issue