Автоопределение JTAG
This commit is contained in:
parent
c1dd1a2b19
commit
fd5951a6e5
|
|
@ -108,7 +108,7 @@ static void Boot2App(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool is_jtag_debug_active(void) {
|
static bool is_jtag_debug_active(void) {
|
||||||
// Проверяем, включена ли отладка
|
// Проверяем, включена ли отладка
|
||||||
return (CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) != 0;
|
return (CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) != 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue