Skip to content

Commit 6204423

Browse files
committed
hani_iot: add spif storage config
1 parent 9ee212a commit 6204423

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

components/storage/blockdevice/COMPONENT_SPIF/mbed_lib.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
}
1414
},
1515
"target_overrides": {
16+
"HANI_IOT": {
17+
"SPI_MOSI": "P0_26",
18+
"SPI_MISO": "P1_3",
19+
"SPI_CLK": "P1_2",
20+
"SPI_CS": "P0_20"
21+
},
1622
"LPC54114": {
1723
"SPI_MOSI": "P0_20",
1824
"SPI_MISO": "P0_18",

features/storage/kvstore/conf/global/mbed_lib.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
}
1212
},
1313
"target_overrides": {
14+
"HANI_IOT": {
15+
"storage_type": "TDB_INTERNAL"
16+
},
1417
"K66F": {
1518
"storage_type": "TDB_INTERNAL"
1619
},

targets/targets.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3156,6 +3156,7 @@
31563156
"HANI_IOT": {
31573157
"inherits": ["LPC55S69_NS"],
31583158
"detect_code": ["0360"],
3159+
"components_add": ["SPIF"],
31593160
"extra_labels_remove": ["LPCXpresso"]
31603161
},
31613162
"NUCLEO_F030R8": {

0 commit comments

Comments
 (0)