@ -93,7 +93,13 @@ int main(void) {
return 0;
}
// Micropython file I/O stubs
// MicroPython default exception handler
void __attribute__((noreturn)) nlr_jump_fail(void *val) {
__fatal_error("uncaught exception", NULL, 0, NULL);
// MicroPython file I/O stubs
mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
return NULL;
@ -26,10 +26,6 @@ void __assert_func(const char *file, int line, const char *func, const char *exp
#endif
void periph_init(void) {
// STM32F4xx HAL library initialization:
@ -16,8 +16,6 @@ void periph_init(void);
void __attribute__((noreturn)) __fatal_error(const char *msg, const char *file, int line, const char *func);
void __attribute__((noreturn)) nlr_jump_fail(void *val);
void jump_to(uint32_t address);
void hal_delay(uint32_t ms);