[riot-notifications] [RIOT-OS/RIOT] frdm-k28f: Initial support for the k28f MCU and frdm-k28f board (#14373)

benpicco notifications at github.com
Fri Nov 6 14:35:32 CET 2020


@benpicco commented on this pull request.



> +#include "mtd_spi_nor.h"
+#include "periph_conf.h"
+#include "timex.h"
+
+static const mtd_spi_nor_params_t _frdm_k28f_nor_params = {
+    .opcode = &mtd_spi_nor_opcode_default,
+    .wait_chip_erase = 40LU * US_PER_SEC,
+    .wait_32k_erase = 100LU *US_PER_MS,
+    .wait_sector_erase = 150LU * US_PER_MS,
+    .wait_4k_erase = 50LU * US_PER_MS,
+    .wait_chip_wake_up = 30LU * US_PER_MS,
+    .clk = FRDM_K28F_NOR_SPI_CLK,
+    .flag = FRDM_K28F_NOR_FLAGS,
+    .spi = FRDM_K28F_NOR_SPI_DEV,
+    .mode = FRDM_K28F_NOR_SPI_MODE,
+    .cs = FRDM_K28F_NOR_SPI_CS,

```suggestion
    .cs = FRDM_K28F_NOR_SPI_CS,
    .wp = GPIO_UNDEF,
    .hold = GPIO_UNDEF,
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14373#pullrequestreview-525152859
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201106/b6695b9b/attachment.htm>


More information about the notifications mailing list