nrf51: Add nop_function as halt_poll. (#517)

Otherwise "tar  ext ...; mon s; att 2; quit", start new gdb "tar ext ..."
crashes, at least on pc-hosted platforms.
This commit is contained in:
UweBonnes 2019-09-04 13:50:13 +02:00 committed by GitHub
parent 6663da7ff5
commit 609e6b135d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -395,6 +395,7 @@ void nrf51_mdm_probe(ADIv5_AP_t *ap)
t->reset = (void*)nop_function;
t->halt_request = (void*)nop_function;
//t->halt_poll = mdm_halt_poll;
t->halt_poll = (void*)nop_function;
t->halt_resume = (void*)nop_function;
target_add_commands(t, nrf51_mdm_cmd_list, t->driver);