diff options
Diffstat (limited to 'stm/main.c')
-rw-r--r-- | stm/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c index 9fc9633ff2..9f2b6d564a 100644 --- a/stm/main.c +++ b/stm/main.c @@ -206,12 +206,14 @@ static mp_obj_t pyb_info(void) { return mp_const_none; } +#if MICROPY_HW_HAS_SDCARD // SD card test static mp_obj_t pyb_sd_test(void) { extern void sdio_init(void); sdio_init(); return mp_const_none; } +#endif static void SYSCLKConfig_STOP(void) { /* After wake-up from STOP reconfigure the system clock */ @@ -594,7 +596,7 @@ int main(void) { soft_reset: // GC init - gc_init(&_heap_start, (void*)HEAP_END); + gc_init(&_heap_start, &_heap_end); // Micro Python init qstr_init(); |