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:
parent
53ca0dd1d0
commit
c839fe2e77
@ -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,
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user