From d4f6430c66268dc30ad2e0011a6a7e2ccf895542 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 19 Feb 2022 10:30:50 +0100 Subject: [PATCH] driver::storage::GD32Flash: Adjust the default storage size Storage must be page aligned and must span full pages. Adjust the default storage size accordingly, so it is a multiple of 4096. Signed-off-by: Gergely Nagy --- src/kaleidoscope/driver/storage/GD32Flash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kaleidoscope/driver/storage/GD32Flash.h b/src/kaleidoscope/driver/storage/GD32Flash.h index de6776e2..fbc02738 100644 --- a/src/kaleidoscope/driver/storage/GD32Flash.h +++ b/src/kaleidoscope/driver/storage/GD32Flash.h @@ -28,7 +28,7 @@ namespace driver { namespace storage { struct GD32FlashProps : kaleidoscope::driver::storage::BaseProps { - static constexpr uint16_t length = 10240; + static constexpr uint16_t length = 16384; }; template