-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Upstream the support for STM32WBA6 #88407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
0fdc5b0 to
98aef86
Compare
1e08e48 to
320f8cc
Compare
update modules hal stm32 for stm32wb and stm32wba Signed-off-by: Francois Ramu <[email protected]>
This commit adds support for the STM32WBA65x MCU. Signed-off-by: Francois Ramu <[email protected]>
This commit adds the Device Tree include files for the STM32WBA65x device Adding GPIO D/E/G banks. Renaming JTAG reset pin. Signed-off-by: Francois Ramu <[email protected]>
Add the clock domain definition for the stm32wba CCIPR Signed-off-by: Francois Ramu <[email protected]>
2e772ad to
81c87e4
Compare
|
Updated the west.yml with HAL STM32 merged commit f467d8e |
81c87e4 to
67588c1
Compare
| ST Nucleo WBA65RI | ||
| ################# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sphinx directive adds this automatically
| ST Nucleo WBA65RI | |
| ################# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
|
||
| .. image:: img/nucleo_wba65ri.webp | ||
| :align: center | ||
| :alt: Nucleo WBA65RI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sphinx directive adds this automatically
| .. image:: img/nucleo_wba65ri.webp | |
| :align: center | |
| :alt: Nucleo WBA65RI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
|
||
| &rng { | ||
| status = "okay"; | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate entry
| &rng { | |
| status = "okay"; | |
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| @@ -0,0 +1,4 @@ | |||
| board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw") | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw") | |
| # SPDX-License-Identifier: Apache-2.0 | |
| board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| ----------- | ||
|
|
||
| Nucleo WBA65RI board has 3 U(S)ARTs. The Zephyr console output is assigned to USART1. | ||
| Default settings are 115500 8N1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Default settings are 115500 8N1. | |
| Default settings are 115200 8N1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| @@ -0,0 +1,26 @@ | |||
| # Note: Using OpenOCD using nucloe_wba65ri requires using openocd fork. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Note: Using OpenOCD using nucloe_wba65ri requires using openocd fork. | |
| # Note: Using OpenOCD using nucleo_wba65ri requires using openocd fork. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| - I2C_1_SCL : PB2 | ||
| - I2C_1_SDA : PB1 | ||
| - USER_PB : PC13 | ||
| - LD1 : PB4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not what devicetree says?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it should be LD1 : PD8
Introduce the stm32WBA56 nucleo board. HSE32 divided by 2 is the source clock. Signed-off-by: Francois Ramu <[email protected]>
-The stm32wba6x has Dual Bank memory. Change the flash driver to support this OPTion given by presence of the DUAL_BANK bit (21) in the FLASH_OPTR register. -Flash erase with 2 banks: Add the control of the BKER bit of the FLASH_NSCR1 to select BANK1 or 2 of the internal flash depending on the page number >127 for BANK2 Signed-off-by: Francois Ramu <[email protected]>
Add nucleo_wba65ri overlay file Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
67588c1 to
89a9640
Compare
kartben
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for addressing my comments so quickly :)
|
Awesome work, very keen to use this part with Zephyr 😃 |
Enabling support for STM32WBA6