Skip to content

Conversation

@gautierg-st
Copy link
Contributor

@gautierg-st gautierg-st commented Jan 17, 2025

This PR adds the support for the STM32N6 series.
It adds support of two boards:

  • STM32N6570 DK
  • Nucleo N657x0-Q

This PR includes the support of GPIO and UART. Other peripherals will soon be added in future PRs

@zephyrbot
Copy link

zephyrbot commented Jan 17, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_stm32 zephyrproject-rtos/hal_stm32@3784237 zephyrproject-rtos/hal_stm32@1d1f818 (main) zephyrproject-rtos/[email protected]

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added manifest manifest-hal_stm32 DNM This PR should not be merged (Do Not Merge) labels Jan 17, 2025
@gautierg-st gautierg-st force-pushed the add_stm32n6_support branch 2 times, most recently from e0ac924 to 37c71cf Compare January 17, 2025 09:30
Add STM32N6 series

Signed-off-by: Guillaume Gautier <[email protected]>
Add a comment describing Kconfig source order priority to prevent
future questions (after overriding SYS_CLOCK_HW_CYCLES_PER_SEC config
for STM32N6).

Signed-off-by: Guillaume Gautier <[email protected]>
Add STM32N6 RCC clock bindings

Signed-off-by: Guillaume Gautier <[email protected]>
Add STM32N6 clock driver.
Supported clocks are LSE, LSI, HSE, HSI, PLL1-4, IC1-20,
peripheral clock and CPU clock.

Signed-off-by: Guillaume Gautier <[email protected]>
Add pinctrl driver for STM32N6

Signed-off-by: Guillaume Gautier <[email protected]>
Add GPIO support for STM32N6

Signed-off-by: Guillaume Gautier <[email protected]>
Add STM32N6 dt bindings for reset

Signed-off-by: Guillaume Gautier <[email protected]>
Add dtsi files for STM32N6 series

Signed-off-by: Guillaume Gautier <[email protected]>
Generate signed binary necessary to start a program from Flash on STM32N6

Signed-off-by: Guillaume Gautier <[email protected]>
Add the option to flash a bin file if one is available from the board's
cmake configuration.
Use of elf has prio over this, and bin has prio over hex which remains
the default option.
Also add a parameter to stm32cubeprogrammer runner to specify the download
address.

Signed-off-by: Guillaume Gautier <[email protected]>
erwango
erwango previously approved these changes Jan 27, 2025
nordicjm
nordicjm previously approved these changes Jan 28, 2025
erwango
erwango previously approved these changes Jan 28, 2025
@erwango erwango assigned erwango and unassigned nordic-krch Jan 28, 2025
gautierg-st and others added 3 commits January 28, 2025 13:07
Add support for STM32N657 DK board.

Signed-off-by: Guillaume Gautier <[email protected]>
Add support for the nucleo_n657x0_q board.

Signed-off-by: Erwan Gouriou <[email protected]>
Add U(S)ART2 to 10 to the device tree.

Signed-off-by: Guillaume Gautier <[email protected]>
@gautierg-st gautierg-st dismissed stale reviews from erwango and nordicjm via bd84fb8 January 28, 2025 12:09
@kartben kartben merged commit 661d20c into zephyrproject-rtos:main Jan 28, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants