Commit Graph

174 Commits

Author SHA1 Message Date
Erwan Gouriou
694076c349 boards: st: nucleo_wb0: Remove arduino_gpio compatibility declaration
gpio_basic_api test configuration drivers.gpio.2pin_arduino expects
arduino pins D2 and D3 to be available but they aren't declared in
arduino connectors for this board as not available by default.

Remove arduino_gpio compatibility declaration for now.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-09-19 15:13:34 +02:00
Fabrice DJIATSA
0df9e2536b boards: st: add die_temp or digi node
update die_temp node for some stm32 boards,
need that for run sensor die_temp_polling samples.
don't need to modify sample.yaml

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-09-17 17:44:39 +01:00
Fabrice DJIATSA
1ae6e61ec0 boards: st: add dac node in dts file and update docs
-enable dac in nucleo_u031r8, stm32u083c_dk and nucleo_u083rc
- add dac as new supported interface in docs
- update yaml files

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-09-16 20:19:01 +02:00
Johann Fischer
e06c7fcbff boards: nucleo_h7a3zi_q: do not force USB_DC_HAS_HS_SUPPORT
SoC and the board have only full speed phy.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-09-16 20:18:26 +02:00
Benjamin Cabé
9a16b93868 samples: hello_world: use zephyr:code-sample directive
Adds missing code-sample directive to the Hello World sample in
preparation for upcoming changes to the Zephyr documentation that will
be leveraging the provided description and metadata.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-16 10:05:18 +02:00
Benjamin Cabé
c53e8e7086 boards: doc: reference tfm_ipc sample using zephyr:code-sample: role
tfm_ipc sample is now using the zephyr:code-sample directive so it should
be referenced with the respective role, not :ref: anymore.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-13 13:35:37 -05:00
Benjamin Cabé
df294e34e1 doc: sphinx-lint: fix bad usage of "default role"
Fixes bad usage of single backticks in lieu of double backticks for
rendering inline literals, or simple '*' for italics.

When appropriate, a better construct than double backticks has been
selected (ex. :file:, :kconfig:option:, :c:func:, ...), or proper :ref:
have been used if the original intention was to have a link.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-13 11:42:51 -05:00
Benjamin Cabé
a755f0e54a samples: boards: stm32: use zephyr:code-sample directive
Adds missing code-sample directive to all the STM32 samples in
preparation for upcoming changes to the Zephyr documentation that will
be leveraging the provided description and metadata.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-13 13:43:09 +02:00
Chris Friedt
3a07c9fbdf boards: st: nucleo_l496zg: add zephyr_udc0 and hsi48 dt nodes
Add Zephyr UDC (USB Device Class) and clk_hsi48 (hi-speed
internal 48 MHz) devicetree nodes so that the nucleo_l496zg
board works with other USB DC samples and tests.

Update the board yaml description to indicate usb and usb
device roles are supported.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-09-12 14:48:16 +02:00
Thomas Stranger
02afc352e3 boards: st: nucleo_g0b1re: update pyocd target
Update the pyocd runner configuration of the nucleo_g0b1re
to use the correct target.

Pyocd had issues only just after the release of the G0B1/C1 line.
This issue has already been fixed a few releases ago.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2024-09-12 10:03:58 +02:00
Mathieu Choplain
30abd595d0 boards: st: nucleo_wb09ke: add support for Nucleo-WB09KE board
This commit adds support for the ST Nucleo-WB09KE board.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-09-12 10:03:37 +02:00
Mathieu Choplain
2867aaaa16 boards: st: nucleo_wb05kz: add support for Nucleo-WB05KZ board
Add support for the STMicroelectronics Nucleo-WB05KZ board.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-09-12 10:03:37 +02:00
Fabrice DJIATSA
662adae374 boards: st: add i2c nodes in dts and update docs
-enable i2c in nucleo_u031r8, nucleo_u083rc and stm32u083c_dk
- update documentations

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-09-11 13:59:54 -04:00
Abderrahmane Jarmouni
a46cef4422 boards: move stm32f103_mini to others
move stm32f103_mini board from ST to Others as it is not an official
ST board.

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
2024-09-09 15:25:31 +03:00
Abderrahmane Jarmouni
05a96526a5 boards: stm32: doc: update flashing section
Update all STM32 official boards Doc Flashing section.
Correct some typos and remove outdated information.

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
2024-09-09 15:25:31 +03:00
Abderrahmane Jarmouni
e17e54c48f boards: stm32: add flashing with stm32cubeprog for all
Add STM32CubeProgrammer where it is not available, & make it
default flashing method by placing it 1st in board.cmake

Before this change, the west runner that's selected when calling
'westflash' without the '--runner ...' option is kind of arbitrary
& depends on which runner is 1st in board.cmake file.

Another reason this change is needed is that STM32CubeProg is the only
available way to check/modify Option Bytes, and to flash code to
external Flash on many STM32 boards.

This change does not affect 'west debug' behavior, which defaults to
the debugger (OpenOCD/JLink) that is included first in board.cmake

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
2024-09-09 15:25:31 +03:00
Erwan Gouriou
16b194a067 boards: stm32: Remove explicit CLOCK_CONTROL setting
`CLOCK_CONTROL` subsystem being selected directly at family level,
remove it from individual board configurations.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-09-06 11:25:43 -04:00
Benjamin Cabé
d23d19d7f0 samples: bluetooth: use zephyr:code-sample directive
Describe the samples using code-sample directive in preparation for
upcoming changes to the Zephyr documentation that will be leveraging
the provided description and metadata.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-05 16:58:32 -04:00
Erwan Gouriou
c3c7e513c4 boards: stm32 based: Remove useless CONFIG_PINCTRL assignment
PINCTRL should not be set per board, but rather depending on drivers needs.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-09-03 14:40:55 +01:00
Erwan Gouriou
e6a296bbe4 boards: st: Remove useless CONFIG_PINCTRL assignment
PINCTRL should not be set per board, but rather depending on drivers needs.


Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-09-03 14:40:55 +01:00
Fabrice DJIATSA
7fd3a785a3 boards: st: add nucleo_u031r8 board support
add board support for nucleo_u031r8

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-09-02 11:53:47 +02:00
Thomas Stranger
cc36e40357 boards: st: stm32h5 nucleo boards: support backup sram
Mark backup sram as supported and document it.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2024-09-02 11:52:03 +02:00
Erwan Gouriou
63f31261d1 boards: st: Fix arduino_gpio support
On stm32h735g_disco, `arduino_gpio` is declared while the connector is not
actually described.
On stm32h750b_dk, connector description was simply not included.

All these are blocking tests trying to make profit of arduino gpio
connectors.
Fix these.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-09-02 11:50:54 +02:00
Benedikt Spranger
d6ef80ca3b boards: st: nucleo_h745zi_q: Wire up SPI tests
The previously added overlay can now be used. Wire up SPI tests for the
Nucleo h745zi-q board.

Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
2024-08-30 09:09:10 +02:00
Benedikt Spranger
7775a08739 tests: drivers: spi loopback testing on the nucleo_h745zi_q boards
Connect D12(PA6) & D22(PB5) pins on the board to pass the test.

Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Reviewed-by: Vasilij Strassheim <vasilij.strassheim@linutronix.de>
2024-08-30 09:09:10 +02:00
Benedikt Spranger
205e971f29 boards: st: nucleo_h745zi_q: Enable SPI on Arduino extention
The board is capable to serve SPI on the Arduino extention header.
Configure and enable SPI to work on the extention.

Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
2024-08-30 09:09:10 +02:00
Erwan Gouriou
2597a93b4b boards: nucleo_wb55cg: Set partition for swap f/w update method
Flash partition was defining a scratch area which was implying the use
of mcuboot BOOT_SWAP_USING_SCRATCH f/w update method.
By removing this partition, mcuboot will automatically use
BOOT_PREFER_SWAP_MOVE method which should be prefered as it levels
flash wear. Incidentally increase slot1 by one sector (as this is
preferred for the swap method).

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-08-29 18:04:04 +02:00
Erwan Gouriou
40e1b890f2 boards: nucleo_wba55cg: Update blob fetch command
Following addition of a `name` to hal_stm32 module, the command to fetch
blobs that are required to build BLE applications on STM32WBA socs is now
changed from `west blob fetch stm32` to `west blob fetch hal_stm32`.
Update documentation and warn users in migration guide.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-08-29 11:37:30 +02:00
Henrik Brix Andersen
15f5e2de07 boards: st: nucleo_h723zg: enable fdcan1
Enable FDCAN1 on the ST Nucleo H723ZG development board.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2024-08-27 12:45:15 +02:00
IBEN EL HADJ MESSAOUD Marwa
4215078617 boards: st: Add stm32u083c_dk board support
Add board support for stm32u083c_dk

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
2024-08-26 11:28:04 -04:00
IBEN EL HADJ MESSAOUD Marwa
0b5e915b9d boards: st: Add nucleo_u083rc board support
Add board support for nucleo_u083rc

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
2024-08-26 11:28:04 -04:00
Francois Ramu
62f9b53960 boards: st: stm32 disco kit with quad-spi flash supports reset cmd
Add the support of the reset-cmd property for the stm32h7 disco kits
where the quad-spi flash is mt25ql512ab
This device accepts the SPI_NOR_CMD_RESET_En/SPI_NOR_CMD_RESET_MEM

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-08-20 14:52:14 -04:00
Mike Banducci
88954c3fd9 boards: stm32: Add nucleo_h755zi_q support
Add support for the ST nucleo h755zi_q board which
uses an stm32h755 in the st nucleo-144 board
format.

Signed-off-by: Mike Banducci <michael.banducci@sandc.com>
2024-08-19 10:01:39 -04:00
Miguel Gazquez
c04352aa98 boards: stm32l562e-dk: add st7789v screen controller
This commit add the description of the fmc in the SoC stm32l5, and the
description of the screen controller st7789v in the board stm32l562e-dk.

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2024-08-17 08:56:04 -04:00
Miguel Gazquez
8d74553053 drivers: mipi_dbi: add driver for st,stm32-fmc
Add support for using the stm32 fmc to interact with a display
controller, using Intel 8080 protocol with a 16 bits parallel bus.

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2024-08-17 08:56:04 -04:00
Dominik Lau
2f64e7c5ba boards/st/stm32f429i_disc1: add pyocd support
This commit enables pyOCD support for the STM32F429I Discovery board.

Signed-off-by: Dominik Lau <dlau@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-08-15 12:10:23 -04:00
Armando Visconti
f36b887837 boards: st: steval_stwinbx1: Improve sensor support
Add few other sensors support to steval_stwinbx1 board:

 - IIS2MDC: 3-axis magnetometer
 - ISM330DHCX: IMU, 3D accelerometer and 3D gyroscope
 - IIS2DLPC: 3-axis accelerometer
 - IIS2ICLX: 2-axis digital inclinometer

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2024-08-13 14:56:39 +02:00
Marcin Niestroj
05c97732c4 boards: nucleo_h533re: configure USB
Configure USB interface in devicetree, so it can be used with USB samples.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2024-08-07 07:17:38 -04:00
Tobias Frauenschläger
f4202faad5 Add: Support for pyOCD for STM32H43 nucleo board
Updated `board.cmake` and documentation.

Signed-off-by: Tobias Frauenschläger <t.frauenschlaeger@me.com>
2024-08-06 17:15:34 -04:00
Joakim Andersson
816b61552a boards: nucleo_u5a5zj_q: Fix storage address
Fix start address of storage partition.
Address did not match reg address of devicetree node, and the size of
the storage partition would make it exceed flash region.

Signed-off-by: Joakim Andersson <joerchan@gmail.com>
2024-08-02 18:37:32 -05:00
Mathieu Choplain
bbfe499874 boards: nucleo_h753zi: disable Vbat sensor
This commit disables the Vbat sensor on the Nucleo-H753ZI
board, as the corresponding ADC is not enabled.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-08-01 16:43:51 +02:00
Mathieu Choplain
0a16d6fc2d boards: stm32h735g_disco: disable Vbat sensor
This commit disables the Vbat sensor on the STM32H735G
Discovery board, as the corresponding ADC is not enabled.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-08-01 16:43:51 +02:00
Chen Xingyu
e503799f3d boards: nucleo_f030r8: Utilize probe-rs
This commit introduce probe-rs runner to nucleo_f030r8 board for
demonstration.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2024-08-01 12:39:28 +02:00
Francois Ramu
edcc673d9d boards: st: stm32u5a9 disco kit has a OTG HS peripheral
Enable the USB OTG HS node of the stm32u5a9j_dk board

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-08-01 12:36:58 +02:00
Armando Visconti
cdce68e4c8 boards: st: sensortile_box_pro: remove hts221 sensor
Remove HTS221 sensor support from sensortile_box_pro as it has been ruled
out from final version. In fact, HTS221 is in the process of being
terminated and is not recommended for new design. The candidate replacement
is SHT40 from Sensirion, which is available also as a DIL24 adapter, which
can be plugged on sensortile_box_pro board.

See SENSEVAL-SHT4XV1:
https://www.st.com/en/partner-products-and-services/senseval-sht4xv1.html

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2024-08-01 09:12:26 +01:00
Francois Ramu
f408184b01 boards: st: stm32h750 disco kit rd/wr the sdram2
Set the Mode Register definition of the SDRAM command Mode
register to 0x230 when programming the CAS_LATENCY
of the external memory mode.
Adjust the delay on read data path.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-08-01 09:09:34 +01:00
Sandra Schmidt
a5a57d829e boards: st: add nucleo_h503rb support
Add board support for nucleo_h503rb.
STM32CubeProgrammer and pyocd are supported as runner.

The following samples were tested:
- samples/hello_world
- samples/basic/blinky
- samples/basic/button
- samples/subsys/task_wdt

Signed-off-by: Sandra Schmidt <sandra.schmidt@arrow.com>
2024-07-31 12:55:50 +02:00
Benjamin Cabé
0f05f58bf5 boards: disco_l475_iot1: fix arduino_i2c config
disco l475 board exposes I2C3 on standard Arduino Uno pins A4/A5,
not I2C1.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-30 18:28:59 +01:00
Lasse Fröhner
08ad963589 boards: st: nucleo_g431rb: fix user button polarity
The B1 user button has an active-high polarity, but was configured
active-low in the DTS file. This commit fixes that.

Fixes #75867

Signed-off-by: Lasse Fröhner <lasse@starcopter.com>
2024-07-30 18:28:26 +01:00
Francois Ramu
a4400dbe6c boards: st: stm32h5 boards has openOCD runner from upstream
Define the support /openocd.cfg and the board.cmake to add the openOCD
as runner for the stm32h5x boards.
Note that the openOCD is hack downloaded and build from
from https://github.com/STMicroelectronics/OpenOCD

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-07-30 18:27:31 +01:00