Skip to content

Commit c269d76

Browse files
authored
Add flags to support 128 and 256 bit word flash architectures (#2405)
***NO_CI***
1 parent cbee7b0 commit c269d76

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/PAL/Include/nanoPAL_BlockStorage.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,13 @@ typedef enum BlockRegionAttribute
172172
{
173173
// block region is memory mapped
174174
BlockRegionAttribute_MemoryMapped = 0x0100,
175-
// programming width is 64bits
175+
176+
// Flash word size 64 bits
176177
BlockRegionAttribute_ProgramWidthIs64bits = 0x0200,
178+
// Flash word size 128 bits
179+
BlockRegionAttribute_ProgramWidthIs128bits = 0x0400,
180+
// Flash word size 256 bits
181+
BlockRegionAttribute_ProgramWidthIs256bits = 0x0800,
177182

178183
} BlockRegionAttribute;
179184

0 commit comments

Comments
 (0)