-
Notifications
You must be signed in to change notification settings - Fork 1k
Support for Nucleo STM32F746ZG board #999
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
Hi @ostrelkov |
Hi Alexandre I had saw PR #963 for NUCLEO_F756ZG. When I ported NUCLEO_F746ZG, I used NUCLEO_F207ZG as template. As I see from variants/NUCLEO_F756ZG/variant.h this port has less functionality then my port. I tested my NUCLEO_F746ZG port with LEDs, button, I2C, SPI, Ethernet examples. Moreover many ported NUCLEO-144 boards use HSI clock (see please: Of course, I am ready to test merged version of NUCLEO_F756ZG and NUCLEO_F746ZG. With best regards, |
Hi @ostrelkov,
NUCLEO_F756ZG and NUCLEO_F746ZG are not only boards compatible but also chipset compatible: they both have the same clock tree, they have the same peripheral on the same pin, they use the same HAL ... this is why we can use the same variant. It is not the case for the other boards you mentioned.
No, they both support I2C, SPI, ..., But as we use default generic I2C/SPI pins (see https://github.com/stm32duino/Arduino_Core_STM32/blob/master/cores/arduino/pins_arduino.h) it is not necessary to overload those pin definition in the variant.
No: There is a number of modules already defined by default: see https://github.com/stm32duino/Arduino_Core_STM32/blob/master/cores/arduino/stm32/stm32yyxx_hal_conf.h
I checked wit @fpistm, and even if in the past, we used HSI for such Nucleo board (as user may separate STLink part of the board which provide the clock for HSE Bypass),
It is very kind of you |
Hi, Alexandre Yes, I understood you. If you need my participation, let me know. With best regards, |
Hi Oleg, |
@ostrelkov |
Hi, all I tested proposed PR today. All peripheral devices works properly (tested I2C, SPI, LEDs, button, Ethernet). |
Hi @ostrelkov , |
The only difference between both is that F756 embed cryptographic accelerator AES and CRYP, that are not currently supported by Arduino Note: stm32duino#999 was merged in this one. Signed-off-by: hockeymikey <[email protected]> Co-Authored-By: Oleg Strelkov <[email protected]> Co-Authored-By: Alexandre Bourdiol <[email protected]>
The only difference between both is that F756 embed cryptographic accelerator AES and CRYP, that are not currently supported by Arduino Note: #999 was merged in this one. Signed-off-by: hockeymikey <[email protected]> Co-Authored-By: Oleg Strelkov <[email protected]> Co-Authored-By: Alexandre Bourdiol <[email protected]>
Summary
I have added support for Nucleo-144 STM32F746ZG board from ST Microelectronics.
This PR fixes/implements the following features
Explain the motivation for making this change. What existing problem does the pull request solve?
Validation
Code formatting
I have ran astyle.