Skip to content

Commit

Permalink
ports/rp2: Wait a LONG time for PSRAM init...
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Howard <[email protected]>
  • Loading branch information
Gadgetoid committed Sep 27, 2024
1 parent c98c139 commit b504e66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/rp2/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ int main(int argc, char **argv) {
mp_cstack_init_with_top(&__StackTop, &__StackTop - &__StackBottom);

#if defined(MICROPY_HW_PSRAM_CS_PIN) && MICROPY_HW_ENABLE_PSRAM
mp_event_wait_ms(1000);
size_t psram_size = psram_init(MICROPY_HW_PSRAM_CS_PIN);
if (psram_size) {
#if MICROPY_GC_SPLIT_HEAP
Expand Down

0 comments on commit b504e66

Please sign in to comment.