We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f83a5a9 commit 9c678afCopy full SHA for 9c678af
2 files changed
src/fw/flash_region/flash_region.h
@@ -42,7 +42,7 @@
42
#elif PLATFORM_SNOWY || PLATFORM_SPALDING
43
#include "flash_region_s29vs.h"
44
#elif PLATFORM_OBELIX
45
- #include "flash_region_mt25q.h"
+ #include "flash_region_sf32lb_int.h"
46
#else
47
#error "Unknown platform"
48
#endif
src/fw/flash_region/flash_region_sf32lb_int.h
@@ -0,0 +1,12 @@
1
+#pragma once
2
+
3
+#define SECTOR_SIZE_BYTES 0x10000
4
+#define SECTOR_ADDR_MASK (~(SECTOR_SIZE_BYTES - 1))
5
6
+#define SUBSECTOR_SIZE_BYTES 0x1000
7
+#define SUBSECTOR_ADDR_MASK (~(SUBSECTOR_SIZE_BYTES - 1))
8
+#define FLASH_FILESYSTEM_BLOCK_SIZE SUBSECTOR_SIZE_BYTES
9
10
+// Filesystem layout
11
+///////////////////////////////////////
12
+// TODO
0 commit comments