🐛 Fix some Simulator on Windows issues (#22516)
This commit is contained in:
committed by
Scott Lahteine
parent
dc67705049
commit
e3c294dc9b
@@ -322,7 +322,7 @@ void hook_cpu_exceptions() {
|
||||
|
||||
unsigned long *vecAddr = (unsigned long*)get_vtor();
|
||||
SERIAL_ECHOPGM("Vector table addr: ");
|
||||
SERIAL_PRINTLN(get_vtor(), HEX);
|
||||
SERIAL_PRINTLN(get_vtor(), PrintBase::Hex);
|
||||
|
||||
#ifdef VECTOR_TABLE_SIZE
|
||||
uint32_t vec_size = VECTOR_TABLE_SIZE;
|
||||
@@ -349,7 +349,7 @@ void hook_cpu_exceptions() {
|
||||
alignas(128) static unsigned long vectable[VECTOR_TABLE_SENTINEL];
|
||||
|
||||
SERIAL_ECHOPGM("Detected vector table size: ");
|
||||
SERIAL_PRINTLN(vec_size, HEX);
|
||||
SERIAL_PRINTLN(vec_size, PrintBase::Hex);
|
||||
#endif
|
||||
|
||||
uint32_t defaultFaultHandler = vecAddr[(unsigned)7];
|
||||
|
Reference in New Issue
Block a user