Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hw/mcu: Add family and series defs to syscfg #2869

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions hw/mcu/ambiq/apollo2/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_APOLLO2: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/ambiq/apollo3/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_APOLLO3: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
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/microchip/pic32mx470f512h/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#

syscfg.defs:
MCU_FAMILY_PIC32MX: 1
MCU_SERIES_PIC32MX4: 1

I2C_0:
description: 'I2C (TWI) interface 0'
value: 0
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/microchip/pic32mz/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_FAMILY_PIC32MZ: 1

MCU_PIC32MZ:
description: MCUs are of PIC32MZ family.
value: 1
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
3 changes: 3 additions & 0 deletions hw/mcu/sifive/fe310/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#

syscfg.defs:
MCU_FAMILY_SIFIVE_FREEDOM_FE300: 1
MCU_SERIES_SIFIVE_FREEDOM_FE310: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/stm/stm32_common/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
# under the License.

syscfg.defs:
MCU_FAMILY_STM32: 1

TIMER_0:
description: 'Timer 0'
value: 1
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/stm/stm32f1xx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_STM32F1: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/stm/stm32f3xx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_STM32F3: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/stm/stm32f4xx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_STM32F4: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/stm/stm32f7xx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_STM32F7: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/stm/stm32h7xx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_STM32H7: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/stm/stm32l0xx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_STM32L0: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/stm/stm32l1xx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_STM32L1: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/stm/stm32l4xx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_STM32L4: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down
2 changes: 2 additions & 0 deletions hw/mcu/stm/stm32wbxx/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#

syscfg.defs:
MCU_SERIES_STM32WB: 1

MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Expand Down