Commit graph

9382 commits

Author SHA1 Message Date
Tomasz Chyrowicz
3929e3fbc9 boards: nrf54h20dk: Add default DFU partition
Define the default DFU partition.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
2024-06-04 13:41:01 +02:00
Sadik Ozer
7204e24aa1 boards: Add MAX32655FTHR board
Added MAX32655FTHR boards.
For more information about this board please check
https://www.analog.com/MAX32655FTHR

Co-authored-by: Maureen Helm <maureen.helm@analog.com>
Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-06-04 13:40:44 +02:00
Sadik Ozer
7bb48a7d45 boards: Add MAX32655EVKit board
Added MAX32655EVKit boards.
For more information about this board please check
https://www.analog.com/

Co-authored-by: Kevin Townsend <kevin.townsend@analog.com>
Co-authored-by: Maureen Helm <maureen.helm@analog.com>
Co-authored-by: Okan Sahin <okan.sahin@analog.com>
Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-06-04 13:40:44 +02:00
Henrik Brix Andersen
a9f5382861 boards: add more details to atmel,at24 compatibles where known
Add more specific compatible strings to existing atmel,at24 compatible I2C
EEPROMs where known. This is strictly for documentation purposes, no
functional changes introduced.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-06-04 13:40:14 +02:00
Flavio Ceolin
9637b8b0bc intel_adsp: ace30: Bring up ACE 3.0 (PTL)
This commit adds definition of ACE 3.0 Panther Lake board.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2024-06-04 13:40:04 +02:00
Furkan Akkiz
e034ea5989 boards: adi: max32690evkit: Enable SPI driver
Add SPI in supported driver list.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
2024-06-04 13:39:51 +02:00
Hao Luo
524ea22952 drivers: spi: Add support for Apollo3 SoCs SPI
This commit adds support for the SPI 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-06-04 13:39:27 +02:00
Guillaume Gautier
ccc570f0c1 boards: st: nucleo f1,f3: add adc prescaler values
Add ADC prescaler values in the RCC nodes to check that compilation with
these properties works. The values set in the dts are the default values
of the registers.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-06-04 13:39:14 +02:00
Adam Matus
9ebf99b57b boards: nxp: mimxrt1020evk: Fix enet dts
Re-enable enet on mimxrt1020 board using the new devicetree.
Build and execution of zperf sample on this board is successful.

Signed-off-by: Adam Matus <adam.matus@nxp.com>
2024-06-04 13:38:09 +02:00
Luca Burelli
5fea5c4358 arduino_nicla_sense_me: add RGB LED support to the device tree
This patch enables the user to control the RGB LED on the Arduino Nicla
Sense ME board. The RGB LED is controlled by the IS31FL3194 LED driver
and is connected to the I2C0 bus.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2024-06-03 15:30:01 -04:00
Mathieu Choplain
8aa6ae43ce llext: add support for SLID-based linking
This commit introduces support for an alternate linking method in the
LLEXT subsystem, called "SLID" (short for Symbol Link Identifier),
enabled by the CONFIG_LLEXT_EXPORT_BUILTINS_BY_SLID Kconfig option.

SLID-based linking uses a unique identifier (integer) to identify
exported symbols, instead of using the symbol name as done currently.
This approach provides several benefits:
 * linking is faster because the comparison operation to determine
   whether we found the correct symbol in the export table is now an
   integer compare, instead of a string compare
 * binary size is reduced as symbol names can be dropped from the binary
 * confidentiality is improved as a side-effect, as symbol names are no
   longer present in the binary

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-06-03 15:29:34 -04:00
Alberto Escolar Piedras
68adc77cbd boards nrf_bsim: Add NVIC_GetEnableIRQ()
Provide a replacement for CMSIS' NVIC_GetEnableIRQ()
as some applications use it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-06-03 15:27:48 -04:00
Francois Ramu
5bd1689ac8 boards: st: stm32c0116_dk defines the select pin with zephyr,code
Define the select_key with the correct zephyr,code
which is <INPUT_KEY_ENTER>

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-06-03 15:27:36 -04:00
Daniel DeGrasse
814403a4f5 boards: nxp: vmu_rt1170: fix dummy cycle value in flash configuration
The VMURT1170 board configures the FLEXSPI to run at 200MHz serial clock
in DDR mode, via the flash configuration block passed to the ROM API.
Per the datasheet of the MX25UM51345G flash present on the board, 20
dummy cycles are required before reading data in OPI DTR mode. Correct
the dummy cycle value used for read commands to 0x28 (40 DDR dummy
cycles, equivalent to 20 dummy cycles of the clock) to resolve this
issue.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-06-03 15:38:05 +02:00
Grant Ramsay
1e0a882f0d boards: shields: arceli_eth_w5500: Fix spelling and broken link
The URL in the documentation no longer exists

Signed-off-by: Grant Ramsay <gramsay@enphaseenergy.com>
2024-06-03 15:37:41 +02:00
Chris Wilson
365187e63c boards: shields: Add nRF9160 DK overlay for arduino_uno_click shield
The original Arduino Uno provides the same SCL/SDA on two sets of pins,
but the nRF9160 DK maps these pins to two different pairs of GPIO. When
using the Arduino Uno Click Shield board with the nRF9160 DK, the
P0.18/P0.19 pair must be used.

Also, the default pin group for the nRF9160 DK includes RTS/CTS HW flow
control, but the Arduino Uno Click Shield board does not connect these
pins (only TX/RX are connected on the shield). This keeps RX/TX on the
same pins, but just removes RTS/CTS from the pin groups.

References:

 - Arduino Uno R3 pinout:
   https://docs.arduino.cc/resources/pinouts/A000066-full-pinout.pdf

 - Arduino Uno R3 schematic:
   https://www.arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdf

 - Arduino UNO click shield schematic:
   https://download.mikroe.com/documents/add-on-boards/click-shields/arduino-uno/arduino-uno-click-shield-schematic-v101.pdf

Signed-off-by: Chris Wilson <chris@cgnd.dev>
2024-06-03 06:21:03 -07:00
cyliang tw
a30c5731ae tests: drivers: can: api: support numaker_m2l31ki
Add support for Nuvoton numaker board numaker_m2l31ki.
m2l31x has 4 MPU regions and can't afford one more region
for USERSPACE, so set CONFIG_USERSPACE=n in m2l31ki_defconfig.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2024-06-03 09:49:17 +02:00
Caldeira Quentin
68527f5506 boards: stm32wb5mmg_dk: add button support
This patch add buttons support for the two user buttons

Signed-off-by: Caldeira Quentin <QuentinCaldeira@eaton.com>
2024-06-03 09:48:19 +02:00
Andy Ross
df8395e3d8 soc: boards: Add MediaTek MT8195 Audio DSP
This is a soc/board integration for the MediaTek Audio DSP device on
the MT8195 SOC, along with a Zephyr mtk_adsp soc integration that will
work to support similar 8186 and 8188 device shortly.

A python loader (similar to cavsload.py) is included that will run in
developer mode on current chromebooks (an HP x360 13b-ca000 was
tested) with an unmodified kernel.

Signed-off-by: Andy Ross <andyross@google.com>
2024-06-01 05:40:05 -07:00
Phi Bang Nguyen
c23132afdf boards: shields: Add a shield for DVP FPC-24 mt9m114 camera modules
Add a shield for DVP FPC 24-pins mt9m114 camera modules. These camera
modules are supported on i.MX RT10xx series, for example.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-06-01 10:29:19 +02:00
Phi Bang Nguyen
cf4495b196 boards: nxp: mixmxrt1064_evk: Drop camera sensor related stuffs
The mt9m114 camera module is not always attached to this board. Camera
stuffs should go into a seperate overlay / shield. Also, the CSI should
be enabled only if there is a camera sensor attached to it.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-06-01 10:29:19 +02:00
Andrej Butok
03d1eabc32 boards: nxp: mimxrt10xx: fix non-optimal sector distribution
- Optimize slot sizes for MCUBoot swap move algorithm
  for mimxrt1010/15/20/24/40/50/60/64 boards.
- Save up to 64 wasted sectors.
- Use DT_SIZE_K/M macros for slot sizes.
- Fix partition size errors.
- Limit mcuboot max size to 128KB (was 256KB).

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2024-06-01 10:26:31 +02:00
Sreeram Tatapudi
32ef6bfd7e boards: infineon: cyw20829m2evk_02: Remove the incorrect flash node
Delete the incorrect node declaration for flash-controller
Fixes https://github.com/zephyrproject-rtos/zephyr/issues/73525

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2024-06-01 10:24:25 +02:00
Ian Morris
04e60be9bf boards: mikroe: add initial support for Mikroe RA4M1 Clicker
The RA4M1 Clicker is a basic development board for the Renesas RA4M1
Microcontroller. The board contains J-Link on board, two LEDs and push
buttons and several headers for interfacing with external devices.

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2024-05-31 16:36:47 -05:00
Anke Xiao
2c695f2bed boards: nxp: frdm_ke17z: add the board support
Added configuration file to support frdm_ke17z board

Signed-off-by: Anke Xiao <anke.xiao@nxp.com>
2024-05-31 16:31:33 -05:00
Manuel Loew
c395e749be boards: corrects the Device Tree Source (DTS) files of Arm MPS3-AN547.
This PR corrects the base addresses and region names of some memories
present in the MPS3-AN547 hardware.

Fixes #71920

Signed-off-by: Manuel Loew <manuel.loew.infineon@gmail.com>
2024-05-31 16:30:09 -05:00
Daniel DeGrasse
4fbd5032a6 dts: arm: nxp: lpc55s6x: add DMA channels at SOC level
Add DMA channels at SOC level for the LPC55S6x series SOCs, as the dma
requests are SOC specific properties and do not need to be modified at
the board level. Remove any DMA request definitions present at the board
level for the LPC55S69 evaluation board.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-05-31 09:59:12 -05:00
Francois Ramu
ae06f927aa boards: arm: stm32h7b3 disco with external memory region for XiP
Declare a sub-region of the whole ext_memory with attributes
ATTR_MPU_IO so that XiP becomes possible on this external
octo- NOR flash.  Use the STM32CubeProgrammer runner
with the external loader for flashing.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-05-31 09:52:54 -05:00
Francois Ramu
78fb2313c7 boards: arm: stm32u585 disco with external memory region for XiP
Declare a sub-region of the whole ext_memory with attributes
ATTR_MPU_IO so that XiP becomes possible on this external
octo- NOR flash. Use the STM32CubeProgrammer runner
with the external loader for flashing.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-05-31 09:52:54 -05:00
Zhaoxiang Jin
ea8eea4dc3 boards: nxp/frdm_mcxn947: Support LPCMP for NXP frdm_mcxn947 board
Support LPCMP for NXP frdm_mcxn947 board

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2024-05-31 09:51:29 -05:00
Derek Snell
fd20de5e3b boards: nxp: lpcxpresso55s16: Combine SRAMs 0-2
Combine into single memory region to enable larger data needs.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2024-05-31 09:03:44 +02:00
Nikolay Agishev
03b2767f7e ARC: nSIM: Fix XIP config
Workaround for https://github.com/zephyrproject-rtos/zephyr/issues/72793.
Because of pointed issue CONFIG_XIP should be defined explicitly.

Signed-off-by: Nikolay Agishev <agishev@synopsys.com>
2024-05-30 16:53:18 -05:00
Charles Dias
020109842f boards: weact: mini_stm32h743: update ST7735R dts configuration
Update dts to use ST7735R via MIPI DBI API.

Also, remove the reset-gpios, as on this board the LCD RESET pin is
directly connected to the system reset. And add LCD backlight pin
connected to PE10.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2024-05-30 16:51:30 -05:00
Gerard Marull-Paretas
c0b0443f05 boards: nordic: nrf54h20dk: enable CAN
Enable canpll (required to clock CAN), and can120 instance, routed to
pins P9.4 and P9.5.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-05-30 05:20:50 -07:00
Alberto Escolar Piedras
fa9a5962b5 boards nrf54l15bsim: Update docs as we now have RADIO
Mention that we have the RADIO peripheral,
but no encryption accelerators yet.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-05-30 04:49:22 -07:00
Alberto Escolar Piedras
64a53d0921 boards nrf54l15bsim//cpuapp: Don't remove RADIO in DT
The RADIO models now contain the radio,
let's stop removing it, but as they do not support DFE,
let's disable DFE.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-05-30 04:49:22 -07:00
Ioannis Karachalios
99deccfe53 boards: renesas: da1469x_dk_pro: Update default settings
This commit should deal with optimizing device's
operation in terms of power consumption. In this
context:

1. Power and rail managers are enabled so that the
   device can enter the sleep state and power
   rails be set to the min. required levels.

2. Peripheral blocks should be enabled only when
   there is need to do so.

3. Define the internal RCX oscillator as default
   low power clock. RC32K should not be used as
   it drifts significantly due to temperature and
   voltage variations. Thus, affecting the whole
   system stability regardless of its calibration.

4. PLL should be enabled only when requested and
   on board level LP clock should be switched to
   XTAL32K to avoid overhead due to RCX calibration.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-05-30 02:59:21 -07:00
Erwan Gouriou
008ee25ccf boards: st: stm32h745i_disco: Fix arduino connector description
Arduino connector on this board had 2 issues:
- missing spi reference
- wrong i2c reference

This commit fixes both.


Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-05-30 01:00:34 -07:00
Johan Hedberg
f48a57b2a8 Bluetooth: drivers: Remove unmaintained B91 HCI driver
The driver isn't currently buildable due to "west blobs" support never
having been added for hal_telink. Furthermore, even if the blob
dependency is manually made available it turns out the code has
bitrotten to the point where it doesn't build anymore. This situation
has continued for several years without anyone taking action, so I think
it's safe to assume this is unmaintained and should be removed.

Signed-off-by: Johan Hedberg <johan.hedberg@gmail.com>
2024-05-30 09:00:22 +02:00
Wilfried Chauveau
5d5c13feae samples: tfm: Remove old 'tfm' tag & update relevant boards
The 'tfm' tag was removed from the samples in in
7c80473e0a but it remained in use in other
parts of the project.
This change brings back consistency through out the project.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2024-05-29 10:49:31 -07:00
Andrej Butok
16470adf83 boards: frdm_mcxn947: Fix MCUBoot support.
- Set MCUBoot "upgrade only" method,
  as the program size is 128B (>32B).
- Set slot sizes to the same value,
  required by the MCUBoot "upgrade only" method.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2024-05-29 10:49:15 -07:00
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