Skip to content

Commit 835e4b5

Browse files
hw/mcu: Add family and series defs to syscfg
Those allow for conditional configurations to be implemented. It may be possible to retrieve the same information via vendor provided defs in header files, but with syscfg defs we can also use this in pkg or syscfg deps.
1 parent 988562e commit 835e4b5

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

hw/mcu/dialog/da1469x/syscfg.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
#
1818

1919
syscfg.defs:
20+
MCU_FAMILY_SMARTBOND: 1
21+
MCU_SERIES_DA1469X: 1
22+
2023
MCU_TARGET:
2124
description: Specifies target MCU, shall be set by BSP.
2225
value:

hw/mcu/nordic/nrf51xxx/syscfg.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
#
1818

1919
syscfg.defs:
20+
MCU_FAMILY_NRF: 1
21+
MCU_SERIES_NRF51: 1
22+
2023
MCU_TARGET:
2124
description: >
2225
Specifies target MCU, shall be set by BSP.

hw/mcu/nordic/nrf52xxx/syscfg.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
#
1818

1919
syscfg.defs:
20+
MCU_FAMILY_NRF: 1
21+
MCU_SERIES_NRF52: 1
22+
2023
MCU_TARGET:
2124
description: >
2225
Specifies target MCU, shall be set by BSP.

hw/mcu/nordic/nrf5340/syscfg.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
#
1818

1919
syscfg.defs:
20+
MCU_FAMILY_NRF: 1
21+
MCU_SERIES_NRF53: 1
22+
2023
MCU_TARGET:
2124
description: >
2225
Specifies target MCU.

hw/mcu/nordic/nrf5340_net/syscfg.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
#
1818

1919
syscfg.defs:
20+
MCU_FAMILY_NRF: 1
21+
MCU_SERIES_NRF53: 1
22+
2023
MCU_TARGET:
2124
description: >
2225
Specifies target MCU.

hw/mcu/nordic/nrf91xx/syscfg.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
#
1818

1919
syscfg.defs:
20+
MCU_FAMILY_NRF: 1
21+
MCU_SERIES_NRF91: 1
22+
2023
MCU_TARGET:
2124
description: >
2225
Specifies target MCU, shall be set by BSP.

0 commit comments

Comments
 (0)