[realtek-ambz2] Add GDB init command
This commit is contained in:
@@ -13,7 +13,13 @@
|
||||
},
|
||||
"debug": {
|
||||
"protocol": "openocd",
|
||||
"protocols": []
|
||||
"protocols": [
|
||||
"openocd"
|
||||
],
|
||||
"openocd_config": "amebaz2.cfg",
|
||||
"gdb_init": [
|
||||
"mem 0x9b000000 0x9c000000 ro"
|
||||
]
|
||||
},
|
||||
"upload": {
|
||||
"maximum_ram_size": 262144,
|
||||
|
||||
@@ -7,7 +7,7 @@ extern uint8_t lt_uart_port;
|
||||
|
||||
void lt_init_family() {
|
||||
// make the SDK less verbose by default
|
||||
ConfigDebugErr = 0;
|
||||
ConfigDebugErr = _DBG_MISC_ | _DBG_FAULT_ | _DBG_BOOT_;
|
||||
ConfigDebugWarn = 0;
|
||||
ConfigDebugInfo = 0;
|
||||
lt_uart_port = LT_UART_DEFAULT_PORT;
|
||||
|
||||
Reference in New Issue
Block a user