diff options
| author | Lorenzo Cappelletti <lorenzo.cappelletti@gmail.com> | 2021-10-11 23:55:06 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-11-19 16:33:13 +1100 |
| commit | 8f0e304e65a83e1f52dfb29185159e8eb9f7f34d (patch) | |
| tree | e6786d28fe0f0d28442474d49b3e90846556c170 /ports/stm32/flashbdev.c | |
| parent | 16c7a808742570e3c9ab1e1f8243d0a2166995a3 (diff) | |
stm32/boards: Add new board MikroElektronika Quail, and F427 support.
Quail (https://www.mikroe.com/quail, PID: MIKROE-1793) is based on an
STM32F427VI CPU, featuring 2048 kB of Flash memory and 192 kB of RAM. An
on-board Cypress S25FL164K adds 8 MB of SPI Flash.
Quail has 4 mikroBUS(TM) sockets for Mikroe click(TM) board connectivity,
along with 24 screw terminals for connecting additional electronics and two
USB ports (one for programming, the other for external mass storage).
4 UARTs, 2 SPIs and 1 I2C bus are available for communication.
Signed-off-by: Lorenzo Cappelletti <lorenzo.cappelletti@gmail.com>
Diffstat (limited to 'ports/stm32/flashbdev.c')
| -rw-r--r-- | ports/stm32/flashbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/flashbdev.c b/ports/stm32/flashbdev.c index 6be0cfee8..3b7609d4d 100644 --- a/ports/stm32/flashbdev.c +++ b/ports/stm32/flashbdev.c @@ -70,7 +70,7 @@ STATIC byte flash_cache_mem[0x4000] __attribute__((aligned(4))); // 16k #define FLASH_MEM_SEG2_START_ADDR (0x08040000) // sector 6 #define FLASH_MEM_SEG2_NUM_BLOCKS (128) // sector 6: 64k(of 128k). Filesystem 176K + 64K = 240K -#elif defined(STM32F429xx) +#elif defined(STM32F427xx) || defined(STM32F429xx) #define CACHE_MEM_START_ADDR (0x10000000) // CCM data RAM, 64k #define FLASH_SECTOR_SIZE_MAX (0x10000) // 64k max, size of CCM |
