You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+62Lines changed: 62 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,32 @@ pins in `<driver>/mbed_lib.json` are correct. For example, to change the pins fo
261
261
...
262
262
}
263
263
```
264
+
The pins macros define above can be override at the application configuration file using the driver prefix before the parameter name.
265
+
```
266
+
"target_overrides": {
267
+
...
268
+
"NUCLEO_F429ZI": {
269
+
"spif-driver.SPI_MOSI": "PC_12",
270
+
"spif-driver.SPI_MISO": "PC_11",
271
+
"spif-driver.SPI_CLK": "PC_10",
272
+
"spif-driver.SPI_CS": "PA_15"
273
+
},
274
+
...
275
+
}
276
+
```
277
+
or
278
+
```
279
+
"target_overrides": {
280
+
...
281
+
"NUCLEO_F429ZI": {
282
+
"sd.SPI_MOSI": "PC_12",
283
+
"sd.SPI_MISO": "PC_11",
284
+
"sd.SPI_CLK": "PC_10",
285
+
"sd.SPI_CS": "PA_15"
286
+
},
287
+
...
288
+
}
289
+
```
264
290
265
291
Mbed OS has several options for the block device:
266
292
@@ -277,6 +303,18 @@ Mbed OS has several options for the block device:
277
303
MBED_CONF_SPIF_DRIVER_SPI_CS);
278
304
```
279
305
306
+
Starting mbed-os 5.10 the SPIFBlockDevice is a component under mbed-os. In order to add a component to the application use the following `target_overrides` configuration at the application configuration file:
that support the DataFlash protocol, such as the Adesto AT45DB series of
282
320
devices. DataFlash is a memory protocol that combines flash with SRAM buffers
@@ -293,6 +331,18 @@ Mbed OS has several options for the block device:
293
331
MBED_CONF_DATAFLASH_SPI_CS);
294
332
```
295
333
334
+
Starting mbed-os 5.10 the DataFlashBlockDevice is a component under mbed-os. In order to add a component to the application use the following `target_overrides` configuration at the application configuration file:
335
+
```
336
+
"target_overrides": {
337
+
...
338
+
"NUCLEO_F429ZI": {
339
+
"target.components_add": ["DATAFLASH"],
340
+
...
341
+
},
342
+
...
343
+
}
344
+
```
345
+
296
346
-**SDBlockDevice** - Block device driver for SD cards and eMMC memory chips. SD
297
347
cards or eMMC chips offer a full FTL layer on top of NAND flash. This makes the
298
348
storage well-suited for systems that require a about 1GB of memory.
@@ -307,6 +357,18 @@ Mbed OS has several options for the block device:
307
357
MBED_CONF_SD_SPI_CS);
308
358
```
309
359
360
+
Starting mbed-os 5.10 the SDBlockDevice is a component under mbed-os. In order to add a component to the application use the following `target_overrides` configuration at the application configuration file:
0 commit comments