Skip to content

Commit

Permalink
hw/mcu: Add family and series defs to syscfg
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
andrzej-kaczmarek committed Sep 6, 2022
1 parent 988562e commit 835e4b5
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hw/mcu/dialog/da1469x/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#

syscfg.defs:
MCU_FAMILY_SMARTBOND: 1
MCU_SERIES_DA1469X: 1

MCU_TARGET:
description: Specifies target MCU, shall be set by BSP.
value:
Expand Down
3 changes: 3 additions & 0 deletions hw/mcu/nordic/nrf51xxx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#

syscfg.defs:
MCU_FAMILY_NRF: 1
MCU_SERIES_NRF51: 1

MCU_TARGET:
description: >
Specifies target MCU, shall be set by BSP.
Expand Down
3 changes: 3 additions & 0 deletions hw/mcu/nordic/nrf52xxx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#

syscfg.defs:
MCU_FAMILY_NRF: 1
MCU_SERIES_NRF52: 1

MCU_TARGET:
description: >
Specifies target MCU, shall be set by BSP.
Expand Down
3 changes: 3 additions & 0 deletions hw/mcu/nordic/nrf5340/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#

syscfg.defs:
MCU_FAMILY_NRF: 1
MCU_SERIES_NRF53: 1

MCU_TARGET:
description: >
Specifies target MCU.
Expand Down
3 changes: 3 additions & 0 deletions hw/mcu/nordic/nrf5340_net/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#

syscfg.defs:
MCU_FAMILY_NRF: 1
MCU_SERIES_NRF53: 1

MCU_TARGET:
description: >
Specifies target MCU.
Expand Down
3 changes: 3 additions & 0 deletions hw/mcu/nordic/nrf91xx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#

syscfg.defs:
MCU_FAMILY_NRF: 1
MCU_SERIES_NRF91: 1

MCU_TARGET:
description: >
Specifies target MCU, shall be set by BSP.
Expand Down

0 comments on commit 835e4b5

Please sign in to comment.