From 04c25f94cadd389de3dfc1039d990a9a4fb5d60e Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Mon, 16 Nov 2020 00:44:26 +0200 Subject: [PATCH] SDRAM test updates. * Make SDRAM test cache-aware. * Add flag to control SDRAM test. * Re-enable test for all boards. --- src/micropython | 2 +- src/omv/main.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/micropython b/src/micropython index 80d8cb568..66ef64e97 160000 --- a/src/micropython +++ b/src/micropython @@ -1 +1 @@ -Subproject commit 80d8cb56882a3e723f71258f2dc782919091c239 +Subproject commit 66ef64e97712a80d02f072706c2e88513379a0f3 diff --git a/src/omv/main.c b/src/omv/main.c index c784a576c..4ea71b2e3 100644 --- a/src/omv/main.c +++ b/src/omv/main.c @@ -444,6 +444,10 @@ int main(void) sdram_ok = sdram_init(); #endif + #if MICROPY_HW_SDRAM_STARTUP_TEST + sdram_test(MICROPY_HW_SDRAM_TEST_EXHAUSTIVE); + #endif + // Basic sub-system init led_init(); pendsv_init();