Compare commits

...

967 Commits

Author SHA1 Message Date
Jamie McCrae
57302b5bfb soc: Remove soc_legacy folder and move ARM Kconfig
Removes the soc_legacy folder which is left over from the
transition to hwmv2 and moves the Kconfig for ARM to arch

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 19:03:21 +00:00
Daniel DeGrasse
f12cb0979f scripts: ci: check_compliance: remove HWMv1 checks
Remove HWMv1 check compliance code, since no HWMv1 boards or SOCs
now exist in tree

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Co-authored-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
1807bcf4d4 boards: mimx8mq_evk: port to HWMv2
Port mimx8mq_evk to HWMv2. As this is the final SOC in the legacy
boards folder, that folder is also removed

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
3ec2299c62 soc: nxp: port imx8mq SOC to HWMv2
Port IMX8M Quad SOC to HWMv2. Only the M4 core is enabled.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
8ea02f4e63 boards: verdin_imx8mp: convert to HVMv2
Convert verdin_imx8mp to HWMv2. Only the M7 core of the iMX8MP is
currently supported

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
f2eb7652ce boards: phyboard_pollux: move to HVMv2
Move phyboard_pollux to HWMv2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
ab509a5ee0 boards: nxp: mimx8mp_evk: port M7 core to HWMv2
Port M7 core of mimx8mp_evk to HWMv2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
06ad037f99 soc: nxp: imx8mp: port M7 core to HWMv2
Port M7 core of imx8mp to HWMv2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
3f9e706859 boards: mimx8mm_phyboard: convert to HVMv2
Convert mimx8mm_phyboard to HVMv2. This port only enables the M4 core of
the iMX8MM SOC present on this board.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
204372d264 boards: imx8mm_evk: port CM4 core to HWMv2
Port CM4 core to HVMv2. This core is merged with the existing board
definition, which supported the A53 target.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
f82c961a46 soc: nxp: imx8mm: port iMX8MM M4 core to HVMv2
Port iMX8MM M4 core of iMX8MM SOC  to HVMv2. The A53 core has already
been ported, so this port adds to that SOC definition.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
6987b2e305 boards: pico_pi: convert to HVMv2
Convert pico_pi board to HWMv2. This board port only supports the M4
core on the SOC

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
84484e6707 boards: warp7: convert to HWMv2
Convert warp7 board to HWMv2. This board was originally ported
using the iMX7D SOC (despite the fact that board uses an iMX7S
SOC). For HWMv2, this board continues to use the IMX7D SOC port,
since only the M4 core is enabled.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
ae443d1e3c boards: meerkat96: port to HWMv2
Port 96boards meerkat96b board to HWMv2. This board port only supports
the M4 core present on the iMX7D SOC.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
e3629c64e6 boards: colibri_imx7d: port to HWMv2
Port Colibri iMX7D board to HWMv2. This port only supports the M4 core
of the iMX7D SOC.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
fc835d893d soc: nxp: convert iMX7 Dual core to HWMv2
Convert iMX7 Dual core to HWMv2. As in HWMv1, Only M4 core is supported
by this port.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
29ef2f23eb boards: udoo_neo_full: convert to HWMv2
Convert udoo_neo_full board to HWMv2.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
fd49b1749e soc: nxp: convert iMX6 SoloX core to HWMv2
Convert iMX6 SoloX core to HWMv2. This port currently only supports the
M4 core (as it did in HWMv1)

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Daniel DeGrasse
1e59b7a3fd soc: nxp: imxrt11xx: only set CONFIG_CPU_HAS_FPU_DOUBLE_PRECISION for M7
Only set CONFIG_CPU_HAS_FPU_DOUBLE_PRECISION for Cortex M7 cores, as the
M4 core on iMXRT11xx parts does have a double precision FPU

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 17:29:02 +00:00
Declan Snyder
69bb0eb258 hwmv2: MAINTAINERS: Fix NXP maintainer yaml
Fix orphaned areas and wrong assigns of NXP platform areas,
add MPU area, and clean up files patterns using regex

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-01 18:19:13 +01:00
Jamie McCrae
1c4458890f boards: firefly: roc_rk3568_pc: Fix SMP configuration
Fixes the build configuration

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Jamie McCrae
651a4370ad boards: Fix variants and revisions
Fixes revisions and variants which do not have the soc name in
the filenames

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Jamie McCrae
196cfda66d tests/samples: Drop default revision identifiers
Drops default identifiers

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Jamie McCrae
6ec6b1d75a boards: Drop revision from twister identifiers for default revisions
Drops default revisions for twister usage for the default board
revisions

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Gerard Marull-Paretas
b774cdd59f scripts: utils: board_v1_to_v2: drop board_legacy prefix
So that script can be used for out of tree boards from now on. All
in-tree boards have been already ported, so the prefix no longer makes
sense.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:50:14 +01:00
Sylvio Alves
7aa36e6640 boards: riscv: esp32c3_luatos_core: make usb variant
Converts the board above to use variant option.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:14 +01:00
Torsten Rasmussen
fe25709a9c twister: add unit_testing soc and board
Create board.yml and soc.yml for the unit_testing board so that
list_board.py can correctly find those boards for twister unit test
test-cases.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Fabio Baltieri
f88f211b4e scripts: ci: check_compliance: improve the "not sorted" command
Add a message to the KeepSorted error message with a oneline command to
sort the block failing the check.

Looks something like:

KeepSorted:sorted block is not sorted, sort by running:
"ex -s -c '14,757 sort i|x' dts/bindings/vendor-prefixes.txt"

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:14 +01:00
Jamie McCrae
b21a455dfb bluetooth: controller: Fix openisa checks
Fixes openisa checks which has been renamed

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Jamie McCrae
fdc76c48a7 workflow: compliance: Add rename limit
Adds a rename limit to allow CI checks to run

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Jamie McCrae
14ecafc67d dts: bindings: vendor-prefixes: Sort entries
Fixes out of order entries

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Jamie McCrae
dbc366c3c7 soc: nxp: lpc: Move wrong configurations
Moves wrong configuration items to the correct files

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Jamie McCrae
8e02c08f96 maintainers: Fix invalid paths
Fixes invalid paths

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Jamie McCrae
b1b85e2495 boards: up: Fix spaces
Fixes compliance issue

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:14 +01:00
Jamie McCrae
58cc4013b3 maintainers: Fix xen path
Fixes a path which was not updated for the xen soc

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
66ce5c0b09 boards/soc: Add missing copyright headers
Adds missing copyright headers

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
bb47243254 boards: qemu: x86: Remove pointless file
Removes a pointless file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Sylvio Alves
2e816a8a3a samples: tests: update esp32-based board naming
Make sure all those samples and tests use cpu cluster naming.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
9aeab17139 samples: tests: remove platform_exclude of esp32 boards
Those related tests are automatically filtered out and
the boards can be removed from there.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
a4fe97b9de boards: shields: m5stack_core2_ext: update board name
Update documentation to meet HWMv2 naming convention.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
615fcab94a samples: ipm_esp32: fix board labels and skip testing
This sample code is currently not yet read for HWMv2 and sysbuild.
Skip this test for now and have a fix later.

Make sure sample code uses HWMv2 for board
naming convention.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
7752f69b7f boards: legacy: remove index entry for xtensa/riscv boards.
There are no documents to be build within this
board_legacy folder.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
3eba827956 MAINTAINERS: update Espressif entries
Make sure there is no invalid folder.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
914362bbd5 boards: xtensa: yd_esp32: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
a62278fd23 boards: xtensa: xiao_esp32s3: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
b6a11ccec4 boards: xtensa: olimex_esp32_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
c1067c16d2 boards: xtensa: odroid_go: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
b8340b0109 boards: xtensa: m5stickc_plus: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
9d81e417be boards: xtensa: m5stack_stamps3: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
c296672720 boards: xtensa: m5stack_core2: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
fada12aa9d boards: xtensa: m5stack_atoms3_lite: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
fe37ebac1e boards: xtensa: m5stack_atoms3: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
d32828fe6a boards: xtensa: kincony_kc868_a32: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
5afba7855b boards: xtensa: heltec_wireless_stick_lite_v3: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
ca48c17723 boards: xtensa: heltec_wifi_lora32_v2: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Sylvio Alves
db1fd4d229 boards: xtensa: esp32s3_luatos_core: Convert to v2
Converts the board to hwmv2

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:13 +01:00
Jamie McCrae
a78b2552eb boards: xtensa: esp32s3_devkitm: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
cc96061d96 boards: xtensa: esp32s2_saola: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
ed854e05d1 boards: xtensa: esp32s2_lolin_mini: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
4fa1ae8110 boards: xtensa: esp32s2_franzininho: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
5543040a18 boards: xtensa: esp_wrover_kit: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
2335ae79b3 boards: xtensa: esp32_ethernet_kit: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
f910b7ad4f boards: xtensa: esp32_devkitc_wrover: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
32104db555 boards: xtensa: esp32_devkitc_wroom: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
e23a41200d boards: riscv: icev_wireless: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
3c670e4e53 boards: riscv: xiao_esp32c3: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
fc7c6a060b boards: riscv: stamp_c3: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:13 +01:00
Jamie McCrae
22c2edb89c boards: riscv: esp32c3_luatos_core: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Jamie McCrae
0a96dcb778 boards: riscv: esp32c3_devkitm: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Sylvio Alves
be1ee1c446 vendors: update vendors lists
Add esp32-based board vendors.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-01 15:50:12 +01:00
Jamie McCrae
5e6c62137f soc: espressif_esp32: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Torsten Rasmussen
037a3b52a4 boards: Raspberry Pi pico pwm led adjustment
The Raspberry Pi pico defines PWM leds, but on the Raspberry Pi pico
w-variant the gpio to the led is routed to the WiFi/Bluetooth module,
thus the led is not available.

Introduce a HAS_DT_PWM_LED define which allows devicetree overlays for
the rpi_pico board to distinguish between board variants with a pwm
controlled led, and those without.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Torsten Rasmussen
7277cae6fa samples: blinky_pwm: enable pwm_leds in rpi_pico overlay
Twister skips the blinky_pwm sample for the rpi_pico board because the
pwm-leds compatible is disabled.

Enable /pwm_leds node so that twister build the sample for the rpi_pico
board.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Daniel DeGrasse
da3e49d34e boards: nxp: update selection of FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET
Update selection of FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET to now depend on
FLASH_MCUX_FLEXSPI_XIP, as this is the symbol that drives the need to
relocate critical FlexSPI files to RAM.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:12 +01:00
Daniel DeGrasse
bc8424dd3b soc: nxp: imxrt: move FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET to SOC level
FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET definition is required to relocate SOC
level files, as well as Flash and MEMC drivers. Therefore, move the
Kconfig definition to the SOC level, and update the dependencies to
better reflect when the definition is needed.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:12 +01:00
Jamie McCrae
041cb52939 soc: brcm: bcm_vk: Rename to bcnvk
Fixes a name mismatch with a family

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Jamie McCrae
576b43a95c soc: Fix SOC_FAMILY name mismatches
Fixes mismatches or missing SOC_FAMILY entries

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Dmitrii Golovanov
e8f3e6494d hwmv2: boards: intel: adsp: Fix runner after paths renamed
Fix intel_adsp runner unable to find boards for flash after
'drop duplicate prefix' folder renames #69505

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:12 +01:00
Jamie McCrae
550399e927 boards: weact: stm32g431_core: Add wrongly deleted file back
Adds a file back that was wrongly deleted in an unrelated
commit

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Jamie McCrae
08708c909e tests: drivers: flash: Renamed missed board rename
Fixes a test which missed the rename of a board

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
David Leach
06dac41e68 hwmv2: Convert Seagate Faze board to hwmv2
Convert Faze board

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
dd8f842b40 hwmv2: nxp: update MAINTAINER paths for hwmv2
Update for hwmv2

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
Emilio Benavente
b4d1c04978 hwmv2: lpc: updated overlay and conf files in samples and tests
Fixup for LPC54114 and LPC55S69

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
067c69089e boards: nxp: convert lpcxpresso55s69 to hwmv2
Convert lpcxpresso55s69

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
097205b40a hwmv2: Global fix of lpc54114_m4 overlay and conf files
Global fixup of overlay and conf files

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
d8cfa6fb29 boards: nxp: convert lpcxpresso54114 to hwmv2
Convert lpcxpresso54114

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
c29ed228c6 boards: nxp: convert lpcxpresso55s36 to hwmv2
Convert lpcxpresso55s36

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
88cfd3d6ac boards: nxp: convert lpcxpresso55s28 to hwmv2
Convert lpcxpresso55s28

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
ad30c940ee boards: nxp: convert lpcxpresso55s16 to hwmv2
Convert lpcxpresso55s16

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
9e5a10ec80 boards: nxp: convert lpcxpresso55s06 to hwmv2
Convert lpcxpresso55s06

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
5650c83268 boards: nxp: convert lpcxpresso51u68 to hwmv2
Convert lpcxpresso51u68

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
82cf44be45 boards: nxp: convert lpcxpresso11u68 to hwmv2
Convert lpcxpresso11u68

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
David Leach
1a9c405a6f soc: nxp: convert LPC SOC family to hardware model V2
Move LPC family to HWMv2

Signed-off-by: David Leach <david.leach@nxp.com>

soc: nxp: convert LPC SOC family to hardware model V2

Move LPC family to HWMv2

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:12 +01:00
Dmitrii Golovanov
f2b536d253 boards: intel: doc: hwmv2: Fix some renamed paths
Fix some paths affected by 'drop duplicate prefix' at folder
names in boards change.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:12 +01:00
Jamie McCrae
5ee6058710 samples/tests: Use board revisions
Updates boards so that the correct revision/revisions is/are tested

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Jamie McCrae
b76687602f boards: Add yaml files for boards missing revisions
Adds dedicated yaml files for board that have revisions

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Jamie McCrae
32ae4918d0 boards: nordic: Fix board names
Fixes some board names in documentation that wasn't updated

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Jamie McCrae
cc1dabca65 MAINTAINERS: Update for renamed folders
Updates for folders renamed to have their vendor prefix names

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Jamie McCrae
a37ddce659 soc: xilinx: Rename to xlnx
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Jamie McCrae
a1393a07f6 soc: xenvm: Rename to xen
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Jamie McCrae
813ed00f67 soc: raspberry_pi: Rename to raspberrypi
Aligns with the vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:12 +01:00
Jamie McCrae
71317d6798 soc: cadence: Rename to cdns
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
8cb0c51ec6 soc: broadcom: Rename to brcm
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
2b9db15c69 soc: andes: Rename to andestech
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
0101216ce1 soc: altera: Rename to altr
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
4b4c3ca65d boards: wurth_elektronik: Rename to we
Aligns with the vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
cdc3ef499f boards: ublox: Rename to u-blox
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
cabdd4ad05 boards: space_cubics: Rename to sc
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
4b5bd7ae8a boards: seeed_studio: Rename to seeed
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
a992785ceb boards: raspberry_pi: Rename to raspberrypi
Aligns with the vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
3c1cdc20fe boards: laird_connect: Rename to lairdconnect
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
291c7cde2b boards: cadence: Rename to cdns
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
95db897526 boards: broadcom: Rename to brcm
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
0a47b94879 boards: beagleboard: Change to beagle
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
9f9f221c24 boards: andes: Rename to andestech
Aligns with vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
e7869ca38a boards: altera: Rename to altr
Aligns with the vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
bf2fb5eca3 various: Change SOC_FAMILY_NRF to SOC_FAMILY_NORDIC_NRF
Fixes the name to include the vendor in it

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
e25730ba56 modules: tf-m: Rename from nordic_nrf to nordic
Aligns with the vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
9e3466606a boards: nordic_nrf: Rename to nordic
Aligns with the vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
09a398dcc8 soc: nordic_nrf: Rename to nordic
Renames to align with the vendor prefix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
cb8ffc74f8 boards: renode: Add documentation index
Adds a documentation index file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
2291ff4b55 boards: arm: riscv32_virtual: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
484b7f1996 soc: riscv_renode_virtual: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
cc5c2fb0c7 soc: raspberry_pi: Fix SOC_SERIES and SOC mismatch
Fixes mismatch between values and names

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
59cb580513 soc: arm: designstart: Fix SOC_SERIES and SOC mismatch
Fixes mismatch between values and names

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:11 +01:00
Jamie McCrae
aa9e0de7af samples: Fix invalid links
Fixes links that are invalid

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
a1480cf1cf maintainers: Fix paths
Updates paths from hwmv2 changes

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
0d719e004b boards: Update documentation links
Updates documentation links for shortened paths

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
eb5c3e6f79 boards: wurth_elektronik: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
a34a3640b7 boards: waveshare: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
cf50e950e7 boards: weact: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
737cfb548f boards: sparkfun: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
505494c97a boards: segger: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
4eaf69f37a boards: ruuvi: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
a1335caeae boards: ronoth: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
a9f7f30bf6 boards: raytac: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
80db4c81b3 boards: qemu: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
433d7e9976 boards: particle: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
4ea79d19e7 boards: olimex: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
fd4ae6f6a8 boards: mikroe: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
36080549bd boards: khados: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
169bf8ae1d boards: intel: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
25f04d5222 boards: holyiot: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
11c2af0de8 boards: google: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
d5128f4016 boards: ebyte: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
44fbc68cad boards: dragino: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
f7fe431b44 boards: contextual_electronics: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
9094fea63b boards: circuit_dojo: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
b632acc1fc boards: blue_clover: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
1a3316ebdc boards: bbc: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
71c0344f8c boards: arduino: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
f0176fc25f boards: altera: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
36b920ed0f boards: adi: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:10 +01:00
Jamie McCrae
22520368d9 boards: adafruit: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:09 +01:00
Jamie McCrae
296acfb2bc boards: actinius: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:09 +01:00
Jamie McCrae
55063380b7 boards: 96boards: Drop duplicate prefix
Drops the prefix since the parent folder has it already

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:09 +01:00
Daniel DeGrasse
1f93394b55 boards: nxp: convert mimxrt595_evk to hardware model v2
Convert mimxrt595_evk to hardware model v2. Both the CM33 and Fusion F1
DSP devicetrees are moved to reside in the same board folder

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:09 +01:00
Daniel DeGrasse
e7a4fd2ec1 soc: nxp: rt5xx: convert RT5xx SOC to HWMv2
Convert NXP iMX RT5xx SOC to hardware model V2. This core is dual
architecture, so both the ARM Cortex M33 and Xtensa Fusion F1 DSP have
been unified within one SOC port folder.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:09 +01:00
Anas Nashif
01942f1d11 twister: normalize platform name when storing files/data
Convert slashes into underscores to allow saving of data related to
platforms on disk.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-03-01 15:50:09 +01:00
Anas Nashif
477c8b84dd twister: tests: test with slashes in platform names
Use mps2/an385 for testing the hwmv2 board names.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-03-01 15:50:09 +01:00
Jamie McCrae
64e3e816c4 soc: Add include guards
Adds include guards to prevent contamination of bleeding
Kconfigs from irrelevent devices

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:09 +01:00
Fabio Baltieri
3a7aa2fa49 gitignore: update the compliance file list
Update the list of gitignore file with the current list of compliance
checks.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:09 +01:00
Fabio Baltieri
84e1c17ad9 scripts: ci: check_compliance: add a check for board yml file
Add a check for board.yml file, just check for valid vendor prefixes for
now.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:09 +01:00
Fabio Baltieri
a90f53ad57 boards: sync up the vendor tags and vendor-list
Add various board vendor prefixes to vendor-prefixes.txt and fix up all
board.yml file to only use the prefixes from that file.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:09 +01:00
Fabio Baltieri
af9aa65299 dts: vendor-prefixes: add keep-sorted markers
Add the keep sorted marker to the list so it's kept sorter by the
compliance check.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:09 +01:00
Fabio Baltieri
50f0bf05a3 dts: vendor-prefixes: sort the vendor list
Sort the list alphabetically.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:09 +01:00
Fabio Baltieri
a10b614aa4 dts: vendor-prefixes: ensure all prefixes are lowercase
There's only three outliers, make sure all prefixes are lowercasel.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:09 +01:00
Iuliana Prodan
5abe735e93 manifest: update SOF sha for NXP HWMv2
Update SOF for NXP's new boards name and configs.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2024-03-01 15:50:09 +01:00
Iuliana Prodan
9ab8f64ca9 modules: rename SOC_FAMILY_IMX
Rename SOC_FAMILY_IMX to SOC_FAMILY_NXP_IMX.

I've also kept SOC_FAMILY_IMX since there are
still legacy socs/boards that use it. When all
are ported to HWMv2 this should be removed.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2024-03-01 15:50:09 +01:00
Iuliana Prodan
483ff8dd4d modules: mcux: remove SOC_FAMILY_NXP_ADSP
Remove SOC_FAMILY_NXP_ADSP since this is not used
anymore for the ADSP.
With HWMv2 ADSP is part of SOC_FAMILY_IMX.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2024-03-01 15:50:09 +01:00
Iuliana Prodan
f113dd5342 samples: update board name
Update board name and rename files for
openamp_rsc_table sample.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2024-03-01 15:50:09 +01:00
Iuliana Prodan
39b31287d9 boards: nxp: Convert i.MX ADSP boards to hardware model v2
Convert i.MX ADSP boards to HMV2 including:
- imx8mp_evk
- imx8qxp_mek
- imx8qm_mek
- imx8ulp_evk

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2024-03-01 15:50:09 +01:00
Iuliana Prodan
1511e356a2 soc: nxp: Port i.MX ADSP family to hardware model v2
Port i.MX ADSP family to HWMv2, including series:
- imx8
- imx8m
- imx8x
- imx8ulp

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2024-03-01 15:50:09 +01:00
Fabio Baltieri
c91e25ab47 soc: mec: rename all mec1501x reference to mec15xx
Fix a bunch of references to "mec1501x" to be named "mec15xx" instead,
which is better representative of what is supported and also matches the
soc series name and value.

Fix the clock div option name as well while at it since it apparently
applies to the whole family.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:09 +01:00
Declan Snyder
1c231fd939 hwmv2: boards: Convert IMXRT boards
Convert IMXRT boards except RT595

Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
Co-authored-by: Daniel DeGrasse <daniel.degrasse@nxp.com>

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-01 15:50:09 +01:00
Declan Snyder
417cff1e60 hwmv2: soc: Port IMXRT family to HWMV2
Port IMXRT family to HWMV2, including series:
- RT11XX
- RT10XX
- RT6XX

Not including RT5XX

Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
Co-authored-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Co-authored-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Co-authored-by: David Leach <david.leach@nxp.com>
Co-authored-by: Yves Vandervennet <yves.vandervennet@nxp.com>
Co-authored-by: Emilio Benavente <emilio.benavente@nxp.com>

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-01 15:50:09 +01:00
Jiafei Pan
28d4e41b1b hwmv2: clean up arm64 soc and board empty directory
There is no legacy ARM64 SoC and Board available, so delete
the arm64 directory.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:09 +01:00
Jiafei Pan
2b520f83cb hwmv2: port NXP SoC LS1046A to V2
Port NXP SoC LS1046A to hardware model v2.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:09 +01:00
Jiafei Pan
bf7899c645 hwmv2: port nxp_ls1046ardb board to V2
Port NXP ls1046ardb board to hardware model v2.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:08 +01:00
Jamie McCrae
33f7b61866 samples/tests: Rename numaker boards
Renames boards due to hwmv2 changes

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
8f20ea6e93 boards: nuvoton: numaker_pfm: Split into 2 boards
Splits up a wrongly unified board into 2 boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jiafei Pan
7cf4ff43a1 drivers: pinctrl: imx: align with hwm v2
Changed SoC configuration item name.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:08 +01:00
Jiafei Pan
c68e1fea4e drivers: clock_control: ccm_rev2: align with hwm v2 update
Modified SoC configuration item name.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:08 +01:00
Jiafei Pan
3b49014a0f hwmv2: move imx8mn EVK board to V2
Port EVK board for NXP imx8mn to hwm V2.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:08 +01:00
Jiafei Pan
14f344eeab hwmv2: move imx8mp EVK board to V2
Port EVK board for NXP imx8mp to hwm V2.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:08 +01:00
Jiafei Pan
40f3f8f22d hwmv2: move imx8mm EVK board to V2
Port EVK board for NXP imx8mm to hwm V2.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:08 +01:00
Jiafei Pan
10bf79ea51 hwmv2: move imx8m soc for a-core to V2
Port NXP imx8m serial SoC to hwm V2, it includes imx8mm, imx8mn and
imx8mp.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:08 +01:00
Jiafei Pan
8727d5ca80 hwmv2: move imx93 EVK board to V2
Port EVK board for NXP imx93 to hwm V2.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:08 +01:00
Jiafei Pan
c81ef01563 hwmv2: move imx93 soc to V2
Port NXP imx93 SoC to hwm V2.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-01 15:50:08 +01:00
Daniel DeGrasse
5836c1b699 modules: mcux: introduce CONFIG_MCUX_CORE_SUFFIX
MCUX SDK depends on "core suffixes" in order to identify which core a
build is targeting on a multicore part. Previously, this information was
parsed from the CONFIG_SOC string, but with hardware model v2 this is no
longer possible. Introduce the Kconfig MCUX_CORE_SUFFIX, which multicore
SOCs can set to inform MCUX which core the build is targeting.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:08 +01:00
Torsten Rasmussen
338f6f2bf1 doc: update board porting guide to match new hardware model
Update board porting guide to the design changes in the new hw model.

New section added:
- board.yml file description

Updated sections:
- Board on SoCs example table updated to new format and extra examples
  added.
- Board directory description and its files
- Writing devicetree file section updated to match new lookup patterns
- Writing Kconfig file section updated to match new lookup patterns
- Board revision handling updated

In getting started guide a note has been added with short description
of the new board and board identifier scheme.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jérôme Pouiller
9639a1b5dc soc: silabs: drop useless defconfigs
Currently, some soc subdirectories contains Kconfig.defconfig.<soc-name>
and Kconfig.defconfig. However:
  - Kconfig.defconfig.<soc-name> is included unconditionally by
    Kconfig.defconfig
  - each subdirectory only contains one SoC

So, it does not make sense to keep these two files.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-03-01 15:50:08 +01:00
Jérôme Pouiller
981807444e soc: silabs: introduce SOC_GECKO_SDID
Silabs hardware layer uses Silicon Die ID (SDID) for conditional
code. This patch defines SDID directly from Kconfig so Silabs HAL does
not have define it.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-03-01 15:50:08 +01:00
Jérôme Pouiller
5d07e82485 soc: silabs: SOC_FAMILY_* replace SOC_GECKO_SERIES*
SOC_GECKO_SERIES* is now redundant with SOC_FAMILY_*.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-03-01 15:50:08 +01:00
Jérôme Pouiller
2fd081ac86 soc: silabs: align comments with soc tree
Cosmetics changes to reflect the tree organisation.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-03-01 15:50:08 +01:00
Jérôme Pouiller
66d425f571 soc: silabs: split in families
EXX32 does not really makes sense. Silabs tends to talk about "series
0", "series 1" and "series 2".

Note all Silabs chipsets (whatever their family) tend to share
components. So this PR introduces SOC_VENDOR_SILABS to match these
common parts.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-03-01 15:50:08 +01:00
Jamie McCrae
5bd38f47a9 arch: arch: kconfig: Fix wrong placement of endmenu
Fixes a bug whereby endmenu was placed before the end of the file
causes what should be ARC-only Kconfig choices to bleed into
every other architecture

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
00c6ef25be tests/samples: Rename overlay files for renamed boards
These overlay files were not being used after board name changes
in hwmv2, rename them to have them used

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
0c639b8378 boards: Fix bools and selections
Fixes issues with some outstanding bools being defined and wrong
usage of soc selection

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
c2ef907d1d drivers: flash: it8xxx2: Add missing Kconfigs
The original hwmv1 Kconfigs for this flash driver were in the
complete wrong place and should not have been merged, which then
caused confusion when porting to hwmv2, this adds in the missing
Kconfigs to where they should have been in the first place

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
553de2ebc9 soc: ite: ec: it8xxx2: Fix SOC_SERIES being in wrong file
Fixes this line being in the wrong file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
b8ec0080c2 boards: Documentation link fixes
Fixes missing or broken documentation links

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
eb7025e50f tests: Update board names for hwmv2
Updates names used in tests for hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
10ef3d4bd2 boards: silab: Add documentation index file
Adds a file with the vendor name for documentation indexing

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
ba9fdaa1d6 boards: arm: efr32_radio: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
86c8d4a0ca boards: arm: efm32pg_stk3402a: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
575ac5cafb manifest: Update hal_silabs
Updates the repo to include hwmv2 changes

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
87b2907304 boards: arm: efr32_thunderboard: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
14b30055ab boards: arm: efr32mg_sltb004a: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
0012bfc15d boards: arm: efr32xg24_dk2601b: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
f526225ead boards: arm: efm32wg_stk3800: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
19e7df29df boards: arm: efm32pg_stk3401a: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:08 +01:00
Jamie McCrae
0bd7d963d6 boards: arm: efm32hg_slstk3400a: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
795a90f9bf boards: arm: efm32gg_stk3701a: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
43d5540be7 boards: arm: efm32gg_slwstk6121a: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
065148d856 boards: arm: efm32gg_sltb009a: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
1dc9a8aa17 soc: silabs_exx32: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
763571e878 tests: Expand names
Expands names to include identifiers

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
dae301b8a3 boards: xen: xenvm: Expand name
Expands name to include identifier

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
19e60eef36 boards: qemu: qemu_cortex_a53: Expand names
Expands names to include the SoC

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
a0a7c30f28 soc: intel: intel_adsp: Fix issues
Fixes issues with missing protection guards and selections in
wrong files, and one case of missing bools on 2 fields

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Torsten Rasmussen
df9a4223fe scripts: ci: introduce soc name check in check_compliance
soc.yml files define SoC names which are used in board.yml.
All SoC names and directories are exported to the build system and
can be referenced using the SoC name as identifier.

Kconfig defines a CONFIG_SOC setting with the same name which can be
used in build system and is selected by the board.

Thus the CONFIG_SOC value can be used to lookup the details of the SoC.

This commit introduces a new compliance check which ensures the SoC name
and the CONFIG_SOC name value are in sync.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Torsten Rasmussen
ed401abaff soc: emsdsp: align SoC name defined in soc.yml to Kconfig SOC setting
This commit aligns the SoC name for emsdp_em4 SoC defined in Kconfig.soc
to to name in soc.yml

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
fc78e5eaa4 MAINTAINERS: update RISC-V arch area paths
This commit updates the paths assigned to the RISC-V area of maintenance to
include targets based on the SiFive Freedom SoC family.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
4e586958ff boards: convert QEMU RISC-V 64 bit board to Zephyr HWMv2
This commit converts the QEMU RISCV-V 64 bit board to Zephyr HWMvW. This
includes the following former targets:
* qemu_riscv64
* qemu_riscv64_smp

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
f4c31a2b86 boards: convert QEMU RV32E board to Zephyr HWMv2
This commit converts the QEMU RV32E board to Zephyr HWMvW. This includes
the following former target: qemu_riscv32e.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
5b2ffc652b boards: convert QEMU RISC-V 32 bit board to Zephyr HWMv2
This commit converts the QEMU RISCV-V 32 bit board to Zephyr HWMvW. This
includes the following former targets:
* qemu_riscv32
* qemu_riscv32_smp
* qemu_riscv32_xip

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
5db061a4c6 soc/riscv: convert the QEMU virt RISCV-32 SoC to HWMv2
This commit converts the virt SoC (generic virt machine) to the Zephyr
HWMv2.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
6547845e9d boards: convert SparkFun RED-V Things Plus to Zephyr HWMv2
This commit converts the SparkFun RED-V Things Plus board
(`sparkfun_red_v_things_plus` target) to the Zephyr Hardware Model v2.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
95a1f96399 boards: convert SiFive HiFive Unmatched to Zephyr HWMv2
This commit converts the SiFive HiFive Unmatched board (`hifive_unmatched`
target) to the Zephyr Hardware Model v2.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
e563eb0a62 soc/sifive/sifive_freedom: add SiFive Freedom FU740 SoC
This commit adds support for the SiFive Freedom U740 SoC for the Zephyr
Hardware Model v2.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
8914bc58b6 boards: convert SiFive HiFive Unleashed to Zephyr HWMv2
This commit converts the SiFive HiFive Unleashed board (`hifive_unleashed`
target) to the Zephyr Hardware Model v2.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
7e8de1e781 soc/sifive/sifive_freedom: add SiFive Freedom U540 SoC
This commit adds support for the SiFive Freedom U540 SoC for the Zephyr
Hardware Model v2.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
bfcc2ed18f boards: convert SiFive HiFive1 Rev. B to Zephyr HWMv2
This commit converts the SiFive HiFive1 Rev. B board (`hifive1_revb`
target) to the Zephyr Hardware Model v2.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
330fc38f9f boards: convert SiFive HiFive1 to Zephyr HWMv2
This commit converts the SiFive HiFive1 board (`hifive1` target) to the
Zephyr Hardware Model v2.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Filip Kokosinski
b9e06f4c38 soc/sifive/sifive_freedom: add SiFive Freedom E310 SoC
This commit adds support for the SiFive Freedom E310 SoC for the Zephyr
Hardware Model v2.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-03-01 15:50:07 +01:00
Jamie McCrae
4b90b30b9d scripts: west_commands: completion: Add hwmv2 complete to fish
Adds hwmv2 board completetion support to fish

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
0f6842e2fa scripts: west_commands: completion: Add hwmv2 complete to zsh
Adds hwmv2 board completetion support to zsh

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
b2af1e1737 scripts: west: list_boards: Fix hwmv2 output
Fixes the output of list_boards to be in csv format rather than
python array format

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
686a4b78b8 scripts: west_commands: completion: Add hwmv2 complete to bash
Adds hwmv2 board completetion support to bash

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Torsten Rasmussen
396b6bb856 soc: nxp: fix typo in SoC name
Follow-up: #68778

There is a typo in nxp/kinetics/soc.yml.
The SoC `mk82f215` was added, however the correct SoC is `mk80f25615`,
which this commit corrects.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Torsten Rasmussen
765299c627 soc: broadcom: align SoC names defined in soc.yml to Kconfig SOC setting
This commit aligns the SoC names for bcm58402 SoCs defined in soc.yml
to Kconfig SOC setting.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Torsten Rasmussen
7efd46eb41 soc: arm: align SoC names defined in soc.yml to Kconfig SOC setting
This commit aligns the SoC names for arm an547 SoCs defined in soc.yml
to Kconfig SOC setting.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Torsten Rasmussen
505cbc5c42 soc: mec: align SoC names defined in soc.yml to Kconfig SOC setting
This commit aligns the SoC names for mec SoCs defined in soc.yml to
Kconfig SOC setting.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Torsten Rasmussen
951a140701 soc: ti: define SOC name in Kconfig
Add Kconfig SoC name am6234 which matches the SoC name in soc.yml.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Grzegorz Swiderski
a795d28810 snippets: Initial HWMv2 support
Very simple adaptation to directly replace the use of HWMv1 board names
with the new identifiers:

   boards:
     <name>/<identifier>:
       append: ...

All snippets in-tree are aligned with this format where needed.

Since the `boards` key supports regex, appends can also be applied to
multiple targets grouped by board name, SoC, CPU cluster, or variant.
Later, this can be followed up with native support for these items in
the snippet schema.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
f9a957e6f6 boards: nordic: nrf9160dk: Fix missing nrf52840 config
Fixes an issue with missing configuration from the nrf52840 on
the nrf9160dk

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
df994e7ee8 soc: xilinx: zync7000: Remove xilinx from soc series name
Removes the vendor name from a Kconfig symbol

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
8dfabd56ca soc: cypress: Add protection guard to file
Adds a protection guard to prevent Kconfigs leaking

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
447b951593 tests: kernel: tickless: Remove old board name
Removes a duplicated old board name

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Jamie McCrae
bad5dfa71f boards: nordic: nrf5340dk: Fix board names
Updates to new board names

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:07 +01:00
Gerson Fernando Budke
ad2e863f39 soc: atmel: Use new family prefix
The newer HWMv2 impose a different semantic in the family names. This
update from SOC_FAMILY_SAMx to SOC_FAMILY_ATMEL_SAMx to comply with.

Fixes #69046

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:06 +01:00
Dmitrii Golovanov
3f08e714b2 soc: intel_adsp: hwmv2: Align SOC_SERIES_INTEL_ACE name and value
Align `ace` to 'intel_adsp_ace` SoC Series name and value to match
the new HWMv2 compliance check, also renaming:

  SOC_SERIES_INTEL_ACE --> SOC_SERIES_INTEL_ADSP_ACE

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:06 +01:00
Dmitrii Golovanov
6734597a76 soc: intel_adsp_cavs: hwmv2: Align SOC_SERIES name and value
Align 'intel_adsp_cavs` SoC Series name and value to match
new HWMv2 compliance check.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:06 +01:00
Torsten Rasmussen
2908af0bcc boards: nrf51dk/dongle: change SoC to nRF51822
The physical nRF51dk / nRF51dongle hardware contains a nRF51422 SoC.
In Zephyr, only the nRF51822 SoC, is implemented.

In Zephyr, the nRF51422 SoC is build as a nRF51822, therefore use the
nRF51822 SoC model for those kits instead on the non-existing nRF51422.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Torsten Rasmussen
d1ceb29fca soc: align CONFIG_SOC values to match soc.yml names
This commit aligns CONFIG_SOC values for Nordic nRF SoCs to the names
defined in soc.yml.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Manuel Argüelles
4768ccaf70 tests: drivers: gpio: gpio_api_1pin: exclude hifive1
Test seems to be failing consistently on `hifive1` board.
See #69350

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2024-03-01 15:50:06 +01:00
Manuel Argüelles
ebdb0879ad boards: nxp: s32z2xxdc2: convert to hwmv2
Convert `s32z270dc2` boards to hardware model v2. The board has been
renamed to `s32z2xxdc2` to be able to support in the future other
SoCs from this series that can also work on this board.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2024-03-01 15:50:06 +01:00
Manuel Argüelles
ae82580d08 boards: nxp: mr_canhubk3: convert to hwmv2
Convert mr_canhubk3 board to hardware model v2.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2024-03-01 15:50:06 +01:00
Manuel Argüelles
c5f0defbae boards: nxp: ucans32k1sic: convert to hwmv2
Convert ucans32k1sic board to hardware model v2.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2024-03-01 15:50:06 +01:00
Manuel Argüelles
1e46cabce6 soc: nxp: convert NXP S32 family to hwmv2
Convert NXP S32 family to hardware model v2.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2024-03-01 15:50:06 +01:00
Erwan Gouriou
f2f85133f2 soc: stm32: Rename series path
Since symbol is used by CMake to locate matching series folder, rename
folders.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:06 +01:00
Erwan Gouriou
86642f4e78 soc: stm32: Rename Kconfig SOC_SERIES symbols
SOC symbol is expected to match SOC_SERIES_FOO symbol.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:06 +01:00
Erwan Gouriou
c61e807896 soc: stm32: Cleanup Kconfig.defconfig files
SOC related symbols are defined in Kconfig.soc

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:06 +01:00
Jamie McCrae
ca46c8abc9 tests: Fix board names
Fixes some invalid board names

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
fbfed5f48f maintainers: Update synopsys entries
Updates entries to account for hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
8cd8b1cc47 boards: synopsys: Add documentation index
Adds a documentation index file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
6f6cc57a04 boards: arc: hsdk4xd: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
c4c14a54ca soc: snps_arc_hsdk4xd: Port to HWMv2
Ports the snps_arc_hsdk4xd SoC configuration to hardware model
version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
06c2054e5c boards: arc: iotdk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
ff0e0fce1b soc: snps_arc_iot: Port to HWMv2
Ports the snps_arc_iot SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
334264c46a boards: arc: emsdp: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
8b947a0e91 soc: snps_emsdp: Port to HWMv2
Ports the snps_emsdp SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
990417bbde tests: Update board names for hwmv2
Updates tests that use board names which have changed with boards v2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
e12719154a boards: arc: em_starterkit: Convert to v2
Converts the board to hwmv2, documentation for this board needs to
be vastly updated

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
437a430fbe soc: snps_emsk: Port to HWMv2
Ports the snps_emsk SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
f93387f968 boards: arc: hsdk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
1cf2498b13 soc: snps_arc_hsdk: Port to HWMv2
Ports the snps_arc_hsdk SoC configuration to hardware model
version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
47abe81256 boards: arc: nsim: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
1e33786dc4 soc: snps_nsim: Port to HWMv2
Ports the snps_nsim SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
7f081914db boards: arc: qemu_arc: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
bc97349dbd soc: snps_qemu: Port to HWMv2
Ports the snps_qemu SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:06 +01:00
Jamie McCrae
a9902ff58e boards: Use zephyr_file for file links
Replaces normal text with :zephyr_file: blocks

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
126e1a4e72 boards: Fix invalid documentation links
Fixes issues with links in documentation

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Erwan Gouriou
899f0257c3 boards: stm32wb: Restore missing .defconfig files
Kconfig.defconfig files has been lost during migration.
Put them back.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:05 +01:00
Anas Nashif
790c10b1ee soc: x86/atom: imply mmu, do not select it
Board should be able to deselect mmu, so imply instead of strict
selection.

userspace is selected for atom already on the CPU level, so do not
reselect.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-03-01 15:50:05 +01:00
Anas Nashif
faee62088d boards: x86: remove qemu_x86_tiny_768
Having a board to just measure coverage for certain features is a bit of
any overkill. We will instead add overlays to the specific tests this
board mostly covers.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-03-01 15:50:05 +01:00
Anas Nashif
c34d186a57 x86: atom: remove soc.h with unused content
None of the code in soc.h is being used anywhere, so remove it and
remove include from various places.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-03-01 15:50:05 +01:00
Anas Nashif
1be3a9e9d3 x86: remove legacy ia32, use atom instead
ia32 is legacy and is just an atom, so deduplicate and use generic
atom soc instead.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-03-01 15:50:05 +01:00
Anas Nashif
60e6b400f9 boards: qemu: move qemu_x86 -> x86
Just follow others and drop qemu_ from the name, we have that in the
folder already.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-03-01 15:50:05 +01:00
Jamie McCrae
c4fbac27e8 boards: infineon: Add documentation index
Adds documentation index file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
b4dd29a9c4 maintainers: Update paths for hwmv2
Updates paths which have changed in hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
380f5fdb2b boards: cypress: Add documentation index
Adds documentation index file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
9de981be05 boards: arm: xmc47_relax_kit: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
6394e8a348 boards: arm: xmc45_relax_kit: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
04dbf17e19 soc: xmc_4xxx: Port to HWMv2
Ports the xmc_4xxx SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
c9731f1bce boards: arm: cy8cproto_063_ble: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
53d41869d1 boards: arm: cy8cproto_062_4343w: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
46c4f01427 boards: arm: cy8ckit_062s4: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
d285e19cf2 boards: arm: cy8ckit_062_wifi_bt: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
2bebd7298c boards: arm: cy8ckit_062_ble: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
af243274c2 soc: psoc6 and psoc_6: Port to HWMv2
Ports the psoc6 and psoc_6 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Grzegorz Swiderski
105a2bae84 cmake: modules: boards: Fix board deprecation for HWMv2
Deprecating boards comes with similar challenges as with board aliases,
since BOARD_DEPRECATED is also set after parsing BOARD as user input.

With this patch, a deprecated board can be properly translated to a
board with identifiers. This opens up the possibility of recording all
legacy board names in `boards/deprecated.cmake`, such as:

   set(mps2_an521_remote_DEPRECATED mps2/an521/cpu1)

Unlike with aliases, though, there are additional restrictions for
building with BOARD=<deprecated>, which only makes this feature suitable
for deprecating v1 boards:

 * BOARD=<deprecated>/<identifier> is never allowed.
 * BOARD=<deprecated>@<revision> is not allowed if the old board already
   corresponds to a new board revision:

   set(<deprecated>_DEPRECATED <new-board>@<new-revision>)

Future enhancements will be needed for deprecating v2 boards.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Grzegorz Swiderski
dca54e000a cmake: modules: boards: Enhance board aliases for HWMv2
To address concerns about lengthy board identifiers in HWMv2, the
proposal is to apply the existing BOARD_ALIAS feature, like so:

   set(<alias>_BOARD_ALIAS <board>/<soc>)

It should then be possible to build with either:

   -DBOARD=<alias>            # expands to <board>/<soc>
   -DBOARD=<alias>/<variant>  # expands to <board>/<soc>/<variant>

However, this wouldn't work out of the box. A board alias can only be
expanded to a board name, without revision or identifier, because the
alias substitution happens after having parsed BOARD as user input -
namely, into BOARD (name), BOARD_REVISION, and BOARD_IDENTIFIER.

Furthermore, this means that in the legacy model, it was possible to
build with `-DBOARD=<alias>@<revision>`, and it would resolve to the
actual board name + revision.

To support both the old and new use cases, we can parse the alias just
like BOARD itself, then concatenate their identifiers as shown above.
Adding a revision works as before, but now it is also possible for the
alias to set its own revision. In this example:

   set(<alias>_BOARD_ALIAS <board>@<rev-A>/<soc>/<variant>)

`<rev-A>` is treated as the default revision, and it can be overridden:

   -DBOARD=<alias>          # expands to <board>@<rev-A>/<soc>/<variant>
   -DBOARD=<alias>@<rev-B>  # expands to <board>@<rev-B>/<soc>/<variant>

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Grzegorz Swiderski
fc314e8e3f cmake: modules: boards: Fix BOARD_ALIAS
`--format` is not a valid argument to `list_boards.py`.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
9a7c2ce6d5 soc: gaisler: Move Kconfig file
Moves a Kconfig file from hwmv1 to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Jamie McCrae
1ac56d0501 soc: soc_legacy: mips: Remove out file
Removes a file that is no longer used

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:05 +01:00
Fabio Baltieri
c054381a7a boards: adjust few boards/ paths
Adjust few paths in the board document and maintainer file to reflect
the new file location.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:05 +01:00
Fabio Baltieri
4d93b8d9fd boards: convert all microchip MEC boards to hwmv2
Convert mec1501modular_assy6885, mec15xxevb_assy6853,
mec172xevb_assy6906 and mec172xmodular_assy6930 to hwmv2.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:05 +01:00
Fabio Baltieri
ab2fcb1245 soc: convert microchip_mec to hwmv2
Convert the Microchip MEC soc/ to hardware model v2.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:50:05 +01:00
Dmitrii Golovanov
ead4b57a7b soc: arm64: intel_socfpga: hwmv2: Rename SoCs
Rename SoC for better HWMv2 use:
  `intel_socfpga_agilex`  --> `agilex`
  `intel_socfpga_agilex5` --> `agilex5`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:05 +01:00
Dmitrii Golovanov
d4c143d306 MAINTAINERS: intel_socfpga: Adjust to HWMv2 move
Adjust intel/intel_socfpga to HWMv2 move.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:05 +01:00
Dmitrii Golovanov
70a66ac03a boards: arm64: intel_socfpga: Move boards to subdirectories
Adjust boards directory structure to SoC structure:

 `boards/intel/intel_socfpga_agilex_socdk` ->
     `boards/intel/intel_socfpga/agilex_socdk`
 `boards/intel/intel_socfpga_agilex5_socdk` ->
     `boards/intel/intel_socfpga/agilex5_socdk`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:05 +01:00
Dmitrii Golovanov
8a85c07799 boards: arm64: intel_socfpga_agilex5_socdk: move to HWMv2
Move and convert to HWMv2 `intel_socfpga_agilex5_socdk`
board configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:05 +01:00
Dmitrii Golovanov
8c253a99fc boards: arm64: intel_socfpga_agilex_socdk: move to HWMv2
Move and convert to HWMv2 `intel_socfpga_agilex_socdk`
board configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:05 +01:00
Dmitrii Golovanov
ab883b8019 soc: arm64: intel_socfpga: Move and convert to HWMv2
Move and convert soc/arm64/intel_socfpga SoC family
`intel_socfpga` configuration to HWMv2 with its SoC
series: `agilex` and `agilex5` and related SoCs:
`intel_socfpga_agilex` and `intel_socfpga_agilex5`.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:04 +01:00
Dmitrii Golovanov
7c8b7a153b soc: arm: intel_socfpga_std: Rename with HWMv2
Rename SoC for better HWMv2 use:
 `intel_socfpga_std_cyclonev` --> `cyclonev`

The resulting shortened board name:
 `cyclonev_socdk/intel_socfpga_std_cyclonev` -->
 `cyclonev_socdk/cyclonev`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:04 +01:00
Dmitrii Golovanov
8dc2b911f6 soc: board: intel_socfpga_std: Align names to 'Cyclone V'
Align all names to `cyclonev` instead of using `cyclone5`.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:04 +01:00
Dmitrii Golovanov
402366117a soc: arm: intel_socfpga_std: Align board subdirectory
Aligh board directory to other Intel FPGA boards moving
`boards/intel/cyclonev_socdk` -->
`boards/intel/intel_socfpga_std/cyclonev_socdk`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:04 +01:00
Dmitrii Golovanov
f0a8d12745 boards: arm: cyclonev_socdk: Move to HWMv2
Move and convert to HWMv2 `cyclonev_socdk` board configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:04 +01:00
Dmitrii Golovanov
2271f17a86 soc: arm: intel_socfpga_std: Move and convert to HWMv2
Move and convert to HWMv2 `soc/arm/intel_socfpga_std`
SoC family configuration, its SoC series `cyclonev`,
and SoC `intel_socfpga_std_cyclonev`.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:04 +01:00
Jamie McCrae
841c2a9d99 boards: riscv: beaglev_fire: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
3b314531ab boards: riscv: mpfs_icicle: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
d4ea2bf70b boards: riscv: m2gl025_miv: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
5256e9fcc3 soc: microchip_miv: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
18e5cf1d51 maintainers: Update path for hwmv2
Updates paths for hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
eab8628f98 boards: arm: qemu_cortex_m3: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
1532f2fee1 soc: ti_lm3s6965: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
430ca6a475 maintainers: Update ambiq paths
Updates ambiq SoC and board paths for hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
a9b9b41b91 boards: ambiq: Add index
Adds a documentation index file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
db0271ecbb boards: arm: apollo4p_blue_kxr_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
957e2b2061 boards: arm: apollo4p_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
5a90a44454 soc: ambiq: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Daniel DeGrasse
a20c113fbd boards: nxp: convert ip_k66f to hwmv2
Convert ip_k66f to hardware model v2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:04 +01:00
Daniel DeGrasse
34e3852a54 boards: nxp: convert usb_kw24d512 to hwmv2
Convert usb_kw24d512 to hardware model v2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:04 +01:00
Declan Snyder
20ad604de6 boards: nxp: convert twr_kv58f220m to hwmv2
Convert twr_kv58f220m to hardware model v2

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-01 15:50:04 +01:00
Declan Snyder
2e2a7b7656 boards: nxp: twr_ke18f: convert to hwmv2
Convert twr_ke18f to hardware model v2

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-01 15:50:04 +01:00
Daniel DeGrasse
f7dcc2eb5e boards: nxp: convert rddrone_fmuk66 to hwmv2
Convert rddrone_fmuk66 to to hardware model v2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:04 +01:00
Daniel DeGrasse
b58e90a2e9 boards: nxp: convert hexiwear to hwmv2
Convert hexiwear to hardware model v2. As multiple SOCs exist on this
board, the hexiwear_k64 and hexiwear_kw40z boards are combined into one
target.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:04 +01:00
Daniel DeGrasse
aae6e9e454 boards: nxp: frdm_kw41z: convert to hwmv2
Convert frdm_kw41z to hardware model v2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:04 +01:00
Declan Snyder
1d3baac2d6 boards: nxp: convert frdm_kl25z to hwmv2
Convert frdm_kl25z to hardware model v2

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-01 15:50:04 +01:00
Mahesh Mahadevan
3b1d21483f boards: nxp: frdm_k82f: port to hwmv2
Port frdm_k82f to hardware model v2

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-03-01 15:50:04 +01:00
Daniel DeGrasse
6046e6ded9 boards: nxp: port frdm_k64f to hwmv2
Port frdm_k642 to hardware model v2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:04 +01:00
David Leach
0a7bf9fd79 boards: nxp: port frdm_k22f to hwmv2
Port frdm_k22f to hardware model v2

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 15:50:04 +01:00
Daniel DeGrasse
dce697c823 boards: nxp: add toctree placeholder
Add table of contents tree placeholder for NXP boards, in preparation
for porting boards to HWMv2

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-01 15:50:04 +01:00
Daniel DeGrasse
666a353409 soc: nxp: kinetis: convert kinetis SOC family to hardware model V2
Convert kinetis SOC family to hardware model V2. Rework SOC Kconfig and
defconfig definitions to align with hardware model V2 guidelines.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Co-authored-by: Emilio Benavente <emilio.benavente@nxp.com>
Co-authored-by: David Leach <david.leach@nxp.com>
Co-authored-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
Co-authored-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-03-01 15:50:04 +01:00
Jamie McCrae
89f0a6034b maintainers: Update paths for renesas boards/socs
Updates paths to account for changes in hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
004bd43c48 tests/samples/snippets: Update board names for hwmv2
Updates board names which have changed with hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
a6d756923d boards: arm and arm64: rcar_h3ulcb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
3801216b8d boards: arm64: rcar_salvator_xs_m3: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
b7cc30aaea boards: arm: rcar_h3_salvatorx_cr7: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:04 +01:00
Jamie McCrae
866427ea29 boards: arm: arduino_uno_r4: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:03 +01:00
Jamie McCrae
2689b3f0ee soc: ra: Port to HWMv2
Ports the ra SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:03 +01:00
Jamie McCrae
e7ebc727c8 boards: arm: da1469x_dk_pro: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:03 +01:00
Jamie McCrae
903265b2bb boards: arm: da14695_dk_usb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:03 +01:00
Jamie McCrae
529a78ed51 soc: smartbond: Port to HWMv2
Ports the smartbond SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:03 +01:00
Jamie McCrae
97cf636ae0 boards: arm: rcar_spider_cr52: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:03 +01:00
Jamie McCrae
6d0c53f3a1 soc: rcar: Port to HWMv2
Ports the rcar SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:03 +01:00
Jamie McCrae
44e0aa0668 soc: renesas: rzt2m: Move folder structure for more SoCs
Updates the folder structure to allow for more SoCs to be added,
and fixes some minor issues

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:03 +01:00
Erwan Gouriou
85238fc205 boards: misc: Fixed STM32 based boards doc links
Fix few bad links following board migration.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
dffc08af56 boards: riscv: niosv_m: move and convert to HWMv2
Move and convert to HWMv2 riscv/niosv_m board configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
545093abe4 boards: riscv: niosv_g: move and convert to HWMv2
Move and convert to HWMv2 riscv/niosv_g board configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
ecfa192f1b soc: riscv: intel_niosv: move and convert to HWMv2
Move to HWMv2 and convert from soc/riscv/intel_niosv SoC family
`INTEL_NIOSV` series `NIOSV` SoCs `NIOSV_M` and `NIOSV_G`.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
fd1e8cdc30 hwmv2: sof: intel_adsp: submanifest provisional link
Provisional link to SOF with adjustment to the HWMv2 new
intel_adsp board names.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
8bf067e625 doc: boards: intel_adsp: Re-order pages
Index boards/intel/intel_adsp pages.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
4833275ccd MAINTAINERS: intel_adsp: Adjust to HWMv2 move
Adjust intel_adsp paths to HWMv2 move.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
b9a70e5ea2 soc: intel_adsp: tools: pylint compliance workaround
Disable Pylint compliance check warning `R0801:Similar lines`.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
18c70cc4bf hwmv2: tests: boards: intel_adsp: Adjust board names
Adjust tests to HWMv2 intel_adsp_ace board name changes.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
ca52baf9de hwmv2: boards: intel_adsp: Overhaul board configurations
Rename and join configurations for intel_adsp CAVS and ACE
boards to benefit from HWMv2 shortened names with resulting
names change:

  `intel_adsp_ace15_mtpm` --> `intel_adsp/ace15_mtpm`
  `intel_adsp_ace20_lnl`  --> `intel_adsp/ace20_lnl`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
d1b3bcce64 soc: boards: xtensa: intel_adsp_ace: Rename with HWMv2
Rename for better HWMv2 use:

  SoC - `intel_ace15_mtpm` --> `ace15_mtpm`
  SoC - `intel_ace20_lnl`  --> `ace20_lnl`

Resulting shortened name for boards:

  `intel_adsp_ace15_mtpm/intel_ace15_mtpm` -->
  `intel_adsp_ace15_mtpm/ace15_mtpm`

  `intel_adsp_ace20_lnl/intel_ace20_lnl` -->
  `intel_adsp_ace20_lnl/ace20_lnl`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
f362a8ae2c doc: soc: boards: intel_adsp_cavs25: Rename with HWMv2
Adjust documentation to HWMv2 board rename:
  `intel_adsp_cavs25`      -> `intel_adsp/cavs25`
  `intel_adsp_cavs25_tgph` -> `intel_adsp/cavs25/tgph`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
51dee5da92 tests: samples: boards: intel_adsp_cavs25: Rename with HWMv2
Adjust tests and samples to HWMv2 board rename:
     `intel_adsp_cavs25`      -> `intel_adsp/cavs25`
     `intel_adsp_cavs25_tgph` -> `intel_adsp/cavs25/tgph`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
e66c35e0d0 boards: xtensa: intel_adsp_cavs25: Rename board with HWMv2
Rename for better HWMv2 use:
 board - `intel_adsp_cavs25` to `intel_adsp`

Resulting name changes for boards:
 `intel_adsp_cavs25/cavs25`      -> `intel_adsp/cavs25`
 `intel_adsp_cavs25/cavs25/tgph` -> `intel_adsp/cavs25/tgph`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
d1491a4810 soc: boards: xtensa: intel_adsp_cavs25: Rename with HWMv2
Rename for better HWMv2 use:
 SoC - `intel_tgl_adsp` to `cavs25`

Resulting name changes for boards:
 `intel_adsp_cavs25/intel_tgl_adsp`      -> `intel_adsp_cavs25/cavs25`
 `intel_adsp_cavs25/intel_tgl_adsp/tgph` -> `intel_adsp_cavs25/cavs25/tgph`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
fa0fca79c4 scripts: west: runners: intel_adsp: Adjust path to HWMv2
Adjust script path to HWMv2 location at `soc/intel/intel_adsp/tools`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
acd18bfaf7 boards: xtensa: intel_adsp_ace20_lnl: move and convert to HWMv2
Move and convert to HWMv2 intel_adsp_ace20_lnl board configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
546c94b958 boards: xtensa: intel_adsp_ace15_mtpm: move and convert to HWMv2
Move and convert to HWMv2 intel_adsp_ace15_mptm board configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
8aab718c3e boards: xtensa: intel_adsp_cavs25_tgph: change to board variant
Change `intel_adsp_cavs25_tgph` board definition to be HWMv2 board
variant `intel_adsp_cavs25/intel_tgl_adsp/tgph`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
30f17424a4 boards: xtensa: intel_adsp_cavs25: move and convert to HWMv2
Move and convert to HWMv2 intel_adsp_cavs25 board configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
35a97cb524 soc: xtensa: intel_adsp: HWMv2 workaround for SOF config
Apply a workaround at Kconfig.defconfig for CORE_COUNT default
value set overriding SOF arch/host incorrect defaults chosen
without ARCH specified by the changed HWMv2 cmake sequence.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Dmitrii Golovanov
fdc20fdff6 soc: xtensa: intel_adsp: move and convert to HWMv2
Move and convert soc/xtensa/intel_adsp SoC family configurations
to HWMv2 with its SoC series:
`ace` (INTEL_ACE) and `cavs` (INTEL_ADSP_CAVS).

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:03 +01:00
Torsten Rasmussen
22dc2b6391 cmake: improved board handling for revisions
This commit improves board handling for boards in HWMv2.
On a CMake rerun, then BOARD_DIR is passed to `list_boards.py` which
is extended to take such parameter.

This allows to run `list_boards.py` whenever CMake reruns without the
penalty of searching for all board.yml files, as only the board.yml of
the current BOARD_DIR is processed.

This allows `list_boards.py` to be invoked and from there obtain list
of valid revisions and board identifiers for further board validation.

This removes the need for caching additional CMake variables related to
the board identifier and revision and thereby remove the risk of
settings becoming out of sync as only the board provided by user is
needed.

This work further ensure that use-cases described in #50536 is still
supported.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:02 +01:00
Torsten Rasmussen
2f1e33a2e6 cmake: improve arch error message for invalid arch selection
Legacy hw model picked the arch based on folder names.
The new hw model allows for greater flexibility and instead uses the
architecture defined by `CONFIG_ARCH` in Kconfig.

Therefore check that ARCH is defined and fail with a better error
message if ARCH is not defined. The error message includes the board and
SoC selected to make it easier to trace such errors.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:02 +01:00
Jamie McCrae
c47c37d3db sample: basic: blinky_pwm: Exclude rpi_pico w variant
Adds an exclusion because this board does not have an LED defined
and will try to use the base board overlay file, resulting in
failure

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:02 +01:00
Jamie McCrae
7a788b9a18 boards: raspberry_pi: rpi_pico: Use full name for w variant
Updates the name to have the SoC in

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
7046b92d41 tests: atmel_sam: adc: Fix sam4e_xpro adc build
This add a missing sam4e_xpro overlay in the tests/drivers/adc for the
sam4e_xpro board.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
253ee9638c tests: atmel_sam0: Update platform name
This update all atmel_sam0 related entries to use the new
platform name.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
ccb4c63324 samples: atmel_sam0: Update platform name
This update all atmel_sam0 related entries to use the new
platform name.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
2d4acf9230 boards: arduino_nano_33_iot: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
a60d28969a boards: arduino_mkrzero: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
0409e51d3f boards: arduino_zero: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
1b2528df1b boards: wio_terminal: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
af1096e7ca boards: ev11l78a: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
0b1db9c53d boards: adafruit_trinket_m0: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
e9874671e2 boards: adafruit_itsybitsy_m4_express: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
ba6c014071 boards: adafruit_grand_central_m4_express: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
33ad4a51ca boards: adafruit_feather_m0_lora: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
9812f3d54e boards: adafruit_feather_m0_basic_proto: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
c76b1fbeca boards: serpente: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
649789e433 boards: seeeduino_xiao: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
6b3bdb7364 boards: same54_xpro: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
93dda5ee4b boards: samr34_xpro: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
e48e1f5d5b boards: samc21n_xpro: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
f11cf73df1 boards: saml21_xpro: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
ac73ed6dcd boards: samd20_xpro: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
0fdbe3552e boards: samd21_xpro: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
854cff3905 boards: samr21_xpro: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
a87ea5bc0a soc: atmel: sam0: Port to HWMv2
Port all Atmel SAM0 SoCs to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Jamie McCrae
706e5d27cd boards: riscv: neorv32: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:02 +01:00
Jamie McCrae
d1edcdd088 soc: neorv32: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:02 +01:00
Alberto Escolar Piedras
0f7add89ca boards: native_sim/posix: Add 64bit versions as variants
For native_sim and native_posix add the 64 bit version
definitions as board variants.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:50:02 +01:00
Francois Ramu
b6edad8d68 soc: soc_legacy: remove the arm/st_stm32 folder
Remove the entire soc/soc_legacy/arm/st_stm32 folder

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-03-01 15:50:02 +01:00
Francois Ramu
c58e0822a6 boards: Convert nucleo_f207zg to HWM v2
Port the board to HWMv2.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-03-01 15:50:02 +01:00
Francois Ramu
b987093a80 soc: v2: stm32: Migrate STM32F2 series
Port STM32F2 series to HW model V2

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-03-01 15:50:02 +01:00
Jamie McCrae
2096fd4652 samples: bluetooth: hci_uart: Fix wrongly converted board names
Fixes an issue whereby converted board names were wrong

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
830f9c5a82 MAINTAINERS: Update Atmel entries
Update Atmel related rules to keep consistent.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
527cd9d8cd CODEOWNERS: Update Atmel entries
Update Atmel related rules to keep consistent.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
83af7d0c1c samples: atmel_sam: Update platform name
This update all atmel_sam entries to use the new platform name related
to sam_e70_xplained and sam_v71_xult.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00
Gerson Fernando Budke
fd9b84d457 tests: atmel_sam: Update platform name
This update all atmel_sam entries to use the new platform name related
to sam_e70_xplained and sam_v71_xult.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:01 +01:00
Gerson Fernando Budke
3c72fe863c boards: arduino_due: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:01 +01:00
Gerson Fernando Budke
37dfacbf9e boards: RoboKit1: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:01 +01:00
Gerson Fernando Budke
1108d7b0ed boards: sam_v71_xult: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:01 +01:00
Gerson Fernando Budke
bed44a5c28 boards: sam_e70_xplained: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:01 +01:00
Gerson Fernando Budke
40448c5a9f boards: sam4s_xplained: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:01 +01:00
Gerson Fernando Budke
31273692c0 boards: sam4l_ek: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:01 +01:00
Gerson Fernando Budke
35b5d33ef0 boards: sam4e_xpro: Convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:01 +01:00
Gerson Fernando Budke
3b84b9910a soc: atmel: Port SAM family to HWMv2
Port all the Atmel SAM SoCs to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
da00d0e7b9 boards: Convert nucleo_wba55cg to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
fb2103f89e boards: Convert nucleo_wba52cg to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
1f9a533fbc soc: st: stm32: Migrate STM32WBA series
Port STM32WBA series to HW model v2

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
3f92f65b28 boards: fix documentation for alientek and blues boards
Fix documentation for alientek and blues boards

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
7646b74aaf boards: stm32l4: doc: add zephyr_file to defconfig path
Add :zephyr_file: to the defconfig path for STM32L4 boards

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
fea54ddcd9 boards: Convert adi_eval_adin2111ebz to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
d47f1878b1 boards: Convert adi_eval_adin1110ebz to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
ae42be236b boards: Convert swan_r5 to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
83bd1a9ecc boards: Convert stm32l4r9i_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
39c26f09ed boards: Convert stm32l496g_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
29d03c970b boards: Convert stm32l476g_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
74acec315c boards: Convert sensortile_box to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
fee6d8676e boards: Convert pandora_stm32l475 to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
008b5d9392 boards: Convert nucleo_l4r5zi to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
24e357d623 boards: Convert nucleo_l4a6zg to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
2c5f9dcce0 boards: Convert nucleo_l496zg to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
4da061646f boards: Convert nucleo_l476rg to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
15956a69b8 tests: drivers: flash: stm32: update platform name
Update Nucleo L452RE-P name

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
80324f7707 boards: Convert nucleo_l452re_p to HWM v2
Port the board to HWMv2. Introduce it as variant of nucleo_l452re

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
9893e0d111 boards: Convert nucleo_l452re to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
46f92b227b boards: Convert nucleo_l433rc_p to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
ed5d1bb4cd boards: Convert nucleo_l432kc to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:01 +01:00
Guillaume Gautier
325f95ec20 boards: Convert nucleo_l412rb_p to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
d055676307 boards: Convert disco_l475_iot1 to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
c7a415d92c boards: Convert b_l4s5i_iot01a to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
d15144f582 soc: st: stm32: Migrate STM32L4 series
Port STM32L4 series to HW model v2

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Alberto Escolar Piedras
a63ff71bcb boards: nrf_bsim: Add new nrf5340 board definitions
With the proper structure for the hwmv2, and matching the
real HW ones.
Also add a note about the old ones being just a middle step
for backwards compatibility.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:50:00 +01:00
Alberto Escolar Piedras
b53c6f412c boards: nrf_bsim: Remove redundant option setting
The BOARD value is set in a common place for hwmv2.
No need to set it here also.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:50:00 +01:00
Dmitrii Golovanov
83eb4fc069 MAINTAINERS: intel_ish: Adjust to HWMv2 move
Adjust intel/intel_ish SoC and board maintainers to HWMv2 move.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:00 +01:00
Dmitrii Golovanov
715685b19f boards: x86: intel_ish: move and convert intel_ish boards to HWMv2
Move and convert to HWMv2 the following board configurations:
intel_ish_5_4_1, intel_ish_5_6_0, intel_ish_5_8_0

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:00 +01:00
Dmitrii Golovanov
5b9ef94106 soc: x86: intel_ish: move and convert to HWMv2
Move and convert soc/x86/intel_ish to HWMv2 as soc/intel/intel_ish

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
12b297707a boards: Convert stm32wb5mmg to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
cdcea932bc boards: Convert stm32wb5mm_dk to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
0a3ae2b223 boards: Convert nucleo_wb55rg to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
20b4ce17d5 soc: st: stm32: Migrate STM32WB series
Port STM32WB series to HW model v2

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
47c65400d6 soc: st: stm32: fix stm32l0 family
Fix the name of the stm32l0 family.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
59ec56f9e6 boards: Convert stm32h573i_dk to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
dc5977dbba boards: Convert nucleo_h563zi to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Guillaume Gautier
a6e4928543 soc: st: stm32: Migrate STM32H5 series
Port STM32H5 series to HW model v2

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 15:50:00 +01:00
Erwan Gouriou
99f248e048 soc: stm32u5: Fix references after conversion to hw modelv2
b_u585i_iot02a_ns is now b_u585i_iot02a/stm32u585xx/ns.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:00 +01:00
Erwan Gouriou
15f16834e6 boards: Convert stm32u5a9j_dk to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:00 +01:00
Erwan Gouriou
c1ee449ef1 boards: Convert sensortile_box_pro to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:00 +01:00
Erwan Gouriou
db4deddf9d boards: Convert nucleo_u5a5zj_q to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:00 +01:00
Erwan Gouriou
2fd3ed43d2 boards: Convert nucleo_u575zi_q to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:00 +01:00
Erwan Gouriou
902fceb173 boards: Convert b_u585i_iot02a to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:00 +01:00
Erwan Gouriou
d716ca1a10 soc: st: Migrate stm32u5 series to new hw model
Migrate STM2U5 series to new HW model.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:50:00 +01:00
Dmitrii Golovanov
b7abc89428 hwmv2: boards: x86: doc: Adjust common docs to new locations
Adjust x86/common doc location to HWMv2 move.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:50:00 +01:00
Alberto Escolar Piedras
69b334f54b MAINTAINERS: Change paths to native and nrf*bsim boards
To match the current placement.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:50:00 +01:00
Alberto Escolar Piedras
614611a528 boards: nrf*_bsim: Convert to HW model v2
With a new board.yml file and reorganizing their
Kconfig options.

Note: the nrf5340 variants remain as their own
targets, instead of being variants of the base ones
to avoid breakage in this commit
(while not having a massime commit)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:50:00 +01:00
Alberto Escolar Piedras
5821b9ec2e board: native_sim/posix: Convert to hwmv2
With new board.yml files and reorganizing their
Kconfig options.

Note: native_posix_64 & native_sim_64 remain as their own
targets, instead of being variants of the base ones
to avoid breakage in this commit, while not
having a massive commit.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:50:00 +01:00
Alberto Escolar Piedras
04cbad174e soc: native: Convert to HWMv2
Add a soc.yml and reorganize the Kconfig options

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:50:00 +01:00
Alberto Escolar Piedras
24ca0febfc boards: nrf_bsim: Fix path to pinctrl_soc.h
Just fix the path, it was not correct.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:50:00 +01:00
Alberto Escolar Piedras
9a32559a2d cmake: FindHostTools: Fix for hwmv2 for host based targets
With hwmv2, the ARCH variable is not yet defined
when this module is loaded (kconfig is parsed after this).
So we cannot rely on it to detect if we are building for a
host target.
For this case, let's instead detect it by the BOARD or
BOARD_DIR which are some of the very few things defined
at this point.
We retain the old check to support hwmv1 boards which
may be in other folders.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:50:00 +01:00
Gerard Marull-Paretas
c4b11e0251 boards: longan_nano: port to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:50:00 +01:00
Gerard Marull-Paretas
97edd05be3 boards: gd32vf103c_starter: port to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:50:00 +01:00
Gerard Marull-Paretas
9cf624c410 boards: gd32vf103v_eval: port to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:59 +01:00
Gerard Marull-Paretas
b40bf25e5e soc: gd_gd32: reorganize folders
Move soc/gd_gd32 to soc/gd/gd32.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:59 +01:00
Gerard Marull-Paretas
71600d7e95 soc: gd_gd32: move pinctrl_soc.h content back to soc folder
Because we can now group all architectures within the same family, so
there's no need to place files outside of soc/family folder.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:59 +01:00
Gerard Marull-Paretas
2bd84a1bc5 soc: gd_gd32: port gd32vf103 series to HWMv2
Port the only RISC-V SoC from GigaDevice to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:59 +01:00
Fabio Baltieri
9dc342143b boards: doc: fix a bunch of broken reference
Fix a bunch of broken reference to configuration and other files. Drop
two TI ones that were stale, file were long gone, add few zephyr_file
tags.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:49:59 +01:00
Gerard Marull-Paretas
10392d693d doc: boards: split out shields
So that they have their own list, independent of boards list.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:59 +01:00
Gerard Marull-Paretas
b2def8ed3a boards: acrn: fix title
Use a better title so that it fits the board list.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:59 +01:00
Jamie McCrae
bf7d3efe78 boards: riscv: tlsr9518adk80d: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:59 +01:00
Jamie McCrae
c579770e1d soc: telink_tlsr: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
9131540109 soc: stm32h7: Couple of tests fixes following migration
This should cover all issues.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
2efcefc089 boards: Convert stm32h7b3i_dk to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
d9b295a85b boards: Convert stm32h750b_dk to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
a2f56bdcd5 boards: Convert stm32h747i_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
00314155df boards: Convert stm32h735g_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
b08819dff7 boards: Convert nucleo_h7a3zi_q to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
56456c16e5 boards: Convert nucleo_h753zi to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
91f9198dc4 boards: Convert nucleo_h745zi_q to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
96f1bafbf9 boards: Convert nucleo_h743zi to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
b290f25baa boards: Convert nucleo_h723zg to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
9fbe6bf191 boards: Convert fk7b0m1_vbt6 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
44bcfe57c7 boards: Convert arduino_portenta_h7 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
4c86af7eae boards: Convert arduino_opta_m4 to HWM v2
Port the board to HWMv2.

Additionally, change the board name to arduino_opta
as the compilation target is now fully explicit on the
core in use.
Besides, it will ease a potential addition of the m7 core.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
b4f852f738 boards: Convert arduino_giga_r1 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
bac9789264 soc: st: Migrate stm32h7 series to new hw model
Migrate STM2H7 series to new HW model.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
a954e1722d boards: stm32l0: Cleanup board _defconfig files after migration
Remove obsolete comments.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
7e8515b241 boards: Convert ronoth_lodev to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
25246c21ef boards: Convert nucleo_l073rz to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
09396eb2e6 boards: Convert nucleo_l053r8 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
70c004fd83 boards: Convert nucleo_l031k6 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
e3daa98e79 boards: Convert nucleo_l011k4 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
a2de60c6da boards: Convert dragino_nbsn95 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
e877ce9cec boards: Convert dragino_lsn50 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
2b50218c23 boards: Convert b_l072z_lrwan1 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
4a65f55916 soc: st: Migrate stm32l0 series to new hw model
Migrate STM2L0 series to new HW model.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:59 +01:00
Fabio Baltieri
cc6e6be01f boards: fix few leftover ITE board references
Fix few leftover ITE references from the conversion to hwmv2.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:49:59 +01:00
Erwan Gouriou
a837303268 soc: stm32: Protect Kconfig symbols by SOC_FAMILY_STM32
Should avoid polluting other socs.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 15:49:58 +01:00
Alberto Escolar Piedras
88e5959f17 hwm2: Fix unit_testing: it is also a legacy board by now
b3243bb501
missed moving the unit_testing target board and soc
definition to the corresponding legacy folders
leaving them broken. Fix it by doing the equivalent
move.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Alberto Escolar Piedras
95e06e8663 cmake: Fix uses of old SOC path
In quite a few places in the cmake files
${SOC_DIR}/${ARCH}/${SOC_PATH}
was used to get to something in the soc folder,
but these are only defined for soc_v1.
socv2 defines a full SOC_V2_DIR.
Let's define a common variable for the full path which
can be used in other cmake files,
and correct the current uses.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Torsten Rasmussen
d517d3cc24 soc: set linker script for ra4m1
Follow-up: #66648

Commit 595b06aaa9 accidentally removed
linker.ld for the ra4m1 SoC.

As the linker.ld anyway included the common arm cortex_m linker script
then fix this by setting a correct SOC_LINKER_SCRIPT value.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Fabio Baltieri
68f9aeddab soc: ite: add SOC_SERIES_ITE_IT8XXX2 guards around ITE options
Add a check for SOC_SERIES_ITE_IT8XXX2 around ITE options so that they
only get set when building for ITE platforms.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:49:58 +01:00
Fabio Baltieri
ccf4f48f01 boards: convert ite boards to hwmv2
Convert it82xx2_evb and it8xxx2_evb to hwmv2.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:49:58 +01:00
Fabio Baltieri
4a6e286a3b soc: convert ite_ec to hwmv2
Convert the ite_ec soc to the hardware model v2.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-03-01 15:49:58 +01:00
Torsten Rasmussen
12e375f826 doc: handle arch / soc / board docs in new hardware model
Updates to Zephyr Kconfig doc generation for new hardware model.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
b4db917de9 boards: Add documentation index files
Adds index files for newly converted boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
d6e0d27efe samples: bluetooth: hci_uart: Fix wrong named files
Fixes an issue whereby some overlay filenames were wrongly
updated in a prior commit

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
bc16a7a727 tests: Update board names for hwmv2
Updates tests that use board names which have changed with
boards v2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
2834883843 boards: riscv: rv32m1_vega: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
9c68231ba9 soc: openisa_rv32m1: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
986e9619fd soc: starfive_jh71xx: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
e82932e787 boards: riscv: litex_vexriscv: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
cb9339f88f soc: litex_vexriscv: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
1cd4c34654 boards: riscv: opentitan_earlgrey: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
92eadf06b8 soc: opentitan: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
a8659e170b boards: riscv: titanium_ti60_f225: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
359133d725 soc: efinix_sapphire: Port to HWMv2
Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
6d466429ed soc: soc_legacy: riscv: litex_vexriscv: Add updated paths
Adds updates paths for this SoC with the new riscv common folder
to prevent build failures until it is converted to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
a1ff441eb3 boards: riscv: adp_xc7k_ae350: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
ef82a8255c soc: ae350: Port to HWMv2
Ports the ae350 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
282204758a samples: boards: stm32: ccm: fix include path
Update with the new board path.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
8ca9341195 samples: basic: threads: fix broken reference
Sphinx reference was updated by mistake.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
8a947f446d boards: nrf52840dk: fix rst syntax
Add a missing blank line.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
324cb41153 boards: nordic_nrf: fix broken references
Those were likely updated by mistake when changing to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
963c74df1c boards: intel_(ish|adl|ehl|rpl), up_squared: fix include paths
Update some included file paths according to the new directory layout.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
8d518ce504 boards: legacy: drop empty folders
Drop folders that no longer have boards.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
0fef0cef5b boards: mps2: fix table formatting
Table had wrong formatting, causing documentation warnings.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
e52ccc244f boards: add HWMv2 board index
Add a new board index based on HWMv2 structure (vendor based).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
c7426eca5e boards: arm: add legacy tag
So that it does not collide with the ARM Ltd. boards.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
1eba9d8a8f boards: acrn: create vendor folder
So that the same structure is followed by all boards, easing the
standardization of tables in the documentation.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Dmitrii Golovanov
8d92edc727 tests: kernel: Adjust qemu_x86_tiny_768 configuration HWMv2
Adjust qemu_x86_tiny/ia32/768 configuration for:
 tests/kernel/mbox/mbox_api
 tests/kernel/mem_protect/stackprot

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 15:49:58 +01:00
Torsten Rasmussen
75117d1b2d scripts: ensure posix path is used with --cmakeformat
When printing with --cmakeformat format specifier then dir output should
be printed as posix path, that is with forward slashes '/'.

This will make output compatible with CMake path style.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Gerard Marull-Paretas
0b0384b56a maintainers: update paths after HWMv2 changes
This is a follow-up update of the MAINTAINERS.yml file with new paths
due to the HWMv2 changes.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 15:49:58 +01:00
Jamie McCrae
c1b77b223d boards: arm: pan1783: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
91a077b2ab boards: posix: nrf_bsim: Update paths
Updates paths for the moved nordic_nrf SoC folder

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00
Jamie McCrae
413b6c2a40 cmake: modules: configuration_files: Add board identifier overlay file
Fixes an issue in hwmv2 whereby an overlay file exists with the full
board name and identifier which worked in hwmv1

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
4f572ba24f treewide: Update board names for hwmv2
Updates tests that use board names which have changed with boards v2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
cb348c7edf boards: arm: nrf54l15pdk_nrf54l15: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
811ad90566 boards: arm: nrf54h20pdk_nrf54h20: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
d44ef90cf8 soc: nordic_nrf: Migrate nRF54H/nRF54L to v2 and fix nrf
Moves this SoC over from v1 to v2 so it can be used in HWMv2, and
fix the SoC configuration for existing nordic_nrf devices which
was not ported properly

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
c860f205de boards: arm: nrf9151dk_nrf9151: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
fba98a1763 soc: nordic_nrf: Migrate nRF9151 to v2
Moves this SoC over from v1 to v2 so it can be used in HWMv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
5c156a2d35 boards: arm: 96b_carbon_nrf51: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
cfc47a3a4b boards: arm: nrf9161dk_nrf9161: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
37129b4e44 boards: arm: nrf9131ek_nrf9131: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
a923beba5d boards: arm: bl5340_dvk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
d242b2703b boards: arm: raytac_mdbt53v_db_40_nrf5340: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
9c80d4e644 boards: arm: raytac_mdbt53_db_40: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
28268c4938 boards: arm: nrf5340_audio_dk_nrf5340: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
33ad2b5bc6 boards: arm: thingy53_nrf5340: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
40daa94f2d boards: arm: nrf9160_innblue22: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
2b0dbb9d51 boards: arm: nrf9160_innblue21: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
ee6f7697ac boards: arm: sparkfun_thing_plus_nrf9160: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
594e4bad6b boards: arm: circuitdojo_feather_nrf9160: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
a5803ba099 boards: arm: actinius_icarus: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
db8c275456 boards: arm: actinius_icarus_bee: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
30177cf53d boards: arm: actinius_icarus_som: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
486504cf24 boards: arm: actinius_icarus_som_dk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
dd0672a64c boards: arm: nrf9160dk_*: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
c1565b3d14 boards: arm: xiao_ble: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
6dd2723314 boards: arm: qemu_cortex_m0: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
ee1ce24a42 boards: arm: bbc_microbit: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
1952d559f2 boards: arm: rm1xx_dvk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
9e12c3d8bd boards: arm: nrf51dongle_nrf51422: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
0ffbc1da33 boards: arm: nrf51_blenano: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:57 +01:00
Jamie McCrae
be52dfb7b6 boards: arm: nrf51_vbluno51: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
4c29d1827f boards: arm: nrf51_ble400: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
5b4a9556fd boards: arm: raytac_mdbt53_db_40_nrf5340: Fix typo
Fixes a typo that ruins grep searches when trying to find
nrf52840-based boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
69e5d87a15 boards: arm: contextualelectronics_abc: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
5e4ace1bbe boards: arm: degu_evk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
2762460a64 boards: arm: pan1781_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
fdc3913e76 boards: arm: ubx_evkninab1_nrf52832: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
9c9c3a09a1 boards: arm: holyiot_yj16019: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
109edc296f boards: arm: blueclover_plt_demo_v2_nrf52832: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
7bfcdbbe8f boards: arm: decawave_dwm1001_dev: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
0fbb543983 boards: arm: acn52832: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
073e0f8080 boards: arm: we_proteus2ev_nrf52832: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
197a19f396 boards: arm: ebyte_e73_tbb_nrf52832: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
1616fc8ae5 boards: arm: nrf52_vbluno52: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
5622077738 boards: arm: nrf52_sparkfun: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
a6289516e4 boards: arm: 96b_nitrogen: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
439d836883 boards: arm: nrf52_blenano2: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
16e65f09c4 boards: arm: arduino_nicla_sense_me: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
862efd5a21 boards: arm: thingy52_nrf52832: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
dede0f6cd3 boards: arm: nrf52_adafruit_feather: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
91e864ea29 boards: arm: nrf52832_mdk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
47ec3e416b boards: arm: ruuvi_ruuvitag: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
52f797a227 boards: arm: pinetime_devkit0: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
433db339f9 boards: arm: ubx_evkannab1_nrf52832: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
a646d3f2d5 boards: arm: ubx_bmd300eval_nrf52832: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
d0d434bf86 cmake: print identifier instead of variant
Update board info printing to use the common term identifier.
Variant is used for the final part of the identifier when a board has
multiple build variants.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
c3f5ed8157 boards: arm: we_proteus3ev_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
eecff8ee7a boards: arm: nrf52840_mdk_usb_dongle: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
34507614f6 boards: arm: nrf52840_mdk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
f02b56cb96 boards: arm: nrf52840_blip: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
600c55c92a boards: arm: nrf52840_papyr: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
f294bfc5e4 boards: arm: reel_board: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
882524d2a0 boards: arm: nrf21540dk_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
4bce0e9b39 boards: arm: nrf52840dongle_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
d0229c771f boards: arm: particle_argon: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:56 +01:00
Jamie McCrae
23a0570e64 boards: arm: particle_boron: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
b6d3e1764f boards: arm: particle_xenon: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
499f3e7902 boards: arm: rak5010_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
9ae6b1804d boards: arm: rak4631_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
fe2c90da5c boards: arm: pinnacle_100_dvk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
3d4d46698c boards: arm: ubx_evkninab3_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
b1afbf0158 boards: arm: ubx_bmd380eval_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
9f9897c872 boards: arm: ubx_bmd345eval_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
f7fb2030c7 boards: arm: ubx_bmd340eval_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
7186432662 boards: arm: raytac_mdbt50q_db_40_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
32c4bdc0c4 boards: arm: pan1780_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
7b64c638a8 boards: arm: pan1770_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
156ee8ad8a boards: arm: mg100: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
3d33dadeb0 boards: arm: arduino_nano_33_ble: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
4fee7371d2 boards: arm: adafruit_itsybitsy_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
ad37a0c222 boards: arm: adafruit_feather_nrf52840: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
cf85b7169f boards: arm: bt510: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
44b67ac430 boards: arm: bt610: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
7dbb65d371 boards: arm: ubx_evkninab4_nrf52833: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
5e79cb957d boards: arm: raytac_mdbt50q_db_33_nrf52833: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
12bd83a218 boards: arm: pan1782_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
1a135ec352 boards: arm: bbc_microbit_v2: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
4dbe97e5ea boards: arm: nrf52833dk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
d632b90043 boards: arm: ubx_bmd360eval_nrf52811: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
cc1a30f24b boards: arm: we_ophelia1ev_nrf52805: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
df0df9000b boards: arm: ubx_bmd330eval_nrf52810: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
d2c7972a9a boards: arm: nrf52dk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
202c2bf447 boards: arm: bl654_sensor_board: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
c3e36f2042 boards: arm: bl654_usb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
b9dd58aea1 boards: arm: bl654_dvk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
0e1898b093 boards: arm: bl653_dvk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
286f4a7524 boards: arm: bl652_dvk: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
d1709cdb37 boards: update nRF51dk board to board scheme v2.
This commit updates nrf51dk_nrf51422 to use board scheme v2, and
thus becomes board nrf51dk with the SoC nrf51422.

It also uses the new SoC approach, and thereby ensuring that the right
SoC is always used, and cannot accidentially be changed by the user.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
8f040cff2c boards: Update nrf5340dk_nrf5340 to HWMv2 scheme
This commit updates nrf5340dk_nrf5340 to use board scheme v2, and
thereby remove the Kconfig BOARD setting, as this is now passed from
CMake.

The nRF5340dk now support cpuapp and cpunet as cpusets, and the ns as
a build variant.

It also uses the new SoC approach, and thereby ensuring that the right
SoC is always used, and cannot accidentially be changed by the user.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:55 +01:00
Jamie McCrae
8c90fae8e0 boards: update nRF52840dk_nrf52840/nrf52811 board to board scheme v2.
This commit updates nrf52840dk_nrf52840 and nrf52840_nrf52811 to use
board scheme v2, and thereby remove the Kconfig BOARD setting, as this
is now passed from CMake.

It combines both boards in a common nrf52840dk board folder where each
SoC is an entry in the board.yml file.

It also uses the new SoC approach, and thereby ensuring that the right
SoC is always used, and cannot accidentially be changed by the user.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
c828dcc60e boards: common: openocd-nrf5: Add HWMv2 support
Adds support for determining the running from the identifier
which is needed for HWMv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
c79f1b0d94 kconfig: soc: adopt Nordic SoC series to support hw model v2 scheme
This commit adopts hw model v2 to nRF SoC family.

This ensures that when hw model v2 is used for an nRF51, nRF52, nRF53,
and nRF91 SoC series, so that all SoC selections are handled internally
by Kconfig, and no selection / re-configuration is possible by end-user
or through configuration files.

Hw model v2 requires the SoC to be self-contained, that is no
references are allowed out-side the SoC Kconfig tree.

All Zephyr Kconfig specifics are therefore sourced into the Zephyr
Kconfig tree through Kconfig.zephyr and Kconfig.zephyr.defconfig.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
3584b30fc1 tests: Update board names for hwmv2
Updates tests that use board names which have changed with boards v2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
94024d940e boards: arm: arty_a7: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
8053c3a8df boards: arm: scobc_module1: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
d5473b76fe soc: designstart: Port to HWMv2
Ports the designstart SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
f5792b05e7 boards: arm: fvp_baser_aemv8r_aarch32: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
ff202daa8e soc: fvp_aemv8r_aarch32: Port to HWMv2
Ports the fvp_aemv8r_aarch32 SoC configuration to hardware model
version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
e66cbc2945 boards: arm: v2m_musca_s1: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
33b47b2edb boards: arm: v2m_musca_b1: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
baeebd31d2 soc: musca: Port to HWMv2
Ports the musca SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
73b257a3f9 boards: arm: v2m_beetle: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
85de0888ec soc: beetle: Port to HWMv2
Ports the beetle SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:54 +01:00
Jamie McCrae
867960a891 manifest: Update modules
Updates modules with fixes for board names changed as part of hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2024-03-01 15:49:52 +01:00
Jamie McCrae
6ca677ed3a boards: arm: mps2: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:19:39 +00:00
Anas Nashif
bcf4ad19d4 twister: build_dir: convert / to _ to support hwmv2
Convert platform name in the build_dir variable to use _ instead of /.
Otherwise we will be creating deep hierachy of directories based on the
new platform name containing slashes.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-03-01 14:17:26 +00:00
David Leach
0ac386683f soc: Kconfig.v2: Add SOC_PART_NUMBER
Add SOC_PART_NUMBER to set of SOC configuration parameters

Signed-off-by: David Leach <david.leach@nxp.com>
2024-03-01 14:17:26 +00:00
Abderrahmane Jarmouni
9242c3c78f soc: stm32: soc.yml: reorder series
reorder series in alphabetical order

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:26 +00:00
Abderrahmane Jarmouni
248d17f160 boards: stm32: cleanup
delete obsolete .conf files

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:26 +00:00
Abderrahmane Jarmouni
0a67265e99 boards: stm32: fix for boards with revisions
fix .overlay name for boards with revisions.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:26 +00:00
Erwan Gouriou
f8d44317ee soc: stm32l5: Rename overlays for nucleo_l552ze_q ns target.
File name should now be nucleo_l552ze_q_stm32l552xx_ns.overlay

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:26 +00:00
Erwan Gouriou
400343d17e soc: stm32: Set default on USE_DT_CODE_PARTITION
Rather than configuring USE_DT_CODE_PARTITION in all ns targets,
do it conditionally as part of SoC description.

This allows cleaning up some BOARD dedicated symbols that are now
useless.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:26 +00:00
Erwan Gouriou
d783ef549a soc: stm32l5: Update stm32l5 non secure targets in various places
Need to update board name scheme for L5 ns targets.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:26 +00:00
Erwan Gouriou
643aeac552 boards: Convert stm32l562e_dk to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:26 +00:00
Erwan Gouriou
e601d64344 boards: Convert nucleo_l552ze_q to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:26 +00:00
Erwan Gouriou
2f7a387b32 soc: st: Migrate stm32l5 series to new hw model
Migrate STM2L5 series to new HW model.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:26 +00:00
Grzegorz Swiderski
519752efcd boards: xenvm: doc: Remove reference to deleted file
`xenvm_xenvm_defconfig` no longer exists. Take this opportunity to refer
to board configurations by their actual identifiers.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-03-01 14:17:26 +00:00
Grzegorz Swiderski
06263dd717 boards: xenvm: Unset HEAP_MEM_POOL_SIZE in gicv3 variant
In HWMv1, the `xenvm` and `xenvm_gicv3` boards used different heap sizes
- 16384 and 0 (default) respectively. Due to HWMv2 defconfig inheritance
the setting must be moved to `Kconfig.defconfig`.

As a result, `xenvm_xenvm_gicv3_defconfig` can be removed, because it is
now equal to `xenvm_defconfig` (base).

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-03-01 14:17:26 +00:00
Grzegorz Swiderski
66b0df5526 boards: qemu_cortex_a53: Fix Kconfig warnings in SMP variant
A combination of multiple defconfigs resulted in this:

   CONFIG_QEMU_ICOUNT=y
   CONFIG_QEMU_ICOUNT_SHIFT=4  # depends on QEMU_ICOUNT
   CONFIG_QEMU_ICOUNT_SLEEP=y  # depends on QEMU_ICOUNT
   CONFIG_QEMU_ICOUNT=n        # warning: unsatisfied dependencies

Fix this by setting the symbols in `Kconfig.defconfig` instead. Not only
does this allow for proper defconfig inheritance, it also allows samples
to control the value of QEMU_ICOUNT.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-03-01 14:17:26 +00:00
Grzegorz Swiderski
fa07bd9419 boards: mps3: Fix non-secure variant
Both TRUSTED_EXECUTION_SECURE and TRUSTED_EXECUTION_NONSECURE were being
enabled, through a combination of multiple defconfigs.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-03-01 14:17:26 +00:00
Erwan Gouriou
8f6f0726dd boards: Move xenvm under xen
Doesn't looks ok to be directly under boards.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:25 +00:00
Erwan Gouriou
7b155a7031 boards: Raspberry Pi vendor fix
Use same vendor name for all R-Pi boards.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:25 +00:00
Erwan Gouriou
804697afa5 boards: Move 96b_aerocore to 96boards
Debatable, but since doc link points to www.96boards.org, it would make
more sense to me.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:25 +00:00
Dmitrii Golovanov
d2f001e320 boards: x86: acrn: move and convert to HWMv2
Move and convert to HWMv2 `acrn` and `acrn_ehl_crb` board
configurations.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:25 +00:00
Dmitrii Golovanov
ec7f7b3c30 tests: kernel: qemu_x86: adjust to the HWMv2
Adjust qemu_x86 board configuration names to HWMv2 scheme.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:25 +00:00
Dmitrii Golovanov
89dfcddc7e boards: x86: qemu_x86_tiny@768: change to board variant
Change `qemu_x86_tiny@768` board revision to `qemu_x86_tiny/ia32/768`
board variant configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:25 +00:00
Dmitrii Golovanov
eb724eb6a7 boards: x86: qemu_x86: optimize default HWMv2 configurations
Remove duplicated Kconfig default options from qemu_x86 board
variants' configuration keeping only differences in regard
of the appropriate board configurations.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:25 +00:00
Dmitrii Golovanov
6f1043cde6 boards: x86: qemu_x86: move and convert to HWMv2
Move and convert qemu_x86 board configurations to HWMv2.

Several board configurations have changed their identifiers
to the HWMv2 scheme:

 - qemu_x86_nokpti --> qemu_x86/ia32/nokpti
 - qemu_x86_nommu  --> qemu_x86/ia32/nommu
 - qemu_x86_nopae  --> qemu_x86/ia32/nopae
 - qemu_x86_virt   --> qemu_x86/ia32/virt
 - qemu_x86_xip    --> qemu_x86/ia32/xip

 - qemu_x86_64_nokpti --> qemu_x86_64/ia32/nokpti

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:25 +00:00
Dmitrii Golovanov
cab924cbfb soc: x86: ia32: move and convert to HWMv2
Move and convert soc/x86/ia32 to HWMv2.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:25 +00:00
Dmitrii Golovanov
237fdff918 soc: x86: lakemont: move and convert to HWMv2
Move and convert soc/x86/lakemont to HWMv2

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:25 +00:00
Abderrahmane Jarmouni
03042b7704 boards: move 96b_carbon to 96boards folder
move 96b_carbon board to 96boards folder

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:25 +00:00
Abderrahmane Jarmouni
767b94414e boards: rename vendor seeed to seeed_studio
rename seeed folder to seeed_studio

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:25 +00:00
Abderrahmane Jarmouni
07fa3a3d79 boards: Convert olimex_lora_stm32wl_devkit to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:25 +00:00
Abderrahmane Jarmouni
ba01d3beca boards: Convert nucleo_wl55jc to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:25 +00:00
Abderrahmane Jarmouni
7ce84f4041 boards: Convert lora_e5_mini to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:25 +00:00
Abderrahmane Jarmouni
b988bae576 boards: Convert lora_e5_dev_board to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:24 +00:00
Abderrahmane Jarmouni
6fbf39c726 soc: v2: stm32: Migrate STM32WL series
Port STM32WL series to HW model V2

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:24 +00:00
Guillaume Gautier
4a41878442 soc: st: stm32g4: add missing include
Add missing soc.h include.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:24 +00:00
Guillaume Gautier
1e79ba15f6 boards: Convert weact_stm32g431_core to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:24 +00:00
Guillaume Gautier
ffdcb60185 boards: Convert nucleo_g474re to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:24 +00:00
Guillaume Gautier
d6acb08d3e boards: Convert nucleo_g431rb to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:24 +00:00
Guillaume Gautier
90e592ffd1 boards: Convert b_g474e_dpow1 to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:24 +00:00
Guillaume Gautier
eb8a7e3441 soc: st: stm32: Migrate STM32G4 series
Port STM32G4 series to HW model v2

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:24 +00:00
Jamie McCrae
ada469f237 tests: Update board names for hwmv2
Updates tests that use board names which have changed with
boards v2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:24 +00:00
Jamie McCrae
0342433187 boards: arm: npcx9m6f_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:24 +00:00
Jamie McCrae
c10248d964 boards: arm: npcx7m6fb_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:24 +00:00
Jamie McCrae
21ddc5e6a6 boards: arm: npcx4m8f_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:24 +00:00
Jamie McCrae
5500f3ef21 soc: npcx*: Port to HWMv2
Ports the npcx* SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:24 +00:00
Jamie McCrae
e7baf09ede soc: m48x: Port to HWMv2
Ports the m48x SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:24 +00:00
Jamie McCrae
5bae4a6480 boards: arm: numaker_pfm_m467: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:24 +00:00
Jamie McCrae
3b0bd70c8c soc: m46x: Port to HWMv2
Ports the m46x SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:23 +00:00
Guillaume Gautier
d52eab9e83 boards: Convert stm32g081b_eval to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:23 +00:00
Guillaume Gautier
6f2835cb11 boards: Convert stm32g071b_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:23 +00:00
Guillaume Gautier
ca36d331d2 boards: Convert stm32g0316_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:23 +00:00
Guillaume Gautier
662cc4e09b boards: Convert nucleo_g0b1re to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:23 +00:00
Guillaume Gautier
dd9bc29769 boards: Convert nucleo_g071rb to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:23 +00:00
Guillaume Gautier
353da23ffb boards: Convert nucleo_g070rb to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:23 +00:00
Guillaume Gautier
acc932b424 boards: Convert nucleo_g031k8 to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:23 +00:00
Guillaume Gautier
cea9b140fd boards: Convert google_twinkie_v2 to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:23 +00:00
Guillaume Gautier
52e025943a soc: st: stm32: Migrate STM32G0 series
Port STM32G0 series to HW model v2

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:23 +00:00
Torsten Rasmussen
1c7347686a ci: update check_compliance to not create duplicate lines in Kconfig
check_compliance generates Kconfig files for sourcing board and soc
Kconfig tree in order to run compliance.

Each board and soc generated a source entry, however several socs are
using same soc dir and thus multiple identical source lines where
created.

Use a set() to ensure unique folders before generating Kconfig files.
This ensures that each Kconfig file is only sourced once.
This improves both compliance as fewer lines needs to be written, as
well as improves Kconfiglib as fewer Kconfig files must be sourced, as
redundant sourcing is not avoided.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:23 +00:00
Dmitrii Golovanov
9debd98799 hwmv2: boards: up_squared_pro_700: Add missed intel_adl changes
Align with changes at `boards/x86/intel_adl` done by #62694
and #67452 while the `up_squared_pro_700` board was in migration
to HWMv2 at `collab-hwm' branch.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:23 +00:00
Jamie McCrae
adab07c42f boards: Convert msp_exp432p401r_launchxl to HWM v2
Port the board to HWMv2.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:23 +00:00
Jamie McCrae
642aacdcdf soc: ti_simplelink: Add missing SoC
Adds a missing SoC that was previously converted

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:23 +00:00
Jamie McCrae
48637066d3 boards: Fix file paths in documentation
Fixes file paths which have not been updated since converting
boards to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:23 +00:00
Jamie McCrae
e983bc2a23 samples/tests: Fix mps3 board name
Fixes an issue with missed board name updates

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:22 +00:00
Abderrahmane Jarmouni
61e0f32716 boards: Convert stm32f3_seco_d23 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:22 +00:00
Abderrahmane Jarmouni
a1688ff641 boards: Convert stm32f3_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:22 +00:00
Abderrahmane Jarmouni
35fb228599 boards: Convert stm32373c_eval to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:22 +00:00
Abderrahmane Jarmouni
10e5d1122b boards: Convert nucleo_f334r8 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:22 +00:00
Abderrahmane Jarmouni
c319cb19f0 boards: Convert nucleo_f303re to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:22 +00:00
Abderrahmane Jarmouni
11725ccac1 boards: Convert nucleo_f303k8 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:22 +00:00
Abderrahmane Jarmouni
400f7f6a4f boards: Convert nucleo_f302r8 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:22 +00:00
Abderrahmane Jarmouni
8d84861390 soc: v2: stm32: Migrate STM32F3 series
Port STM32F3 series to HW model V2

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:22 +00:00
Jamie McCrae
85b9eee7e8 boards: arm: kv260_r5: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:22 +00:00
Jamie McCrae
dafbd638e4 boards: arm: mercury_xu: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:22 +00:00
Jamie McCrae
3ecd12f415 boards: arm: qemu_cortex_r5: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:22 +00:00
Jamie McCrae
5db2390e9d soc: xilinx_zyncmp: Port to HWMv2
Ports the xilinx_zynqmp SoC configuration to hardware model
version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:22 +00:00
Jamie McCrae
9ba8195cdc boards: arm: qemu_cortex_a9: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:22 +00:00
Jamie McCrae
8e94b85361 boards: arm: zybo: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
c970127fc2 soc: xilinx_zynq7000: Port to HWMv2
Ports the xilinx_zynq7000 SoC configuration to hardware model
version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
394c75373c boards: arm: ast1030_evb: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
f2a1cc8714 soc: ast10x0: Port to HWMv2
Ports the ast10x0 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
28f3f25945 boards: arm: cc3235sf_launchxl: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
c3e480f740 boards: arm: cc3220sf_launchxl: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
fd5847123f boards: arm: beagleconnect_freedom: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
76ba9a0587 boards: arm: cc1352p1_launchxl: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
719baa8850 boards: arm: cc1352r1_launchxl: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
5060a61ae1 boards: arm: cc1352r_sensortag: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
99584be1c5 boards: arm: cc26x2r1_launchxl: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Jamie McCrae
2dc8933942 soc: ti_simplelink: Port to HWMv2
Ports the ti_simplelink SoC configurations to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:21 +00:00
Yves Vandervennet
a5b004663b scripts/utils/board_v1_to_v2.py: couple of fixes
- the variable 'copyright' can be accessed without
   being initialized
 - the yaml package (ruamel) has been changed, the API
   yaml.safe_load() is deprecated. See error message
   with the original code below.

$ python3 ./scripts/utils/board_v1_to_v2.py -b frdm_k64f -g blob -v blob -s k6x

New board already exists, updating board with additional SoC
Moving files to the new board folder...
Creating or updating board.yaml...
Traceback (most recent call last):
File "/home/yves/sw/zephyr/zephyrproject/zephyr/./scripts/utils/board_v1_to_v2.py", line 206, in
board_v1_to_v2(
File "/home/yves/sw/zephyr/zephyrproject/zephyr/./scripts/utils/board_v1_to_v2.py", line 78, in board_v1_to_v2
board_settings = ruamel.yaml.safe_load(f) # pylint: disable=assignment-from-no-return
File "/home/yves/.local/lib/python3.10/site-packages/ruamel/yaml/main.py", line 1105, in safe_load
error_deprecation('safe_load', 'load', arg="typ='safe', pure=True")
File "/home/yves/.local/lib/python3.10/site-packages/ruamel/yaml/main.py", line 1039, in error_deprecation
raise AttributeError(s, name=None)
AttributeError:

"safe_load()" has been removed, use
yaml = YAML(typ='safe', pure=True)

yaml.load(...)

instead of file "/home/yves/sw/zephyr/zephyrproject/zephyr/./scripts/utils/board_v1_to_v2.py", line 78

Signed-off-by: yves <yves.vandervennet@nxp.com>
2024-03-01 14:17:21 +00:00
Abderrahmane Jarmouni
77c2c333e5 boards: move 96b_stm32_sensor_mez to 96boards
move 96b_stm32_sensor_mez from ST to 96boards' folder

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:21 +00:00
Abderrahmane Jarmouni
c14ff98650 boards: stm32f411e_disco: delete obsolete file
delete revision.cmake & fix default revision

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:21 +00:00
Abderrahmane Jarmouni
bcdc268ccf boards: Convert stm32mp157c_dk2 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:20 +00:00
Abderrahmane Jarmouni
0c8ba92e1f boards: Convert 96b_avenger96 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:20 +00:00
Abderrahmane Jarmouni
b54fe33077 soc: v2: stm32: Migrate STM32MP1 series
Port STM32MP1 series to HW model V2

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:20 +00:00
Guillaume Gautier
2ba3639b2a boards: Convert nucleo_c031c6 to HWM v2
Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:20 +00:00
Guillaume Gautier
dbc5ed79f5 soc: st: stm32: Migrate STM32C0 series
Port STM32C0 series to HW model v2

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-03-01 14:17:20 +00:00
Abderrahmane Jarmouni
ce6d493aa3 boards: Convert stm32l1_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:20 +00:00
Abderrahmane Jarmouni
a28086a9ca boards: Convert nucleo_l152re to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:20 +00:00
Abderrahmane Jarmouni
1b2a511d06 boards: Convert 96b_wistrio to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:20 +00:00
Abderrahmane Jarmouni
ce281f09ab soc: v2: stm32: Migrate STM32L1 series
Port STM32L1 series to HW model V2

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:20 +00:00
Erwan Gouriou
cdb5364fd7 boards: Convert stm32f769i_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:20 +00:00
Erwan Gouriou
768f173dcb boards: Convert stm32f7508_dk to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:20 +00:00
Erwan Gouriou
21bbbbd9cb boards: Convert stm32f746g_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:20 +00:00
Erwan Gouriou
bab4265693 boards: Convert stm32f723e_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:20 +00:00
Erwan Gouriou
58f8fe82ba boards: Convert nucleo_f767zi to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:20 +00:00
Erwan Gouriou
37e9084070 boards: Convert nucleo_f756zg to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:20 +00:00
Erwan Gouriou
d467e7053a boards: Convert nucleo_f746zg to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:19 +00:00
Erwan Gouriou
5f2808d7cc boards: Convert nucleo_f722ze to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:19 +00:00
Erwan Gouriou
bbb73e7550 soc: st: Migrate stm32f7 series to new hw model
Migrate STM2F7 series to new HW model.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
e9094afc4d soc: st: stm32: stm32f4: change SOC_STM32F405XG to SOC_STM32F405XX
Change SOC_STM32F405XG flag to SOC_STM32F405XX since it refers to SoC
stm32f405xx in kconfig.soc

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
a1712cdd53 boards: Convert stm32f4_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
5be404b365 boards: Convert stm32f469i_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
baaa697ab2 boards: Convert stm32f429i_disc1 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
69ecab3c90 boards: Convert stm32f412g_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
2a572e3fb0 boards: Convert stm32f411e_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
ecfbf42757 boards: Convert stm32f401_mini to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
e0191d03bb boards: Convert steval_fcu001v1 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
4454648976 boards: Convert segger_trb_stm32f407 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
f0ad6ee6b8 boards: Convert olimex_stm32_p405 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
1f5e228ec8 boards: Convert olimex_stm32_h407 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:19 +00:00
Abderrahmane Jarmouni
834bdb615e boards: Convert olimex_stm32_h405 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
8f27fa8de2 boards: Convert olimex_stm32_e407 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
f8633a9038 boards: Convert nucleo_f446ze to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
07e0bd2c07 boards: Convert nucleo_f446re to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
24d7f625dc boards: Convert nucleo_f429zi to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
157a8cde53 boards: Convert nucleo_f413zh to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
4ec99c31b0 boards: Convert nucleo_f412zg to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
a21546140a boards: Convert nucleo_f411re to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
43f01ab6de boards: Convert nucleo_f410rb to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
60c16bcb8b boards: Convert nucleo_f401re to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
2db228d730 boards: Convert mikroe_mini_m4_for_stm32 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
73fc26225c boards: Convert mikroe_clicker_2 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
6b62d90114 boards: Convert google_dragonclaw to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:18 +00:00
Abderrahmane Jarmouni
fa845af309 boards: Convert blackpill_f411ce to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
5c8c3c3be0 boards: Convert blackpill_f401ce to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
3c02db1290 boards: Convert blackpill_f401cc to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
7eeb723cb7 boards: Convert black_f407zg_pro to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
4f9461d068 boards: Convert black_f407ve to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
a821de8532 boards: Convert az3166_iotdevkit to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
ba580c7236 boards: Convert adi_sdp_k1 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
eb272ddf19 boards: Convert adafruit_feather_stm32f405 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
58ed121c3a boards: Convert 96b_stm32_sensor_mez to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
b0d70959d3 boards: Convert 96b_neonkey to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
b1088baadc boards: Convert 96b_carbon to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
18d867b0a9 boards: Convert 96b_argonkey to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
ee6ede7119 boards: Convert 96b_aerocore2 to HWM v2
Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Abderrahmane Jarmouni
b48e70ead9 soc: v2: stm32: Migrate STM32F4 series
Port STM32F4 series to HW model V2

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-01 14:17:17 +00:00
Torsten Rasmussen
14d2b955da cmake: convert path to CMake style before writing Kconfig files
Fixes: #68667

Kconfig is not fond of mixed path separators, therefore ensure CMake
style path is used in generated Kconfig files. CMake path style uses
`/`, and thus ensures correct behavior in Kconfig.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:17 +00:00
Jamie McCrae
9c4ac6a202 boards: posix: bsim: Update paths
Updates paths to account for legacy in them to prevent build
failures

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:16 +00:00
Jamie McCrae
14b57f56d7 tests: drivers: gpio: gpio_ite_it8xxx2_v2: Temp fix
Resolves a test failure by changing the paths as riscv boards
cannot currently be ported

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:16 +00:00
Erwan Gouriou
f3b173be18 scripts: board_v1_to_v2: Update following move to boards_legacy
Migration script requires update now that boards to be migrated
seat under boards_legacy and move directly under boards/

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:16 +00:00
Torsten Rasmussen
05b50f6691 cmake: CMake soc dir variable improvements for HWMv2
Create SOC_<soc>_DIR in addition to SOC_<SOC>_DIR variable.
Clear intermediate variables constructed by cmake_parse_arguments.

Set SOC_V2_DIR to point to the SoC dir of the actual SoC in use.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:16 +00:00
Torsten Rasmussen
a188e01a12 hwmv2: move all ported boards and socs to their final location
To un-block continuing of soc and board porting then move all socs and
boards and support building of updated docs then move all ported socs
and boards to their final location.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:16 +00:00
Jamie McCrae
22c53e97b5 hwmv2: move all non-ported legacy boards and socs to legacy folders
To un-block continuing of soc and board porting then move all socs and
boards which have not yet been ported to boards_legacy / soc_legacy
folders.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:16 +00:00
Torsten Rasmussen
53f3b181b0 soc: ti_k3: Port to HWMv2
Ports the ti_k3 SoC configuration to hardware model version 2

This commit is a followup to commit
5207600e16

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:15 +00:00
Torsten Rasmussen
9f19a2075a soc: rk3568: Port to HWMv2
Ports the rk3568 SoC configuration to hardware model version 2

This commit is a followup to commit
e5be4e435c

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:15 +00:00
Torsten Rasmussen
b8928b1628 soc: rk3399: Port to HWMv2
Ports the rk3399 SoC configuration to hardware model version 2

This commit is a followup to commit
cc51974523

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:15 +00:00
Torsten Rasmussen
cda3a74868 boards: arm64: qemu_kvm_arm64: Convert to v2
Converts the board to hwmv2

This commit is a followup to commit
1a59434162

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:15 +00:00
Dmitrii Golovanov
70d704bd20 soc: x86: atom: move and convert to HWMv2
Move and convert soc/x86/atom to HWMv2

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:15 +00:00
Dmitrii Golovanov
4789e1068e boards: x86: intel_rpl: move and convert raptor_lake boards to HWMv2
Move and convert intel_rpl_p_crb and intel_rpl_s_crb boards to HWMv2.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:15 +00:00
Dmitrii Golovanov
384307e3dc soc: x86: raptor_lake: move and convert to HWMv2
Move and convert soc/x86/raptor_lake to HWMv2

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:15 +00:00
Dmitrii Golovanov
ed025df674 boards: x86: intel_ehl: move and convert elkhart_lake boards to HWMv2
Move and convert `intel_ehl_crb` and `intel_ehl_crb_sbl` board
configurations to HWMv2.

`intel_ehl_crb_sbl` is changed to a variant `intel_ehl_crb/elkhart_lake/sbl`

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:15 +00:00
Dmitrii Golovanov
994b6e1731 soc: x86: elkhart_lake: move and convert to HWMv2
Move and convert soc/x86/elkhart_lake ot HWMv2

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:15 +00:00
Dmitrii Golovanov
73b30a04cf boards: x86: up_squared_pro_7000: move and convert to HWMv2
Move and convert boards/x86/up_squared_pro_7000 to HWMv2

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:14 +00:00
Dmitrii Golovanov
83b133c207 boards: x86: intel_adl: move and convert alder_lake boards to HWMv2
Move and convert intel_adl_crb and intel_adl_rvp boards to HWMv2.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:14 +00:00
Dmitrii Golovanov
847a12f1e4 soc: alder_lake: move and convert to HWMv2
Move and convert soc/x86/alder_lake to HWMv2

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:14 +00:00
Dmitrii Golovanov
67f4c8d2a1 samples: up_squared: adjust gpio_counter to HWMv2
Adjust samples/boards/up_squared/gpio_counter to HWMv2 changes
of the up_squared board.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:14 +00:00
Dmitrii Golovanov
5326b5bfc0 boards: x86: up_squared: move and convert to HWMv2
Move and convert boards/x86/up_squared to HWMv2

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:14 +00:00
Dmitrii Golovanov
cfd5e691b4 soc: apollo_lake: move and convert to HWMv2
Move and convert soc/x86/apollo_lake to HWMv2.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-03-01 14:17:14 +00:00
Torsten Rasmussen
ac9c235741 boards: xtensa: qemu_xtensa: Convert to v2
Converts the board to hwmv2.

This commit is a followup to commit
86d612086e

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:14 +00:00
Torsten Rasmussen
f198c3a761 ci: update to osource for soc/Kconfig.defconfig files
This commit aligns check_compliance to use osource for SoC
Kconfig.defconfig, as that is also the rule for the Kconfig tree in
Zephyr itself.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:14 +00:00
Torsten Rasmussen
e438e6cad4 ci: add SOC_SERIES_ as false positive in check_compliance.py
CONFIG_SOC_SERIES_ is as regex in scripts/utils/board_v1_to_v2.py.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:14 +00:00
Erwan Gouriou
95e34da7c1 soc: v2: Convert st_stm32 to st/stm32
Make stm32 soc path more path more consistent using an actual vendor (st)
directory.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:14 +00:00
Jamie McCrae
313717df76 soc: mps3: Fix missing family
Fixes an issue with a missing family in the mp3 soc

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:14 +00:00
Jamie McCrae
392c3969ed boards: arm: am62x_m4: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:14 +00:00
Jamie McCrae
8f245d764d tests: Update board names for hwmv2
Updates tests that use board names which have changed with
boards v2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:14 +00:00
Jamie McCrae
8f71bb7b4f boards: arm64: khadas_edgev: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:14 +00:00
Jamie McCrae
e27d23aad0 soc: rk3399: Port to HWMv2
Ports the rk3399 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:14 +00:00
Jamie McCrae
80823b860e boards: arm64: roc_rk3568_pc: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:14 +00:00
Jamie McCrae
72e4483dec soc: rk3568: Port to HWMv2
Ports the rk3568 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
bed94669e3 boards: arm64: phycore_am62x_a53: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
c01af5a7b8 soc: ti_k3: Port to HWMv2
Ports the ti_k3 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
1e563b4ca3 boards: arm64: xenvm: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
76e484adae soc: xenvm: Port to HWMv2
Ports the xenvm SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
34412f7fe2 boards: arm64: rpi_4b: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
9be50e2ca9 soc: bcm2711: Port to HWMv2
Ports the bcm2711 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
bbbed12c2f boards: arm64: qemu_kvm_arm64: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
4f5ec7ff8f soc: qemu_virt_arm64: Port to HWMv2
Ports the qemu_virt_arm64 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
d8d1b9f200 boards: arm64: qemu_cortex_a53: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
30bd34b31e soc: qemu_cortex_a53: Port to HWMv2
Ports the qemu_cortex_a53 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
c20d0dcbb6 boards: arm64: fvp_baser_aemv8r: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
02ed6af463 boards: arm64: fvp_base_revc_2xaemv8a: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Jamie McCrae
1b175003a4 soc: fvp_aemv8*: Port to HWMv2
Ports the fvp_aemv8* SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:13 +00:00
Erwan Gouriou
de231b911d boards: v2: Clean up obsolete comments
Following migration, some comments don't apply anymore.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:13 +00:00
Erwan Gouriou
aa9597f6d9 boards: Convert waveshare_open103z to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:12 +00:00
Erwan Gouriou
9644828c81 boards: Convert stm32vl_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:12 +00:00
Erwan Gouriou
86ab2bd430 boards: Convert stm32_min_dev to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:12 +00:00
Erwan Gouriou
d88d3ddcc4 boards: Convert stm32f103_mini to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:12 +00:00
Erwan Gouriou
0ccc0204e1 boards: Convert stm3210c_eval to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:12 +00:00
Erwan Gouriou
dd9972d782 boards: Convert olimex_stm32_h103 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:12 +00:00
Erwan Gouriou
a2c2e1406d boards: Convert olimexino_stm32 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:12 +00:00
Erwan Gouriou
2d9c62e118 boards: Convert nucleo_f103rb to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:12 +00:00
Erwan Gouriou
e8ba99dc59 soc: v2: stm32: Migrate STM32F1 series
Port STM32F1 series to HW model V2

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:12 +00:00
Jamie McCrae
9a93916604 tests: Update board names for hwmv2
Updates tests that use board names which have changed with
boards v2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:12 +00:00
Jamie McCrae
9c4d94844d boards: arm: bcm958401m2: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:12 +00:00
Jamie McCrae
feaf4ffba1 boards: arm: bcm958402m2: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:12 +00:00
Jamie McCrae
87f0827121 soc: bcm_vk: Port to HWMv2
Ports the bcm_vk SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:12 +00:00
Jamie McCrae
4526be24a5 boards: arm: quick_feather: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:12 +00:00
Jamie McCrae
cd921d2b97 boards: arm: qomu: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:11 +00:00
Jamie McCrae
b3c04051fc soc: quicklogic_eos_s3: Port to HWMv2
Ports the quicklogic_eos_s3 SoC configuration to hardware model
version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
a73a9e7533 boards: v2: Clean up obsolete comments
Following migration, some comments don't apply anymore.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
8d87bcc167 boards: Convert stm32f0_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
1933585785 boards: Convert stm32f072_eval to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
6f9fe5429d boards: Convert stm32f072b_disco to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
9dc78e4025 boards: Convert stm32f030_demo to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
35113e8923 boards: Convert nucleo_f091rc to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
b276aee9a4 boards: Convert nucleo_f070rb to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
795f8d611b boards: Convert nucleo_f042k6 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
2d82646443 boards: Convert nucleo_f031k6 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
959786f12d boards: Convert nucleo_f030r8 to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
81670db2e9 boards: Convert legend to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
8980430aad boards: Convert google_kukui to HWM v2
Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
ac020f66e0 dts: stm32f0: fix few warnings
Fixes following warnings:
- zephyr.dts:419.10-426.5: Warning (simple_bus_reg): /soc/clocks:
missing or empty reg/ranges property
- zephyr.dts:477.27-484.5: Warning (simple_bus_reg): /soc/serial@40011C00:
simple-bus unit address format error, expected "40011c00"

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:11 +00:00
Erwan Gouriou
5140e4551a boards: v2: doc: Add vendors
Minimum modification to make boards doc visible in v2 model.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:10 +00:00
Erwan Gouriou
77d640e0c9 soc: v2: stm32: Migrate STM32F0 series
Port STM32F0 series to HW model V2

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:10 +00:00
Erwan Gouriou
0131e1c159 soc: v2: Add st_stm32 structure and common folder
Add minimum and common structure to start using STM32 on HW model V2.
Duplicated from soc/arm/st_stm32/common with minor modifications:
- common/Kconfig.soc moved to Kconfig as Kconfig.soc should now
be restricted to _SOC_FOO) related symbols
- "depends on LOG_BACKEND_SWO" LOG_BACKEND_SWO_REF_FREQ_HZ instead of if ..
- Symbols depending on series are not present, they'll have to be
introduced when converting respective series.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:10 +00:00
Jamie McCrae
36b63787a7 boards: v2: Add documentation index for converted boards
Adds documentation pages for rp2040-converted boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
ae02fc5047 boards: sparc: qemu_leon3: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
f38f7bb223 boards: sparc: gr716a: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
d3cca3580e soc: gr716a: Port to HWMv2
Ports the gr716a SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
6a8a0c1647 boards: sparc: generic_leon3: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
faf22185ce soc: leon3: Port to HWMv2
Ports the leon3 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
e94762ecdc tests: Update board names for hwmv2
Updates tests that use board names which have changed with boards v2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
9afcc27e05 boards: xtensa: qemu_xtensa: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
3e4a17018f soc: dc233c: Port to HWMv2
Ports the dc233c SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
9188fdcd78 boards: xtensa: xt-sim: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
fcaa41cb5d soc: xtensa_sample_controller: Port to HWMv2
Ports the xtensa_sample_controller SoC configuration to hardware
model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Erwan Gouriou
dbc413f7f7 scripts: board_v1_to_v2: Fix CONFIG_SOC_SERIES_ exclusion
Testing r"(?!SERIES_).*$" was not correct as we need to consider
lines not starting by SERIES.
Fix this and make the condition globally more simple.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:10 +00:00
Torsten Rasmussen
6be3d4bc80 kconfig: remove Kconfig BOARD_RPI_PICO_W safe guard.
Boards are defining two Kconfigs, `BOARD_<board_name>` and
`BOARD_<board_name>_<identifier>`.

For the raspberry pi pico, this is then BOARD_RPI_PICO and
BOARD_RPI_PICO_RP2040 / BOARD_RPI_PICO_RP2040_W.

Thus there is no BOARD_RPI_PICO_W.
As all occurences with BOARD_RPI_PICO_W, is done as:
BOARD_RPI_PICO || BOARD_RPI_PICO_W, then simply remove BOARD_RPI_PICO_W.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:10 +00:00
Jamie McCrae
f4442fa698 boards: v2: Add documentation index for converted boards
Adds documentation pages for nios2-converted boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
ec5fbd67f7 boards: nios2: qemu_nios2: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
d3ef220460 soc: nios2-qemu: Port to HWMv2
Ports the nios2-qemu SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
a223f284b5 boards: nios2: altera_max10: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
c381edcb73 soc: nios2f-zephyr: Port to HWMv2
Ports the nios2f-zephyr SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
97401c7d2a boards: mips: qemu_malta: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
e7a3243a24 soc: qemu_malta: Port to HWMv2
Ports the qemu-malta SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
bec82c690d boards: v2: Add documentation index for converted boards
Adds documentation pages for rp2040-converted boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
94f6f9b636 boards: arm: w5500_evb_pico: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
209235ab6e boards: arm: sparkfun_pro_micro_rp2040: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
e5b1885907 boards: arm: adafruit_qt_py_rp2040: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
4c750818f9 boards: arm: adafruit_kb2040: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
8d3896caa4 boards: arm: rpi_pico: Convert to v2
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:09 +00:00
Jamie McCrae
42cff42c42 soc: rpi_pico: Port to HWMv2
Ports the rpi_pico SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 14:17:08 +00:00
Torsten Rasmussen
c2df4ca9cb scripts: improve yaml schema and board.yml validation for revisions
Make 'default' and 'revisions' fields optional for custom revisions.
When using custom revision format, then board author must create a
revision.cmake file for revision handling, in which case revisions
don't need to be specified in the board.yml file.

Therefore make 'default' and 'revisions' fields optional in the schema
and implement custom yaml validation which can validate that 'default'
and 'revisions' are specified for all other revision formats.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:08 +00:00
Torsten Rasmussen
3970f90f71 cmake: clear BOARD_CACHE when invalid board identifier is given
Clear BOARD_CACHE when no or an invalid board identifier is provided
on first CMake invocation.

This allows users to re-run CMake and provide a valid board identifier
as well as avoiding `BOARD` to be replaced with an invalid BOARD_CACHED
value.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:08 +00:00
Torsten Rasmussen
3a70ee9ccd cmake: improve board revision handling
In old hw model, board revisions was handled by creation of a
revisions.cmake file. In the new hw model, board revisions are defined
as integral part of board.yml, and revision.cmake is only needed and
used for custom revision format.

Users familiar with revision.cmake in old hw model may not be aware of
this difference, therefore provide warnings if developers create a
revision.cmake that is ignored by the build system.

Also fail a build if users specify a board revision for a board which
doesn't support revision. Such scenario can easily occur in the case
where a board developer may be creating a revisions.cmake file and
then try to build for a revision specified in that file.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:08 +00:00
Erwan Gouriou
3cda715fae scripts: board_v1_to_v2: Don't add select CONFIG_SOC_SERIES_FOO
SOC_SERIES_FOO selection is done at soc/ level it should
not be added as part of board description

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:08 +00:00
Erwan Gouriou
dc56a543f3 scripts: board_v1_to_v2: Add License + copyright
When creating file Kconfig.<board>, get the copyright from
old Kconfig.board file and use it in the new file.
Add the License as well.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-01 14:17:08 +00:00
Torsten Rasmussen
87147f88c4 cmake: prefer cache BOARD_IDENTIFIER over extracting from BOARD
The BOARD_IDENTIFIER is extracted from the BOARD argument provided by
the user.

Thereafter the BOARD_IDENTIFIER is compared to the list of valid board
identifiers returned by list_boards.py, and expanded with optional
fields as required.

Thereafter the expanded and full BOARD_IDENTIFIER is place as internal
variable in the CMake cache.

This means subsequent CMake invocations should use the expanded
BOARD_IDENTIFIER from the CMake cache instead of extracting it from the
BOARD variable.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:08 +00:00
Torsten Rasmussen
65f5dc5b8c cmake: fail when board identifier is applied in legacy hw model
Board is looked up without identifier string, which means a legacy
board may actually be found but later fails when board identifier is
included.

Thus test for HWMv1 and fail CMake is board identifier is provided for
board using HWMv1.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:08 +00:00
Torsten Rasmussen
7db2b6efd8 cmake: cache BOARD_IDENTIFIER to preserve it between CMake invocations
A CMake rerun would not extract or determine the BOARD_IDENTIFIER
correctly because `list_boards.py` is only invoked for first CMake
invocation.

Therefore cache the BOARD_IDENTIFIER so that it's preserved between
CMake re-runs.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:08 +00:00
Torsten Rasmussen
85dddac5a2 scripts: using extend in list_boards for variant list
Using extend instead of append to correctly extend the list of valid
board identifiers.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:08 +00:00
Gerard Marull-Paretas
6ae5c4e7fd scripts: utils: add board v1->v2 conversion utility
Assists on converting boards from hwmv1 to hwmv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:08 +00:00
Gerard Marull-Paretas
ef834a12d0 maintainers: update Renesas RZT2M path
SoC has been converted to v2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:08 +00:00
Gerard Marull-Paretas
3ab7830625 boards: renesas: add documentation entry
Add a new entry for Renesas boards.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:08 +00:00
Gerard Marull-Paretas
a0c2ca0491 boards: arm: add documentation entry
Add a new entry for ARM Holdings plc boards.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:08 +00:00
Gerard Marull-Paretas
27ff3654b7 boards: gigadevice: add documentation entry
Add an entry for Gigadevice boards.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:08 +00:00
Gerard Marull-Paretas
6e02f43c0a maintainers: update GD32 paths
Some SoC/board files have been moved, use new paths.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:08 +00:00
Gerard Marull-Paretas
1bfcf1d974 boards: gd32l233r_eval: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:08 +00:00
Gerard Marull-Paretas
6e621ee43f boards: gd32f470i_eval: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
219b149768 boards: gd32f450z_eval: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
91c52b0d39 boards: gd32f450v_start: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
f0e0a973f6 boards: gd32f407v_start: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
6f592b64c9 boards: gd32f403z_eval: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
4bcb4b2ac8 boards: gd32f350r_eval: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
fdc7ed6eb0 boards: gd32e507z_eval: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
770376250d boards: gd32e507v_start: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
a6d8b92e86 boards: gd32e103v_eval: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
a5f8e5daa1 boards: gd32a503v_eval: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
5ee799cc5f boards: gd32f450i_eval: convert to HWMv2
Port the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Gerard Marull-Paretas
8aa8ce4ac8 soc: gigadevice: port to HWMv2
Port all the Gigadevice SoCs to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00
Torsten Rasmussen
4e203c14c7 cmake: enhanced board entry file handling
With a single board now covering what used to be several boards, and
with the ability to omit SoC when building for a single SoC board, then
<board>_defconfig and <board>.dts lookup is improved.

A single SoC board may prefer to keep its defconfig entry point as
<board>_defconfig instead of <board>_<soc>_defconfig.

Also, a multi-SoC board / multi-core SoC board, which used to be
implemented as n-boards may wish to have common _defconfig settings in
a common <board>_defconfig file, and the SoC / cpuset specifics in
<board>_<soc>_defconfig / <board>_<soc>_<core>_defconfig.

Such defconfig support allows also to place build variant specifics in
its own <board>_<soc>_<variant>_defconfig file.

This commit allows multiple _defconfigs for a board and its identifiers.

Similar is implemented for a board's dts file.
If a <board>_<soc>_<core>.dts file is not found, the build system will
instead use <board>_<soc>.dts, and finally fallback to <board>.dts.

This allows a board to have a shared dts file for all board identifiers
which are identical while still support specific dts where required.

A dts file is a devicetree starting point and thus two dts files cannot
be used in together. For such cases, an ordinary board overlay file must
be used.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:07 +00:00
Torsten Rasmussen
312265ee04 scripts: make SoC field mandatory in board.yml
With the support of omitting SoC field for single SoC boards then there
is no reason to have this field optional.

Users are still able to use a short board name when building.

But always requiring SoC field in the board.yml paves the way for future
enhancements to the new hw model without having to do a second update
to a lot of board.yml files.

Such enhancement can be:
- Create Kconfig SoC selection and thereby remove need for Kconfig
  boilerplate code, and also thereby remove risk of naming
  inconsistencies.
- Extend board documentation, so that web doc provides option to filter
  all boards with a given SoC.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:07 +00:00
Torsten Rasmussen
c12ae3bcbc boards: update Renesas rzt2m board.yml to contain SoC information
Add Renesas_rzt2m SoC information to the board.yml for the Renesas rzt2m
starter kit.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:07 +00:00
Torsten Rasmussen
c5321c1dbe cmake: make SoC optional for boards containing a single SoC
Allowing users to omit the SoC when building for a board containing a
single SoC make less typing required when building.

Full identifier is still supported.
This means that if board 'plank' contains a single SoC 'foo', then the
following input are equivalent:
-DBOARD=plank
-DBOARD=plank/foo

When building for variants on single SoC boards, a `//` can be used to
indicate SoC field and build system will insert the SoC if the board
has just a single SoC, as example build the 'bar' variant for 'plank'
board can be specified as:
-DBOARD=plank//bar
-DBOARD=plank/foo/bar

The enhancement allows all boards to specify the SoC on the board
without forcing users to type the SoC as part of BOARD input.
As example, -DBOARD=bbc_microbit, is allowed in addition to
-DBOARD=bbc_microbit/nrf52822.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
bcc06c60ae scripts: support SoC list output for boards
Extending board output with SoC information.
This provides the possibility to print all SoCs present for boards in
new hw model.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
db9e46010c twister: update testcase.yaml and sample.yaml to mps3/an547 identifier
This commit updates testcase.yaml and sample.yaml to use mps3/an547
identifier which replaces former mps3_an547 board name.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
a988adee7d boards: update arm mps3 an547 board to HWMv2 scheme
This commit updates arm mps3 an547 board to use HWMv2.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
7dc2c9db0c soc: use HWMv2 for arm mps3 SoC
This commit move the arm mps3 SoC to soc/v2 and adopt HWMv2.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
c506675b7c boards: update Renesas Starter Kit+ for RZ/T2M board to HWMv2 scheme
This commit updates Renesas Starter Kit+ for RZ/T2M board to use HWMv2.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
3abb792073 soc: use HWMv2 for renesas_rzt2m SoC
This commit move the renesas_rzt2m SoC to soc/v2 and adopt HWMv2.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
4f52bc646e cmake: support hw model v2 in arch/Kconfig tree
This commit introduces support for Zephyr hw model v2 in the arch
Kconfig tree.

The hw model v2 requires Kconfig trees to be self-contained, meaning
that the have no Kconfig references outside the tree itself.

For hw model v2, the architecture of a board / SoC is not known until
the Kconfig tree and config file has been parsed.
There provide a new arch/Kconfig.v2 file to support loading of all arch
Kconfigs. Hw model v1 is now placed in arch/Kconfig.v1 and includes
only the arch Kconfig files determined by the arch of the board.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
a712b5005b scripts: extend kconfig compliance to verify board / SoC scheme v2
This commit extends compliance check to include a KconfigBoardV2 check.

This check verifies that a v2 scheme board / SoC does not contain
references outside the Kconfig trees.

The check is invoked as: `check_compliance.py -m KconfigBoardV2`

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
baa55141a1 twister: update twister testplan.py to handle HWMv2 boards
This commit updates twister testplan.py to handle HWMv2 boards.

It does so by switching to use list_boards.py to obtain a list of
folders containing <board>.yaml files for processing instead of a
global globbing of sub-folders under boards.

With HWMv2, boards can be organized more freely, meaning that a fixed
glob hierarchy is no longer safe.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
1f026f70eb boards: extend list_boards.py and update boards CMake module
Extend list_boards.py and update boards CMake module to handle HWMv2.

list_boards.py is extended to support board.yml file in each board
folder with various information related to the board, such as vendor,
soc, cpucluster, variants, revisions.

The HWMv2 removes the requirement for a _defconfig file.
It also unifies how board revisions, cpusets, etc is defined which again
provides an option for cleaner build system implementation for handling
of boards and their integration to the build system.

The CMake boards.cmake module is updated to take advantage of the
improved design.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
bd854a3af8 cmake: introduce arch and soc cmake modules for hw model v2
Introduce dedicated arch and soc hw model v2 CMake module files.

Rename existing arch and soc cmake file to have a `_v1` post fix.
This help to identify the purpose of each of those files and thus a
cleaner implementation.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
c9edefa8fd arch: add existing archs to archs.yml for HWMv2 support
Existing Zephyr architectures are already self-contained and thereby
HWMv2 compliant.

Add all existing architectures to archs.yml.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
61bbfb5ba2 scripts: introduce list_hardware.py for listing of architectures and SoCs
The list_hardware.py script parses archs.yml in all <arch-root>/arch
folders and soc.yml in all <soc-root>/soc sub-folders.

The archs.yml and soc.yml are introduced with hw model v2.

Hw model v2 removes the need for architecture knowledge of the SoCs,
and as part of this makes multi-arch and multi-core SoCs possible.

Hw model v2 also allows for greater flexibility in arch and SoC
organization as they can be organized freely.

As example SoCs can be organized by vendors, architecture, or any other
way as the socs.yml contains the path to the location of the SoC,
instead of relying on a specific arch.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
Torsten Rasmussen
a4d1980c35 build: board/ soc: introduce hw model v2 scheme
Hw model v2 scheme offers SoC and  maintainers the possibility to define
promptless SoCs settings which must be selected by the board Kconfig.

Having a board doing `select SOC_<name>` is a much cleaner approach then
selecting the SoC in a configuration file.

It furthermore removes the need to present all SoCs in choice groups, as
the SoC is now an internal setting to Kconfig.

This further has the benefit of not presenting users, especially
new-comers to Zephyr, with SoC selection options in menuconfig which
has potential to cause confusion.

It moves the SOC, SOC_SERIES, and SOC_FAMILY from arch/Kconfig into the
soc Kconfig tree, where they rightfully belongs.

With hw model v2, BOARD name is now passed from the build system to
Kconfig which ensures that the board name used in CMake is always in
sync with the board name used in Kconfig for hw model v2.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 14:17:06 +00:00
13315 changed files with 159280 additions and 157416 deletions

View File

@@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: ["mps2_an385", "native_sim", "qemu_x86", "unit_testing"]
platform: ["mps2/an385", "native_sim", "qemu_x86", "unit_testing"]
steps:
- name: Apply container owner mismatch workaround
run: |

View File

@@ -57,6 +57,8 @@ jobs:
# debug
ls -la
git log --pretty=oneline | head -n 10
# Increase rename limit to allow for large PRs
git config diff.renameLimit 10000
./scripts/ci/check_compliance.py --annotate -e KconfigBasic \
-c origin/${BASE_REF}..

3
.gitignore vendored
View File

@@ -68,14 +68,17 @@ tags
# from check_compliance.py
BinaryFiles.txt
BoardYml.txt
Checkpatch.txt
DevicetreeBindings.txt
GitDiffCheck.txt
Gitlint.txt
Identity.txt
ImageSize.txt
Kconfig.txt
KconfigBasic.txt
KconfigBasicNoModules.txt
KconfigHWMv2.txt
KeepSorted.txt
MaintainersFormat.txt
ModulesMaintainers.txt

View File

@@ -118,7 +118,7 @@ zephyr_include_directories(
include(${ZEPHYR_BASE}/cmake/linker_script/${ARCH}/linker.cmake OPTIONAL)
zephyr_include_directories(${SOC_DIR}/${ARCH}/${SOC_PATH})
zephyr_include_directories(${SOC_FULL_DIR})
# Don't inherit compiler flags from the environment
foreach(var AFLAGS CFLAGS CXXFLAGS CPPFLAGS LDFLAGS)

View File

@@ -19,13 +19,7 @@
# entries that are not covered by the MAINTAINERS file.
/soc/arm/aspeed/ @aspeeddylan
/soc/arm/atmel_sam/common/*_sam4l_*.c @nandojve
/soc/arm/atmel_sam/sam3x/ @ioannisg
/soc/arm/atmel_sam/sam4e/ @nandojve
/soc/arm/atmel_sam/sam4l/ @nandojve
/soc/arm/atmel_sam/sam4s/ @fallrisk
/soc/arm/atmel_sam/same70/ @nandojve
/soc/arm/atmel_sam/samv71/ @nandojve
/soc/atmel/ @nandojve
/soc/arm/bcm*/ @sbranden
/soc/arm/infineon_cat1/ @ifyall @npal-cy
/soc/arm/infineon_xmc/ @parthitce
@@ -101,11 +95,7 @@
/boards/arm/rpi_pico/ @yonsch
/boards/arm/ronoth_lodev/ @NorthernDean
/boards/arm/xmc45_relax_kit/ @parthitce
/boards/arm/sam4e_xpro/ @nandojve
/boards/arm/sam4l_ek/ @nandojve
/boards/arm/sam4s_xplained/ @fallrisk
/boards/arm/sam_e70_xplained/ @nandojve
/boards/arm/sam_v71_xult/ @nandojve
/boards/atmel/ @nandojve
/boards/arm/scobc_module1/ @yashi
/boards/arm/v2m_beetle/ @fvincenzo
/boards/arm/olimexino_stm32/ @ydamigos
@@ -411,13 +401,7 @@
/dts/arc/ @abrodkin @ruuddw @iriszzw @evgeniy-paltsev
/dts/arm/acsip/ @NorthernDean
/dts/arm/aspeed/ @aspeeddylan
/dts/arm/atmel/sam4e* @nandojve
/dts/arm/atmel/sam4l* @nandojve
/dts/arm/atmel/samr21.dtsi @benpicco
/dts/arm/atmel/sam*5*.dtsi @benpicco
/dts/arm/atmel/same70* @nandojve
/dts/arm/atmel/samv71* @nandojve
/dts/arm/atmel/ @galak
/dts/arm/atmel/ @galak @nandojve
/dts/arm/broadcom/ @sbranden
/dts/arm/cypress/ @ifyall @npal-cy
/dts/arm/gd/ @nandojve
@@ -428,7 +412,7 @@
/dts/arm64/nxp/ @JiafeiPan
/dts/arm64/renesas/ @lorc @xakep-amatop
/dts/arm/quicklogic/ @fkokosinski @kgugala
/dts/arm/seeed/ @str4t0m
/dts/arm/seeed_studio/ @str4t0m
/dts/arm/st/ @erwango
/dts/arm/st/h7/*stm32h735* @benediktibk
/dts/arm/st/l4/*stm32l451* @benediktibk
@@ -475,6 +459,7 @@
/dts/bindings/counter/snps,dw-timers.yaml @pbalsundar
/dts/bindings/wifi/*esp-at.yaml @mniestroj
/dts/bindings/*/*gd32* @nandojve
/dts/bindings/*/*sam* @nandojve
/dts/bindings/*/*npcx* @MulinChao @ChiHuaL
/dts/bindings/*/*psoc6* @ifyall @npal-cy
/dts/bindings/*/*infineon*cat1* @ifyall @npal-cy

View File

@@ -21,12 +21,11 @@ osource "$(KCONFIG_BINARY_DIR)/Kconfig.shield.defconfig"
# This loads Zephyr base shield defconfigs
source "boards/shields/*/Kconfig.defconfig"
source "$(BOARD_DIR)/Kconfig.defconfig"
osource "$(BOARD_DIR)/Kconfig.defconfig"
# This loads Zephyr specific SoC root defconfigs
source "$(KCONFIG_BINARY_DIR)/soc/Kconfig.defconfig"
# This loads custom SoC root defconfigs
osource "$(KCONFIG_BINARY_DIR)/Kconfig.soc.defconfig"
# This loads Zephyr base SoC root defconfigs
osource "soc/$(ARCH)/*/Kconfig.defconfig"
# This loads the toolchain defconfigs
osource "$(TOOLCHAIN_KCONFIG_DIR)/Kconfig.defconfig"
# This loads the testsuite defconfig
@@ -644,7 +643,7 @@ config BUILD_OUTPUT_UF2_FAMILY_ID
default "0x1c5f21b0" if SOC_SERIES_ESP32
default "0x621e937a" if SOC_NRF52833_QIAA
default "0xada52840" if SOC_NRF52840_QIAA
default "0x4fb2d5bd" if SOC_SERIES_IMX_RT
default "0x4fb2d5bd" if SOC_SERIES_IMXRT10XX || SOC_SERIES_IMXRT11XX
default "0x2abc77ec" if SOC_SERIES_LPC55XXX
default "0xe48bff56" if SOC_SERIES_RP2XXX
default "0x68ed2b88" if SOC_SERIES_SAMD21
@@ -906,7 +905,7 @@ config BOOTLOADER_SRAM_SIZE_DEPRECATED
config BOOTLOADER_ESP_IDF
bool "ESP-IDF bootloader support"
depends on SOC_FAMILY_ESP32 && !BOOTLOADER_MCUBOOT && !MCUBOOT
depends on SOC_FAMILY_ESPRESSIF_ESP32 && !BOOTLOADER_MCUBOOT && !MCUBOOT
default y
help
This option will trigger the compilation of the ESP-IDF bootloader

View File

@@ -166,9 +166,7 @@ ARM arch:
- include/zephyr/arch/arm/
- tests/arch/arm/
- doc/hardware/arch/arm_cortex_m.rst
- boards/arm/qemu_cortex_m3/
- boards/arm/qemu_cortex_m0/
- soc/arm/*
- boards/qemu/cortex_m0/
labels:
- "area: ARM"
tests:
@@ -186,9 +184,9 @@ ARM64 arch:
- arch/arm64/
- include/zephyr/arch/arm64/
- tests/arch/arm64/
- soc/arm64/
- boards/arm64/
- dts/arm64/
- boards/qemu/kvm_arm64/
- boards/qemu/cortex_a53/
labels:
- "area: ARM64"
tests:
@@ -198,8 +196,11 @@ ARM Platforms:
status: odd fixes
files:
- boards/arm/mps*/
- soc/arm/arm/
- boards/arm/v2m_*/
- soc/arm/mps*/
- soc/arm/musca/
- soc/arm/beetle/
- soc/arm/fvp_aemv8r/aarch32/
- dts/arm/armv*.dtsi
labels:
- "platform: ARM"
@@ -207,7 +208,7 @@ ARM Platforms:
ASPEED Platforms:
status: odd fixes
files:
- soc/arm/aspeed/
- soc/aspeed/
- dts/arm/aspeed/
- drivers/*/*_ast10x0.c
- drivers/*/Kconfig.aspeed
@@ -230,10 +231,9 @@ ARM SiP SVC:
MIPS arch:
status: odd fixes
files:
- soc/mips/
- arch/mips/
- include/zephyr/arch/mips/
- boards/mips/
- boards/qemu/malta/
labels:
- "area: MIPS"
tests:
@@ -249,8 +249,8 @@ Ambiq Platforms:
- aaronyegx
- RichardSWheatley
files:
- soc/arm/ambiq/
- boards/arm/apollo*/
- soc/ambiq/
- boards/ambiq/apollo*/
- dts/arm/ambiq/
- dts/bindings/*/ambiq,*
- drivers/*/*ambiq*
@@ -268,8 +268,7 @@ BeagleBoard Platforms:
- con-pax
- vaishnavachath
files:
- boards/arm/beagle*/
- boards/riscv/beagle*/
- boards/beagle/
labels:
- "platform: BeagleBoard"
@@ -524,7 +523,7 @@ Board/SoC configuration:
- nordicjm
- "57300"
files:
- soc/Kconfig
- soc/Kconfig*
- boards/Kconfig
labels:
- "area: Board/SoC configuration"
@@ -2011,8 +2010,8 @@ Xen Platform:
- include/zephyr/xen/
- drivers/xen/
- arch/arm64/core/xen/
- soc/arm64/xenvm/
- boards/arm64/xenvm/
- soc/xen/
- boards/xen/
labels:
- "area: Xen Platform"
@@ -2070,7 +2069,7 @@ Google Platforms:
- fabiobaltieri
- keith-zephyr
files:
- boards/*/google_*/
- boards/google/
- samples/boards/google_*/
Hash Utilities:
@@ -2303,12 +2302,7 @@ Laird Connectivity platforms:
collaborators:
- greg-leach
files:
- boards/arm/bl5340_dvk/
- boards/arm/bl65*/
- boards/arm/bt510/
- boards/arm/bt610/
- boards/arm/pinnacle_100_dvk/
- boards/arm/mg100/
- boards/lairdconnect/
labels:
- "platform: Laird Connectivity"
@@ -2513,10 +2507,10 @@ Native POSIX/Sim and POSIX arch:
- aescolar
files:
- arch/posix/
- boards/posix/common/
- boards/posix/native_*/
- boards/posix/doc/
- boards/posix/*.rst
- boards/native/common/
- boards/native/native_*/
- boards/native/doc/
- boards/native/*.rst
- drivers/*/*posix*
- drivers/*/*native*
- drivers/*/*/*posix*
@@ -2525,7 +2519,7 @@ Native POSIX/Sim and POSIX arch:
- include/zephyr/arch/posix/
- scripts/native_simulator/
- scripts/valgrind.supp
- soc/posix/
- soc/native/
- tests/boards/native_sim/
labels:
- "area: native port"
@@ -2769,11 +2763,11 @@ NIOS-2 arch:
- arch/nios2/
- dts/nios2/intel/
- boards/common/nios2.board.cmake
- boards/nios2/
- soc/nios2/
- soc/altr/*nios2*/
- include/zephyr/arch/nios2/
- tests/boards/altera_max10/
- boards/nios2/qemu_nios2/
- boards/qemu/nios2/
- boards/altr/max10/
- scripts/support/quartus-flash.py
labels:
- "area: NIOS2"
@@ -2785,7 +2779,7 @@ nRF BSIM:
maintainers:
- aescolar
files:
- boards/posix/nrf_bsim/
- boards/native/nrf_bsim/
- tests/boards/nrf52_bsim/
- tests/bsim/
files-exclude:
@@ -2846,7 +2840,7 @@ Power management:
"Quicklogic Platform":
status: odd fixes
files:
- soc/arm/quicklogic_eos_s3/
- soc/quicklogic/
- dts/arm/quicklogic/
labels:
- "platform: Quicklogic"
@@ -2865,10 +2859,14 @@ RISCV arch:
- npitre
files:
- arch/riscv/
- boards/riscv/
- boards/qemu/riscv*/
- boards/sifive/
- boards/sparkfun/red_v_things_plus/
- dts/bindings/riscv/
- dts/riscv/
- include/zephyr/arch/riscv/
- soc/common/riscv-privileged/
- soc/sifive/
- soc/riscv/
- tests/arch/riscv/
- doc/hardware/arch/risc-v.rst
@@ -3009,9 +3007,19 @@ SPARC arch:
files:
- arch/sparc/
- include/zephyr/arch/sparc/
- soc/sparc/
- boards/sparc/
- dts/sparc/
- boards/qemu/leon3/
labels:
- "area: SPARC"
Gaisler Platforms:
status: odd fixes
collaborators:
- julius-barendt
files:
- dts/sparc/gaisler/
- soc/gaisler/
- boards/gaisler/
labels:
- "area: SPARC"
@@ -3039,7 +3047,7 @@ ADI Platforms:
- galak
- microbuilder
files:
- boards/arm/adi_*/
- boards/adi/
- drivers/*/max*
- drivers/*/*max*/
- drivers/dac/dac_ltc*
@@ -3058,8 +3066,8 @@ Broadcom Platforms:
status: odd fixes
files:
- dts/arm/broadcom/
- soc/arm/bcm_vk/
- boards/arm/bcm95840*/
- soc/brcm/
- boards/brcm/
GD32 Platforms:
status: maintained
@@ -3070,14 +3078,12 @@ GD32 Platforms:
- gmarull
- soburi
files:
- boards/arm/gd32*/
- boards/riscv/gd32*/
- boards/riscv/longan_nano/
- boards/gd/
- drivers/*/*gd32*
- dts/*/gd/
- dts/bindings/*/*gd32*
- soc/*/gd_gd32/
- scripts/west_commands/*/*gd32*
- soc/gd/gd32/
labels:
- "platform: GD32"
description: >-
@@ -3093,8 +3099,8 @@ Synopsys Platforms:
- evgeniy-paltsev
- IRISZZW
files:
- soc/arc/
- boards/arc/
- soc/synopsys/
- boards/synopsys/
- samples/boards/arc_secure_services/
labels:
- "platform: Synopsys"
@@ -3112,8 +3118,8 @@ Nuvoton NPCX Platforms:
- jackrosenthal
- fabiobaltieri
files:
- soc/arm/nuvoton_npcx/
- boards/arm/npcx*/
- soc/nuvoton/npcx/
- boards/nuvoton/npcx*/
- dts/arm/nuvoton/
- dts/bindings/*/*npcx*
- drivers/*/*_npcx*.c
@@ -3127,10 +3133,9 @@ Nuvoton Numicro Numaker Platforms:
collaborators:
- ssekar15
files:
- soc/arm/nuvoton_numicro/
- soc/arm/nuvoton_numaker/
- boards/arm/nuvoton_pfm*/
- boards/arm/numaker_*/
- soc/nuvoton/numaker/
- soc/nuvoton/numicro/
- boards/nuvoton/numaker*/
- dts/arm/nuvoton/
- dts/bindings/*/*numicro*
- dts/bindings/*/*numaker*
@@ -3146,15 +3151,15 @@ Raspberry Pi Pico Platforms:
collaborators:
- soburi
files:
- boards/arm/rpi_pico/
- boards/arm/adafruit_kb2040/
- boards/arm/sparkfun_pro_micro_rp2040/
- boards/raspberrypi/
- boards/adafruit/kb2040/
- boards/sparkfun/pro_micro_rp2040/
- dts/arm/rpi_pico/
- dts/bindings/*/raspberrypi,pico*
- drivers/*/*rpi_pico
- drivers/*/*rpi_pico*/
- drivers/*/*rpi_pico*.c
- soc/arm/rpi_pico/
- soc/raspberrypi/
labels:
- "platform: Raspberry Pi Pico"
@@ -3165,8 +3170,8 @@ SiLabs Platforms:
collaborators:
- tgorochowik
files:
- soc/arm/silabs_*/
- boards/arm/ef*/
- soc/silabs/
- boards/silabs/
- dts/arm/silabs/
- dts/bindings/*/silabs*
- drivers/*/*_gecko*
@@ -3181,9 +3186,13 @@ Intel Platforms (X86):
- tbursztyka
- laurenmurphyx64
files:
- boards/x86/
- boards/intel/adl/
- boards/intel/ehl/
- boards/intel/rpl/
- dts/x86/intel/
- soc/x86/
- soc/intel/atom/
- soc/intel/lakemont/
- soc/intel/*_lake/
- samples/boards/up_squared/
labels:
- "platform: X86"
@@ -3205,8 +3214,8 @@ Intel Platforms (Xtensa):
- jxstelter
- marcinszkudlinski
files:
- boards/xtensa/intel_*/
- soc/xtensa/intel_*/
- boards/intel/adsp/
- soc/intel/intel_adsp/
- dts/xtensa/intel/
- tests/boards/intel_adsp/
- samples/boards/intel_adsp/
@@ -3223,8 +3232,8 @@ Intel Platforms (ISH):
- teburd
- likongintel
files:
- boards/x86/intel_ish/
- soc/x86/intel_ish/
- boards/intel/ish/
- soc/intel/intel_ish/
- dts/x86/intel/intel_ish*
- dts/bindings/*/intel,sedi*
- drivers/*/*sedi*
@@ -3239,8 +3248,8 @@ Intel Platforms (Agilex):
- nbalabak
- teikheng
files:
- boards/arm64/intel_*/
- soc/arm64/intel_*/
- boards/intel/socfpga/
- soc/intel/intel_socfpga/
- dts/arm64/intel/
- dts/bindings/*/intel,agilex*
- dts/arm/intel_socfpga_std/
@@ -3272,17 +3281,13 @@ NXP Drivers:
- include/zephyr/drivers/*/*mcux*
- arch/arm/core/mpu/nxp_mpu.c
- dts/bindings/*/nxp*
files-exclude:
- drivers/*/*s32*
- drivers/misc/*/*s32*
- include/zephyr/dt-bindings/*/*s32*
- include/zephyr/drivers/*/*s32*
- dts/bindings/*/*s32*
files-regex-exclude:
- .*s32.*
labels:
- "platform: NXP Drivers"
description: NXP Drivers
NXP Platforms (MCUX):
NXP Platforms (MCU):
status: maintained
maintainers:
- dleach02
@@ -3294,23 +3299,21 @@ NXP Platforms (MCUX):
- EmilioCBen
- decsny
files:
- boards/arm/mimx*/
- boards/arm/frdm*/
- boards/arm/lpcxpress*/
- boards/arm/twr_*/
- boards/arm/vmu*/
- soc/arm/nxp_imx/
- soc/arm/nxp_kinetis/
- soc/arm/nxp_lpc/
- boards/nxp/mimxrt*/
- boards/nxp/frdm*/
- boards/nxp/lpcxpress*/
- boards/nxp/twr_*/
- boards/nxp/vmu*/
- soc/nxp/imxrt/
- soc/nxp/kinetis/
- soc/nxp/lpc/
- dts/arm/nxp/
- samples/boards/nxp*/
files-exclude:
- boards/arm/*s32*/
- dts/arm/nxp/*s32*
- samples/boards/nxp_s32/
files-regex-exclude:
- .*s32.*
labels:
- "platform: NXP"
description: NXP Platforms supported by MCUXpresso suite
description: NXP MCU Platforms supported by MCUXpresso suite
NXP Platforms (S32):
status: maintained
@@ -3321,11 +3324,11 @@ NXP Platforms (S32):
- bperseghetti
- Dat-NguyenDuy
files:
- boards/arm/s32*/
- boards/arm/mr_canhubk3/
- boards/arm/ucans32k1sic/
- boards/nxp/s32*/
- boards/nxp/mr_canhubk3/
- boards/nxp/ucans32k1sic/
- boards/common/*nxp_s32*
- soc/arm/nxp_s32/
- soc/nxp/s32/
- drivers/*/*nxp_s32*
- drivers/misc/*nxp_s32*/
- dts/bindings/*/nxp,s32*
@@ -3338,6 +3341,26 @@ NXP Platforms (S32):
- "platform: NXP S32"
description: NXP S32 platforms and S32-specific drivers
NXP Platforms (MPU):
status: maintained
maintainers:
- dleach
collaborators:
- JiafeiPan
- dbaluta
- iuliana-prodan
- danieldegrasse
- decsny
- yvanderv
files:
- soc/nxp/imx/
- soc/nxp/layerscape/
files-regex:
- boards/nxp/m?imx[^(rt)].*/
labels:
- "platform: NXP MPU"
description: NXP MPU platforms
NXP Platforms (Xtensa):
status: maintained
maintainers:
@@ -3345,10 +3368,10 @@ NXP Platforms (Xtensa):
collaborators:
- iuliana-prodan
files:
- soc/xtensa/nxp_adsp/
- boards/xtensa/nxp_adsp_*/
- soc/nxp/imx/*/adsp/
- soc/nxp/imxrt/imxrt5xx/f1/
labels:
- "platform: NXP ADSP"
- "platform: NXP Xtensa"
description: NXP Xtensa platforms
Microchip MEC Platforms:
@@ -3359,9 +3382,9 @@ Microchip MEC Platforms:
- VenkatKotakonda
- albertofloyd
files:
- boards/arm/mec*/
- boards/microchip/mec*/
- dts/arm/microchip/
- soc/arm/microchip_mec/
- soc/microchip/mec/
- drivers/*/*mchp*.c
- tests/boards/mec15xxevb_assy6853/
- tests/boards/mec172xevb_assy6906/
@@ -3379,10 +3402,9 @@ Microchip SAM Platforms:
- mnkp
- stephanosio
files:
- boards/arm/atsam*/
- boards/arm/sam*/
- boards/atmel/
- dts/arm/atmel/
- soc/arm/atmel_sam*/
- soc/atmel/
- drivers/*/*sam*.c
- dts/bindings/*/atmel,*
labels:
@@ -3393,9 +3415,9 @@ nRF Platforms:
maintainers:
- anangl
files:
- boards/arm/*nrf*/
- boards/nordic/
- drivers/*/*nrfx*.c
- soc/arm/nordic_nrf/
- soc/nordic/
- samples/boards/nrf/
- dts/arm/nordic/
- dts/bindings/*/nordic,*
@@ -3409,11 +3431,11 @@ Renesas SmartBond Platforms:
- andrzej-kaczmarek
- blauret
files:
- boards/arm/da14*/
- boards/renesas/da14*/
- drivers/*/*smartbond*
- dts/arm/renesas/smartbond/
- dts/bindings/*/renesas,smartbond*
- soc/arm/renesas_smartbond/
- soc/renesas/smartbond/
labels:
- "platform: Renesas SmartBond"
description: >-
@@ -3425,11 +3447,11 @@ Renesas RA Platforms:
maintainers:
- soburi
files:
- boards/arm/arduino_uno_r4/
- boards/arduino/uno_r4_minima/
- drivers/*/*renesas_ra*
- dts/arm/renesas/ra/
- dts/bindings/*/*renesas,ra*
- soc/arm/renesas_ra/
- soc/renesas/ra/
labels:
- "platforms: Renesas RA"
description: >-
@@ -3441,11 +3463,11 @@ Renesas RZ Platforms:
maintainers:
- tgorochowik
files:
- boards/arm/rzt2m_*/
- boards/renesas/rzt2m_*/
- drivers/*/*rzt2m*
- dts/arm/renesas/rz/
- dts/bindings/*/*rzt2m*
- soc/arm/renesas_rzt2m/
- soc/renesas/rzt2m/
labels:
- "platforms: Renesas RZ"
description: >-
@@ -3461,15 +3483,13 @@ Renesas R-Car Platforms:
- xakep-amatop
files:
- dts/arm/renesas/rcar/
- boards/arm/rcar_*/
- boards/arm64/rcar_*/
- boards/renesas/rcar_*/
- drivers/*/*rcar*
- drivers/clock_control/*cpg_mssr*
- dts/arm/renesas/rcar/
- dts/arm64/renesas/
- dts/bindings/*/*rcar*
- soc/arm/renesas_rcar/
- soc/arm64/renesas_rcar/
- soc/renesas/rcar/
labels:
- "platform: Renesas R-Car"
description: >-
@@ -3488,11 +3508,7 @@ STM32 Platforms:
- Desvauxm-st
- GeorgeCGV
files:
- boards/arm/b_*/
- boards/arm/nucleo_*/
- boards/arm/stm32*_disco/
- boards/arm/stm32*_dk*/
- boards/arm/stm32*_eval/
- boards/st/
- drivers/*/*stm32*/
- drivers/*/*stm32*.c
- drivers/*/*stm32*.h
@@ -3500,7 +3516,7 @@ STM32 Platforms:
- drivers/*/*stm32*
- dts/arm/st/
- dts/bindings/*/*stm32*
- soc/arm/st_stm32/
- soc/st/stm32/
- samples/boards/stm32/
labels:
- "platform: STM32"
@@ -3518,16 +3534,14 @@ Espressif Platforms:
- uLipe
files:
- drivers/*/*esp32*.c
- boards/xtensa/esp32*/
- soc/xtensa/espressif_esp32*/
- boards/riscv/esp32*/
- soc/riscv/espressif_esp32*/
- boards/espressif/
- soc/espressif/
- dts/xtensa/espressif/
- dts/riscv/espressif/
- dts/bindings/*/*esp32*
- samples/boards/esp32*/
- tests/boards/espressif_esp32/
- drivers/wifi/esp32/
- drivers/*/*esp32*/
labels:
- "platform: ESP32"
@@ -3543,13 +3557,13 @@ ITE Platforms:
- brockus-zephyr
- sjg20
files:
- boards/riscv/it8*_evb/
- boards/ite/
- drivers/*/*/*it8xxx2*.c
- drivers/*/*it8xxx2*.c
- drivers/*/*_ite_*
- dts/bindings/*/*ite*
- dts/riscv/ite/
- soc/riscv/ite_ec/
- soc/ite/
labels:
- "platform: ITE"
@@ -3560,17 +3574,15 @@ TI SimpleLink Platforms:
collaborators:
- vanti
files:
- boards/arm/cc13*/
- boards/arm/cc26*/
- boards/arm/cc32*/
- boards/*/msp*/
- boards/ti/cc*/
- boards/ti/msp*/
- drivers/*/*cc13*
- drivers/*/*cc25*
- drivers/*/*cc26*
- drivers/*/*cc32*
- dts/arm/ti/
- dts/bindings/*/ti,*
- soc/arm/ti_simplelink/
- soc/ti/simplelink/
- dts/bindings/*/ti,*
- modules/Kconfig.simplelink
labels:
@@ -3583,18 +3595,18 @@ TI K3 Platforms:
collaborators:
- gramsay0
files:
- boards/*/*phycore_am6*/
- boards/*/am6*/
- boards/phytec/*am62*/
- boards/ti/*am62*/
- drivers/*/*ti_k3*
- dts/bindings/*/ti,k3*
- soc/*/ti_k3/
- soc/ti/k3/
labels:
- "platform: TI K3"
TI Platforms:
status: odd fixes
files:
- soc/arm/ti_lm3s6965/
- soc/ti/lm3s6965/
- dts/arm/ti/lm3s6965.dtsi
labels:
- "platform: TI"
@@ -3609,7 +3621,7 @@ Xilinx Platforms:
- dts/*/xilinx/
- dts/bindings/*/*xlnx*
- include/zephyr/*/*/*xlnx*
- soc/arm/xilinx*/
- soc/xlnx/
labels:
- "platform: Xilinx"
@@ -3621,18 +3633,17 @@ Infineon Platforms:
- npal-cy
- talih0
files:
- boards/arm/cy8ckit_*/
- boards/arm/cy8cproto_*/
- boards/arm/xmc*_relax*/
- boards/cypress/
- boards/infineon/
- drivers/*/*ifx_cat1*
- drivers/*/*xmc*/
- drivers/*/*xmc*.c
- drivers/*/*/*xmc*
- dts/arm/infineon/
- dts/arm/cypress/
- soc/arm/cypress/
- soc/cypress/
- dts/bindings/*/*infineon*
- soc/arm/infineon_*/
- soc/infineon/
labels:
- "platform: Infineon"
description: >-
@@ -3644,7 +3655,7 @@ Panasonic Platforms:
maintainers:
- pideu-sj
files:
- boards/arm/pan17*/
- boards/panasonic/
labels:
- "platform: Panasonic"
@@ -4588,11 +4599,11 @@ Xtensa arch:
- arch/xtensa/
- include/zephyr/arch/xtensa/
- dts/xtensa/
- boards/xtensa/qemu_xtensa/
- boards/xtensa/xt-sim/
- soc/xtensa/dc233c/
- soc/xtensa/sample_controller/
- soc/xtensa/CMakeLists.txt
- boards/qemu/xtensa/
- boards/cdns/xt-sim/
- soc/cdns/dc233c/
- soc/cdns/dc233c/
- soc/cdns/xtensa_sample_controller/
labels:
- "area: Xtensa"
@@ -4698,8 +4709,8 @@ Testing with Renode:
- fkokosinski
files:
- cmake/emu/renode.cmake
- boards/*/*/support/*.repl
- boards/*/*/support/*.resc
- boards/**/*/support/*.repl
- boards/**/*/support/*.resc
labels:
- "area: Renode"

View File

@@ -8,8 +8,10 @@
# Include these first so that any properties (e.g. defaults) below can be
# overridden (by defining symbols in multiple locations)
# Note: $ARCH might be a glob pattern
source "$(ARCH_DIR)/$(ARCH)/Kconfig"
source "$(ARCH_DIR)/Kconfig.$(HWM_SCHEME)"
# ToDo: Generate a Kconfig.arch for loading of additional arch in HWMv2.
osource "$(KCONFIG_BINARY_DIR)/Kconfig.arch"
# Architecture symbols
#
@@ -1019,27 +1021,6 @@ config ARCH
help
System architecture string.
config SOC
string
help
SoC name which can be found under soc/<arch>/<soc name>.
This option holds the directory name used by the build system to locate
the correct linker and header files for the SoC.
config SOC_SERIES
string
help
SoC series name which can be found under soc/<arch>/<family>/<series>.
This option holds the directory name used by the build system to locate
the correct linker and header files.
config SOC_FAMILY
string
help
SoC family name which can be found under soc/<arch>/<family>.
This option holds the directory name used by the build system to locate
the correct linker and header files.
config TOOLCHAIN_HAS_BUILTIN_FFS
bool
default y if !(64BIT && RISCV)

5
arch/Kconfig.v1 Normal file
View File

@@ -0,0 +1,5 @@
# Copyright (c) 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
# Note: $ARCH might be a glob pattern
source "$(ARCH_DIR)/$(ARCH)/Kconfig"

5
arch/Kconfig.v2 Normal file
View File

@@ -0,0 +1,5 @@
# Copyright (c) 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
source "$(KCONFIG_BINARY_DIR)/arch/Kconfig"

View File

@@ -9,7 +9,6 @@ menu "ARC Options"
config ARCH
default "arc"
config CPU_ARCEM
bool
select ATOMIC_OPERATIONS_C
@@ -380,8 +379,6 @@ config ARC_EARLY_SOC_INIT
(before C runtime initialization). Setup code is called in form of
soc_early_asm_init_percpu assembler macro.
endmenu
config MAIN_STACK_SIZE
default 4096 if 64BIT
@@ -408,3 +405,5 @@ config CMSIS_V2_THREAD_MAX_STACK_SIZE
config CMSIS_V2_THREAD_DYNAMIC_STACK_SIZE
default 2048 if 64BIT
endmenu

21
arch/archs.yml Normal file
View File

@@ -0,0 +1,21 @@
archs:
- name: arc
path: arc
- name: arm
path: arm
- name: arm64
path: arm64
- name: mips
path: mips
- name: nios2
path: nios2
- name: posix
path: posix
- name: riscv
path: riscv
- name: sparc
path: sparc
- name: xtensa
path: xtensa
- name: x86
path: x86

View File

@@ -82,4 +82,47 @@ config ARM_ON_EXIT_CPU_IDLE
rsource "core/Kconfig"
rsource "core/Kconfig.vfp"
# General options signifying CPU capabilities of ARM SoCs
config CPU_HAS_ARM_MPU
bool
select CPU_HAS_MPU
help
This option is enabled when the CPU has a Memory Protection Unit (MPU)
in ARM flavor.
config CPU_HAS_NXP_MPU
bool
select CPU_HAS_MPU
help
This option is enabled when the CPU has a Memory Protection Unit (MPU)
in NXP flavor.
config CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
bool "Custom fixed SoC MPU region definition"
help
If enabled, this option signifies that the SoC will
define and configure its own fixed MPU regions in the
SoC definition. These fixed MPU regions are currently
used to set Flash and SRAM default access policies and
they are programmed at boot time.
config CPU_HAS_ARM_SAU
bool
select CPU_HAS_TEE
help
MCU implements the ARM Security Attribution Unit (SAU).
config CPU_HAS_NRF_IDAU
bool
select CPU_HAS_TEE
help
MCU implements the nRF (vendor-specific) Security Attribution Unit.
(IDAU: "Implementation-Defined Attribution Unit", in accordance with
ARM terminology).
config HAS_SWO
bool
help
When enabled, indicates that SoC has an SWO output
endmenu

View File

@@ -28,8 +28,8 @@
*/
static inline uint64_t z_arm_dwt_freq_get(void)
{
#if defined(CONFIG_SOC_FAMILY_NRF) || \
defined(CONFIG_SOC_SERIES_IMX_RT6XX)
#if defined(CONFIG_SOC_FAMILY_NORDIC_NRF) || \
defined(CONFIG_SOC_SERIES_IMXRT6XX)
/*
* DWT frequency is taken directly from the
* System Core clock (CPU) frequency, if the
@@ -77,7 +77,7 @@ static inline uint64_t z_arm_dwt_freq_get(void)
}
return dwt_frequency;
#endif /* CONFIG_SOC_FAMILY_NRF */
#endif /* CONFIG_SOC_FAMILY_NORDIC_NRF */
}
void arch_timing_init(void)

View File

@@ -71,7 +71,7 @@ zephyr_linker_sources_ifdef(CONFIG_NOCACHE_MEMORY
# Only ARM, X86 and OPENISA_RV32M1_RISCV32 use ROM_START_OFFSET.
if (DEFINED CONFIG_ARM OR DEFINED CONFIG_X86 OR DEFINED CONFIG_ARM64
OR DEFINED CONFIG_SOC_OPENISA_RV32M1_RISCV32)
OR DEFINED CONFIG_SOC_OPENISA_RV32M1)
# Exclamation mark is printable character with lowest number in ASCII table.
# We are sure that this file will be included as a first.
zephyr_linker_sources(ROM_START SORT_KEY ! rom_start_address.ld)

View File

@@ -163,7 +163,7 @@ void _Fault(z_arch_esf_t *esf)
__asm__ volatile("csrr %0, mcause" : "=r" (mcause));
#ifndef CONFIG_SOC_OPENISA_RV32M1_RISCV32
#ifndef CONFIG_SOC_OPENISA_RV32M1
unsigned long mtval;
__asm__ volatile("csrr %0, mtval" : "=r" (mtval));
#endif
@@ -171,7 +171,7 @@ void _Fault(z_arch_esf_t *esf)
mcause &= CONFIG_RISCV_MCAUSE_EXCEPTION_MASK;
LOG_ERR("");
LOG_ERR(" mcause: %ld, %s", mcause, cause_str(mcause));
#ifndef CONFIG_SOC_OPENISA_RV32M1_RISCV32
#ifndef CONFIG_SOC_OPENISA_RV32M1
LOG_ERR(" mtval: %lx", mtval);
#endif

View File

@@ -8,7 +8,6 @@
#include <zephyr/sys/device_mmio.h>
#include <zephyr/sys/util.h>
#include <zephyr/drivers/pcie/pcie.h>
#include <soc.h>
#if DT_PROP_OR(DT_CHOSEN(zephyr_console), io_mapped, 0) != 0

View File

@@ -53,7 +53,7 @@ file(WRITE ${CORE_ISA_IN} "#include <xtensa/config/core-isa.h>\n")
add_custom_command(OUTPUT ${CORE_ISA_DM}
COMMAND ${CMAKE_C_COMPILER} -E -dM -U__XCC__
-I${ZEPHYR_XTENSA_MODULE_DIR}/zephyr/soc/${CONFIG_SOC}
-I${SOC_DIR}/${ARCH}/${SOC_PATH}
-I${SOC_FULL_DIR}
${CORE_ISA_IN} -o ${CORE_ISA_DM})
# Generates a list of device-specific scratch register choices

View File

@@ -19,4 +19,4 @@ supported:
- adc
ram: 256
flash: 2048
vendor: gumstix
vendor: 96boards

View File

@@ -1,9 +1,6 @@
# Copyright (c) 2020 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32F4X=y
CONFIG_SOC_STM32F427XX=y
# Enable MPU
CONFIG_ARM_MPU=y

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2020 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
config BOARD_96B_AEROCORE2
select SOC_STM32F427XX

View File

@@ -0,0 +1,5 @@
board:
name: 96b_aerocore2
vendor: 96boards
socs:
- name: stm32f427xx

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -0,0 +1,349 @@
.. _96b_aerocore2_board:
96Boards Aerocore2
##################
Overview
********
The 96Boards Aerocore2 Mezzanine is based on the STMicroelectronics
STM32F427VIT6 Cortex-M4 CPU primarily designed for use in drones.
This board acts as a mezzanine platform for all 96Boards CE compliant
boards. It can also be used as a standalone board.
.. figure:: img/96b_aerocore2.jpg
:align: center
:alt: 96Boards Aerocore2
96Boards Aerocore2
Hardware
********
96Boards Aerocore2 provides the following hardware components:
- STM32F427VIT6 in LQFP100 package
- ARM |reg| 32-bit Cortex |reg|-M4 CPU with FPU
- 168 MHz max CPU frequency
- VDD from 1.7 V to 3.6 V
- 2048 KB Flash
- 256 KB SRAM
- GPIO with external interrupt capability
- 12-bit ADC with 16 channels
- RTC
- Advanced-control Timers (2)
- General Purpose Timers (10)
- Watchdog Timers (2)
- USART/UART (4)
- I2C (3)
- SPI (3)
- SDIO
- USB 2.0 OTG FS
- DMA Controller
More information about STM32F427VIT6 can be found here:
- `STM32F427 on www.st.com`_
Supported Features
==================
The Zephyr 96b_aerocore2 board configuration supports the following hardware
features:
+------------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+============+============+=====================================+
| NVIC | on-chip | nested vector interrupt controller |
+------------+------------+-------------------------------------+
| SYSTICK | on-chip | system clock |
+------------+------------+-------------------------------------+
| UART | on-chip | serial port |
+------------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+------------+------------+-------------------------------------+
| PINMUX | on-chip | pinmux |
+------------+------------+-------------------------------------+
| FLASH | on-chip | flash |
+------------+------------+-------------------------------------+
| SPI | on-chip | spi |
+------------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+------------+------------+-------------------------------------+
| PWM | on-chip | timers / pwm |
+------------+------------+-------------------------------------+
| USB OTG FS | on-chip | USB device |
+------------+------------+-------------------------------------+
| ADC | on-chip | adc |
+------------+------------+-------------------------------------+
More details about the board can be found at `96Boards website`_.
The default configuration can be found in
:zephyr_file:`boards/96boards/aerocore2/96b_aerocore2_defconfig`
Connections and IOs
===================
LED
---
- LED1 / User1 LED = PE10
- LED2 / User2 LED = PE9
External Connectors
-------------------
Octal PWM Header (J1)
+-------+-------------+-------------------------+-------+-------------+-------+-------------+
| PIN # | Signal Name | STM32F427 Functions Pin | PIN # | Signal Name | Pin # | Signal Name |
+=======+=============+=========================+=======+=============+=======+=============+
| 1 | PWM4_CH1 | PD12 | 2 | 5.0v | 3 | GND |
+-------+-------------+-------------------------+-------+-------------+-------+-------------+
| 4 | PWM4_CH2 | PD13 | 5 | 5.0v | 6 | GND |
+-------+-------------+-------------------------+-------+-------------+-------+-------------+
| 7 | PWM4_CH3 | PD14 | 8 | 5.0v | 9 | GND |
+-------+-------------+-------------------------+-------+-------------+-------+-------------+
| 10 | PWM4_CH4 | PD15 | 11 | 5.0v | 12 | GND |
+-------+-------------+-------------------------+-------+-------------+-------+-------------+
| 13 | PWM5_CH1 | PA0 | 14 | 5.0v | 15 | GND |
+-------+-------------+-------------------------+-------+-------------+-------+-------------+
| 16 | PWM5_CH2 | PA1 | 17 | 5.0v | 18 | GND |
+-------+-------------+-------------------------+-------+-------------+-------+-------------+
| 19 | PWM5_CH3 | PA2 | 20 | 5.0v | 21 | GND |
+-------+-------------+-------------------------+-------+-------------+-------+-------------+
| 22 | PWM5_CH4 | PA3 | 23 | 5.0v | 24 | GND |
+-------+-------------+-------------------------+-------+-------------+-------+-------------+
IO Header J11
+-------+-------------+-------+-------------+
| PIN # | Signal Name | PIN # | Signal Name |
+=======+=============+=======+=============+
| 1 | PB9 | 2 | PB8* |
+-------+-------------+-------+-------------+
| 3 | PC9 | 4 | PB0 |
+-------+-------------+-------+-------------+
| 5 | PE5 | 6 | NA |
+-------+-------------+-------+-------------+
| 7 | PE6 | 8 | NA |
+-------+-------------+-------+-------------+
| 9 | PC6 | 10 | NA |
+-------+-------------+-------+-------------+
| 11 | PC7 | 12 | NA |
+-------+-------------+-------+-------------+
| 13 | PC8 | 14 | NA |
+-------+-------------+-------+-------------+
| 15 | PA8 | 16 | GND |
+-------+-------------+-------+-------------+
| 17 | PA9 | 18 | 3v3 |
+-------+-------------+-------+-------------+
| 19 | PA10 | 20 | GND |
+-------+-------------+-------+-------------+
* PB8 is connected to a watchdog buzzer, It needs to be pulsed every 10 seconds to keep the buzzer silent.
IO Header J5
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| PIN # | Signal Name | STM32F427 Functions Pin | PIN # | Signal Name | STM32F427 Functions Pin |
+=======+=============+=========================+=======+=============+=========================+
| 1 | AGND | AGND | 2 | ADC1_13 | PC3 |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 3 | ADC1_12 | PC2 | 4 | ADC1_11 | PC1 |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 5 | I2C_SDA | PB11 | 6 | GND | GND |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 7 | I2C_SCL | PB10 | 8 | VCC 3v3 | VCC 3v3 |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 9 | NC | NC | 10 | NC | NC |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 11 | NC | NC | 12 | NC | NC |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 13 | UART_TX 7 | PE8 | 14 | GND | GND |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 15 | UART_RX 7 | PE7 | 16 | GND | GND |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 17 | UART_TX 2 | PD5 | 18 | GND | GND |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 19 | UART_TX 2 | PD6 | 20 | GND | GND |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 21 | NC | NC | 10 | NC | NC |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 23 | NC | NC | 10 | NC | NC |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 25 | SPI1_NIRQ | PC5 | 26 | GND | GND |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 27 | SPI1_CLK | PA5 | 28 | SPI1_MISO | PA6 |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 29 | SPI1_CS0 | PA4 | 30 | SPI1_MOSI | PA7 |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 31 | CAN_TX | PD1 | 32 | CANH | NC |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
| 33 | CAN_RX | PD0 | 34 | CANL | NC |
+-------+-------------+-------------------------+-------+-------------+-------------------------+
GPS connector J15
+-------+-------------+-------------------------+
| PIN # | Signal Name | STM32F427 Functions Pin |
+=======+=============+=========================+
| 1 | V_OUT 5v | NC |
+-------+-------------+-------------------------+
| 2 | UART1_TX | PB6 |
+-------+-------------+-------------------------+
| 3 | UART1_RX | PB7 |
+-------+-------------+-------------------------+
| 4 | VCC 3v3 | NC |
+-------+-------------+-------------------------+
| 5 | GND | GND |
+-------+-------------+-------------------------+
Spektrum connector J3
+-------+-------------+-------------------------+
| PIN # | Signal Name | STM32F427 Functions Pin |
+=======+=============+=========================+
| 1 | VCC 3v3 | NC |
+-------+-------------+-------------------------+
| 2 | GND | GND |
+-------+-------------+-------------------------+
| 3 | UART8_RX | PE0 |
+-------+-------------+-------------------------+
External Clock Sources
----------------------
STM32F4 has one external oscillator. The frequency of the clock is
32.768 kHz. The internal 16MHz clock is used as the main clock.
Serial Port
-----------
96Boards Aerocore2 board has up to 4 U(S)ARTs. The Zephyr console output is
assigned to USART7. Default settings are 115200 8N1.
I2C
---
96Boards Aerocore2 board has 1 I2C port. The default I2C mapping for Zephyr is:
- I2C1_SCL : PB10
- I2C1_SDA : PB11
SPI
---
96Boards Aerocore2 board has 1 SPI port. The default SPI mapping for Zephyr is:
- SPI1_CS0 : PA4
- SPI1_SCK : PA5
- SPI1_MISO : PA6
- SPI1_MOSI : PA7
USB
===
96Boards Aerocore2 board has a USB OTG dual-role device (DRD) controller that
supports both device and host functions through its mini "OTG" USB connector.
Only USB device functions are supported in Zephyr at the moment.
Programming and Debugging
*************************
There are 2 main entry points for flashing STM32F4X SoCs, one using the ROM
bootloader, and another by using the SWD debug port (which requires additional
hardware). Flashing using the ROM bootloader requires a special activation
pattern, which can be triggered by using the BOOT0 pin. The ROM bootloader
supports flashing via USB (DFU), UART, I2C and SPI. You can read more about
how to enable and use the ROM bootloader by checking the application
note `AN2606`_, page 109.
Flashing
========
Installing dfu-util
-------------------
It is recommended to use at least v0.8 of `dfu-util`_. The package available in
debian/ubuntu can be quite old, so you might have to build dfu-util from source.
Flashing an Application to 96Boards Aerocore2
---------------------------------------------
Connect the micro-USB cable to the USB OTG/STM_CONSOLE Aerocore2 port and to your computer.
The board should power ON. Force the board into DFU mode by keeping the BOOT0
switch pressed while pressing and releasing the RST switch.
The BOOT button is located at the back-side of the PCB.
Confirm that the board is in DFU mode:
.. code-block:: console
$ sudo dfu-util -l
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Found DFU: [0483:df11] ver=2200, devnum=15, cfg=1, intf=0, alt=3, name="@Device Feature/0xFFFF0000/01*004 e", serial="3574364C3034"
Found DFU: [0483:df11] ver=2200, devnum=15, cfg=1, intf=0, alt=2, name="@OTP Memory /0x1FFF7800/01*512 e,01*016 e", serial="3574364C3034"
Found DFU: [0483:df11] ver=2200, devnum=15, cfg=1, intf=0, alt=1, name="@Option Bytes /0x1FFFC000/01*016 e", serial="3574364C3034"
Found DFU: [0483:df11] ver=2200, devnum=15, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/04*016Kg,01*064Kg,03*128Kg", serial="3574364C3034"
Found Runtime: [05ac:8290] ver=0104, devnum=2, cfg=1, intf=5, alt=0, name="UNKNOWN", serial="UNKNOWN"
You should see following confirmation on your Linux host:
.. code-block:: console
$ dmesg
usb 1-2.1: new full-speed USB device number 14 using xhci_hcd
usb 1-2.1: New USB device found, idVendor=0483, idProduct=df11
usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2.1: Product: STM32 BOOTLOADER
usb 1-2.1: Manufacturer: STMicroelectronics
usb 1-2.1: SerialNumber: 3574364C3034
Then build and flash an application. Here is an example for the
:ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: 96b_aerocore2
:goals: build flash
Connect a USB-TTL dongle to the UART_7 header port and to your computer.
Run your favorite terminal program to listen for output.
.. code-block:: console
$ minicom -D <tty_device> -b 115200
Replace :code:`<tty_device>` with the port where the board 96Boards Aerocore2
can be found. For example, under Linux, :code:`/dev/ttyUSB0`.
The ``-b`` option sets baud rate ignoring the value from config.
Press the Reset button and you should see the following message in your
terminal:
.. code-block:: console
Hello World! arm
.. _96Boards website:
https://www.96boards.org/product/aerocore2/
.. _STM32F427 on www.st.com:
https://www.st.com/en/microcontrollers-microprocessors/stm32f427vi.html
.. _dfu-util:
http://dfu-util.sourceforge.net/build.html
.. _AN2606:
https://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD00167594.pdf/files/CD00167594.pdf/jcr:content/translations/en.CD00167594.pdf

View File

@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32F4X=y
CONFIG_SOC_STM32F412CX=y
# Enable MPU
CONFIG_ARM_MPU=y

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2018 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
config BOARD_96B_ARGONKEY
select SOC_STM32F412CX

View File

@@ -0,0 +1,23 @@
# 96Boards Argonkey Board Configuration
# Copyright (c) 2018 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
if BOARD_96B_ARGONKEY
if LSM6DSL
choice LSM6DSL_TRIGGER_MODE
default LSM6DSL_TRIGGER_GLOBAL_THREAD
endchoice
config LSM6DSL_SENSORHUB
default y
choice LSM6DSL_EXTERNAL_SENSOR_0
default LSM6DSL_EXT0_LIS2MDL
endchoice
endif # LSM6DSL
endif # BOARD_96B_ARGONKEY

View File

@@ -0,0 +1,5 @@
board:
name: 96b_argonkey
vendor: 96boards
socs:
- name: stm32f412cx

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

@@ -0,0 +1,239 @@
.. _96b_argonkey:
96Boards Argonkey
#################
Overview
********
96Boards Argonkey board is based on the ST Microelectronics STM32F412CG
Cortex M4 CPU.
This board acts as a sensor hub platform for all 96Boards compliant
family products. It can also be used as a standalone board.
.. figure:: img/96b_argonkey.jpg
:align: center
:alt: 96Boards Argonkey
96Boards Argonkey
Hardware
********
96Boards Argonkey provides the following hardware components:
- STM32F412CG in UFQFPN48 package
- ARM |reg| 32-bit Cortex |reg|-M4 CPU with FPU
- 100 MHz max CPU frequency
- 1.8V work voltage
- 1024 KB Flash
- 256 KB SRAM
- On board sensors:
- Humidity: STMicro HTS221
- Temperature/Pressure: STMicro LPS22HB
- ALS: Intersil ISL29034
- Proximity: STMicro VL53L0X
- Accelerometer/Gyroscope: STMicro LSM6DSL
- Geomagnetic: STMicro LIS2MDL
- AMR Hall sensor: MRMS501A
- Microphone: STMicro MP34DT05
- 2 User LEDs
- 16 General purpose LEDs
- GPIO with external interrupt capability
- UART
- I2C (3)
- SPI (1)
- I2S (1)
Supported Features
==================
The Zephyr 96b_argonkey board configuration supports the following hardware
features:
+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+=====================================+
| NVIC | on-chip | nested vector interrupt controller |
+-----------+------------+-------------------------------------+
| SYSTICK | on-chip | system clock |
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port |
+-----------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-------------------------------------+
| PINMUX | on-chip | pinmux |
+-----------+------------+-------------------------------------+
| FLASH | on-chip | flash |
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+
More information about the board can be found at the
`ARGONKEY website`_.
The default board configuration can be found in
:zephyr_file:`boards/96boards/argonkey/96b_argonkey_defconfig`
Connections and IOs
===================
LED
---
- LED1 / User1 LED = PB2
- LED2 / User2 LED = PC13
Push buttons
------------
- BUTTON = RST (BT1)
- BUTTON = USR (BT2)
System Clock
============
96Boards Argonkey can be driven by an internal oscillator as well as the main
PLL clock. In default board configuration, the 16MHz external oscillator is
used to drive the main PLL clock to generate a System Clock (SYSCLK) at 84MHz.
On the bus side, AHB clock runs at 84MHz, while APB1/APB2 clock runs at 42MHz.
Serial Port
===========
On 96Boards Argonkey, Zephyr console output is assigned to USART1.
Default settings are 115200 8N1.
I2C
---
96Boards Argonkey board has up to 3 I2Cs. The default I2C mapping is:
- I2C1_SCL : PB6
- I2C1_SDA : PB7
- I2C2_SCL : PB10
- I2C2_SDA : PB9
- I2C3_SCL : PA8
- I2C3_SCL : PB4
I2C3 goes to the P2 connector and can be used to attach external sensors.
It goes to 100Kbit maximum.
SPI
---
96Boards Argonkey board has 2 SPIs. SPI1 is used in slave mode as the communication
bus with the AP. SPI2 is used in master mode to control the LSM6DSL sensor.
The default SPI mapping is:
- SPI1_NSS : PA4
- SPI1_SCK : PA5
- SPI1_MISO : PA6
- SPI1_MOSI : PA7
- SPI2_NSS : PB12
- SPI2_SCK : PB13
- SPI2_MISO : PB14
- SPI2_MOSI : PB15
Programming and Debugging
*************************
Building
========
Here is an example for building the :ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: 96b_argonkey
:goals: build
Flashing
========
96Boards Argonkey can be flashed by two methods, one using the ROM
bootloader and another using the SWD debug port (which requires additional
hardware).
Flashing using the ROM bootloader requires a special activation pattern,
which can be triggered by using the BOOT0 pin. The ROM bootloader supports
flashing via USB (DFU), UART, I2C and SPI, but this document describes the
UART case only. You can read more about how to enable and use the ROM
bootloader by checking the application note `AN2606`_ .
Using ROM bootloader:
---------------------
Hereafter the documents describes basic steps to perform ArgonKey firmware
flashing on a Linux PC using UART as communication channel.
1. Connect ArgonKey UART to your Linux PC using, for example, a USB-TTL serial
cable. The flashing procedure has been tested using a `TTL-232RG`_ cable with
FTDI chip. The UART pins on ArgonKey can be found on the P3 low speed
expansion connector on the back of the board.
- GND (black) to ArgonKey GND (P3.1)
- TXD (orange) to ArgonKey UART0_TXD (P3.5)
- RXD (yellow) to ArgonKey UART0_RXD (P3.7)
When the USB cable is inserted to the Linux PC the following device will be
created: /dev/ttyUSBx (x is usually '0').
2. Force STM32F412CG to enter in Bootloader mode
- Connect BOOT0 to 1V8 (link P2.1 to P3.30)
- Press and release the RST button
3. Use stm32flash utility to flash the ArgonKey:
.. code-block:: console
$ stm32flash -w zephyr.bin -v -g 0x08000000 /dev/ttyUSB0
See References section for more info on `stm32flash`_.
Using SWD debugger:
-------------------
Select a commercial JTAG/SWD h/w tool and connect it to ArgonKey P4 connector.
The ArgonKey has been tested using the `ST-LINK/V2`_ tool. Once that the tool
is connected to the PC through USB, it presents itself as a USB composite
device with mass storage capability. The device can be then mounted in linux
and the f/w can be actually copied there and will be automatically flashed by
the ST-LINK onto the ArgonKey.
Example:
.. code-block:: console
$ mount /dev/sdb /mnt
$ cp zephyr.bin /mnt
$ umount /mnt
Debugging
=========
References
**********
.. target-notes::
.. _ARGONKEY website:
https://www.st.com/en/evaluation-tools/steval-mki187v1.html
.. _AN2606:
https://www.st.com/resource/en/application_note/cd00167594.pdf
.. _stm32flash:
https://sourceforge.net/p/stm32flash/wiki/Home/
.. _ST-LINK/V2:
https://www.st.com/en/development-tools/st-link-v2.html
.. _TTL-232RG:
http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232RG_CABLES.pdf

View File

@@ -22,4 +22,4 @@ testing:
- nfc
ram: 256
flash: 64
vendor: arrow
vendor: 96boards

View File

@@ -1,6 +1,3 @@
CONFIG_SOC_SERIES_STM32MP1X=y
CONFIG_SOC_STM32MP15_M4=y
# Enable MPU
CONFIG_ARM_MPU=y

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2019 Linaro Ltd.
# SPDX-License-Identifier: Apache-2.0
config BOARD_96B_AVENGER96
select SOC_STM32MP15_M4

View File

@@ -0,0 +1,5 @@
board:
name: 96b_avenger96
vendor: 96boards
socs:
- name: stm32mp157cxx

View File

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

View File

@@ -0,0 +1,279 @@
.. _96b_avenger96:
96Boards Avenger96
##################
Overview
********
96Boards Avenger96 board is based on ST Microelectronics STM32MP157A
multi-core processor, composed of a dual Cortex®-A7 and a single Cortex®-M4
core. Zephyr OS is ported to run on the Cortex®-M4 core.
- Board features:
- PMIC: STPMIC1A
- RAM: 1024 Mbyte @ 533MHz
- Storage:
- eMMC: v4.51: 8 Gbyte
- QSPI: 2Mbyte
- EEPROM: 128 byte
- microSD Socket: UHS-1 v3.01
- Ethernet: 10/100/1000 Mbit/s, IEEE 802.3 Compliant
- Wireless:
- WiFi: 5 GHz & 2.4GHz IEEE 802.11a/b/g/n/ac
- Bluetooth: v4.2 (BR/EDR/BLE)
- USB:
- Host - 2x type A, 2.0 high-speed
- OTG: - 1x type micro-AB, 2.0 high-speed
- HDMI: WXGA (1366x768)@ 60 fps, HDMI 1.4
- Connectors:
- 40-Pin Low Speed Header
- 60-Pin High Speed Header
- LEDs:
- 4x Green user LEDs
- 1x Blue Bluetooth LED
- 1x Yellow WiFi LED
- 1x Red power supply LED
.. image:: img/96b_avenger96.jpg
:align: center
:alt: 96Boards Avenger96
More information about the board can be found at the
`96Boards website`_.
Hardware
********
The STM32MP157A SoC provides the following hardware capabilities:
- Core:
- 32-bit dual-core Arm® Cortex®-A7
- L1 32-Kbyte I / 32-Kbyte D for each core
- 256-Kbyte unified level 2 cache
- Arm® NEON™
- 32-bit Arm® Cortex®-M4 with FPU/MPU
- Up to 209 MHz (Up to 703 CoreMark®)
- Memories:
- External DDR memory up to 1 Gbyte.
- 708 Kbytes of internal SRAM: 256 KB of AXI SYSRAM + 384 KB of AHB SRAM +
64 KB of AHB SRAM in backup domain.
- Dual mode Quad-SPI memory interface
- Flexible external memory controller with up to 16-bit data bus
- Clock management:
- Internal oscillators: 64 MHz HSI oscillator, 4 MHz CSI oscillator, 32 kHz
LSI oscillator
- External oscillators: 8-48 MHz HSE oscillator, 32.768 kHz LSE oscillator
- 6 × PLLs with fractional mode
- General-purpose input/outputs:
- Up to 176 I/O ports with interrupt capability
- Interconnect matrix
- 3 DMA controllers
- Communication peripherals:
- 6 × I2C FM+ (1 Mbit/s, SMBus/PMBus)
- 4 × UART + 4 × USART (12.5 Mbit/s, ISO7816 interface, LIN, IrDA, SPI slave)
- 6 × SPI (50 Mbit/s, including 3 with full duplex I2S audio class accuracy)
- 4 × SAI (stereo audio: I2S, PDM, SPDIF Tx)
- SPDIF Rx with 4 inputs
- HDMI-CEC interface
- MDIO Slave interface
- 3 × SDMMC up to 8-bit (SD / e•MMC™ / SDIO)
- 2 × CAN controllers supporting CAN FD protocol, TTCAN capability
- 2 × USB 2.0 high-speed Host+ 1 × USB 2.0 full-speed OTG simultaneously
- 10/100M or Gigabit Ethernet GMAC (IEEE 1588v2 hardware, MII/RMII/GMII/RGMI)
- 8- to 14-bit camera interface up to 140 Mbyte/s
- 6 analog peripherals
- 2 × ADCs with 16-bit max. resolution.
- 1 × temperature sensor
- 2 × 12-bit D/A converters (1 MHz)
- 1 × digital filters for sigma delta modulator (DFSDM) with 8 channels/6
filters
- Internal or external ADC/DAC reference VREF+
- Graphics:
- 3D GPU: Vivante® - OpenGL® ES 2.0
- LCD-TFT controller, up to 24-bit // RGB888, up to WXGA (1366 × 768) @60 fps
- MIPI® DSI 2 data lanes up to 1 GHz each
- Timers:
- 2 × 32-bit timers with up to 4 IC/OC/PWM or pulse counter and quadrature
(incremental) encoder input
- 2 × 16-bit advanced motor control timers
- 10 × 16-bit general-purpose timers (including 2 basic timers without PWM)
- 5 × 16-bit low-power timers
- RTC with sub-second accuracy and hardware calendar
- 2 × 4 Cortex®-A7 system timers (secure, non-secure, virtual, hypervisor)
- 1 × SysTick Cortex®-M4 timer
- Hardware acceleration:
- HASH (MD5, SHA-1, SHA224, SHA256), HMAC
- 2 × true random number generator (3 oscillators each)
- 2 × CRC calculation unit
- Debug mode:
- Arm® CoreSight™ trace and debug: SWD and JTAG interfaces
- 8-Kbyte embedded trace buffer
- 3072-bit fuses including 96-bit unique ID, up to 1184-bit available for user
More information about STM32P157A can be found here:
- `STM32MP157A on www.st.com`_
- `STM32MP157A reference manual`_
Supported Features
==================
The Zephyr 96b_avenger96 board configuration supports the following hardware
features:
+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+=====================================+
| NVIC | on-chip | nested vector interrupt controller |
+-----------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port-polling; |
| | | serial port-interrupt |
+-----------+------------+-------------------------------------+
| PINMUX | on-chip | pinmux |
+-----------+------------+-------------------------------------+
The default configuration can be found in
:zephyr_file:`boards/96boards/avenger96/96b_avenger96_defconfig`
Connections and IOs
===================
96Boards Avenger96 Board schematic is available here:
`Avenger96 board schematics`_.
Default Zephyr Peripheral Mapping:
----------------------------------
- UART_7 TX/RX/RTS/CTS : PE8/PE7/PE9/PE10 (UART console)
- UART_4 TX/RX : PD1/PB2
System Clock
------------
The Cortex®-M4 Core is configured to run at a 209 MHz clock speed. This value
must match the configured mlhclk_ck frequency.
Serial Port
-----------
96Boards Avenger96 board has 3 U(S)ARTs. The Zephyr console output is assigned
by default to the RAM console to be dumped by the Linux Remoteproc Framework
on Cortex®-A7 core. Alternatively, Zephyr console output can be assigned to
UART7 which is disabled by default. UART console can be enabled through
board's devicetree and 96b_avenger96_defconfig board file (or prj.conf
project files), and will disable existing RAM console output. Default UART
console settings are 115200 8N1.
Programming and Debugging
*************************
The STM32MP157A doesn't have QSPI flash for the Cortex®-M4 and it needs to be
started by the Cortex®-A7 core. The Cortex®-A7 core is responsible to load the
Cortex®-M4 binary application into the RAM, and get the Cortex®-M4 out of reset.
The Cortex®-A7 can perform these steps at bootloader level or after the Linux
system has booted.
The Cortex®-M4 can use up to 2 different RAMs. The program pointer starts at
address 0x00000000 (RETRAM), the vector table should be loaded at this address
These are the memory mappings for Cortex®-A7 and Cortex®-M4:
+------------+-----------------------+------------------------+----------------+
| Region | Cortex®-A7 | Cortex®-M4 | Size |
+============+=======================+========================+================+
| RETRAM | 0x38000000-0x3800FFFF | 0x00000000-0x0000FFFF | 64KB |
+------------+-----------------------+------------------------+----------------+
| MCUSRAM | 0x10000000-0x1005FFFF | 0x10000000-0x1005FFFF | 384KB |
+------------+-----------------------+------------------------+----------------+
| DDR | 0xC0000000-0xFFFFFFFF | | up to 1 GB |
+------------+-----------------------+------------------------+----------------+
Refer to `stm32mp157 boot Cortex-M4 firmware`_ wiki page for instruction
to load and start the Cortex-M4 firmware.
Debugging
=========
You can debug an application using OpenOCD and GDB. The Solution proposed below
is based on the Linux STM32MP1 SDK OpenOCD and is available only for a Linux
environment. The firmware must first be loaded by the Cortex®-A7. Developer
then attaches the debugger to the running Zephyr using OpenOCD.
Prerequisite
------------
install `stm32mp1 developer package`_.
1) start OpenOCD in a dedicated terminal
- Start up the sdk environment::
source <SDK installation directory>/environment-setup-cortexa7hf-neon-vfpv4-openstlinux_weston-linux-gnueabi
- Start OpenOCD::
${OECORE_NATIVE_SYSROOT}/usr/bin/openocd -s ${OECORE_NATIVE_SYSROOT}/usr/share/openocd/scripts -f board/stm32mp15x_ev1_jlink_jtag.cfg
2) run gdb in Zephyr environment
.. code-block:: console
# On Linux
cd $ZEPHYR_BASE/samples/hello_world
mkdir -p build && cd build
# Use cmake to configure a Ninja-based build system:
cmake -GNinja -DBOARD=96b_avenger96 ..
# Now run ninja on the generated build system:
ninja debug
.. _96Boards website:
https://www.96boards.org/product/avenger96/
.. _STM32MP157A on www.st.com:
https://www.st.com/content/st_com/en/products/microcontrollers-microprocessors/stm32-arm-cortex-mpus/stm32mp1-series/stm32mp157/stm32mp157a.html
.. _STM32MP157A reference manual:
https://www.st.com/resource/en/reference_manual/DM00327659.pdf
.. _Avenger96 board schematics:
https://www.96boards.org/documentation/consumer/avenger96/hardware-docs/files/avenger96-schematics.pdf
.. _stm32mp1 developer package:
https://wiki.st.com/stm32mpu/index.php/STM32MP1_Developer_Package#Installing_the_SDK
.. _stm32mp157 boot Cortex-M4 firmware:
https://wiki.st.com/stm32mpu/index.php/Linux_remoteproc_framework_overview#How_to_use_the_framework

View File

@@ -0,0 +1,63 @@
/*
* Copyright (c) 2017 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nordic/nrf51822_qfac.dtsi>
#include "96b_carbon_nrf51822-pinctrl.dtsi"
/ {
model = "Seeed Studio Carbon nRF51 96board";
compatible = "seeed,carbon_nrf51";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,bt-mon-uart = &uart0;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
};
aliases {
watchdog0 = &wdt0;
};
};
&gpiote {
status = "okay";
};
&gpio0 {
status = "okay";
};
&i2c0 {
status = "okay";
pinctrl-0 = <&i2c0_default>;
pinctrl-1 = <&i2c0_sleep>;
pinctrl-names = "default", "sleep";
};
&uart0 {
current-speed = <115200>;
status = "okay";
pinctrl-0 = <&uart0_default>;
pinctrl-1 = <&uart0_sleep>;
pinctrl-names = "default", "sleep";
};
&spi1 {
compatible = "nordic,nrf-spis";
status = "okay";
def-char = <0x00>;
pinctrl-0 = <&spi1_default>;
pinctrl-names = "default";
bt-hci@0 {
compatible = "zephyr,bt-hci-spi-slave";
reg = <0>;
irq-gpios = <&gpio0 28 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
};
};

View File

@@ -0,0 +1,13 @@
identifier: 96b_carbon/nrf51822
name: 96Boards Carbon (nRF51)
type: mcu
arch: arm
ram: 32
flash: 256
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- ble
vendor: seeed

View File

@@ -0,0 +1,11 @@
# SPDX-License-Identifier: Apache-2.0
# Enable GPIO
CONFIG_GPIO=y
# Enable UART driver
CONFIG_SERIAL=y
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

View File

@@ -0,0 +1,18 @@
identifier: 96b_carbon/stm32f401xe
name: 96Boards Carbon
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- gpio
- ble
- i2c
- counter
- spi
- usb_device
ram: 96
flash: 512
vendor: 96boards

View File

@@ -0,0 +1,22 @@
# SPDX-License-Identifier: Apache-2.0
# Enable MPU
CONFIG_ARM_MPU=y
# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y
CONFIG_SERIAL=y
# console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# enable GPIO
CONFIG_GPIO=y
# Enable Clocks
CONFIG_CLOCK_CONTROL=y
# enable pin controller
CONFIG_PINCTRL=y

View File

@@ -0,0 +1,6 @@
# Copyright (c) 2016 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
config BOARD_96B_CARBON
select SOC_STM32F401XE if BOARD_96B_CARBON_STM32F401XE
select SOC_NRF51822_QFAC if BOARD_96B_CARBON_NRF51822

View File

@@ -0,0 +1,61 @@
# 96boards Carbon board configuration
# Copyright (c) 2016 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
if BOARD_96B_CARBON_STM32F401XE
config SPI_STM32_INTERRUPT
default y
depends on SPI
if BT
config SPI
default y
choice BT_HCI_BUS_TYPE
default BT_SPI
endchoice
endif # BT
if NETWORKING
# Re-create the NET_L2_BT dependencies here
config BT
default y
config BT_PERIPHERAL
default BT
config BT_CENTRAL
default BT
config BT_SMP
default BT
config BT_L2CAP_DYNAMIC_CHANNEL
default BT
# BT is the only onboard network iface, so use it for IP networking
# if it's enabled
config NET_L2_BT
depends on NET_IPV6
default BT
config NET_L2_BT_ZEP1656
depends on NET_IPV6
default BT
endif # NETWORKING
endif # BOARD_96B_CARBON_STM32F401XE
if BOARD_96B_CARBON_NRF51822
config BT_CTLR
default BT
endif # BOARD_96B_CARBON_NRF51822

View File

@@ -0,0 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_BOARD_96B_CARBON_STM32F401XE)
board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
endif()

View File

@@ -0,0 +1,6 @@
board:
name: 96b_carbon
vendor: 96boards
socs:
- name: stm32f401xe
- name: nrf51822

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

@@ -0,0 +1,170 @@
.. _96b_carbon_nrf51_board:
96Boards Carbon nRF51
#####################
Overview
********
This is the secondary nRF51822 chip on the 96Boards Carbon and provides
Bluetooth functionality to the main STM32F401RET chip via SPI.
.. note::
If you're looking to reprogram the main STMicro part, see
:ref:`96b_carbon_board`. Users should not use this configuration
unless they want to reprogram the secondary chip which provides
Bluetooth connectivity.
Hardware
********
The 96Boards Carbon nRF51 has two external oscillators. The frequency
of the slow clock is 32.768 kHz. The frequency of the main clock is 16
MHz.
See :ref:`96b_carbon_board` for other general information about the
board; that configuration is for the same physical board, just a
different chip.
Supported Features
==================
+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+=====================================+
| NVIC | on-chip | nested vector interrupt controller |
+-----------+------------+-------------------------------------+
| RTC | on-chip | system clock |
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port |
+-----------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-------------------------------------+
| FLASH | on-chip | flash |
+-----------+------------+-------------------------------------+
| SPIS | on-chip | SPI slave |
+-----------+------------+-------------------------------------+
| RADIO | on-chip | Bluetooth |
+-----------+------------+-------------------------------------+
The default configuration can be found in
:zephyr_file:`boards/96boards/carbon/96b_carbon_nrf51822_defconfig`
Connections and IOs
===================
SPI
---
96Boards Carbon nRF51 has one SPI, which for providing Bluetooth
communication. The default SPI mapping for Zephyr is:
- SPI1_NSS : P0.25
- SPI1_SCK : P0.07
- SPI1_MISO : P0.30
- SPI1_MOSI : P0.00
The SWD debug pins are broken out to an external header; all other
connected pins are to the main STM32F401RET chip.
.. _96b_carbon_nrf51_programming:
Programming and Debugging
*************************
Flashing
========
The 96Boards Carbon nRF51 can be flashed using an external SWD
debugger, via the debug header labeled "BLE" on the board's
silkscreen. The header is not populated; 0.1" male header must be
soldered on first.
.. figure:: img/96b_carbon_nrf51.jpg
:align: center
:alt: 96Boards Carbon nRF51 Debug
96Boards Carbon nRF51 Debug
The following example assumes a Zephyr binary ``zephyr.elf`` will be
flashed to the board.
It uses the `Black Magic Debug Probe`_ as an SWD programmer, which can
be connected to the BLE debug header using flying leads and its 20 Pin
JTAG Adapter Board Kit. When plugged into your host PC, the Black
Magic Debug Probe enumerates as a USB serial device as documented on
its `Getting started page`_.
It also uses the GDB binary provided with the Zephyr SDK,
``arm-zephyr-eabi-gdb``. Other GDB binaries, such as the GDB from GCC
ARM Embedded, can be used as well.
.. code-block:: console
$ arm-zephyr-eabi-gdb -q zephyr.elf
(gdb) target extended-remote /dev/ttyACM0
Remote debugging using /dev/ttyACM0
(gdb) monitor swdp_scan
Target voltage: 3.3V
Available Targets:
No. Att Driver
1 nRF51
(gdb) attach 1
Attaching to Remote target
0xabcdef12 in ?? ()
(gdb) load
Debugging
=========
After you've flashed the chip, you can keep debugging using the same
GDB instance. To reattach, just follow the same steps above, but don't
run "load". You can then debug as usual with GDB. In particular, type
"run" at the GDB prompt to restart the program you've flashed.
As an aid to debugging, this board configuration directs a console
output to a currently unused pin connected to the STM32F401RET. Users
who are experienced in electronics rework can remove a resistor (R22)
on the board and attach a wire to the nRF51822's UART output.
.. _96b_carbon_nrf51_bluetooth:
Providing Bluetooth to 96b_carbon
*********************************
This ``96b_carbon/nrf51822`` Zephyr board configuration can be used to provide
Bluetooth functionality from the secondary nRF51822 chip to the
primary STM32F401RE chip on the :ref:`96b_carbon_board`.
To do this, build the ``samples/bluetooth/hci_spi/`` application
provided with Zephyr with ``BOARD=96b_carbon/nrf51822``, then flash it to
the nRF51822 chip using the instructions :ref:`above
<96b_carbon_nrf51_programming>`. (For instructions on how to build a
Zephyr application, see :ref:`build_an_application`.)
.. warning::
Be sure to flash the hci_spi application to the nRF51822 chip and
not to the main STM32F401RET chip. While both chips are supported
by Zephyr, the hci_spi application providing Bluetooth support will
only run on the nRF51822 chip.
References
**********
- `Board documentation from 96Boards`_
- `nRF51822 information from Nordic Semiconductor`_
.. _Black Magic Debug Probe:
https://github.com/blacksphere/blackmagic/wiki
.. _Getting started page:
https://github.com/blacksphere/blackmagic/wiki/Getting-Started
.. _Board documentation from 96Boards:
http://www.96boards.org/product/carbon/
.. _nRF51822 information from Nordic Semiconductor:
https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF51822

View File

@@ -0,0 +1,383 @@
.. _96b_carbon_board:
96Boards Carbon
###############
Overview
********
The 96Boards is based on the STMicroelectronics STM32F401RET Cortex-M4 CPU and
also contains a nRF51822 chip connected over SPI for BLE connectivity.
The 96Boards Carbon board is built with two chips: an STMicroelectronics
STM32F401RET Cortex-M4 CPU and an nRF51822 chip connected to
the Cortex-M4 CPU over SPI for Bluetooth LE connectivity. Even though
both chips exist on the same physical board, they must be programmed
separately:
- The ``96b_carbon/stm32f401xe`` configuration is used when developing programs for
the main chip on the board, the STM32F401RET. Users will likely want to
write applications targeting this chip, using the ``96b_carbon``
configuration, since it is connected to all of the breakout
I/O headers.
- The ``96b_carbon/nrf51822`` configuration should be used for programming
the secondary nRF51822 chip. Most users will likely not develop
applications for this chip, since Zephyr already provides a
sample application that can be flashed onto the nRF51822
to provide Bluetooth functionality to applications on the main
STM32F401RET chip.
For instructions on how to set up the nRF51822 to develop Bluetooth
applications, see :ref:`96b_carbon_nrf51_bluetooth`.
After you have flashed your nRF51, you can perform basic validation
of this Bluetooth setup using the instructions
:ref:`below <96b_carbon_verify_bluetooth>`.
.. figure:: img/96b_carbon.jpg
:align: center
:alt: 96Boards Carbon
96Boards Carbon
Hardware
********
96Boards Carbon provides the following hardware components:
- STM32F401RET6 in LQFP64 package
- ARM |reg| 32-bit Cortex |reg|-M4 CPU with FPU
- 84 MHz max CPU frequency
- VDD from 1.7 V to 3.6 V
- 512 KB Flash
- 96 KB SRAM
- GPIO with external interrupt capability
- 12-bit ADC with 16 channels
- RTC
- Advanced-control Timer
- General Purpose Timers (7)
- Watchdog Timers (2)
- USART/UART (4)
- I2C (3)
- SPI (3)
- SDIO
- USB 2.0 OTG FS
- DMA Controller
- Bluetooth LE over SPI, provided by nRF51822
More information about STM32F401RE can be found here:
- `STM32F401RE on www.st.com`_
- `STM32F401 reference manual`_
Supported Features
==================
The Zephyr ``96b_carbon/stm32f401xe`` board configuration supports the following
hardware features:
+------------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+============+============+=====================================+
| NVIC | on-chip | nested vector interrupt controller |
+------------+------------+-------------------------------------+
| SYSTICK | on-chip | system clock |
+------------+------------+-------------------------------------+
| UART | on-chip | serial port |
+------------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+------------+------------+-------------------------------------+
| PINMUX | on-chip | pinmux |
+------------+------------+-------------------------------------+
| FLASH | on-chip | flash |
+------------+------------+-------------------------------------+
| SPI | on-chip | spi |
+------------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+------------+------------+-------------------------------------+
| USB OTG FS | on-chip | USB device |
+------------+------------+-------------------------------------+
More details about the board can be found at `96Boards website`_.
The default configuration can be found in
:zephyr_file:`boards/96boards/carbon/96b_carbon_stm32f401xe_defconfig`
Connections and IOs
===================
LED
---
- LED1 / User1 LED = PD2
- LED2 / User2 LED = PA15
- LED3 / BT LED = PB5
- LED4 / Power LED = VCC
Push buttons
------------
- BUTTON = BOOT0 (SW1)
- BUTTON = RST
External Connectors
-------------------
Low Speed Header
+--------+-------------+----------------------+
| PIN # | Signal Name | STM32F401 Functions |
+========+=============+======================+
| 1 | UART2_CTS | PA0 |
+--------+-------------+----------------------+
| 3 | UART2_TX | PA2 |
+--------+-------------+----------------------+
| 5 | UART2_RX | PA3 |
+--------+-------------+----------------------+
| 7 | UART2_RTS | PA1 |
+--------+-------------+----------------------+
| 9 | GND | GND |
+--------+-------------+----------------------+
| 11 | USB5V | USB5V |
+--------+-------------+----------------------+
| 13 | AIN12 | PC2 |
+--------+-------------+----------------------+
| 15 | AIN14 | PC4 |
+--------+-------------+----------------------+
| 17 | UART6_TX | PC6 |
+--------+-------------+----------------------+
| 19 | GPIO | PC8 |
+--------+-------------+----------------------+
| 21 | I2C1_SCL | PB6 |
+--------+-------------+----------------------+
| 23 | I2C1_SCA | PB7 |
+--------+-------------+----------------------+
| 25 | I2C2_SCA | PB3 |
+--------+-------------+----------------------+
| 27 | I2C2_SCL | PB10 |
+--------+-------------+----------------------+
| 29 | RST_BTN | RST_BTN |
+--------+-------------+----------------------+
+--------+-------------+----------------------+
| PIN # | Signal Name | STM32F401 Functions |
+========+=============+======================+
| 2 | SPI2_SS | PB12 |
+--------+-------------+----------------------+
| 4 | SPI2_MOSI | PB15 |
+--------+-------------+----------------------+
| 6 | SPI2_MISO | PB14 |
+--------+-------------+----------------------+
| 8 | SPI2_SCK | PB13 |
+--------+-------------+----------------------+
| 10 | GND | GND |
+--------+-------------+----------------------+
| 12 | VCC2 | VCC2 |
+--------+-------------+----------------------+
| 14 | AIN13 | PC3 |
+--------+-------------+----------------------+
| 16 | AIN15 | PC5 |
+--------+-------------+----------------------+
| 18 | UART6_RX | PC7 |
+--------+-------------+----------------------+
| 20 | GPIO | PC9 |
+--------+-------------+----------------------+
| 22 | I2C1_SCL | PB8 |
+--------+-------------+----------------------+
| 24 | I2C1_SDA | PB9 |
+--------+-------------+----------------------+
| 26 | AIN10 | PC0 |
+--------+-------------+----------------------+
| 28 | AIN11 | PC1 |
+--------+-------------+----------------------+
| 30 | NC | NC |
+--------+-------------+----------------------+
More detailed information about the connectors can be found in
`96Boards IE Specification`_.
External Clock Sources
----------------------
STM32F4 has two external oscillators. The frequency of the slow clock is
32.768 kHz. The frequency of the main clock is 16 MHz.
Serial Port
-----------
96Boards Carbon board has up to 4 U(S)ARTs. The Zephyr console output is
assigned to USART1. Default settings are 115200 8N1.
I2C
---
96Boards Carbon board has up to 2 I2Cs. The default I2C mapping for Zephyr is:
- I2C1_SCL : PB6
- I2C1_SDA : PB7
- I2C2_SCL : PB10
- I2C2_SDA : PB3
SPI
---
96Boards Carbon board has up to 2 SPIs. SPI1 is used for Bluetooth communication
over HCI. The default SPI mapping for Zephyr is:
- SPI1_NSS : PA4
- SPI1_SCK : PA5
- SPI1_MISO : PA6
- SPI1_MOSI : PA7
- SPI2_NSS : PB12
- SPI2_SCK : PB13
- SPI2_MISO : PB14
- SPI2_MOSI : PB15
USB
===
96Boards Carbon board has a USB OTG dual-role device (DRD) controller that
supports both device and host functions through its mini "OTG" USB connector.
Only USB device functions are supported in Zephyr at the moment.
- USB_DM : PA11
- USB_DP : PA12
Programming and Debugging
*************************
There are 2 main entry points for flashing STM32F4X SoCs, one using the ROM
bootloader, and another by using the SWD debug port (which requires additional
hardware). Flashing using the ROM bootloader requires a special activation
pattern, which can be triggered by using the BOOT0 pin. The ROM bootloader
supports flashing via USB (DFU), UART, I2C and SPI. You can read more about
how to enable and use the ROM bootloader by checking the application
note `AN2606`_, page 109.
Flashing
========
Installing dfu-util
-------------------
It is recommended to use at least v0.8 of `dfu-util`_. The package available in
debian/ubuntu can be quite old, so you might have to build dfu-util from source.
Flashing an Application to 96Boards Carbon
------------------------------------------
Connect the micro-USB cable to the USB OTG Carbon port and to your computer.
The board should power ON. Force the board into DFU mode by keeping the BOOT0
switch pressed while pressing and releasing the RST switch.
Confirm that the board is in DFU mode:
.. code-block:: console
$ sudo dfu-util -l
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Found DFU: [0483:df11] ver=2200, devnum=15, cfg=1, intf=0, alt=3, name="@Device Feature/0xFFFF0000/01*004 e", serial="3574364C3034"
Found DFU: [0483:df11] ver=2200, devnum=15, cfg=1, intf=0, alt=2, name="@OTP Memory /0x1FFF7800/01*512 e,01*016 e", serial="3574364C3034"
Found DFU: [0483:df11] ver=2200, devnum=15, cfg=1, intf=0, alt=1, name="@Option Bytes /0x1FFFC000/01*016 e", serial="3574364C3034"
Found DFU: [0483:df11] ver=2200, devnum=15, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/04*016Kg,01*064Kg,03*128Kg", serial="3574364C3034"
Found Runtime: [05ac:8290] ver=0104, devnum=2, cfg=1, intf=5, alt=0, name="UNKNOWN", serial="UNKNOWN"
You should see following confirmation on your Linux host:
.. code-block:: console
$ dmesg
usb 1-2.1: new full-speed USB device number 14 using xhci_hcd
usb 1-2.1: New USB device found, idVendor=0483, idProduct=df11
usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2.1: Product: STM32 BOOTLOADER
usb 1-2.1: Manufacturer: STMicroelectronics
usb 1-2.1: SerialNumber: 3574364C3034
Then build and flash an application. Here is an example for the
:ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: 96b_carbon/stm32f401xe
:goals: build flash
Connect the micro-USB cable to the USB UART (FTDI) port and to your computer.
Run your favorite terminal program to listen for output.
.. code-block:: console
$ minicom -D <tty_device> -b 115200
Replace :code:`<tty_device>` with the port where the board 96Boards Carbon
can be found. For example, under Linux, :code:`/dev/ttyUSB0`.
The ``-b`` option sets baud rate ignoring the value from config.
Press the Reset button and you should see the following message in your
terminal:
.. code-block:: console
Hello World! arm
.. _96b_carbon_verify_bluetooth:
Verifying Bluetooth Functionality
---------------------------------
This section contains instructions for verifying basic Bluetooth
functionality on the board. For help on Zephyr applications
in general, see :ref:`build_an_application`.
1. Flash the nRF51 with the hci_spi sample application as described in
:ref:`96b_carbon_nrf51_bluetooth`.
#. Install the dfu-util flashing app, as described above.
#. Build and flash the ``samples/bluetooth/ipsp`` application for
96b_carbon. See the instructions above for how to put your board
into DFU mode if you haven't done this before:
.. zephyr-app-commands::
:zephyr-app: samples/bluetooth/ipsp
:board: 96b_carbon/stm32f401xe
:goals: build flash
#. Refer to the instructions in :ref:`bluetooth-ipsp-sample` for how
to verify functionality.
Congratulations! Your 96Boards Carbon now has Bluetooth
connectivity. Refer to :ref:`bluetooth` for additional information on
further Bluetooth application development.
Debugging
=========
The ``96b_carbon/stm32f401xe`` board can be debugged by installing a 100 mil (0.1 inch) header
into the header at the bottom right hand side of the board, and
attaching an SWD debugger to the 3V3 (3.3V), GND, CLK, DIO, and RST
pins on that header. Then apply power to the 96Boards Carbon via one
of its USB connectors. You can now attach your debugger to the
STM32F401RET using an SWD scan.
.. _dfu-util:
http://dfu-util.sourceforge.net/build.html
.. _AN2606:
https://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD00167594.pdf/files/CD00167594.pdf/jcr:content/translations/en.CD00167594.pdf
.. _96Boards website:
http://www.96boards.org/documentation
.. _STM32F401RE on www.st.com:
https://www.st.com/en/microcontrollers/stm32f401re.html
.. _STM32F401 reference manual:
https://www.st.com/resource/en/reference_manual/dm00096844.pdf
.. _96Boards IE Specification:
https://linaro.co/ie-specification

View File

@@ -0,0 +1,8 @@
# Copyright (c) 2022 Nordic Semiconductor
# SPDX-License-Identifier: Apache-2.0
if("${BOARD_IDENTIFIER}" STREQUAL "/nrf51822")
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
# - power@40000000 & clock@40000000 & nrf-mpu@40000000
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
endif()

10
boards/96boards/index.rst Normal file
View File

@@ -0,0 +1,10 @@
.. _boards-96boards:
96Boards
########
.. toctree::
:maxdepth: 1
:glob:
**/*

View File

@@ -0,0 +1,24 @@
#
# Copyright (c) 2019, Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#
identifier: 96b_meerkat96/mcimx7d/m4
name: 96Boards Meerkat96
type: mcu
arch: arm
ram: 32
flash: 32
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- gpio
- shell
testing:
ignore_tags:
- net
- bluetooth
vendor: novtech

View File

@@ -0,0 +1,18 @@
#
# Copyright (c) 2019, Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#
# enable uart driver
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
# console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# pinctrl
CONFIG_PINCTRL=y
CONFIG_XIP=y

View File

@@ -0,0 +1,7 @@
# Copyright (c) 2019, Linaro Ltd.
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
config BOARD_96B_MEERKAT96
select SOC_PART_NUMBER_MCIMX7D5EVM10SC
select SOC_MCIMX7D_M4 if BOARD_96B_MEERKAT96_MCIMX7D_M4

View File

@@ -0,0 +1,15 @@
# 96Boards Meerkat96 board
# Copyright (c) 2019, Linaro Ltd.
# SPDX-License-Identifier: Apache-2.0
if BOARD_96B_MEERKAT96
if !XIP
config FLASH_SIZE
default 0
config FLASH_BASE_ADDRESS
default 0
endif
endif # BOARD_96B_MEERKAT96

View File

@@ -0,0 +1,5 @@
board:
name: 96b_meerkat96
vendor: 96boards
socs:
- name: mcimx7d

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

@@ -0,0 +1,325 @@
.. _96b_meerkat96:
96Boards Meerkat96
##################
Overview
********
96Boards Meerkat96 board is based on NXP i.MX7 Hybrid multi-core processor,
composed of a dual Cortex®-A7 and a single Cortex®-M4 core.
Zephyr OS is ported to run on the Cortex®-M4 core.
- Board features:
- RAM: 512 Mbyte
- Storage:
- microSD Socket
- Wireless:
- WiFi: 2.4GHz IEEE 802.11b/g/n
- Bluetooth: v4.1 (BR/EDR)
- USB:
- Host - 2x type A
- OTG: - 1x type micro-B
- HDMI
- Connectors:
- 40-Pin Low Speed Header
- 60-Pin High Speed Header
- LEDs:
- 4x Green user LEDs
- 1x Blue Bluetooth LED
- 1x Yellow WiFi LED
.. image:: img/96b_meerkat96.jpg
:align: center
:alt: 96Boards Meerkat96
More information about the board can be found at the
`96Boards website`_.
Hardware
********
The i.MX7 SoC provides the following hardware capabilities:
- Dual Cortex A7 (800MHz/1.0GHz) core and Single Cortex M4 (200MHz) core
- Memory
- External DDR memory up to 1 Gbyte
- Internal RAM -> A7: 256KB SRAM
- Internal RAM -> M4: 3x32KB (TCML, TCMU, OCRAM_S), 1x128KB (OCRAM) and 1x256MB (DDR)
- Display
- RGB 1920x1080x24bpp
- 4-wire Resistive touch
- Multimedia
- 1x Camera Parallel Interface
- 1x Analog Audio Line in (Stereo)
- 1x Analog Audio Mic in (Mono)
- 1x Analog Audio Headphone out (Stereo)
- Connectivity
- USB 2.0 OTG (High Speed)
- USB 2.0 host (High Speed)
- 10/100 Mbit/s Ethernet PHY
- 4x I2C
- 4x SPI
- 7x UART
- 1x IrDA
- 20x PWM
- Up to 125 GPIO
- 4x Analog Input (12 Bit)
- 2x SDIO/SD/MMC (8 Bit)
- 2x CAN
More information about the i.MX7 SoC can be found here:
- `i.MX 7 Series Website`_
- `i.MX 7 Dual Datasheet`_
- `i.MX 7 Dual Reference Manual`_
Supported Features
==================
The Zephyr 96b_meerkat96 board configuration supports the following hardware
features:
+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+=====================================+
| NVIC | on-chip | nested vector interrupt controller |
+-----------+------------+-------------------------------------+
| SYSTICK | on-chip | systick |
+-----------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port-polling; |
| | | serial port-interrupt |
+-----------+------------+-------------------------------------+
The default configuration can be found in the defconfig file:
:zephyr_file:`boards/96boards/meerkat96/96b_meerkat96_mcimx7d_m4_defconfig`
Other hardware features are not currently supported by the port.
Connections and IOs
===================
96Boards Meerkat96 board was tested with the following pinmux controller
configuration.
+---------------+-----------------+---------------------------+
| Board Name | SoC Name | Usage |
+===============+=================+===========================+
| UART_1 RXD | UART1_TXD | UART Console |
+---------------+-----------------+---------------------------+
| UART_1 TXD | UART1_RXD | UART Console |
+---------------+-----------------+---------------------------+
| LED_R1 | GPIO1_IO04 | LED0 |
+---------------+-----------------+---------------------------+
| LED_R2 | GPIO1_IO05 | LED1 |
+---------------+-----------------+---------------------------+
| LED_R3 | GPIO1_IO06 | LED2 |
+---------------+-----------------+---------------------------+
| LED_R4 | GPIO1_IO07 | LED3 |
+---------------+-----------------+---------------------------+
System Clock
============
The M4 Core is configured to run at a 200 MHz clock speed.
Serial Port
===========
The iMX7D SoC has seven UARTs. UART_1 is configured for the console and
the remaining are not used/tested.
Programming and Debugging
*************************
The 96Boards Meerkat96 board doesn't have QSPI flash for the M4 and it needs
to be started by the A7 core. The A7 core is responsible to load the M4 binary
application into the RAM, put the M4 in reset, set the M4 Program Counter and
Stack Pointer, and get the M4 out of reset. The A7 can perform these steps at
bootloader level or after the Linux system has booted.
The M4 can use up to 5 different RAMs. These are the memory mapping for A7 and M4:
+------------+-----------------------+------------------------+-----------------------+----------------------+
| Region | Cortex-A7 | Cortex-M4 (System Bus) | Cortex-M4 (Code Bus) | Size |
+============+=======================+========================+=======================+======================+
| DDR | 0x80000000-0xFFFFFFFF | 0x80000000-0xDFFFFFFF | 0x10000000-0x1FFEFFFF | 2048MB (less for M4) |
+------------+-----------------------+------------------------+-----------------------+----------------------+
| OCRAM | 0x00900000-0x0091FFFF | 0x20200000-0x2021FFFF | 0x00900000-0x0091FFFF | 128KB |
+------------+-----------------------+------------------------+-----------------------+----------------------+
| TCMU | 0x00800000-0x00807FFF | 0x20000000-0x20007FFF | | 32KB |
+------------+-----------------------+------------------------+-----------------------+----------------------+
| TCML | 0x007F8000-0x007FFFFF | | 0x1FFF8000-0x1FFFFFFF | 32KB |
+------------+-----------------------+------------------------+-----------------------+----------------------+
| OCRAM_S | 0x00180000-0x00187FFF | 0x20180000-0x20187FFF | 0x00000000-0x00007FFF | 32KB |
+------------+-----------------------+------------------------+-----------------------+----------------------+
| QSPI Flash | | | 0x08000000-0x0BFFFFFF | 64MB |
+------------+-----------------------+------------------------+-----------------------+----------------------+
For more information about memory mapping see the
`i.MX 7 Dual Reference Manual`_ (section 2.1.2 and 2.1.3), and the
`Toradex Wiki`_.
At compilation time you have to choose which RAM will be used. This
configuration is done in the file :zephyr_file:`boards/96boards/meerkat96/96b_meerkat96_mcimx7d_m4.dts`
with "zephyr,flash" (when CONFIG_XIP=y) and "zephyr,sram" properties.
The available configurations are:
.. code-block:: none
"zephyr,flash"
- &ddr_code
- &tcml_code
- &ocram_code
- &ocram_s_code
- &ocram_pxp_code
- &ocram_epdc_code
"zephyr,sram"
- &ddr_sys
- &tcmu_sys
- &ocram_sys
- &ocram_s_sys
- &ocram_pxp_sys
- &ocram_epdc_sys
Below you will find the instructions to load and run Zephyr on M4 from
A7 using u-boot.
Copy the compiled zephyr.bin to the first FAT partition of the SD card and
plug into the board. Power it up and stop the u-boot execution.
Set the u-boot environment variables and run the zephyr.bin from the
appropriated memory configured in the Zephyr compilation:
.. code-block:: console
setenv bootm4 'fatload mmc 0:1 $m4addr $m4fw && dcache flush && bootaux $m4addr'
# TCML
setenv m4tcml 'setenv m4fw zephyr.bin; setenv m4addr 0x007F8000'
setenv bootm4tcml 'run m4tcml && run bootm4'
run bootm4tcml
# TCMU
setenv m4tcmu 'setenv m4fw zephyr.bin; setenv m4addr 0x00800000'
setenv bootm4tcmu 'run m4tcmu && run bootm4'
run bootm4tcmu
# OCRAM
setenv m4ocram 'setenv m4fw zephyr.bin; setenv m4addr 0x00900000'
setenv bootm4ocram 'run m4ocram && run bootm4'
run bootm4ocram
# OCRAM_S
setenv m4ocrams 'setenv m4fw zephyr.bin; setenv m4addr 0x00180000'
setenv bootm4ocrams 'run m4ocrams && run bootm4'
run bootm4ocrams
# DDR
setenv m4ddr 'setenv m4fw zephyr.bin; setenv m4addr 0x80000000'
setenv bootm4ddr 'run m4ddr && run bootm4'
run bootm4ddr
Debugging
=========
96Boards Meerkat96 board can be debugged by connecting an external JLink
JTAG debugger to the J4 debug connector. Then download and install
`J-Link Tools`_ and `NXP iMX7D Connect CortexM4.JLinkScript`_.
To run Zephyr Binary using J-Link create the following script in order to
get the Program Counter and Stack Pointer from zephyr.bin.
get-pc-sp.sh:
.. code-block:: console
#!/bin/sh
firmware=$1
pc=$(od -An -N 8 -t x4 $firmware | awk '{print $2;}')
sp=$(od -An -N 8 -t x4 $firmware | awk '{print $1;}')
echo pc=$pc
echo sp=$sp
Get the SP and PC from firmware binary: ``./get-pc-sp.sh zephyr.bin``
.. code-block:: console
pc=00900f01
sp=00905020
Plug in the J-Link into the board and PC and run the J-Link command line tool:
.. code-block:: console
/usr/bin/JLinkExe -device Cortex-M4 -if JTAG -speed 4000 -autoconnect 1 -jtagconf -1,-1 -jlinkscriptfile iMX7D_Connect_CortexM4.JLinkScript
The following steps are necessary to run the zephyr.bin:
1. Put the M4 core in reset
2. Load the binary in the appropriate addr (TMCL, TCMU, OCRAM, OCRAM_S or DDR)
3. Set PC (Program Counter)
4. Set SP (Stack Pointer)
5. Get the M4 core out of reset
Issue the following commands inside J-Link commander:
.. code-block:: console
w4 0x3039000C 0xAC
loadfile zephyr.bin,0x00900000
w4 0x00180000 00900f01
w4 0x00180004 00905020
w4 0x3039000C 0xAA
With these mechanisms, applications for the ``96b_meerkat96`` board
configuration can be built and debugged in the usual way (see
:ref:`build_an_application` and :ref:`application_run` for more details).
References
==========
- `Loading Code on Cortex-M4 from Linux for the i.MX 6SoloX and i.MX 7Dual/7Solo Application Processors`_
- `J-Link iMX7D Instructions`_
.. _96Boards website:
https://www.96boards.org/product/imx7-96/
.. _i.MX 7 Series Website:
https://www.nxp.com/products/processors-and-microcontrollers/applications-processors/i.mx-applications-processors/i.mx-7-processors:IMX7-SERIES?fsrch=1&sr=1&pageNum=1
.. _i.MX 7 Dual Datasheet:
https://www.nxp.com/docs/en/data-sheet/IMX7DCEC.pdf
.. _i.MX 7 Dual Reference Manual:
https://www.nxp.com/webapp/Download?colCode=IMX7DRM
.. _J-Link Tools:
https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack
.. _NXP iMX7D Connect CortexM4.JLinkScript:
https://wiki.segger.com/images/8/86/NXP_iMX7D_Connect_CortexM4.JLinkScript
.. _Loading Code on Cortex-M4 from Linux for the i.MX 6SoloX and i.MX 7Dual/7Solo Application Processors:
https://www.nxp.com/docs/en/application-note/AN5317.pdf
.. _J-Link iMX7D Instructions:
https://wiki.segger.com/IMX7D
.. _Toradex Wiki:
https://developer.toradex.com/knowledge-base/freertos-on-the-cortex-m4-of-a-colibri-imx7#Memory_areas

View File

@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32F4X=y
CONFIG_SOC_STM32F411XE=y
# Enable MPU
CONFIG_ARM_MPU=y

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2017 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
config BOARD_96B_NEONKEY
select SOC_STM32F411XE

View File

@@ -0,0 +1,12 @@
# 96Boards Neonkey Board Configuration
# Copyright (c) 2017 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
if BOARD_96B_NEONKEY
config SPI_STM32_INTERRUPT
default y
depends on SPI
endif # BOARD_96B_NEONKEY

View File

@@ -0,0 +1,5 @@
board:
name: 96b_neonkey
vendor: 96boards
socs:
- name: stm32f411xe

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

@@ -0,0 +1,232 @@
.. _96b_neonkey:
96Boards Neonkey
################
Overview
********
96Boards Neonkey board is based on the STMicroelectronics STM32F411CE
Cortex M4 CPU.
.. figure:: img/96b_neonkey.jpg
:align: center
:alt: 96Boards Neonkey
96Boards Neonkey
This board acts as a sensor hub platform for all 96Boards compliant
family products. It can also be used as a standalone board.
Hardware
********
96Boards Neonkey provides the following hardware components:
- STM32F411CE in UFQFPN48 package
- ARM |reg| 32-bit Cortex |reg|-M4 CPU with FPU
- 84 MHz max CPU frequency
- 1.8V work voltage
- 512 KB Flash
- 128 KB SRAM
- On board sensors:
- Temperature/Humidity: SI7034-A10
- Pressure: BMP280
- ALS/Proximity: RPR-0521RS
- Geomagnetic: BMM150
- Accelerometer/Gyroscope: BMI160
- AMR Hall sensor: MRMS501A
- Microphone: SPK0415HM4H-B
- 4 User LEDs
- 15 General purpose LEDs
- GPIO with external interrupt capability
- I2C (3)
- SPI (1)
- I2S (1)
Supported Features
==================
The Zephyr 96b_neonkey board configuration supports the following hardware
features:
+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+=====================================+
| NVIC | on-chip | nested vector interrupt controller |
+-----------+------------+-------------------------------------+
| SYSTICK | on-chip | system clock |
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port |
+-----------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-------------------------------------+
| PINMUX | on-chip | pinmux |
+-----------+------------+-------------------------------------+
| FLASH | on-chip | flash |
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+
More details about the board can be found at `96Boards website`_.
The default board configuration can be found in
:zephyr_file:`boards/96boards/neonkey/96b_neonkey_defconfig`
Connections and IOs
===================
LED
---
- LED1 / User1 LED = PB12
- LED2 / User2 LED = PB13
- LED3 / User3 LED = PB14
- LED4 / User4 LED = PB15
Push buttons
------------
- BUTTON = RST (SW1)
- BUTTON = USR (SW2)
System Clock
============
96Boards Neonkey can be driven by an internal oscillator as well as the main
PLL clock. By default System clock is sourced by PLL clock at 84MHz, driven
by internal oscillator.
Serial Port
===========
On 96Boards Neonkey Zephyr console output is assigned to USART1.
Default settings are 115200 8N1.
I2C
---
96Boards Neonkey board has up to 3 I2Cs. The default I2C mapping for Zephyr is:
- I2C1_SCL : PB6
- I2C1_SDA : PB7
- I2C2_SCL : PB10
- I2C2_SDA : PB3
- I2C3_SCL : PA8
- I2C3_SCL : PB4
SPI
---
96Boards Neonkey board has one SPI. The default SPI mapping for Zephyr is:
- SPI1_NSS : PA4
- SPI1_SCK : PA5
- SPI1_MISO : PA6
- SPI1_MOSI : PA7
Programming and Debugging
*************************
Building
========
Here is an example for building the :ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: 96b_neonkey
:goals: build
Flashing
========
96Boards Neonkey can be flashed by two methods, one using the ROM
bootloader and another using the SWD debug port (which requires additional
hardware).
Using ROM bootloader:
---------------------
ROM bootloader can be triggered by the following pattern:
1. Connect BOOT0 to VDD (link JTAG pins 1 and 5 on P4 header)
2. Press and hold the USR button
3. Press and release the RST button
More detailed information on activating the ROM bootloader can be found in
Chapter 29 of Application note `AN2606`_. The ROM bootloader supports flashing
via UART, I2C and SPI protocols.
For flashing, `stm32flash`_ command line utility can be used. The following
command will flash the ``zephyr.bin`` binary to the Neonkey board using UART
and starts its execution:
.. code-block:: console
$ stm32flash -w zephyr.bin -v -g 0x08000000 /dev/ttyS0
.. note::
The above command assumes that Neonkey board is connected to
serial port ``/dev/ttyS0``.
Using SWD debugger:
-------------------
For flashing via SWD debug port, 0.1" male header must be soldered at P4
header available at the bottom of the board, near RST button.
Use the `Black Magic Debug Probe`_ as an SWD programmer, which can
be connected to the P4 header using its flying leads and its 20 Pin
JTAG Adapter Board Kit. When plugged into your host PC, the Black
Magic Debug Probe enumerates as a USB serial device as documented on
its `Getting started page`_.
It also uses the GDB binary provided with the Zephyr SDK,
``arm-zephyr-eabi-gdb``. Other GDB binaries, such as the GDB from GCC
ARM Embedded, can be used as well.
.. code-block:: console
$ arm-zephyr-eabi-gdb -q zephyr.elf
(gdb) target extended-remote /dev/ttyACM0
Remote debugging using /dev/ttyACM0
(gdb) monitor swdp_scan
Target voltage: 1.8V
Available Targets:
No. Att Driver
1 STM32F4xx
(gdb) attach 1
Attaching to Remote target
0x080005d0 in ?? ()
(gdb) load
Debugging
=========
After flashing 96Boards Neonkey, it can be debugged using the same
GDB instance. To reattach, just follow the same steps above, till
"attach 1". You can then debug as usual with GDB. In particular, type
"run" at the GDB prompt to restart the program you've flashed.
References
**********
.. _96Boards website:
https://www.96boards.org/product/neonkey/
.. _AN2606:
https://www.st.com/resource/en/application_note/cd00167594.pdf
.. _stm32flash:
https://sourceforge.net/p/stm32flash/wiki/Home/
.. _Black Magic Debug Probe:
https://github.com/blacksphere/blackmagic/wiki
.. _Getting started page:
https://github.com/blacksphere/blackmagic/wiki/Getting-Started

View File

@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52832_QFAA=y
# Enable MPU
CONFIG_ARM_MPU=y

View File

@@ -0,0 +1,7 @@
# 96Boards NITROGEN board configuration
# Copyright (c) 2016 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
config BOARD_96B_NITROGEN
select SOC_NRF52832_QFAA

View File

@@ -0,0 +1,11 @@
# 96Boards NITROGEN board configuration
# Copyright (c) 2016 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if BOARD_96B_NITROGEN
config BT_CTLR
default BT
endif # BOARD_96B_NITROGEN

View File

@@ -0,0 +1,5 @@
board:
name: 96b_nitrogen
vendor: 96boards
socs:
- name: nrf52832

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -0,0 +1,329 @@
.. _96b_nitrogen_board:
96Boards Nitrogen
#################
Overview
********
The 96Boards Nitrogen hardware provides support for the Nordic Semiconductor
nRF52832 ARM Cortex-M4F CPU.
.. figure:: img/96b_nitrogen.jpg
:align: center
:alt: 96Boards Nitrogen
96Boards Nitrogen
More information about the board can be found at the `seeed BLE Nitrogen`_
website. The `Nordic Semiconductor Infocenter`_ contains the processor's
information and the datasheet.
Hardware
********
96Boards Nitrogen provides the following hardware components:
- nRF52832 microcontroller with 512kB Flash, 64kB RAM
- ARM |reg| 32-bit Cortex |reg|-M4 CPU with FPU
- Bluetooth LE
- NFC
- LPC11U35 on board SWD debugger
- SWD debugger firmware
- USB to UART
- Drag and Drop firmware upgrade
- 7 LEDs
- USR1, BT, PWR, CDC, DAP, MSD, Battery charge
- SWD debug connectors
- nRF52832 SWD connector
- nRF52832 Uart connector
- On board chip antenna
- 1.8V work voltage
- 2x20pin 2.0mm pitch Low speed connector
Supported Features
==================
The Zephyr 96b_nitrogen board configuration supports the following hardware
features:
+-----------+------------+--------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+======================================+
| NVIC | on-chip | nested vectored interrupt controller |
+-----------+------------+--------------------------------------+
| RTC | on-chip | system clock |
+-----------+------------+--------------------------------------+
| UART | on-chip | serial port |
+-----------+------------+--------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+--------------------------------------+
| FLASH | on-chip | flash |
+-----------+------------+--------------------------------------+
| RADIO | on-chip | Bluetooth |
+-----------+------------+--------------------------------------+
| RTT | on-chip | console |
+-----------+------------+--------------------------------------+
Other hardware features have not been enabled yet for this board.
See `Nordic Semiconductor Infocenter`_ for a complete list of nRF52-based
board hardware features.
The default configuration can be found in
:zephyr_file:`boards/96boards/nitrogen/96b_nitrogen_defconfig`
Pin Mapping
===========
LED
---
- LED1 / User LED (green) = P0.29
- LED2 / BT LED (blue) = P0.28
Push buttons
------------
- BUTTON = SW1 = P0.27
External Connectors
-------------------
Low Speed Header
+--------+-------------+----------------------+
| PIN # | Signal Name | nRF52832 Functions |
+========+=============+======================+
| 1 | GND | GND |
+--------+-------------+----------------------+
| 3 | UART CTS | P.014 / TRACEDATA[3] |
+--------+-------------+----------------------+
| 5 | UART TX | P0.13 |
+--------+-------------+----------------------+
| 7 | UART RX | P0.15 / TRACEDATA[2] |
+--------+-------------+----------------------+
| 9 | UART RTS | P0.12 |
+--------+-------------+----------------------+
| 11 | UART TX | P0.13 |
+--------+-------------+----------------------+
| 13 | UART RX | P0.15 / TRACEDATA[2] |
+--------+-------------+----------------------+
| 15 | P0.22 | P0.22 |
+--------+-------------+----------------------+
| 17 | P0.20 | P0.20 |
+--------+-------------+----------------------+
| 19 | N/A | N/A |
+--------+-------------+----------------------+
| 21 | N/A | N/A |
+--------+-------------+----------------------+
| 23 | P0.02 | P0.02 |
+--------+-------------+----------------------+
| 25 | P0.04 | P0.04 |
+--------+-------------+----------------------+
| 27 | P0.06 | P0.06 |
+--------+-------------+----------------------+
| 29 | P0.08 | P0.08 |
+--------+-------------+----------------------+
| 31 | P0.16 | P0.16 |
+--------+-------------+----------------------+
| 33 | P0.18 | P0.18 |
+--------+-------------+----------------------+
| 35 | VCC | |
+--------+-------------+----------------------+
| 37 | USB5V | |
+--------+-------------+----------------------+
| 39 | GND | GND |
+--------+-------------+----------------------+
+--------+-------------+----------------------+
| PIN # | Signal Name | nRF52832 Functions |
+========+=============+======================+
| 2 | GND | GND |
+--------+-------------+----------------------+
| 4 | PWR BTN | |
+--------+-------------+----------------------+
| 6 | RST BTN | P0.21 / RESET |
+--------+-------------+----------------------+
| 8 | P0.26 | P0.26 |
+--------+-------------+----------------------+
| 10 | P0.25 | P0.25 |
+--------+-------------+----------------------+
| 12 | P0.24 | P0.24 |
+--------+-------------+----------------------+
| 14 | P0.23 | P0.23 |
+--------+-------------+----------------------+
| 16 | N/A | N/A |
+--------+-------------+----------------------+
| 18 | N/A | PC7 |
+--------+-------------+----------------------+
| 20 | N/A | PC9 |
+--------+-------------+----------------------+
| 22 | N/A | PB8 |
+--------+-------------+----------------------+
| 24 | P0.03 | P0.03 |
+--------+-------------+----------------------+
| 26 | P0.05 | P0.05 |
+--------+-------------+----------------------+
| 28 | P0.07 | P0.07 |
+--------+-------------+----------------------+
| 30 | P0.11 | P0.11 |
+--------+-------------+----------------------+
| 32 | P0.17 | P0.17 |
+--------+-------------+----------------------+
| 34 | P0.19 | P0.19 |
+--------+-------------+----------------------+
| 36 | NC | |
+--------+-------------+----------------------+
| 38 | NC | |
+--------+-------------+----------------------+
| 40 | GND | GND |
+--------+-------------+----------------------+
More detailed information about the connectors can be found in
`96Boards IE Specification`_.
System Clock
============
nRF52 has two external oscillators. The frequency of the slow clock is
32.768 kHz. The frequency of the main clock is 32 MHz.
Serial Port
-----------
96Boards Nitrogen has one UART, which is used as Zephyr console.
Default settings is 115200 8N1.
I2C
---
96Boards Nitrogen has one I2C. The default I2C mapping for Zephyr is:
- I2C0_SCL : P0.22
- I2C0_SDA : P0.20
SPI
---
96Boards Nitrogen has one SPI. The default SPI mapping for Zephyr is:
- SPI0_NSS : P0.24
- SPI0_SCK : P0.26
- SPI0_MISO : P0.25
- SPI0_MOSI : P0.23
Flashing Zephyr onto 96Boards Nitrogen
**************************************
The 96Boards Nitrogen board can be flashed via the `CMSIS DAP`_ interface,
which is provided by the micro USB interface to the LPC11U35 chip.
Using the CMSIS-DAP interface, the board can be flashed via the USB storage
interface (drag-and-drop) and also via `pyOCD`_.
To use ``pyOCD``, install the :ref:`pyocd-debug-host-tools` and make sure they
are in your search path.
Common Errors
=============
No connected boards
-------------------
If you don't use sudo when invoking pyocd-flashtool, you might get any of the
following errors:
.. code-block:: console
No available boards are connected
.. code-block:: console
No connected boards
.. code-block:: console
Error: There is no board connected.
To fix the permission issue, simply add the following udev rule for the
NXP LPC1768 interface:
.. code-block:: console
$ echo 'ATTR{idProduct}=="0204", ATTR{idVendor}=="0d28", MODE="0666", GROUP="plugdev"' > /etc/udev/rules.d/50-cmsis-dap.rules
Finally, unplug and plug the board again.
ValueError: The device has no langid
------------------------------------
As described by `pyOCD issue 259`_, you might get the
:code:`ValueError: The device has no langid` error when not running
pyOCD as root (e.g. sudo).
To fix the above error, add the udev rule shown in the previous section
and install a more recent version of pyOCD.
Flashing an Application to 96Boards Nitrogen
============================================
Here is an example for the :ref:`hello_world` application. This
requires installing the :ref:`pyocd-debug-host-tools`.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: 96b_nitrogen
:goals: build flash
Run your favorite terminal program to listen for output.
.. code-block:: console
$ minicom -D <tty_device> -b 115200
Replace :code:`<tty_device>` with the port where the board 96Boards Nitrogen
can be found. For example, under Linux, :code:`/dev/ttyACM0`.
The ``-b`` option sets baud rate ignoring the value from config.
Press the Reset button and you should see the following message in your
terminal:
.. code-block:: console
Hello World! arm
Debugging with GDB
==================
You can debug an application in the usual way. Here is an example for the
:ref:`hello_world` application. This also requires pyOCD.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: 96b_nitrogen
:maybe-skip-config:
:goals: debug
.. _pyOCD:
https://github.com/mbedmicro/pyOCD
.. _CMSIS DAP:
https://developer.mbed.org/handbook/CMSIS-DAP
.. _Nordic Semiconductor Infocenter:
http://infocenter.nordicsemi.com/
.. _seeed BLE Nitrogen:
http://wiki.seeed.cc/BLE_Nitrogen/
.. _pyOCD issue 259:
https://github.com/mbedmicro/pyOCD/issues/259
.. _96Boards IE Specification:
https://linaro.co/ie-specification

View File

@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32F4X=y
CONFIG_SOC_STM32F446XX=y
# Enable MPU
CONFIG_ARM_MPU=y

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2018 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
config BOARD_96B_STM32_SENSOR_MEZ
select SOC_STM32F446XX

View File

@@ -0,0 +1,12 @@
# 96Boards STM32 Sensor Mezzanine board configuration
# Copyright (c) 2018 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
if BOARD_96B_STM32_SENSOR_MEZ
config SPI_STM32_INTERRUPT
default y
depends on SPI
endif # BOARD_96B_STM32_SENSOR_MEZ

View File

@@ -0,0 +1,5 @@
board:
name: 96b_stm32_sensor_mez
vendor: st
socs:
- name: stm32f446xx

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

@@ -0,0 +1,247 @@
.. _96b_stm32_sensor_mez:
96Boards STM32 Sensor Mezzanine
###############################
Overview
********
96Boards STM32 Sensor Mezzanine is based on the ST Microelectronics
STM32F446VE Cortex M4 CPU.
This board acts as a mezzanine platform for all 96Boards CE compliant
boards. It can also be used as a standalone board.
.. figure:: img/96b_stm32_sensor_mez.jpg
:align: center
:alt: 96Boards STM32 Sensor Mezzanine
96Boards STM32 Sensor Mezzanine
Hardware
********
96Boards STM32 Sensor Mezzanine provides the following hardware components:
- STM32F446VE in LQFP100 package
- ARM |reg| 32-bit Cortex |reg|-M4 CPU with FPU
- 180 MHz max CPU frequency
- 1.8V work voltage
- 512 KB Flash
- 128 KB SRAM
- On board sensors:
- Temperature/Pressure: STMicro LPS22HB
- Accelerometer/Gyroscope: STMicro LSM6DS3H
- Magnetometer: STMicro LIS3MDL
- Microphone: STMicro MP34DT01
- 3User LEDs
- GPIO with external interrupt capability
- UART
- I2C (2)
- SPI (3)
- I2S (1)
Supported Features
==================
The Zephyr 96b_stm32_sensor_mez board configuration supports the following
hardware features:
+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+=====================================+
| NVIC | on-chip | nested vector interrupt controller |
+-----------+------------+-------------------------------------+
| SYSTICK | on-chip | system clock |
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port |
+-----------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-------------------------------------+
| PINMUX | on-chip | pinmux |
+-----------+------------+-------------------------------------+
| FLASH | on-chip | flash |
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+
| PWM | on-chip | pwm |
+-----------+------------+-------------------------------------+
| I2S | on-chip | i2s |
+-----------+------------+-------------------------------------+
The default board configuration can be found in
:zephyr_file:`boards/96boards/stm32_sensor_mez/96b_stm32_sensor_mez_defconfig`
Connections and IOs
===================
LED
---
- LED1 / User1 LED = PD10
- LED2 / User2 LED = PD11
- LED3 / User3 LED = PD12
Push buttons
------------
- BUTTON = RST (BT1)
- BUTTON = USR (BT2)
System Clock
============
96Boards STM32 Sensor Mezzanine can be driven by an internal oscillator as
well as the main PLL clock. In default board configuration, the 16MHz external
oscillator is used to drive the main PLL clock to generate a System Clock
(SYSCLK) at 84MHz. On the bus side, AHB/APB2 clocks runs at 84MHz, while APB1
clock runs at 42MHz.
Serial Port
===========
On 96Boards STM32 Sensor Mezzanine, Zephyr console output is assigned to UART4
exposed via on-board Micro USB connector. Default settings are 115200 8N1.
The default USART mappings for the remaining ones are:
- USART1: Connected to AP via UART0 on the 96Boards Low-Speed Header.
- TX: PA9
- RX: PA10
- USART2: Connected to D0(RX) and D1(TX) on the Arduino Header.
- TX: PD5
- RX: PD6
- USART3: Broken out to Grove connector J10.
- TX: PD8
- RX: PD9
I2C
---
96Boards STM32 Sensor Mezzanine board has up to 3 I2Cs. The default I2C
mapping is:
- I2C1_SCL : PB6
- I2C1_SDA : PB7
- I2C2_SCL : PB10
- I2C2_SDA : PC12
I2C2 goes to the Groove connectors and can be used to attach external sensors.
SPI
---
96Boards STM32 Sensor Mezzanine board has 3 SPIs. SPI1 is used in slave mode
as the communication bus with the AP. SPI2 is used in master mode to control
the LSM6DS3H sensor. SPI4 is broken out to Grove Connector J5.
The default SPI mapping is:
- SPI1_NSS : PA4
- SPI1_SCK : PA5
- SPI1_MISO : PA6
- SPI1_MOSI : PA7
- SPI2_NSS : PB9
- SPI2_SCK : PD3
- SPI2_MISO : PB14
- SPI2_MOSI : PB15
- SPI4_NSS : PE11
- SPI4_SCK : PE12
- SPI4_MISO : PE13
- SPI4_MOSI : PE14
PWM
---
96Boards STM32 Sensor Mezzanine board exposes 6 PWM channels on the Arduino
connector. The default PWM mapping is:
- PWM3_CH1 : PB4 : D9
- PWM3_CH3 : PC8 : D3
- PWM4_CH3 : PD14 : D6
- PWM4_CH4 : PD15 : D5
- PWM9_CH1 : PE5 : D12
- PWM9_CH2 : PE6 : D11
I2S
---
96Boards STM32 Sensor Mezzanine board exposes 1 I2S port which is connected
to the on-board ST MP34DT01 DMIC. The default I2S mapping is:
- I2S2_SD : PC1
- I2S2_CK : PC7
Programming and Debugging
*************************
Building
========
Here is an example for building the :ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: 96b_stm32_sensor_mez
:goals: build
Flashing
========
96Boards STM32 Sensor Mezzanine board includes an ST-LINK/V2-1 embedded
debug tool interface. This interface is supported by the openocd version
included in the Zephyr SDK.
Flashing an application to 96Boards STM32 Sensor Mezzanine
----------------------------------------------------------
Here is an example for the :ref:`hello_world` application.
Run a serial host program to connect with your 96Boards STM32 Sensor Mezzanine
board.
.. code-block:: console
$ minicom -b 115200 -D /dev/ttyACM0
Build and flash the application:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: 96b_stm32_sensor_mez
:goals: build flash
You should see the following message on the console:
.. code-block:: console
$ Hello World! 96b_stm32_sensor_mez
Debugging
=========
You can debug an application in the usual way. Here is an example for the
:ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: 96b_stm32_sensor_mez
:maybe-skip-config:
:goals: debug
References
**********
.. target-notes::
.. _96Boards STM32 Sensor Mezzanine website:
https://www.96boards.org/documentation/mezzanine/stm32/
.. _STM32F446VE on www.st.com:
https://www.st.com/en/microcontrollers/stm32f446ve.html
.. _STM32F446 reference manual:
https://www.st.com/resource/en/reference_manual/dm00135183.pdf

Some files were not shown because too many files have changed in this diff Show More