Skip to content

Commit 8c60ce3

Browse files
Matthew Macovskydustin-crossman
authored andcommitted
Create non-public target for Cypress boards with externally-stored WiFi firmware
Targets that inherit from this target will have the defines necessary to place the WiFi firmware in external storage and enable use of the external WiFi firmware reserved region block device. Currently, the only target inheriting from this new target is CY8CPROTO-062S3-4343W.
1 parent fc70273 commit 8c60ce3

File tree

5 files changed

+29
-9
lines changed

5 files changed

+29
-9
lines changed

storage/kvstore/kv_config/filesystem/mbed_lib.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
"target_overrides": {
3838
"MCU_PSOC6": {
3939
"rbp_internal_size": "7168"
40+
},
41+
"CY_EXTERNAL_WIFI_FW": {
42+
"blockdevice": "other"
4043
}
4144
}
4245
}

storage/kvstore/kv_config/filesystem_no_rbp/mbed_lib.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,10 @@
2525
"help": "Path for the working directory where the FileSystemStore stores the data",
2626
"value": "kvstore"
2727
}
28+
},
29+
"target_overrides": {
30+
"CY_EXTERNAL_WIFI_FW": {
31+
"blockdevice": "other"
32+
}
2833
}
2934
}

storage/kvstore/kv_config/tdb_external/mbed_lib.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
"target_overrides": {
2626
"MCU_PSOC6": {
2727
"rbp_internal_size": "7168"
28+
},
29+
"CY_EXTERNAL_WIFI_FW": {
30+
"blockdevice": "other"
2831
}
2932
}
3033
}

storage/kvstore/kv_config/tdb_external_no_rbp/mbed_lib.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,10 @@
1313
"help": "The default will set start address to address 0",
1414
"value": "0"
1515
}
16+
},
17+
"target_overrides": {
18+
"CY_EXTERNAL_WIFI_FW": {
19+
"blockdevice": "other"
20+
}
1621
}
1722
}

targets/targets.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6520,6 +6520,15 @@
65206520
"full", "bare-metal"
65216521
]
65226522
},
6523+
"CY_EXTERNAL_WIFI_FW": {
6524+
"public": false,
6525+
"macros_add": [
6526+
"CY_ENABLE_XIP_PROGRAM",
6527+
"CY_STORAGE_WIFI_DATA=\".cy_xip\"",
6528+
"CY_STORAGE_WIFI_DATA_OUTPUT=cy_xip",
6529+
"CY_EXT_WIFI_FW_STORAGE=QSPIF"
6530+
]
6531+
},
65236532
"CY8CPROTO_062_4343W": {
65246533
"inherits": [
65256534
"MCU_PSOC6_M4"
@@ -6600,7 +6609,8 @@
66006609
},
66016610
"CY8CPROTO_062S3_4343W": {
66026611
"inherits": [
6603-
"MCU_PSOC6_M4"
6612+
"MCU_PSOC6_M4",
6613+
"CY_EXTERNAL_WIFI_FW"
66046614
],
66056615
"features": [
66066616
"BLE"
@@ -6610,9 +6620,6 @@
66106620
"4343W",
66116621
"CYW43XXX"
66126622
],
6613-
"components_remove": [
6614-
"QSPIF"
6615-
],
66166623
"device_has_remove": [
66176624
"ANALOGOUT"
66186625
],
@@ -6623,9 +6630,7 @@
66236630
],
66246631
"macros_add": [
66256632
"CY8C6245LQI_S3D72",
6626-
"CYBSP_WIFI_CAPABLE",
6627-
"CY_ENABLE_XIP_PROGRAM",
6628-
"CY_STORAGE_WIFI_DATA=\".cy_xip\""
6633+
"CYBSP_WIFI_CAPABLE"
66296634
],
66306635
"device_name": "CY8C6245LQI-S3D72",
66316636
"mbed_ram_start": "0x08002000",
@@ -6634,8 +6639,7 @@
66346639
"190E"
66356640
],
66366641
"overrides": {
6637-
"network-default-interface-type": "WIFI",
6638-
"xip-enable": true
6642+
"network-default-interface-type": "WIFI"
66396643
}
66406644
},
66416645
"CY8CKIT_062_WIFI_BT": {

0 commit comments

Comments
 (0)