http://forum.pjrc.com/threads/25385-static-local-variables-aren-t-staticmain
} | } | ||||
__attribute__((weak)) | __attribute__((weak)) | ||||
int __cxa_guard_acquire (int *g) | |||||
int __cxa_guard_acquire (char *g) | |||||
{ | { | ||||
return 1; | |||||
return !(*g); | |||||
} | } | ||||
__attribute__((weak)) | __attribute__((weak)) | ||||
void __cxa_guard_release(int *g) | |||||
void __cxa_guard_release(char *g) | |||||
{ | { | ||||
*g = 1; | |||||
} | } | ||||
int nvic_execution_priority(void) | int nvic_execution_priority(void) |