Added a if-statement to octospi.c to detect if the
targeted MCU is one of the STM32H7 series. If that
was the case, another set of variables are used for
the mp_hal_pin_config_alt_static_speed() function,
as well as for register OCTOSPI1->CR. This allows
the STM32H723 and STM32H7B3 series MCU to use octo-
spi flash like the STM32H573 serie MCU.
Signed-off-by: nspsck <teng.jiang94@gmail.com>
The original OSPIFLASH settings in the mpconfigboard.h
contains some mistakes that prevents the firmware to
be built. These are now corrected and the firmware can
be built with support for OSPI flash.
Signed-off-by: nspsck <teng.jiang94@gmail.com>
- Add board-level configuration option to set the SMPS supply mode.
- Wait for valid voltage levels after configuring the SMPS mode.
- Wait for external supply ready flag if SMPS supplies external circuitry.
This commit is based upon prior work of @dpgeorge and @koendv.
MCU support for the STM32H7A3 and B3 families MCUs:
- STM32H7A3xx
- STM32H7A3xxQ (SMPS)
- STM32H7B3xx
- STM32H7B3xxQ (SMPS)
Support has been added for the STM32H7B3I_DK board.
Signed-off-by: Jan Staal <info@janstaal.com>