Skip to content

Commit 1bef827

Browse files
committed
QSPI : Define default pins at drivers level
Now, these pins can be used everywhere (MBED_CONF_DRIVERS_QSPI_xxx) and be redefined in local mbed_app.json (no more need to patch PinNames.h file)
1 parent d8c2c6f commit 1bef827

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

drivers/mbed_lib.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,24 @@
1212
"spi_count_max": {
1313
"help": "The maximum number of SPI peripherals used at the same time. Determines RAM allocated for SPI peripheral management. If null, limit determined by hardware.",
1414
"value": null
15+
},
16+
"qspi_io0": {
17+
"value": "QSPI_FLASH1_IO0"
18+
},
19+
"qspi_io1": {
20+
"value": "QSPI_FLASH1_IO1"
21+
},
22+
"qspi_io2": {
23+
"value": "QSPI_FLASH1_IO2"
24+
},
25+
"qspi_io3": {
26+
"value": "QSPI_FLASH1_IO3"
27+
},
28+
"qspi_sck": {
29+
"value": "QSPI_FLASH1_SCK"
30+
},
31+
"qspi_csn": {
32+
"value": "QSPI_FLASH1_CSN"
1533
}
1634
}
1735
}

0 commit comments

Comments
 (0)