Commit graph

9391 commits

Author SHA1 Message Date
Tomi Fontanilles
03d86fc7c7 boards: st: b_u585_iot02a: stick to RSA signature type in TF-M's MCUboot
The default has been changed to EC-P256, but there are issues with
this board when TF-M is compiled with MCUBOOT_USE_PSA_CRYPTO (required
by EC-P256) because of its integration in TF-M.
Do not enable PSA crypto on this board for the time being.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2024-05-29 04:56:40 -07:00
Jerzy Kasenberg
71ed2e4b02 drivers: spi: Add power management Smartbond SPI
Code adds pm action function that stores SPI configuration
before PD_COM is allowed to be turned off.

PM_DEVICE_RUNTIME scheme is also supported

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
2024-05-29 12:03:29 +02:00
Ioannis Karachalios
c140053654 drivers: i2c: smartbond: Add support for PM
This commit should add all the functionality needed for the I2C
driver to work when PM is enabled.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-05-29 08:42:00 +02:00
Nicolas Pitre
3c2e57c923 drivers/timer/apic_tsc: use ICR as a fallback timeout event source
This adds support for the local APIC in one-shot mode as the timeout
event source for those cases where the CPU supports invariant TSC but
no TSC deadline capability. It is presented as another timer choice.
Existing Kconfig symbols were preserved to minimize board config
disturbance.

This hybrid approach was implemented kind of backward in the apic_timer
driver but it is far cleaner to carry this here.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2024-05-29 08:40:43 +02:00
Johann Fischer
0809b75b42 boards: remove test feature usb_cdc
This test feature is not required and was only used as a dependency in
the usb/console example. It is redundant since the sample already
depends on usb_device.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-05-29 07:32:41 +02:00
Sadik Ozer
e31d66a183 boards: Add MAX32690EVKit board
Added MAX32690EVKit board
For more information about this board please check
https://www.analog.com/

MAX32690 has two core, Cortex-M4 and Risc-V.

Examples can be build by below command for cortex-m4

west build -b max32690evkit/max32690/m4 samples/hello_world

As a shorthand, the soc may be omitted from the build command and
keeping the corresponding forward slashes:

west build -b max32690evkit//m4 samples/hello_world

Co-authored-by: Jason Murphy <jason.murphy@analog.com>
Co-authored-by: Maureen Helm <maureen.helm@analog.com>
Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-05-29 07:30:12 +02:00
Yong Cong Sin
bbe5e1e6eb build: namespace the generated headers with zephyr/
Namespaced the generated headers with `zephyr` to prevent
potential conflict with other headers.

Introduce a temporary Kconfig `LEGACY_GENERATED_INCLUDE_PATH`
that is enabled by default. This allows the developers to
continue the use of the old include paths for the time being
until it is deprecated and eventually removed. The Kconfig will
generate a build-time warning message, similar to the
`CONFIG_TIMER_RANDOM_GENERATOR`.

Updated the includes path of in-tree sources accordingly.

Most of the changes here are scripted, check the PR for more
info.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-05-28 22:03:55 +02:00
Michał Szprejda
7c084b6649 West: Add west robot command
Introduce `robot` command for running Robot Framework test suites.
Initial implementation consists of one runner dedicated for renode-test,
which is a Renode wrapper for running Robot tests.

Signed-off-by: Michał Szprejda <mszprejda@antmicro.com>
2024-05-28 12:54:52 +02:00
Michał Szprejda
80900cbc3b West: Add west simulate command
Introduce `simulate `command for running samples on a simulator of
choice. Initial implementation consists of one runner, dedicated for
Renode.

Signed-off-by: Michał Szprejda <mszprejda@antmicro.com>
2024-05-28 12:54:52 +02:00
Michał Szprejda
959ea1a172 resc: cmake: robot: Rename Renode variable
Rename Renode variable used to store the .elf file path from `bin` to
`elf` for consistency.

Signed-off-by: Michał Szprejda <mszprejda@antmicro.com>
2024-05-28 12:54:52 +02:00
Michał Szprejda
7bc9a98a70 Twister: Rework integration with renode-test
Initial integration with renode-test was introduced in commit bdf02ff,
which added support for calling the `renode-test` command from both west
and twister.

This commit removes the custom run_renode_test target used for running
Robot tests with the `west build` command and makes twister call
`renode-test` directly instead.

Signed-off-by: Michał Szprejda <mszprejda@antmicro.com>
2024-05-28 12:54:52 +02:00
Jordan Yates
ed1c78ec15 boards: thingy53: define ADC channel for battery
Define the ADC channel for battery monitoring so that `voltage-divider`
driver works.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2024-05-28 12:51:31 +02:00
Aaron Ye
9684b957bc boards: arm: apollo3p_evb: create BLEIF instance
This commits add the BLEIF instance which is compatible with
"ambiq,spi-bleif" on Ambiq apollo3p_evb and apollo3_evb.
Also creates the default pinctrl for the defined instance.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2024-05-27 03:27:43 -07:00
Lucas Tamborrino
e282b0ea84 soc: esp32xx: refactor clock and RTC subsystems
The RTC subsystem in espressif's SOCs, among other tasks
is responsible for clock selection for CPU and for low
power domain clocks such as RTC_SLOW and RTC_FAST.

This commit allows for proper clock source and rate
selection for CPU, using the espressif,riscv and
espressif,xtensa-lx6/7 bindings.

It also enables clock selection for RTC_FAST and RTC_SLOW,
that impacts some peripherals, such as rtc_timer.

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2024-05-27 01:37:18 -07:00
Yassine El Aissaoui
f062d8bf32 boards: rd_rw612_bga: Update board information
- Add pinctrl for flexcomm0 in usart mode
needed for BLE tester application
- Reserve the firmware storage partition
- Mark HCI as a wakeup source

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2024-05-25 11:23:04 +03:00
Sreeram Tatapudi
f96e6ccbc0 boards: arm: Introduce Infineon CYW920829M2EVK-02 board
- Add initial version of CYW920829M2EVK-02 board
- [drivers: clock_control] Make it possible to set up both iho and imo
  clocks instead of just one or the other

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2024-05-24 18:05:11 -04:00
Swift Tian
d65d298280 boards: native: fixed i2c dependency loop
This was discovered when trying to add select GPIO to emulator Kconfig.

Signed-off-by: Swift Tian <swift.tian@ambiq.com>
2024-05-24 18:03:44 -04:00
Sebastian Bøe
80209e4fd0 boards: nordic: 54L: Refactor the board DT
Refactor the 54L board file to be able to better support out-of-tree
non-secure boards.

This aligns better with nrf53's DT.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2024-05-24 18:00:47 -04:00
Sebastian Bøe
9ef16f55cd boards: nordic: 54l: use wdt31 instead of wdt30
Use wdt31 instead of wdt30 as wdt30 is hardware fixed to secure.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2024-05-24 18:00:47 -04:00
Hao Luo
d7afd88e71 drivers: counter: Add support for Apollo3 SoCs counter
This commit adds support for the counter which
can be found in Apollo3 SoCs

Signed-off-by: Hao Luo <hluo@ambiq.com>
2024-05-23 11:52:37 -04:00
Ali Hozhabri
ced9fba95c boards: st: steval_stwinbx1: Add BLE support for STEVAL-STWINBX1 board
Provide BLE support for STEVAL-STWINBX1 board.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2024-05-23 08:23:29 -04:00
Ioannis Karachalios
b820cc2932 boards: renesas: dts: Add overlay files to support the MEMC
In order to avoid defining almost the same overlays in the available
sample codes, tests and user applications, a common overlay file
per memory type is demonstrated under the boards dts folder.
Currently only the PSRAM interface is supported and the APS6404L
PSRAM QSPI memory device is demonstrated. In doing so, an
application code will only have to define another overlay file explicitly,
under application's board folder, to overwrite the default QSPI
controller's settings. In either case, users should explicitly
invoke the requested overlay files  at 'west build' invokation
via the DTC_OVERLAY_FILE system variable.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-05-23 07:51:41 -04:00
Ioannis Karachalios
4e2ef1f525 dts: renesas: smartbond: Add support for the memory driver class.
Update DTS and board configurations to support memory controller (QSPIC2).

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-05-23 07:51:41 -04:00
Hake Huang
49d0dd810d board: mimxrt1010_evk: add linkserver support docs
add support docs

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-05-22 21:39:36 -04:00
Hake Huang
5f203922d8 board: mimxrt1010_evk: add linkserver support
linkserver supports rt1010_evk from 1.5.30

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-05-22 21:39:36 -04:00
Emilio Benavente
1cc1f248a0 boards: nxp: frdm_ke15z: Add board support for ke15z
Added initial board support for the
frdm_ke15z board.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
Signed-off-by: Pavel Krenek <pavel.krenek@nxp.com>
2024-05-22 15:42:48 -04:00
Jerzy Kasenberg
2f1a07f315 boards: renesas: da1469x_dk_pro: Update SPI pins
Two pins assigned to SPI controller (P0_22,P0_23) are dedicated
to XTAL32K which is present on devkit.

For this reason SPI function are re-assigned to pins available
on optional header MikorBUS 1 to match configuration of SPI2
which is routed to MikorBUS 2 header.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
2024-05-22 13:47:04 -05:00
Alberto Escolar Piedras
cb7f20f436 boards nrf54l15bsim: Update docs with RRAMC, FICR and UICR mention
This board HW models now include the RRAMC, FICR and UICR.
Let's update the docs accordingly.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-05-22 13:44:54 -05:00
Alberto Escolar Piedras
7f907ec2f2 boards nrf54l15bsim: Enable RRAMC and add storage partition
The RRAMC is now supported by the HW models.
Let's enable the RRAM controller, and
add a storage partition definition which
tests and samples can use by default.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-05-22 13:44:54 -05:00
Conor Paxton
18541b631f boards: microchip: add icicle kit smp variant
With the introduction of the new Hardware model, we now have an easy
method to describe variants of boards. This is especially helpful for
Microchip's PolarFire SoC Icicle Kit which has a heterogeneous
core-complex. Introduce an SMP capable variant with four SMP capable
harts for the SMP cluster and disables the e51 monitor hart

Signed-off-by: Conor Paxton <conor.paxton@microchip.com>
2024-05-22 13:39:30 -05:00
Wilfried Chauveau
6a8fcdaf21 boards: fvp_baser_armv8r: add missing SMP variant
ARMFVP configuration was not defined for SMP variants leading to test
failure.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2024-05-22 13:38:57 -05:00
Hao Luo
c8ae26549d drivers: i2c: Add support for Apollo3 SoCs I2C
This commit adds support for the I2C which
can be found in Apollo3 SoCs, it can work in
both DMA and non-DMA modes

Signed-off-by: Hao Luo <hluo@ambiq.com>
2024-05-21 20:55:34 -04:00
Marcio Ribeiro
d2c060d1ef test: dac: esp32s2_devkitc bugfix
add dts and dac setting for tests/driver/dac/dac_api

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2024-05-21 20:53:58 -04:00
Erwan Gouriou
492cf3c250 boards: steval_stwinbx1: Remove adc support from board's yaml
Leftover from review.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-05-21 15:20:42 -07:00
Javad Rahimipetroudi
c46466e48a boards: stm32wb5mmg_dk: add RGB LED support
This patch add RGB LED support for the TI
TLC59731 RGB controller.

Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>
2024-05-21 16:50:24 -04:00
Daniel DeGrasse
13ae32e1c2 drivers: display: st7735r: convert to MIPI DBI API
Convert the ST7735R display to use the MIPI DBI API. Boards and overlays
using this display are also updated.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-05-21 16:50:08 -04:00
Declan Snyder
0ae759cb96 boards: nxp: Add frdm_rw612
Add basic board definition of the freedom rw612 board.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-05-21 16:48:14 -04:00
Daniel DeGrasse
0707a6f302 boards: nxp: rd_rw612_bga: add support for goworld 16880 display module
Add support for the goworld 16880 display module. As this display module
only features an FFC cable, it is added as a board overlay for the RW612
BGA. This module uses an ST7796S display controller as well as an FT7401
touch controller (which is managed by the FT5336 input driver)

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-05-21 16:45:16 -04:00
Bartosz Sokolski
852f452b03 boards: nrf54l15pdk: set default pdk to 0.3.0
Replace default pdk board from 0.2.1 to 0.3.0

Signed-off-by: Bartosz Sokolski <bartosz.sokolski@nordicsemi.no>
2024-05-21 16:42:58 -04:00
Hake Huang
369ee6d130 doc: mimxrt1160_evk: update doc for linkserver
linkserver cmsis-dap fw need updated for this board

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-05-21 18:41:17 +02:00
Nazar Palamar
72fcbcbde0 xmc47_relax_kit: board: port xmc47_relax_kit to HWMv2
Port board xmc47_relax_kit to HWMv2

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2024-05-21 11:29:49 +01:00
Nazar Palamar
a82ac8aeb8 xmc45_relax_kit: board: port xmc45_relax_kit to HWMv2
Port board xmc45_relax_kit to HWMv2

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2024-05-21 11:29:49 +01:00
Nazar Palamar
2f6fb18cf3 cy8ckit_062_wifi_bt : board: port cy8ckit_062_wifi_bt to HWMv2
Port board cy8ckit_062_wifi_bt to HWMv2

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2024-05-21 11:29:49 +01:00
Nazar Palamar
279a048a25 cy8ckit_062_ble: board: port cy8ckit_062_ble to HWMv2
Port board cy8ckit_062_ble to HWMv2

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2024-05-21 11:29:49 +01:00
Nazar Palamar
92a9c9a16a cy8cproto_062_4343w: board: port cy8cproto_062_4343w to HWMv2
Port board cy8cproto_062_4343w to HWMv2

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2024-05-21 11:29:49 +01:00
Nazar Palamar
281a037b70 cy8ckit_062s4: board: port cy8ckit_062s4 to HWMv2
Port board cy8ckit_062s4 to HWMv2

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2024-05-21 11:29:49 +01:00
Nazar Palamar
769b6d5d15 cy8cproto-063-ble: board: port cy8cproto-063-ble to HWMv2
Port board cy8cproto-063-ble to HWMv2

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2024-05-21 11:29:49 +01:00
Hake Huang
de526632ae doc: mimxrt1160_evk: update board document for linkserver
add linkserver in supported debugger

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-05-20 20:52:56 -04:00
Hake Huang
a46fb055bc board: mimxrt1160_evk: linkserver support
add linkserver support for mimxrt1160_evk

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-05-20 20:52:56 -04:00
Hao Luo
35aae8b5c1 drivers: watchdog: Add support for Apollo3 SoCs watchdog
This commit adds support for the watchdog which
can be found in Apollo3 SoCs

Signed-off-by: Hao Luo <hluo@ambiq.com>
2024-05-20 20:50:26 -04:00