File tree Expand file tree Collapse file tree
ports/stm32/boards/WEACTSTUDIO_MINI_STM32H723 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /* This file is part of the MicroPython project, http://micropython.org/
2+ * The MIT License (MIT)
3+ * Copyright (c) 2019 Damien P. George
4+ */
5+
16#include "storage.h"
27#include "spi.h"
38#include "octospi.h"
49#include "py/mpconfig.h"
510
6- #if !MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE
7-
811static const spi_proto_cfg_t spi_bus = {
912 .spi = & spi_obj [0 ], // SPI1
1013 .baudrate = 25000000 ,
@@ -42,5 +45,3 @@ const mp_spiflash_config_t spiflash2_config = {
4245};
4346
4447spi_bdev_t spi_bdev2 ;
45-
46- #endif
Original file line number Diff line number Diff line change 77 " weact_stm32h723.jpg"
88 ],
99 "mcu" : " STM32H723VGT6" ,
10- "product" : " WeAct Studio STM32H723" ,
10+ "product" : " Mini STM32H723" ,
1111 "url" : " https://github.com/WeActStudio/MiniSTM32H7xx" ,
1212 "vendor" : " WeAct Studio"
1313}
Original file line number Diff line number Diff line change 1+ /* This file is part of the MicroPython project, http://micropython.org/
2+ * The MIT License (MIT)
3+ * Copyright (c) 2019 Damien P. George
4+ */
5+
16#include "py/mphal.h"
27#include "storage.h"
38
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1- #define MICROPY_HW_BOARD_NAME "WEACT_STM32H723 "
1+ #define MICROPY_HW_BOARD_NAME "WEACTSTUDIO_MINI_STM32H723 "
22#define MICROPY_HW_MCU_NAME "STM32H723VGT6"
3- #define MICROPY_HW_FLASH_FS_LABEL "WEACT_STM32H723"
43
54#define MICROPY_FATFS_EXFAT (1)
65#define MICROPY_HW_ENABLE_RTC (1)
2726// Disable internal filesystem to use spiflash.
2827#define MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE (0)
2928
30- #if (MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE == 0 )
3129// W25Q64 for storage
3230#define MICROPY_HW_SPIFLASH_SIZE_BYTES (8 * 1024 * 1024)
3331
@@ -63,7 +61,6 @@ extern struct _spi_bdev_t spi_bdev;
6361// SPI flash #2, block device config
6462extern const struct _mp_spiflash_config_t spiflash2_config ;
6563extern struct _spi_bdev_t spi_bdev2 ;
66- #endif
6764
6865#define MICROPY_BOARD_EARLY_INIT WeAct_Core_early_init
6966
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ LD_FILES = boards/stm32h723.ld boards/common_bl.ld
1212TEXT0_ADDR = 0x08020000
1313else
1414# When not using Mboot everything goes at the start of flash
15- LD_FILES = boards/WEACT_STM32H723 /weact_stm32h723.ld boards/common_basic.ld
15+ LD_FILES = boards/WEACTSTUDIO_MINI_STM32H723 /weact_stm32h723.ld boards/common_basic.ld
1616# LD_FILES = boards/stm32h723.ld boards/common_basic.ld
1717TEXT0_ADDR = 0x08000000
1818endif
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 55/* Specify the memory areas */
66MEMORY
77{
8- FLASH (rx) : ORIGIN = 0x08000000 , LENGTH = 768K /* sectors 0-5 */
9- FLASH_APP (rx) : ORIGIN = 0x08020000 , LENGTH = 640K /* sectors 1-5 */
10- FLASH_FS (r) : ORIGIN = 0x080c0000 , LENGTH = 256K /* sectors 6-7 */
8+ FLASH (rx) : ORIGIN = 0x08000000 , LENGTH = 1024K /* sectors 0-7 */
9+ FLASH_APP (rx) : ORIGIN = 0x08020000 , LENGTH = 896K /* sectors 1-7 */
1110 FLASH_ROMFS (rx) : ORIGIN = 0x90000000 , LENGTH = 8192K /* external QSPI */
1211 DTCM (xrw) : ORIGIN = 0x20000000 , LENGTH = 128K /* Used for FS storage cache */
1312 RAM (xrw) : ORIGIN = 0x24000000 , LENGTH = 320K /* AXI SRAM (could extend +192K from ITCM) */
@@ -29,14 +28,6 @@ _ram_end = ORIGIN(RAM) + LENGTH(RAM);
2928_heap_start = _ebss; /* heap starts just after statically allocated memory */
3029_heap_end = _sstack;
3130
32- /* Location of filesystem RAM cache */
33- _micropy_hw_internal_flash_storage_ram_cache_start = ORIGIN (DTCM);
34- _micropy_hw_internal_flash_storage_ram_cache_end = ORIGIN (DTCM) + LENGTH (DTCM);
35-
36- /* Location of filesystem flash storage */
37- _micropy_hw_internal_flash_storage_start = ORIGIN (FLASH_FS);
38- _micropy_hw_internal_flash_storage_end = ORIGIN (FLASH_FS) + LENGTH (FLASH_FS);
39-
4031/* ROMFS location */
4132_micropy_hw_romfs_part0_start = ORIGIN (FLASH_ROMFS);
4233_micropy_hw_romfs_part0_size = LENGTH (FLASH_ROMFS);
You can’t perform that action at this time.
0 commit comments