Browse Source

boards: arm: qemu_cortex_m0: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 1 year ago committed by Carles Cufi
parent
commit
6dd2723314
  1. 2
      boards/bbc/bbc_microbit/board.yml
  2. 0
      boards/qemu/qemu_cortex_m0/CMakeLists.txt
  3. 3
      boards/qemu/qemu_cortex_m0/Kconfig
  4. 3
      boards/qemu/qemu_cortex_m0/Kconfig.defconfig
  5. 4
      boards/qemu/qemu_cortex_m0/Kconfig.qemu_cortex_m0
  6. 0
      boards/qemu/qemu_cortex_m0/board.cmake
  7. 3
      boards/qemu/qemu_cortex_m0/board.yml
  8. 0
      boards/qemu/qemu_cortex_m0/doc/index.rst
  9. 0
      boards/qemu/qemu_cortex_m0/nrf_timer_timer.c
  10. 0
      boards/qemu/qemu_cortex_m0/pre_dt_board.cmake
  11. 0
      boards/qemu/qemu_cortex_m0/qemu_cortex_m0-pinctrl.dtsi
  12. 0
      boards/qemu/qemu_cortex_m0/qemu_cortex_m0.dts
  13. 0
      boards/qemu/qemu_cortex_m0/qemu_cortex_m0.yaml
  14. 11
      boards/qemu/qemu_cortex_m0/qemu_cortex_m0_defconfig

2
boards/bbc/bbc_microbit/board.yml

@ -1,3 +1,5 @@ @@ -1,3 +1,5 @@
board:
name: bbc_microbit
vendor: BBC
socs:
- name: nrf51822

0
boards/boards_legacy/arm/qemu_cortex_m0/CMakeLists.txt → boards/qemu/qemu_cortex_m0/CMakeLists.txt

3
boards/boards_legacy/arm/qemu_cortex_m0/Kconfig → boards/qemu/qemu_cortex_m0/Kconfig

@ -1,6 +1,9 @@ @@ -1,6 +1,9 @@
# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BOARD_QEMU_CORTEX_M0
select QEMU_TARGET
config NRF_TIMER_TIMER
bool "nRF Timer Counter (NRF_TIMER0) Timer"
depends on CLOCK_CONTROL

3
boards/boards_legacy/arm/qemu_cortex_m0/Kconfig.defconfig → boards/qemu/qemu_cortex_m0/Kconfig.defconfig

@ -5,9 +5,6 @@ @@ -5,9 +5,6 @@
if BOARD_QEMU_CORTEX_M0
config BOARD
default "qemu_cortex_m0"
config NRF_RTC_TIMER
default n if SYS_CLOCK_EXISTS

4
boards/boards_legacy/arm/qemu_cortex_m0/Kconfig.board → boards/qemu/qemu_cortex_m0/Kconfig.qemu_cortex_m0

@ -4,6 +4,4 @@ @@ -4,6 +4,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_QEMU_CORTEX_M0
bool "Cortex-M0 Emulation (QEMU)"
depends on SOC_NRF51822_QFAA
select QEMU_TARGET
select SOC_NRF51822_QFAA

0
boards/boards_legacy/arm/qemu_cortex_m0/board.cmake → boards/qemu/qemu_cortex_m0/board.cmake

3
boards/qemu/qemu_cortex_m0/board.yml

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
board:
name: qemu_cortex_m0
vendor: Nordic Semiconductor

0
boards/boards_legacy/arm/qemu_cortex_m0/doc/index.rst → boards/qemu/qemu_cortex_m0/doc/index.rst

0
boards/boards_legacy/arm/qemu_cortex_m0/nrf_timer_timer.c → boards/qemu/qemu_cortex_m0/nrf_timer_timer.c

0
boards/boards_legacy/arm/qemu_cortex_m0/pre_dt_board.cmake → boards/qemu/qemu_cortex_m0/pre_dt_board.cmake

0
boards/boards_legacy/arm/qemu_cortex_m0/qemu_cortex_m0-pinctrl.dtsi → boards/qemu/qemu_cortex_m0/qemu_cortex_m0-pinctrl.dtsi

0
boards/boards_legacy/arm/qemu_cortex_m0/qemu_cortex_m0.dts → boards/qemu/qemu_cortex_m0/qemu_cortex_m0.dts

0
boards/boards_legacy/arm/qemu_cortex_m0/qemu_cortex_m0.yaml → boards/qemu/qemu_cortex_m0/qemu_cortex_m0.yaml

11
boards/boards_legacy/arm/qemu_cortex_m0/qemu_cortex_m0_defconfig → boards/qemu/qemu_cortex_m0/qemu_cortex_m0_defconfig

@ -1,20 +1,17 @@ @@ -1,20 +1,17 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF51X=y
CONFIG_SOC_NRF51822_QFAA=y
CONFIG_BOARD_QEMU_CORTEX_M0=y
CONFIG_QEMU_ICOUNT_SHIFT=6
# enable GPIO
# Enable GPIO
CONFIG_GPIO=y
# clock control
# Clock control
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y
# enable uart driver
# Enable UART driver
CONFIG_SERIAL=y
# enable console
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
Loading…
Cancel
Save