1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #14240 from benpicco/boards/WeAct-f411_dynamic_flash

boards/weact-f411ce: determine flash size at run-time
This commit is contained in:
Marian Buschsieweke 2020-06-10 22:22:59 +02:00 committed by GitHub
commit 1cf1f75db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -46,7 +46,6 @@ static mtd_spi_nor_t weact_nor_dev = {
.driver = &mtd_spi_nor_driver,
.page_size = WEACT_411CE_NOR_PAGE_SIZE,
.pages_per_sector = WEACT_411CE_NOR_PAGES_PER_SECTOR,
.sector_count = WEACT_411CE_NOR_SECTOR_COUNT,
},
.params = &_weact_nor_params,
};

View File

@ -76,7 +76,6 @@ extern "C" {
*/
#define WEACT_411CE_NOR_PAGE_SIZE (256)
#define WEACT_411CE_NOR_PAGES_PER_SECTOR (16)
#define WEACT_411CE_NOR_SECTOR_COUNT (128)
#define WEACT_411CE_NOR_FLAGS (SPI_NOR_F_SECT_4K | SPI_NOR_F_SECT_32K)
#define WEACT_411CE_NOR_SPI_DEV SPI_DEV(0)
#define WEACT_411CE_NOR_SPI_CLK SPI_CLK_10MHZ