Skip to content

Commit b504e66

Browse files
committed
ports/rp2: Wait a LONG time for PSRAM init...
Signed-off-by: Phil Howard <[email protected]>
1 parent c98c139 commit b504e66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/rp2/main.c

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ int main(int argc, char **argv) {
127127
mp_cstack_init_with_top(&__StackTop, &__StackTop - &__StackBottom);
128128

129129
#if defined(MICROPY_HW_PSRAM_CS_PIN) && MICROPY_HW_ENABLE_PSRAM
130+
mp_event_wait_ms(1000);
130131
size_t psram_size = psram_init(MICROPY_HW_PSRAM_CS_PIN);
131132
if (psram_size) {
132133
#if MICROPY_GC_SPLIT_HEAP

0 commit comments

Comments
 (0)