Commit Graph

282 Commits

Author SHA1 Message Date
Dario Binacchi
49c9c8bf3e boards: stm32f769i_disco: drop led_4 node
The LED 4 is connected to the STMPS2151STR on the FAULT output pin which
is pulled low, automatically turning on the LED, in case of current
limit faults. Therefore, pin D4 should not be configured as a LED but
rather as an input to detect the fault condition.

Additionally, it should be noted that the board's silkscreen labels this
LED as "OC" (OverCurrent) rather than usr{1,2,3}, as is the case for the
other LEDs described in the DTS.

Fixes: cc5ae49133
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
2025-02-12 16:03:30 +01:00
Lubos Koudelka
44dfa8b2f4 boards: nucleo_wba55cg: Add timer3 and pwmleds configuration
Added timer3 and pwmleds configuration to the nucleo_wba55cg board DTS
file. This includes setting the prescaler, enabling the pwm3 node with the
appropriate pin control settings, and configuring the pwmleds node with
green_pwm_led.

Signed-off-by: Lubos Koudelka <lubos.koudelka@st.com>
2025-02-12 12:32:45 +01:00
Lubos Koudelka
08e44c0658 boards: st: nucleo_wba55cg: Add USART2 definition
Added the USART2 definition to the nucleo_wba55cg device tree source file.
This enables the use of USART2 on the nucleo_wba55cg board.

Signed-off-by: Lubos Koudelka <lubos.koudelka@st.com>
2025-02-12 09:39:09 +01:00
Guillaume Gautier
ebce302541 boards: st: stm32n6: enable dma for stm32n6 boards
Update documentation to indicate that DMA is available on Nucleo N657x0-Q
and STM32N6570 DK boards.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-02-11 03:07:12 +01:00
Guillaume Gautier
07fec01141 boards: st: stm32n6: enable mpu for stm32n6 boards
Enable MPU and HW Stack Protection for Nucleo N657x0-Q and STM32N6570 DK
boards.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-02-11 03:07:12 +01:00
Charles Dias
435b6f6cb9 boards: shields: add suport for st_b_cams_omv_mb1683
Add support for ST B-CAMS-OMV MB1683 shield.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2025-02-06 14:44:54 +01:00
Fabrice DJIATSA
a1bd7cf7b0 tests: drivers: adc: adc_api: update adc_api test
- add nucleo_c071rb overlay file to setup adc node

- The C0 serie has two HSI clock sources, HSI48 and HSI48USB.
To make it simpler and compatible with the existing clock driver,
HSI48 is renamed to HSI (node already present in the stm32c0.dtsi).
HSI48USB will correspond to HSI48.
With SYNC mode, we have an overrun on the ADC, so we configure it
in ASYNC mode.

- Update STM32 HSI macro according to changes

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-02-06 10:41:45 +01:00
Fabrice DJIATSA
5c1b7d096a boards: st: update dts properties
- Change SPI pin signals due to conflict with USB pins
(see UM3353, section 6.10).
- Add i2C2 node needed for I2C test driver.
- Add adc as supported peripheral in the board Yaml file.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-02-06 10:41:45 +01:00
Erwan Gouriou
b5c5ba8c83 boards: stm32n6: Remove xtool support mention
Remove xtool support


Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-02-03 19:56:49 +01:00
Erwan Gouriou
39f315129b boards: st: nucleo_n657x0_q: Fix full_name.
Fix yaml full_name to match ST official reference.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-02-03 19:56:49 +01:00
Erwan Gouriou
17c73039ce boards: stm32n6: Document sb variant and testing using twister
Update stm32n6 based boards documentation to reflect addition
of new sb variant and how it could be used for twister tests automation.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-02-03 19:56:49 +01:00
Erwan Gouriou
d37a365fe4 boards: nucleo_n657x0_q: Introduce variant for serial boot
Introduce a variant to allow loading and running firmware using
BootROM serial boot configuration.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-02-03 19:56:49 +01:00
Erwan Gouriou
de426f2f90 boards: stm32n6570_dk: Introduce variant for serial boot
Introduce a variant to allow loading and running firmware using
BootROM serial boot configuration.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-02-03 19:56:49 +01:00
Erwan Gouriou
06a4f1aabd boards: stm32n6: Fix flash configuration for twister
On STM32N6 based series, there is no flash available and tests
are performed using load and run in RAM.
From twister point of view, we should consider a flash is available
with the same size as RAM.
(We may tune these values later as the RAM will actually be shared
between code and variables).

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-02-03 19:56:49 +01:00
Erwan Gouriou
4ea07702b2 boards: st: Add script to perform power off/power
When flashing STM32N6 in USB-DFU mode, as required when running test
automation using twister, it is first required to power-off/power-on the
board to set board ready for USB-DFU (thanks to specific BootROM
configuration).
Provide a script that performs this operation using STM32CubeProgrammer.
This scipt could be provided in twister map.yaml file on 'pre_script'
property of board entry.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-02-03 19:56:49 +01:00
Grzegorz Swiderski
eec12878f5 boards: st: nucleo_f072rb: Fix twister identifier
Due to a copy-paste error, it duplicated `nucleo_f070rb`.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-01-31 16:10:30 +01:00
Benjamin Cabé
653e71787d boards: fix metadata and docs for recently added boards
Fix some missing/erroneous docs and metadata for a few
boards post v4.0.0 so that they make the most of the
new zephyr-board Sphinx directive & role.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-01-28 18:23:10 +01:00
Erwan Gouriou
0d4ae12dbc boards: st: Add support for the nucleo_n657x0_q
Add support for the nucleo_n657x0_q board.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-01-28 18:14:45 +01:00
Guillaume Gautier
865fbbc781 boards: st: stm32n6570_dk: add support for stm32n6570_dk board
Add support for STM32N657 DK board.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-01-28 18:14:45 +01:00
Abderrahmane JARMOUNI
ea42b708b3 boards: stm32h750b-dk: add memory partitions for mcuboot
Add memory partitions for mcuboot and storage

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-01-24 19:16:28 +01:00
Alain Volmat
749252e34a board: st: add joystick support on stm32l4r9i_disco
Add nodes describing the joystick arrows wired to the MFX
gpio controller.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-01-24 19:15:46 +01:00
Alain Volmat
03ab40fca7 board: st: add description of orange led on stm32l4r9i_disco
The stm32l4r9i_disco has a 2nd LED (Orange) which can be controlled
via the mfx gpio controller.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-01-24 19:15:46 +01:00
Alain Volmat
be295692e2 board: st: add mfx based gpio into the stm32l4r9i_disco
Add node for the mfx gpio controller available via the i2c1 bus.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-01-24 19:15:46 +01:00
Khaoula Bidani
6fd8a453d9 boards: st: doc: clean up mbed and IDEs mentions
Clean up mbed and IDEs mentions of the st boards.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-01-23 19:23:09 +01:00
Alex Fabre
fa4ffc234c boards: st: nucleo_f072rb: add support for Nucleo-F072RB board
Add support for the STMicroelectronics Nucleo-F072RB board.

Signed-off-by: Alex Fabre <alex.fabre@rtone.fr>
2025-01-20 11:26:55 +01:00
Kevin TANG
daf7594a69 boards: st: nucleo_wba55cg: change OpenOCD reset option
Remove "srst_only" reset option to avoid error after flashing program

Signed-off-by: Kevin TANG <kevin.tang@free.fr>
2025-01-20 09:20:50 +01:00
Francois Ramu
8a305df732 boards: st: remove the pre_dt_board wihout with ospi node
Since the ospi@ node does not exist anymore for the stm32u5 device
there is no more need for this pre_dt_board.cmake file.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-01-17 19:43:06 +01:00
Francois Ramu
54ecd18fbe boards: st: stm32g0xx nucleo fix morpho connector definition
On the nucleo_g071rb , nucleo_g070rb and nucleo_g0b1re boards,
the CN7 MORPHO_L_9 to 11 pin are not correctly defined
in the st_morpho_connector.dtsi. This PR is fixing this.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-01-17 13:54:48 +01:00
Stephanos Ioannidis
fe87abe0b9 boards: Remove 'xtools' toolchain variant references
This commit removes all references to the `xtools` toolchain variant in the
board YAML files.

Note that the `xtools` toolchain variant has been deprecated since Zephyr
v3.3.0 and now removed.

The removal process was automated using the following command line:

  git grep -l xtools -- boards/*.{yml,yaml} | \
  xargs -n 1 -P $(nproc) \
  yq -i 'del(.toolchain[] | select(. == "xtools"))'

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2025-01-17 10:50:07 +01:00
TOKITA Hiroshi
ecefb5de5d drivers: input: ft5336: Enable interrupts in conjunction with DT config
Enabling `CONFIG_INPUT_FT5336_INTERRUPT` if the ft5336 node in DT
has `int-gpios` property.

As a result of this change, some boards can eliminate lines that
explicitly configure `CONFIG_INPUT_FT5336_INTERRUPT`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-01-15 15:04:13 +01:00
Mathieu Choplain
5b31aca5e2 boards: st: nucleo_wb07cc: add PWM support and LED
Add the PWM LED to Nucleo-WB07CC board and mark as compatible with PWM.
Also mark counters as supported (but don't enable by default).

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-01-14 20:49:30 +01:00
Mathieu Choplain
784629b815 boards: st: nucleo_wb05kz: add PWM support and LED
Add the PWM LED to Nucleo-WB05KZ board and mark as compatible with PWM.
Also mark counters as supported (but don't enable by default).

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-01-14 20:49:30 +01:00
Mathieu Choplain
ba212fdca6 boards: st: nucleo_wb09ke: add PWM support and LED
Add the PWM LED to Nucleo-WB09KE board and mark as compatible with PWM.
Also mark counters as supported (but don't enable by default).

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-01-14 20:49:30 +01:00
Mathieu Choplain
3f25a14b7c boards: st: nucleo_wb07cc: add support for Nucleo-WB07CC board
Add support for the STMicroelectronics Nucleo-WB07CC board.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-01-09 15:48:59 +01:00
Fabian Blatz
910ec595a0 boards: stm32h7b3i_dk: Move LV_DRAW_DMA2D_HAL_INCLUDE to the soc
Moves the LV_DRAW_DMA2D_HAL_INCLUDE to the soc instead of the development
kit since the hal include is the same across all boards using the soc.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-01-08 23:49:52 +01:00
Haiyue Wang
f9bff7f32f modules: lvgl: Rename the VDB custom section Kconfig name
There are 4 Kconfig names about the "Draw Buffer". Rename 'VBD' to 'VDB'
in Kconfig option 'LV_Z_*VBD*_CUSTOM_SECTION' to make name consistent.

config LV_Z_VDB_ALIGN
	int "Rending buffer alignment"

config LV_Z_VBD_CUSTOM_SECTION
	bool "Link rendering buffers to custom section"

config LV_Z_DOUBLE_VDB
	bool "Use two rendering buffers"

config LV_Z_VDB_SIZE
	int "Rendering buffer size"
	default 100 if LV_Z_FULL_REFRESH

And the draw buffer definition is now:

	static uint8_t buf0[BUFFER_SIZE]
	#ifdef CONFIG_LV_Z_VDB_CUSTOM_SECTION
		Z_GENERIC_SECTION(.lvgl_buf)
	#endif
			__aligned(CONFIG_LV_Z_VDB_ALIGN);

Signed-off-by: Haiyue Wang <haiyuewa@163.com>
2025-01-06 17:13:29 +00:00
Arif Balik
afa54a23f3 boards: st: fix partition size for nucleo_l452re
Fixed wrong partitions size for nucleo_l452re
which should be 16KB

Signed-off-by: Arif Balik <arifbalik@outlook.com>
2025-01-06 17:13:17 +00:00
Luc BEAUFILS
6f240ef18c doc: stm32l562e_dk: add a screen and touch panel section
The screen and touch panel are working with zephyr. Add it in the board
documentation.

Signed-off-by: Luc BEAUFILS <luc.beaufils@savoirfairelinux.com>
2025-01-06 16:10:42 +01:00
Luc BEAUFILS
fe41896475 boards: stm32l562e_dk: add support for touchscreen
The stm32l562e_dk board uses a ft6x06 i2c controller for the touchscreen.
The zephyr driver ft5336 can control it.

Signed-off-by: Luc BEAUFILS <luc.beaufils@savoirfairelinux.com>
2025-01-06 16:10:42 +01:00
Francois Ramu
00e9195f45 boards: st: nucleo_h7s3l78 nucleo144 board
Add the nucleo_h7s3l8 board from STMicroelectronics
This Nucleo 144 board has stm32h7s3L8 mcu.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-01-06 16:10:27 +01:00
Fabian Blatz
1279374e91 boards: stm32h7b3i_dk: Rename LVGL DMA2D Kconfig symbols
Rename the defaulted DMA2D Kconfig symbols to match the new upstream
nomenclature.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-01-04 14:17:10 +01:00
F. Ramu
8b403ba641 boards: st: introduce new STM32F413H-DISCO discovery kit
Add the stm32f413h_disco target to the boards/st
Add the PLLi2S when needed by the USB or SDMMC or RNG.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-01-02 12:35:32 +01:00
Francois RAMU
65997ce856 boards: st: stm32f412 disco set the correct board name
Fix the board name in the stm32F412g_disco index
description file

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-01-02 12:35:32 +01:00
Fabrice DJIATSA
c122cf3bdb boards: st: add support for nucleo_c071rb board
- add devicetree for nucleo_c071rb
- add board configurations files
- add documentation

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-12-20 12:37:00 +01:00
Arif Balik
f5305717c4 boards: st: fix twister test failure for stm32u083c_dk
Test "drivers.gpio.1pin.aw9523b" fails on stm32u083c_dk platform
because "arduino_i2c" definition does not exists in the device tree
of stm32u083c_dk board. Also updated the baord yaml

Signed-off-by: Arif Balik <arifbalik@outlook.com>
2024-12-20 10:19:38 +01:00
Yishai Jaffe
2b4a83227c dts: arm: st: added sensor aliases
Added aliases to nucleo_l4r5zi/stm32f4_disco/stm32f411e_disco for
die_temp die_temp/vref/vbat nodes so that the die_temp_polling
and soc_voltage samples work for them.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2024-12-19 21:53:28 +01:00
Sara Touqan
41ddd09850 boards: Enable additional modules for STM32 nucleo_u083rc.
This commit enables support for DMA,
SPI, RNG, Crypto, USB and RTC.

Signed-off-by: Mohammad Badawi <zephyr@exalt.ps>
Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2024-12-19 15:19:56 +01:00
Guillaume Gautier
8e4518a012 dts: arm: st: change sequencer and clock source properties into string
In all STM32 dtsi and board dts, update the st,adc-sequencer and the
st,adc-clock-source properties so they are strings.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>

fu dts: arm: st: use string instead of enum
2024-12-18 15:32:35 +01:00
Johann Fischer
2ddb576021 boards: remove ECM/EEM from default configuration
The board hardware has no network interfaces, although the ECM/EEM class
implementation can provide Ethernet-like functionality and export it to
the host, this is no reason to default to a specific USB class
implementation.We do not make this kind of configuration for other
boards that have a USB device controller. Also, it may not be what a
user expects when using these boards with networking and a USB stack.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-12-16 20:54:30 +01:00
Johann Fischer
272290bfee boards: use board common CDC ACM UART configuration
Remove all USB and CDC ACM configuration in favor of common
configuraiton.

Do not adapt board-specific configurations such as unknown PID/VID or
string descriptors. There is no justification for using them on specific
boards, and we do not have formal approval to use them in the project
tree. Also, we need more uniform configuration, since the main reason
for enabling CDC ACM here is to allow users to run examples like
hello_world right out of the box. Of course, anyone is free to customize
these settings in their fork or downstream project.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-12-16 20:54:30 +01:00