Paul Stoffregen
6 anni fa
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con
4 aggiunte e
5 eliminazioni
-
teensy4/startup.c
|
|
|
|
|
|
|
|
#else |
|
|
#else |
|
|
if ( F_CPU_ACTUAL >= 600000000 ) |
|
|
if ( F_CPU_ACTUAL >= 600000000 ) |
|
|
set_arm_clock(100000000); |
|
|
set_arm_clock(100000000); |
|
|
while (1) { |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
while (1) asm ("WFI"); |
|
|
#endif |
|
|
#endif |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__attribute__((weak)) |
|
|
__attribute__((weak)) |
|
|
void _exit(int status) |
|
|
void _exit(int status) |
|
|
{ |
|
|
{ |
|
|
while (1); |
|
|
|
|
|
|
|
|
while (1) asm ("WFI"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
__attribute__((weak)) |
|
|
__attribute__((weak)) |
|
|
void __cxa_pure_virtual() |
|
|
void __cxa_pure_virtual() |
|
|
{ |
|
|
{ |
|
|
while (1); |
|
|
|
|
|
|
|
|
while (1) asm ("WFI"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
__attribute__((weak)) |
|
|
__attribute__((weak)) |
|
|
|
|
|
|
|
|
__attribute__((weak)) |
|
|
__attribute__((weak)) |
|
|
void abort(void) |
|
|
void abort(void) |
|
|
{ |
|
|
{ |
|
|
while (1) ; |
|
|
|
|
|
|
|
|
while (1) asm ("WFI"); |
|
|
} |
|
|
} |