Commit graph

6001 commits

Author SHA1 Message Date
Joel Guittet 479c40c830 boards: arm: wio terminal: separate buttons and joystick definition
The purpose of this separation is to avoid conflict initializing
gpio-keys because button 0 and joystick up have a shared interrupt
source. Joystick is now configured using polling mode option.

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2024-01-30 10:35:32 -06:00
Wilfried Chauveau de7621596d boards: arm: mps2_an521: add pyocd runner
This allows to run tests & examples on the physical board with:
```
west twister -p mps2_an521 --device-testing --device-serial /dev/ttyUSB0
```

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2024-01-30 13:42:02 +01:00
Lars Knudsen a3c4d22e79 boards: bbc_microbit_v2: Add buzzer
Tie pwm1 to buzzer pin and adjust sample.

Signed-off-by: Lars Knudsen <larsgk@gmail.com>
2024-01-30 13:08:03 +01:00
Aymeric Aillet 4b8c0559d6 dts: arm: renesas: Move rz dtsi to range folder
Create a folder for RZ Renesas range device tree to follow how it's
done for other renesas ranges.
It will also help to better delimit areas to maintain.

Signed-off-by: Aymeric Aillet <aymeric.aillet@iot.bzh>
2024-01-30 09:59:54 +01:00
Sharad Patil 82af470b60 boards: efr32_radio: Add Support for Silabs MG12 BRD4161A board
Added support in board directory for EFR32 MG12 BRD4161A board

Signed-off-by: Sharad Patil <p.sharad@capgemini.com>
2024-01-30 08:46:25 +01:00
Ayush Singh ecd3b9cee6 boards: arm: beagle_bcf: Remove cc2538-bsl.py
- Remove hadcoded cc2538-bsl.py path
- Use cc1352-flasher program instead
- Add docs about how to install the program

Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
2024-01-30 00:34:48 +00:00
Zhu Zhongjie 2545c747b8 boards: arm: change display driver to ltdc on stm32f429i_disc1
Change display driver to ltdc on stm32f429i_disc1 board.

Signed-off-by: Zhu Zhongjie <zhongjiezhu1@gmail.com>
2024-01-29 14:57:26 +00:00
Javad Rahimipetroudi 38da03a5d6 doc: stm32wb5mm_dk: Fix reported typos
This patch fix the reported typos and glitches
that was reported in PR 67819.

Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>
2024-01-29 12:30:20 +01:00
Javad Rahimipetroudi ce4cdd8d37 boards: arm: b_u585i_iot02a: add bluetooth support
This commits makes it possible to use the onboard bluetooth
module (STM32WB5MMG) with existing zephyr bluetooth samples.
Note that there was no hardware flow control wiring
available on the board, which is why it has been disabled
in the both main board and BLE module Device Tree. As the
board doesn't support HW flow control, users must set
CONFIG_BT_HCI_ACL_FLOW_CONTROL=n in project files.

Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>
2024-01-26 15:54:04 +00:00
Javad Rahimipetroudi 67caa1c5ab boards: arm: stm32wb5mmg: add Bluetooth support
This patch introduces the Bluetooth Low Energy (BLE) feature to the board.
The board utilizes the STM32WB5MMG as the BLE module. However, As there
was no BLE controller available for this module. Therefore, a board
support package has been added to enable the STM32WB5MMG module to act as
a BLE controller. This is achieved by running Zephyr's hci_uart example on
the STM32WB5MMG module which enables communication with the main
microcontroller over the H:4 HCI transport protocol. So, users must first
build the BLE controller for the BLE module and upload it via on board
ST-Link,then they can uses Zephyr Bluetooth demos on the development board
Note that there was no hardware flow control wiring available on the
board, which is why it has been disabled in the both main board and BLE
module Device Tree.

Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>
2024-01-26 15:54:04 +00:00
Erwan Gouriou c9c9054bfd boards: nucleo_wba52cg: Enable flash and debug using OpenOCD
OpenOCD can now be used to flash and debug nucleo_wba52cg.
However it required use of STMicroelectronics OpenOCD fork.

Add instructions on how to use it.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-01-26 15:52:38 +00:00
Jukka Rissanen 0d42006dd0 boards: mps2_an385: Re-enable networking tests
This reverts commit 6a3612666e
"boards: mps2_an385: Exclude platform from networking tests"

This would have found the issue described in #67762 where a
network test was failing because of wrong section placement.
All the simulated environments (qemu_x86 and native_sim) used
in network testing missed this problem, but could have easily
found if network tests would have been run in mps2_an385.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-01-26 14:30:00 +01:00
Jan Bylicki 3ef7f2a511 boards: arm: mercury_xu: Add remaining UART pin definitions
Add remaining UART0 pin definitions and migrate UART1 to utilize the
pinmux api

Signed-off-by: Jan Bylicki <jbylicki@antmicro.com>
2024-01-26 12:47:11 +01:00
Jan Bylicki 3042cb877a boards: arm: mercury_xu: Define the pinctrl instance
Define the pinctrl-based pin controller instance
for the Mercury XU board and remove the old implementation

Signed-off-by: Jan Bylicki <jbylicki@antmicro.com>
2024-01-26 12:47:11 +01:00
Richard Wheatley c6f21b2017 boards: arm: apollo4p_evb Shield Support
Correct pinctrl for rev2 board.
Rename IOM properly in ambiq_apollo4p.dtsi

Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
2024-01-26 12:36:40 +01:00
Jordan Yates d2e090d1b1 boards: remove LOG_BUFFER_SIZE low defaults
Setting an extremely low value by default on two boards doesn't seem
like the right thing to do. The defaults were added with the v1 logging
subsystem in https://github.com/zephyrproject-rtos/zephyr/pull/8023.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2024-01-26 12:36:29 +01:00
Manuel Argüelles ed0ccbbc0b boards: arm: ucans32k1sic: enable watchdog support
Document support and enable testing for the watchdog
driver on this board.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2024-01-25 18:26:25 +00:00
Adrien MARTIN 2d8f4d1899 boards: arm: nucleo_g0b1re: add fdcan2 support
The nucleo_g0b1re board is based on stm32g0 that supports 2 can
controllers. This commit adds support for the second can controller.
Add also can label in yml board file.

Signed-off-by: Adrien MARTIN <adrienmar@kickmaker.net>
2024-01-25 16:01:40 +00:00
Javad Rahimipetroudi 8534767aed boards: arm: stm32wb5mm-dk: add basic board support
This patch add the basic board support for the
STM32WB5MM-DK Discovery Kit. At the moment only
debug UART Debug is ported. Other peripherals will be added
in the following patches.

Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>
2024-01-24 14:56:31 +01:00
Erwan Gouriou f2bafa4844 boards: nucleo_wba55cg: Document BLE support and blobs fetching
In order to build a BLE application nucleo_wba55cg fecthing controller
blobs is required. Document the command.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-01-24 12:27:50 +00:00
Toon Stegen 1d23ac5577 boards: arm: stm32h750b_dk: add support for sdram
128 Mbit sdram devicetree definition

Signed-off-by: Toon Stegen <toon@toostsolutions.be>
2024-01-23 12:27:53 -05:00
Toon Stegen 8ae315764c boards: arm: stm32h750b_dk: add support for QPSI flash
devicetree definition for quad spi

Signed-off-by: Toon Stegen <toon@toostsolutions.be>
2024-01-23 09:46:25 -05:00
Yves Vandervennet 441b1b7de8 boards: frdm_kl25z: enable support for linkserver
- adds the definitions in the board.cmake file
- updates documentation

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-01-22 12:59:53 +01:00
Yves Vandervennet e5fe1c1625 boards: mimxrt1015_evk: enable support for linkserver
- adds the definitions in the board.cmake file
- updates documentation

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-01-22 10:35:04 +00:00
Tom Rothamel 3f65552446 boards: arm: atsamd21_xpro: Change sercom0 tx pad and control.
According to the documentation and pinctrl file, sercom0 tx should
be available on PA10C/SERCOM_PAD[2]. However, and somewhat confusingly,
txpo 2 meant SERCOM_PAD[0] with RTS/CTS flow control.

Changing this to txpo 1 uses SERCOM_PAD[2], which allows sercom0
to work as documented.

Signed-off-by: Tom Rothamel <tom@rothamel.us>
2024-01-20 19:14:54 +01:00
Maksim Salau 119f647426 boards: arm: nucleo_f042k6: fix pwm output
Changes:
* Fixed typo in the PWM channel number (32 -> 3)
* Added a prescaler to make the board compatible
  with the blinky_pwm sample

Output of the sample before the fix:

PWM-based blinky
Calibrating for channel 32...
[00:00:00.010,000] <err> pwm_stm32: Invalid channel (32)
[00:00:00.016,000] <err> pwm_stm32: Invalid channel (32)
[00:00:00.022,000] <err> pwm_stm32: Invalid channel (32)
[00:00:00.028,000] <err> pwm_stm32: Invalid channel (32)
[00:00:00.034,000] <err> pwm_stm32: Invalid channel (32)
[00:00:00.040,000] <err> pwm_stm32: Invalid channel (32)
Error: PWM device does not support a period at least 31250000

After the fix:

PWM-based blinky
Calibrating for channel 3...
Done calibrating; maximum/minimum periods 1000000000/7812500 nsec

Presence of PWM signal after the fix
has been confirmed using a logic analyzer.

Signed-off-by: Maksim Salau <maksim.salau@gmail.com>
2024-01-19 15:11:13 +00:00
Philip Molloy ee36d9659f boards: add initial support for adi_sdp_k1
Add board configuration, dts and pinmux based on the stm32f469i_disco
board.

Signed-off-by: Philip Molloy <philip@philipmolloy.com>
2024-01-19 15:09:53 +00:00
Andrej Butok a691280b12 boards: nxp: Switch MCUBoot FW Update mode to Swap & Move
Switch the default MCUBoot FW Update mode from Swap & Scratch
to more preferable Swap & Move for the rest of NXP MCUs.
Other NXP MCU platforms have been already switched.
Delete the scratch partition. Save RAM & ROM.
Slot 0 has one additional sector, for use with
the swap move algorithm.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2024-01-19 10:31:57 +01:00
Daniel DeGrasse 60a9929aff boards: update generation comments for NXP board pinctrl files
Update generation comment for NXP board pin control files, to point
users to the current pin control scripting files in NXP's HAL. Note that
these files have not been regenerated- the script name simply has
changed, so update these references to avoid confusion.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-01-19 09:51:16 +01:00
Yves Vandervennet 2a8b25660a boards: mimxrt1020_evk: enable linkserver support
- adds the definitions in the board.cmake file
- updates documentation

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-01-18 10:55:39 +01:00
Ian Wakely 715dc68b22 boards: Enabling neopixel on Adafruit Qt Py RP2040
Using the recently added WS2812 PIO driver, this enables the LED on the
QT PY to work with the built in RGB LED examples.

Signed-off-by: Ian Wakely <raveious.irw@gmail.com>
2024-01-18 10:54:55 +01:00
Joakim Andersson a14f42a817 modules: Update source, lib and include path for TF-M interface files
Update source lib and include path for TF-M interface files.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Signed-off-by: Markus Swarowsky <markus.swarowsky@nordicsemi.no>
2024-01-17 16:52:52 +01:00
Markus Swarowsky 11175c3ad3 tf-m: Change NS include path for TF-M 2.0.0
The place where TF-M places its non-secure api header files has changed
Therefore changing it for for all applications that use it.

Signed-off-by: Markus Swarowsky <markus.swarowsky@nordicsemi.no>
2024-01-17 16:52:52 +01:00
Daniel DeGrasse ff4143acfb boards: arm: mimxrt595_evk_cm33: enable DMIC0 channels 0 and 1
Enable L/R channel pair for DMIC0 on the RT595 EVK. The RT595 EVK has a
pair of MEMS microphones wired to PDM channel 0 and 1, so these channels
are configured with appropriate gain and filter settings for the MEMS
microphones.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Co-authored-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-01-17 14:43:52 +01:00
HaiLong Yang be2700a8d9 boards: update stm32h747i_disco display
This update stm32h747i_disco board display config to use ltdc frame
buffer config feature.

For lvgl, by default ltdc frame buffer number set to 0.

Signed-off-by: HaiLong Yang <hailong.yang@brainco.cn>
2024-01-17 14:43:20 +01:00
Martin Jäger db24a8b461 boards: arm: lora_e5_dev_board: add flash partitions
Add flash partitions required to use the board with MCUboot.

Also fix the chosen zephyr,code-partition devicetree node and point it
to slot0_partition.

Signed-off-by: Martin Jäger <martin@libre.solar>
2024-01-17 09:56:10 +01:00
Martin Jäger 8a3ba22f79 boards: arm: nucleo_wl55jc: add flash partitions
Add flash partitions required to use the board with MCUboot.

Also fix the chosen zephyr,code-partition devicetree node and point it
to slot0_partition.

Signed-off-by: Martin Jäger <martin@libre.solar>
2024-01-17 09:56:10 +01:00
Abderrahmane Jarmouni c55593cca3 board: arm: stm32h747i_disco: flashing
Add the possibility to flash stm32h747i_disco board using west
STM32CubeProgrammer runner, for both cores.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-01-17 09:54:29 +01:00
Erwan Gouriou 19cc4779e5 boards: stm32: Remove manual definition of CONFIG_STM32_LPTIM_CLOCK_LSE
CONFIG_STM32_LPTIM_CLOCK_LSE definition is now defined directly from
device tree, remove from boards definition.

Solving systematic warning about CONFIG_STM32_LPTIM_CLOCK_LSE being
selected with unsatisfied dependencies.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-01-16 10:07:02 +00:00
Guillaume Galeazzi d02f86a754 boards: arm: stm32u5a9j-dk: fix switch gpio config
The user switch on the board require a pull down on mcu side and
is active high.

Signed-off-by: Guillaume Galeazzi <guillaume.galeazzi@gmail.com>
2024-01-15 15:10:41 +01:00
Aaron Ye ca8ee0e029 boards: arm: apollo4p_blue_kxr_evb: Move the bt-spi instance to soc dts
Since the pins of bt-spi instance are wired internally in the chip, it will
make sense to move the definition to soc dts so no need for every board
using the chip to redefine the same.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2024-01-15 09:34:40 +00:00
Yves Vandervennet 3848fb82b8 boards: mimxrt1050_evk: enable linkserver support
- adds the definitions in the board.cmake file
 - updates documentation

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-01-12 15:40:53 -05:00
Toon Stegen c860542cf1 boards: suppress dtc warning for SPI bridge on ST
Get rid of warnings

Signed-off-by: Toon Stegen <toon@toostsolutions.be>
2024-01-12 11:25:19 -06:00
Charles Dias 13671813fe boards: arm: Add support for FK7B0M1-VBT6 board
Adds the device trees, Kconfig, and documentation files.

The following features have been confirmed working on hardware:
* LED
* Button
* UART

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2024-01-12 16:03:01 +00:00
Derek Snell 8d8d3a53c0 boards: arm: mimxrt595_evk_cm33: add power profiles
Power profiles enable the app to dynamically switch modes and support
DVFS.  These profiles leverage the PCA9420 PMIC to change the VDDCORE
voltage, and optimize power consumption.  Two runtime profiles are
provided for the application:
* main_clk sourced from FRO192M, VDDCORE at 0.9 V
* main_clk sourced from FRO96M,  VDDCORE at 0.8 V

Both profiles use the FRO, and the FRO is retrimmed with the target
frequency when switching profiles.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2024-01-12 10:00:00 +01:00
Henrik Brix Andersen 735c9e23ec boards: arm: nucleo_g474re: list FDCAN1 as supported in the docs
List FDCAN1 as supported in the board documentation.

Fixes: #67087

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-11 12:52:00 +01:00
Henrik Brix Andersen fcef0607ca boards: arm: nucleo_g0b1re: list FDCAN1 as supported in the docs
List FDCAN1 as supported in the board documentation.

Fixes: #67087

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-11 12:52:00 +01:00
Ettore Chimenti 3557bfeb60 boards: stm32f3_seco_d23: update name and refs
Due to board name change (JUNO -> SBC-3.5-PX30), it is necessary to
update board names, links and references in files and documentation.

Signed-off-by: Ettore Chimenti <ek5.chimenti@gmail.com>
2024-01-11 11:17:18 +00:00
Henrik Brix Andersen d7873e25fd boards: arm: stm32h735g_disco: enable CAN suppport
Enable support for FDCAN1, FDCAN2, and FDCAN3 on the stm32h735g_disco
board.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-10 20:59:55 -05:00
Henrik Brix Andersen bc69500b0e drivers: can: stm32h7: fdcan: add support for domain clock and divider
Add support for specifying the domain/kernel clock along with a common
clock divider for the STM32H7 CAN controller driver via devicetree.

Previously, the driver only supported using the PLL1_Q clock for
domain/kernel clock, but now the driver defaults to the HSE clock, which is
the chip default. Update existing boards to continue to use the PLL1_Q
clock.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-10 20:59:55 -05:00