Commit Graph

227 Commits

Author SHA1 Message Date
Winston Arrocena
51708a760f boards: st: dts: fix slot0_partition address error
The B_L4S5I_IOT01A Discovery kit does not boot up when using --sysbuild.
The error is caused by slot0_partition which is assigned an address of
0x1000 which overlaps with the boot_partition. Setting the address to
0x10000 fixed it.

Signed-off-by: Winston Arrocena <we.arrocena@gmail.com>
2024-11-26 00:11:54 +01:00
Ali Hozhabri
bdef48fde2 boards: st: Enable BLE for nucleo_wb09ke & nucleo_wb05kz
Enable BLE feature for Nucleo-WB09KE and Nucleo-WB05KZ.

Dedicate 32KB and 8KB at the end of flash memory to storage partition on
Nucleo-WB09KE and Nucleo-WB05KZ respectively.

Add ble tag to the both devices yaml file.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2024-11-25 14:42:54 +01:00
Daniel DeGrasse
c565c2c6f6 drivers: mipi-dbi: use string for mipi-mode property
Use a string for the mipi-mode property over an integer value, as this
significantly improves the readability of the MIPI DBI device binding.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-11-23 02:01:47 +01:00
Erwan Gouriou
3583492890 boards: st: nucleo_f429zi: Rework flash partition
STM32F4 series flash layout is as follows:
    	{.pages_count = 4, .pages_size = KB(16)},
    	{.pages_count = 1, .pages_size = KB(64)},
    	{.pages_count = 7, .pages_size = KB(128)}

Since NVS subsys requires 2 sectors of max 32K in total, provide a
flash partition which respects this constraint using 2 of the 16K sectors
in the beginning of the layout.

Provide a compatible flash partition usable with mcuboot, but keep the
storage partition commented as its usage is not compatible with use w/o
mcuboot enabled (in this case main image starts as offset 0 which conflicts
with storage partition).

Note that it isn't possible either to get main image starting directly
in the 128K sectors w/o bootloader as boot flash address can't be
configured.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-11-22 17:43:54 +01:00
Erwan Gouriou
5d2547564a boards: st: nucleo_l152re: Rework storage partition
NVS susbsystem requires a slot covering 2 sectors of flash, which
should be at minimum 8K on L1 series which provides 4K sectors.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-11-22 17:43:54 +01:00
Erwan Gouriou
6fa0bf47b6 boards: st: nucleo_g07xrb: Rework storage partition
NVS susbsystem requires a slot covering 2 sectors of flash, which
should be at minimum 4K on G0 series which provised 2K sectors.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-11-22 17:43:54 +01:00
Erwan Gouriou
ffcaabe84a boards: st: disco_l475_iot1: Rework flash partition
Rework flash partition to provide a storage partition and 2 image slots.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-11-22 17:43:54 +01:00
Erwan Gouriou
cc4b384ad2 boards: st: b_l4s5i_iot01a: Rework flash partition
Rework flash partition to make use of the whole 2M of flash.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-11-22 17:43:54 +01:00
Erwan Gouriou
8da1aa13fc boards: st: nucleo_f207zg: Rework flash partition
STM32F2 series flash layout is as follows:
	{.pages_count = 4, .pages_size = KB(16)},
	{.pages_count = 1, .pages_size = KB(64)},
	{.pages_count = 7, .pages_size = KB(128)}

Since NVS subsys requires 2 sectors of max 32K in total, provide a
flash partition which respects this constraint using 2 of the 16K sectors
in the beginning of the layout.

Provide a compatible flash partition usable with mcuboot, but keep the
storage partition commented as its usage is not compatible with use w/o
mcuboot enabled (in this case main image starts as offset 0 which conflicts
with storage partition).

Note that it isn't possible either to get main image starting directly
in the 128K sectors w/o bootloader as boot flash address can't be
configured.


Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-11-22 17:43:54 +01:00
Francois Ramu
2e2396ded1 boards: st: Fix memory mapping and size for STM32L4plus
Align the total SRAM size for STM32L47x/L48x/L49x/L4Ax
boards. Those MCUs with up to 320 Kbytes SRAM:

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-11-22 17:42:25 +01:00
Francois Ramu
fb152f458b boards: st: Fix memory mapping and size for STM32L47x/8x/9x/ax
Align the total SRAM size for STM32L47x/L48x/L49x/L4Ax
boards. Those MCUs with up to 320 Kbytes SRAM:
    • 96 Kbytes SRAM1 and 32 Kbyte SRAM2 on STM32L47x/L48x.
    • 256 Kbyte SRAM1 and 64 Kbyte SRAM2 on STM32L49x/L4Ax

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-11-22 17:42:25 +01:00
Marcin Niestroj
538753d51b boards: st: nucleo_h533re: configure SPI on Arduino headers
This allows to use the board right away with samples and shields depending
on Arduino SPI.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2024-11-20 15:57:34 -05:00
Yishai Jaffe
a40e900970 boards: stm32f4_disco: Add pwm leds
Add four PWM leds for stm32f4_disco in order to run the
samples/basic/fade_led application.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2024-11-19 09:52:09 -05:00
Dario Binacchi
ed48de2583 boards: st: stm32f429i_disc1: doc: re-work flashing section
The patch modifies the "Programming and Debugging" and "Flashing" sections
to make the documentation clearer and consistent with what is reported for
other ST boards.

Suggested-by: Abderrahmane Jarmouni <git@jarmouni.me>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
2024-11-18 07:26:17 -05:00
Dario Binacchi
3f6978e913 boards: st: stm32f429i_disc1: doc: support LTDC hardware
The building and flashing of the drivers/display and subsys/display/lvgl
examples confirmed that the LTDC peripheral is supported.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
2024-11-18 07:26:17 -05:00
Dario Binacchi
7bca40cced boards: st: stm32f429i_disc1: doc: fix flashing info
The commit e17e54c48f ("boards: stm32: add flashing with stm32cubeprog
for all") did not update the documentation regarding the flashing
section, which no longer uses the OpenOCD runner by default.

Fixes: e17e54c48f
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
2024-11-18 07:26:17 -05:00
Alexander Kozhinov
e68c7f2f73 boards: arm: nucleo_h745zi_q
add fdcan1, fdcan2 and usb_fs DT configurations

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2024-11-16 15:54:27 -05:00
Marcin Niestroj
60dba52859 boards: st: nucleo_h533re: add arduino_{gpio,serial} supported tags
This allows to build samples by twister which depend on 'arduino_gpio'
and/or 'arduino_serial'.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2024-11-16 13:38:18 -05:00
Nidhal BEN OTHMEN
92a7ddfb56 boards: st: Update nucleo_wba55cg dts file
Update nucleo_wba55cg dts file to use pinctrl dtsi file of WBA55
instead of WBA52.

Signed-off-by: Nidhal BEN OTHMEN <nidhal.benothmen@st.com>
2024-11-16 13:32:13 -05:00
Marcin Niestroj
8f14c68660 boards: st: nucleo_u5a5zj_q: configure PD14 as SPI1 nCS
ST ZIO connector is Arduino Uno compatible. Arduino SPI pins are placed on
D10-D13 pins, where D10 is SPI nCS pin. This pin is connected with PD14 of
STM32U5A.

According to schematics of this Nucleo board [1]:

  Due to muxing constrainte, the SPI_NSS is not available as an alternate
  on this IO, so this pin is affected with an I/O function to do the Chip
  Select

This means that software control of GPIO is needed to make use of this SPI
interface on regular SPI signals on Arduino connector. Reconfigure
SPI1 (used as Arduino SPI) interface to account for that.

Note that previously configured PE12 is only available on ST ZIO and ST
Morpho connectors, not on Arduino connector.

Update documentation as well, which was referencing PA4 as nCS signal (used
on some other Nucleo boards).

[1] https://www.st.com/resource/en/schematic_pack/mb1549-u5a5ziq-c04-schematic.pdf

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2024-11-16 13:31:53 -05:00
Nidhal BEN OTHMEN
a199f7f9d3 tests: bluetooth: tester: Fix bluetooth tester for nucleo_wba55cg
Fix compilation error by specifying usart1 to be used for uart-pipe.
Add a board-specific configuration file to disable the console,
so, the usart1 will be used only for bluetooth and to specify
the BT_HCI_TX_STACK_SIZE.

Signed-off-by: Nidhal BEN OTHMEN <nidhal.benothmen@st.com>
2024-11-16 13:29:39 -05:00
Erwan Gouriou
b2c9db7606 boards: st: stm32l5: Fix TF-M by restricting Libc malloc aera
By default, libc malloc allocated area is using all available RAM.
For some yet unknown reason, this conflicts with TF-M resulting in a
Hard Fault before jumping in the non secure application.

For now, define a Libc malloc area defined to 2048 which is the default in
some other typical applications (ARMv7 targets enabling USERSPACE).

Fixes #77847

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-11-08 09:24:55 -06:00
Valerio Setti
f4b7d151c5 board: remove references to TinyCrypt
Following the deprecation of TinyCrypt (#79566) we remove tags
referring to it.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2024-11-05 13:44:20 -06:00
Tomáš Juřena
0911003c11 boards: st: stm32h745i_disco: m7: Fix PHY address
According to the datasheet, the PHY address is 0x1. When changed to this
value the PHY id is correctly read.

Before:
```
[00:00:00.602,000] <err> phy_mii: No PHY found at address 0
```

After:
```
[00:00:00.051,000] <inf> phy_mii: PHY (1) ID 7C111
```

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
2024-11-05 10:54:58 -06:00
Philipp Steiner
ec7d0c8e6f doc: add missing Ethernet Support for Nucleo H563ZI & STM32H573I-DK
I recently found out, that the Ethernet support for the boards Nucleo
H563ZI and STM32H573I-DK is already available but it isn't mentioned
in the "Supported Features" section.

Signed-off-by: Philipp Steiner <philipp.steiner1987@gmail.com>
2024-11-04 13:42:09 -06:00
Mathieu Choplain
5dd9fda746 boards: st: wb0: add ADC to supported feature set
Add ADC to supported feature set on existing STM32WB0 boards.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-10-27 01:08:25 +02:00
Mathieu Choplain
c3e522d918 boards: st: wb0: add DMA to supported feature set
Add DMA to supported feature set on existing STM32WB0 boards.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-10-25 14:22:06 +02:00
Jordan Yates
e876c5d487 boards: remove HCI_SPI defaults
The `HCI_SPI` symbol is now automatically selected from devicetree,
removing the need for board specific defaults.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2024-10-25 08:55:07 +02:00
Benjamin Cabé
a43009079f boards: st: adopt new zephyr:board directive and role
This updates the documentation of all the STM32 boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Armando Visconti
f43816279c boards: st: steval_stwinbx1: add ilps22qs support
Add support to ILPS22QS barometer.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2024-10-23 16:52:57 +02:00
Abderrahmane Jarmouni
c3fd40d59c boards: st: stm32h750b-dk: enable usart1
Enable USART1 that can be used with external periphs via Arduino pins.
LPUART1 can also be used on the same pins.
Tested with tests/drivers/uart_elementary

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
2024-10-22 20:41:13 +02:00
Erwan Gouriou
5ca4624f01 boards: st: nucleo_wba55cg: Fix west debug
To enable breakpoints on this board, remove the `dgdb_memory_map disable`,
which is a leftover from early development steps.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-10-17 15:36:31 -04:00
Mathieu Choplain
454efc2338 boards: st: nucleo_wb05kz: add SPI and I2C
Add I2C and SPI configuration to board DTS and mark as supported in YAML.
Also add support for arduino_i2c and arduino_spi.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-10-17 10:49:34 -04:00
Mathieu Choplain
7d3fb11989 boards: st: nucleo_wb09ke: add SPI and I2C
Add I2C and SPI configuration to board DTS and mark as supported in YAML.
Also add support for arduino_i2c and arduino_spi.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-10-17 10:49:34 -04:00
Klaus Nagel
03959a20f7 boards: st: nucleo_g431kb: add support for nucleo g431kb
Add support for the nucleo g431kb Board.

Signed-off-by: Klaus Nagel <nagelkl01@gmail.com>
2024-10-15 13:53:52 +02:00
Henrik Brix Andersen
164447a3c6 boards: st: stm32h745i_disco: m7: remove CAN sample-point properties
Remove explicit CAN controller sample-point/sample-point-data values and
instead rely on the defaults, as they change with the configured bitrate.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-10-11 13:14:40 -04:00
Lucas Dietrich
d056455fce dts: Enable AES node in nucleo_l4a6zg.dts
Activate AES node in nucleo_l4a6zg.dts to enable testing of the
st,stm32l4-aes driver in CI.

Signed-off-by: Lucas Dietrich <ld.adecy@gmail.com>
2024-10-11 09:28:12 +02:00
Benjamin Cabé
05d59f7207 boards: Set full_name for all boards
Full name was set based on the information available either in board
documentation or in Twister files.
Whenever applicable, vendor name was dropped from the full name so that
all boards have a consistent naming scheme.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-10 20:22:21 -04:00
Fabrice DJIATSA
18e568d5c7 boards : st: add U0 boards images to documentation
add references to images of boards already present in the
index.rst files (for nucleo_u083rc, nucleo_u031r8, stm32u083c_dk)
so that they can be displayed in the documentation.


Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-10-10 14:57:40 -04:00
Dominik Lau
c344cca8e9 boards: stm32f429i_disc1: inverted touch controller axes
This inverts x and y axes as reported by stmpe811 driver for stm32f429i.

Signed-off-by: Dominik Lau <dlau@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-10-09 18:11:21 +01:00
Dominik Lau
b38a4ccbdb boards: added touch controller to the /chosen node
This adds zephyr,touch property to boards with touch controllers, analogous
to `zephyr,display`.

Signed-off-by: Dominik Lau <dlau@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-10-09 18:11:21 +01:00
Abderrahmane Jarmouni
7cd87ea1f7 boards: stm32h750b_dk: update doc & board file
Update board's doc & yaml file with enabled features.

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
2024-10-08 17:01:01 +02:00
Guillaume Gautier
111b2bb150 boards: st: add adc clock source if asynchronous clock is used
For all STM32 boards that define an asynchronous clock for ADC, specify
which clock is to be used in the clock node.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2024-10-07 13:40:06 +02:00
Francois Ramu
8c0026a6a6 boards: st: nucleo_h7 boards correct LD2 on PE1 pin
The stm32h7 nucleo 144 boards (ref MB1364)
have the LD2 on PE1 pin (not PB7). This commit change this
in the doc. Board DTS are correct.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2024-10-03 17:09:16 +01:00
Abderrahmane Jarmouni
77f025dd19 boards: st: update doc
Update forgotten boards following PR 75284

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
2024-09-30 17:11:04 +01:00
Abderrahmane Jarmouni
a4169e6141 boards: st: update board.cmake
Update forgotten boards following PR 75284

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
2024-09-30 17:11:04 +01:00
Dominik Lau
455b45780d tests: drivers: dma: run dma tests on stm32f746g_disco
enabled dma loop transfer and channel blend to run
on stm32f746g_disco

Signed-off-by: Dominik Lau <dlau@internships.antmicro.com>
2024-09-30 17:10:56 +01:00
Fabrice DJIATSA
293eb22d62 boards: st: add adc node in dts file and update docs
-enable adc in nucleo_u031r8, stm32u083c_dk and nucleo_u083rc
- add adc as new supported interface in docs
- update yaml files

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-09-27 10:55:56 +01:00
Johann Fischer
ef784cd3fd boards: remove test feature usb_cdc and usb
These test features are not required and are not used in any USB samples
or tests.

Follow-up on commit 0809b75b42 ("boards: remove test feature usb_cdc")

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-09-25 12:59:04 +02:00
Alexander Kozhinov
0f576b047f copyright: change email
Change my email copyright address since unavailability of old one

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2024-09-25 04:04:03 -04:00