forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stm32/WEACTV20_F411: Add variant for V3_FLASH_8MB.
Blackpill v3.1 board with 8MB SPI Flash Signed-off-by: Andrew Leech <[email protected]>
- Loading branch information
Showing
4 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
ports/stm32/boards/WEACTV20_F411/mpconfigvariant_V3_FLASH_8MB.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Version 3.1 board has different pinout for spi flash with 8MB flash. | ||
CFLAGS += | ||
-DMICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE=0 \ | ||
-DMICROPY_HW_SPIFLASH_SIZE_BITS="(8 * 8 * 1024 * 1024)" \ | ||
-DWEACTV20_F411_V3=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,5 @@ USB_DP,PA12 | |
FLASH_CS,PA4 | ||
FLASH_SCK,PA5 | ||
FLASH_MOSI,PA7 | ||
FLASH_MISO,PB4 | ||
FLASH_MISO_V2,PB4 | ||
FLASH_MISO_V3,PA6 |