1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards: define mtd_spi_nor HOLD and WP pins

None of the boards used them before, so just set them to GPIO_UNDEF
This commit is contained in:
Benjamin Valentin 2020-11-02 02:42:45 +01:00 committed by Benjamin Valentin
parent 53ca0dd1d0
commit c839fe2e77
6 changed files with 13 additions and 1 deletions

View File

@ -36,6 +36,8 @@ static const mtd_spi_nor_params_t _ikea_tradfri_nor_params = {
.spi = IKEA_TRADFRI_NOR_SPI_DEV,
.mode = IKEA_TRADFRI_NOR_SPI_MODE,
.cs = IKEA_TRADFRI_NOR_SPI_CS,
.wp = GPIO_UNDEF,
.hold = GPIO_UNDEF,
.addr_width = 3,
};

View File

@ -55,9 +55,11 @@ static const mtd_spi_nor_params_t mulle_nor_params = {
.wait_32k_erase = 20LU * US_PER_MS,
.wait_chip_wake_up = 1LU * US_PER_MS,
.spi = MULLE_NOR_SPI_DEV,
.cs = MULLE_NOR_SPI_CS,
.addr_width = 3,
.mode = SPI_MODE_3,
.cs = MULLE_NOR_SPI_CS,
.wp = GPIO_UNDEF,
.hold = GPIO_UNDEF,
.clk = SPI_CLK_10MHZ,
};

View File

@ -38,6 +38,8 @@ static const mtd_spi_nor_params_t _nrf52840dk_nor_params = {
.spi = NRF52840DK_NOR_SPI_DEV,
.mode = NRF52840DK_NOR_SPI_MODE,
.cs = NRF52840DK_NOR_SPI_CS,
.wp = GPIO_UNDEF,
.hold = GPIO_UNDEF,
.addr_width = 3,
};

View File

@ -41,6 +41,8 @@ static const mtd_spi_nor_params_t _pinetime_nor_params = {
.spi = PINETIME_NOR_SPI_DEV,
.mode = PINETIME_NOR_SPI_MODE,
.cs = PINETIME_NOR_SPI_CS,
.wp = GPIO_UNDEF,
.hold = GPIO_UNDEF,
.addr_width = 3,
};

View File

@ -39,6 +39,8 @@ static const mtd_spi_nor_params_t _serpente_nor_params = {
.spi = SERPENTE_NOR_SPI_DEV,
.mode = SERPENTE_NOR_SPI_MODE,
.cs = SERPENTE_NOR_SPI_CS,
.wp = GPIO_UNDEF,
.hold = GPIO_UNDEF,
.addr_width = 3,
};

View File

@ -38,6 +38,8 @@ static const mtd_spi_nor_params_t _weact_nor_params = {
.spi = WEACT_411CE_NOR_SPI_DEV,
.mode = WEACT_411CE_NOR_SPI_MODE,
.cs = WEACT_411CE_NOR_SPI_CS,
.wp = GPIO_UNDEF,
.hold = GPIO_UNDEF,
.addr_width = 3,
};