Skip to content

Commit 28da5fd

Browse files
committed
sam0: flash: Fix build issue reported by flash_shell sample
The DT_FLASH_DEV_NAME define used by the sample was set to a define symbol that was never generated. Change it to use DT_INST_0_ATMEL_SAM0_NVMCTRL_LABEL on the sam0 family of SoCs that had this issue. Signed-off-by: Kumar Gala <[email protected]>
1 parent b1de748 commit 28da5fd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

soc/arm/atmel_sam0/samd51/dts_fixup.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/* SoC level DTS fixup file */
88

9-
#define DT_FLASH_DEV_NAME DT_ATMEL_SAM0_NVMCTRL_0_LABEL
9+
#define DT_FLASH_DEV_NAME DT_INST_0_ATMEL_SAM0_NVMCTRL_LABEL
1010

1111
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
1212

soc/arm/atmel_sam0/same51/dts_fixup.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/* SoC level DTS fixup file */
88

9-
#define DT_FLASH_DEV_NAME DT_ATMEL_SAM0_NVMCTRL_0_LABEL
9+
#define DT_FLASH_DEV_NAME DT_INST_0_ATMEL_SAM0_NVMCTRL_LABEL
1010

1111
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
1212

soc/arm/atmel_sam0/same53/dts_fixup.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/* SoC level DTS fixup file */
88

9-
#define DT_FLASH_DEV_NAME DT_ATMEL_SAM0_NVMCTRL_0_LABEL
9+
#define DT_FLASH_DEV_NAME DT_INST_0_ATMEL_SAM0_NVMCTRL_LABEL
1010

1111
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
1212

soc/arm/atmel_sam0/same54/dts_fixup.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/* SoC level DTS fixup file */
88

9-
#define DT_FLASH_DEV_NAME DT_ATMEL_SAM0_NVMCTRL_0_LABEL
9+
#define DT_FLASH_DEV_NAME DT_INST_0_ATMEL_SAM0_NVMCTRL_LABEL
1010

1111
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
1212

0 commit comments

Comments
 (0)