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 <algernon@keyboard.io>
pull/1112/head
Gergely Nagy 3 years ago
parent a4f327df7a
commit d4f6430c66

@ -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 <typename _StorageProps>

Loading…
Cancel
Save