Skip to content

Commit 574894e

Browse files
pan-pawel2RyoheiHagimoto
authored andcommitted
hani_iot: add spif storage config
1 parent 7465480 commit 574894e

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
@@ -2164,6 +2164,7 @@
21642164
"HANI_IOT": {
21652165
"inherits": ["LPC55S69_NS"],
21662166
"detect_code": ["0360"],
2167+
"components_add": ["SPIF"],
21672168
"extra_labels_remove": ["LPCXpresso"]
21682169
},
21692170
"NUCLEO_F030R8": {

0 commit comments

Comments
 (0)