-
Notifications
You must be signed in to change notification settings - Fork 8.2k
boards: nucleo_f447ze: Added support for the Nucleo-144 F446ZE board #19693
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
boards: nucleo_f447ze: Added support for the Nucleo-144 F446ZE board #19693
Conversation
This has been done mainly by adding support for more peripherals and changing pin numbering from the existing port for F446RE board. Additionally, dts/arm/st/f4/stm32f4.dtsi has been modified by adding USART3 configuration. It has been tested to work with the provided Zephyr samples. Signed-off-by: Peter Nimac <[email protected]>
|
Some checks failed. Please fix and resubmit. checkpatch (informational only, not a failure)Gitlint issuesCommit 2db13b7f31: Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
|
This is missing the flash layout like the RE board did, which means mcumgr, mcuboot, and various other flash related samples will fail to work |
…E board Added missing license to board.cmake Fixed doc image in index.rst Added flash layout to nucleo_f446ze.dts Signed-off-by: Peter Nimac <[email protected]>
dbkinder
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.
one recommended appearance tweak otherwise looks fine
| Default Zephyr Peripheral Mapping: | ||
| ---------------------------------- | ||
|
|
||
| - UART_3_TX : PD8 |
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.
If you add this rst-class directive and a blank line before the list, it will display the list in multiple columns instead of a long list that runs down the page:
.. rst-class:: rst-columns
- UART_3_TX : PD8
- UART_3_RX : PD9
etc.
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.
Noted. I've never worked with the Sphinx documentation before, so thanks for the tip.
… board doc: rst-class directive to index.rst Signed-off-by: Peter Nimac <[email protected]>
| }; | ||
|
|
||
|
|
||
| arduino_serial: &usart6 {}; |
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.
Please move these in a dedicated arduino_r3_donnnector.dtsi and add arduino_header node.
Cf recent ##19636
| ram: 96 | ||
| flash: 512 | ||
| supported: | ||
| - arduino_i2c |
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.
- arduino_spi
- arduino_gpio (once you'll have added the arduino_header node)
| label = "UART_2"; | ||
| }; | ||
|
|
||
| usart3: serial@40004800 { |
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.
By adding this node here, you make it available on STM32F401 as well, which is not valid.
You need to move it to appropriate dtsi file
| @@ -1,3 +1,5 @@ | |||
| # SPDX-License-Identifier: Apache-2.0 | |||
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.
PR are pushed as is on top of branch, but no hot fix will be merged in tree.
This should be squashed into board addition commit
| Default Zephyr Peripheral Mapping: | ||
| ---------------------------------- | ||
|
|
||
| .. rst-class:: rst-columns |
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.
Same here, please squash to first commit
| label = "UART_2"; | ||
| }; | ||
|
|
||
| usart3: serial@40004800 { |
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.
Also, please do it in a dedicated commit
This has been done mainly by adding support for more peripherals and changing pin numbering from the existing port for F446RE board. It has been tested to work with the provided Zephyr samples. Signed-off-by: Peter Nimac <[email protected]>
Signed-off-by: Peter Nimac <[email protected]>
Fixed errors after squashing Signed-off-by: Peter Nimac <[email protected]>
Moved usart3 configuration from stm32f4.dtsi to stm32f446.dtsi Signed-off-by: Peter Nimac <[email protected]>
This has been done mainly by adding support for more peripherals and changing pin numbering from the existing port for F446RE board. Additionally, dts/arm/st/f4/stm32f4.dtsi has been modified by adding USART3 configuration. It has been tested to work with the provided Zephyr samples. Signed-off-by: Peter Nimac <[email protected]> hotfix: boards: nucleo_f447ze: Added support for the Nucleo-144 F446ZE board Added missing license to board.cmake Fixed doc image in index.rst Added flash layout to nucleo_f446ze.dts Signed-off-by: Peter Nimac <[email protected]> hotfix: boards: nucleo_f446ze: Added support for the Nucleo144 F446ZE board doc: rst-class directive to index.rst Signed-off-by: Peter Nimac <[email protected]>
Added UART3 configuration for STM32F446 chips. Signed-off-by: Peter Nimac <[email protected]>
…ithub.com/ArtifixPrime/zephyr into added_support_for_nucleo144_f446ze_board Signed-off-by: Peter Nimac <[email protected]>
Squash commit Signed-off-by: Peter Nimac <[email protected]>
| #include <st/f4/stm32f446Xe.dtsi> | ||
| #include "arduino_r3_connector.dtsi" | ||
|
|
||
| <<<<<<< HEAD |
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.
Please resolve merge conflicts.
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.
Could you please help me out a bit?
I've checked all of the files and on my local machine git status returns:
"nothing to commit, working tree clean"
Shippable still fails some checks and prints in the console to resolve merge conflicts.
Sorry, I know this may be a silly request but I've never really worked with git before.
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.
Sorry, I know this may be a silly request but I've never really worked with git before.
@ArtifixPrime, that's ok, there's a first time for everything. I won't be able to help today, but Iwill come back to you this week.
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.
Alright, thank you so much!
Sorry for replying this late, I am also busy with my own work, so whenever you'll find the time
Attempt at fixing errors made while squashing. Added a redundant space character in readme. Signed-off-by: Peter Nimac <[email protected]>
|
@ArtifixPrime, I'll try to provide feedback this week. Sorry for the delay. |
|
@ArtifixPrime, I had a look, and maybe the easiest way will be the following: We'll continue work from there. |
|
@ArtifixPrime any plans to update? |
|
stale, closing. Reopen when there are updates... |
|
it's a shame this never made it in. I would really like to evaluate zephyr on this board 😢 |
@towen This PR is pretty old and you will face lot of issues if trying to use on v2.6.0 |
This has been done mainly by adding support for more peripherals and
changing pin numbering from the existing port for F446RE board.
Additionally, dts/arm/st/f4/stm32f4.dtsi has been modified by adding
USART3 configuration.
It has been tested to work with the provided Zephyr samples.
Signed-off-by: Peter Nimac [email protected]