We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bfc98e commit afc449eCopy full SHA for afc449e
drivers/flash/flash_sam0.c
@@ -30,7 +30,7 @@ LOG_MODULE_REGISTER(flash_sam0);
30
* Number of lock regions. The number is fixed and the region size
31
* grows with the flash size.
32
*/
33
-#define LOCK_REGIONS DT_ATMEL_SAM0_NVMCTRL_0_LOCK_REGIONS
+#define LOCK_REGIONS DT_INST_0_ATMEL_SAM0_NVMCTRL_LOCK_REGIONS
34
#define LOCK_REGION_SIZE (FLASH_SIZE / LOCK_REGIONS)
35
36
#if defined(NVMCTRL_BLOCK_SIZE)
0 commit comments