Skip to content

Commit

Permalink
stm32/boards/STM32H7B3I_DK: Fix octo-spi pin configuration.
Browse files Browse the repository at this point in the history
The original OSPIFLASH settings in the `mpconfigboard.h` contained some
mistakes that prevented the firmware from compiling.  These are now
corrected and the firmware can be built with support for OSPI flash.

Note: external storage in OSPI flash is not yet configured on this board.

Signed-off-by: nspsck <teng.jiang94@gmail.com>
  • Loading branch information
nspsck authored and dpgeorge committed Aug 22, 2024
1 parent 20a95b2 commit 6c3dc0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ports/stm32/boards/STM32H7B3I_DK/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@
// SMPS configuration
#define MICROPY_HW_PWR_SMPS_CONFIG (PWR_DIRECT_SMPS_SUPPLY)

#if 0
#if !MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE
// 512MBit external OSPI flash, used for either the filesystem or XIP memory mapped
#define MICROPY_HW_OSPIFLASH_SIZE_BITS_LOG2 (29)
#define MICROPY_HW_OSPIFLASH_CS (pin_G6)
#define MICROPY_HW_OSPIFLASH_CLK (pin_B2)
#define MICROPY_HW_OSPIFLASH_SCK (pin_B2)
#define MICROPY_HW_OSPIFLASH_DQS (pin_C5)
#define MICROPY_HW_OSPIFLASH_IO0 (pin_P8)
#define MICROPY_HW_OSPIFLASH_IO0 (pin_D11)
#define MICROPY_HW_OSPIFLASH_IO1 (pin_F9)
#define MICROPY_HW_OSPIFLASH_IO2 (pin_F7)
#define MICROPY_HW_OSPIFLASH_IO3 (pin_F6)
#define MICROPY_HW_OSPIFLASH_IO4 (pin_C1)
#define MICROPY_HW_OSPIFLASH_IO5 (pin_H3)
#define MICROPY_HW_OSPIFLASH_IO6 (pin_D6)
#define MICROPY_HW_OSPIFLASH_IO7 (pin_G14)
#define MICROPY_HW_OSPIFLASH_IO6 (pin_G9)
#define MICROPY_HW_OSPIFLASH_IO7 (pin_D7)
#endif

// UART buses
Expand Down

0 comments on commit 6c3dc0c

Please sign in to comment.