Skip to content

Commit ef7ce6b

Browse files
committed
Portenta Add COMPONENT_WHD/resources to TARGET_PORTENTA_H7
1 parent bfedc39 commit ef7ce6b

File tree

9 files changed

+26723
-0
lines changed

9 files changed

+26723
-0
lines changed
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
# Copyright (c) 2020-2021 ARM Limited. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
add_library(mbed-cy-psoc6-whd-43012 INTERFACE)
5+
target_include_directories(mbed-cy-psoc6-whd-43012
6+
INTERFACE
7+
resources/firmware/COMPONENT_43012
8+
)
9+
target_sources(mbed-cy-psoc6-whd-43012
10+
INTERFACE
11+
resources/firmware/COMPONENT_43012/43012C0-mfgtest_bin.c
12+
resources/firmware/COMPONENT_43012/43012C0-mfgtest_clm_blob.c
13+
resources/firmware/COMPONENT_43012/43012C0_bin.c
14+
resources/firmware/COMPONENT_43012/43012C0_clm_blob.c
15+
)
16+
17+
add_library(mbed-cy-psoc6-whd-43438 INTERFACE)
18+
target_include_directories(mbed-cy-psoc6-whd-43438
19+
INTERFACE
20+
resources/firmware/COMPONENT_43438
21+
)
22+
target_sources(mbed-cy-psoc6-whd-43438
23+
INTERFACE
24+
resources/firmware/COMPONENT_43438/43438A1-mfgtest_bin.c
25+
resources/firmware/COMPONENT_43438/43438A1-mfgtest_clm_blob.c
26+
resources/firmware/COMPONENT_43438/43438A1_bin.c
27+
resources/firmware/COMPONENT_43438/43438A1_clm_blob.c
28+
)
29+
30+
add_library(mbed-cy-psoc6-whd-4343w INTERFACE)
31+
target_include_directories(mbed-cy-psoc6-whd-4343w
32+
INTERFACE
33+
resources/firmware/COMPONENT_4343W
34+
)
35+
target_sources(mbed-cy-psoc6-whd-4343w
36+
INTERFACE
37+
resources/firmware/COMPONENT_4343W/4343WA1-mfgtest_bin.c
38+
resources/firmware/COMPONENT_4343W/4343WA1-mfgtest_clm_blob.c
39+
resources/firmware/COMPONENT_4343W/4343WA1_bin.c
40+
resources/firmware/COMPONENT_4343W/4343WA1_clm_blob.c
41+
)
42+
43+
add_library(mbed-cy8ckit-062s2-43012-whd INTERFACE)
44+
target_include_directories(mbed-cy8ckit-062s2-43012-whd INTERFACE resources/nvram/TARGET_CY8CKIT_062S2_43012)
45+
46+
add_library(mbed-cy8ckit-062s2-4343w-whd INTERFACE)
47+
target_include_directories(mbed-cy8ckit-062s2-4343w-whd INTERFACE resources/nvram/TARGET_CY8CKIT_062S2_4343W)
48+
49+
add_library(mbed-cy8ckit-062-4343w-whd INTERFACE)
50+
target_include_directories(mbed-cy8ckit-062-4343w-whd INTERFACE resources/nvram/TARGET_CY8CKIT_062_4343W)
51+
52+
add_library(mbed-cy8ckit-062-wifi-bt-whd INTERFACE)
53+
target_include_directories(mbed-cy8ckit-062-wifi-bt-whd INTERFACE resources/nvram/TARGET_CY8CKIT_062_WIFI_BT)
54+
55+
add_library(mbed-cy8ckit-064s1-4343w-whd INTERFACE)
56+
target_include_directories(mbed-cy8ckit-064s1-4343w-whd INTERFACE resources/nvram/TARGET_CY8CKIT_064S1_4343W)
57+
58+
add_library(mbed-cy8ckit-064s2-4343w-whd INTERFACE)
59+
target_include_directories(mbed-cy8ckit-064s2-4343w-whd INTERFACE resources/nvram/TARGET_CY8CKIT_064S2_4343W)
60+
61+
add_library(mbed-cy8cmod-062s2-43012-whd INTERFACE)
62+
target_include_directories(mbed-cy8cmod-062s2-43012-whd INTERFACE resources/nvram/TARGET_CY8CMOD_062S2_43012)
63+
64+
add_library(mbed-cy8cmod-062s3-4343w-whd INTERFACE)
65+
target_include_directories(mbed-cy8cmod-062s3-4343w-whd INTERFACE resources/nvram/TARGET_CY8CMOD_062S3_4343W)
66+
67+
add_library(mbed-cy8cmod-062-4343w-whd INTERFACE)
68+
target_include_directories(mbed-cy8cmod-062-4343w-whd INTERFACE resources/nvram/TARGET_CY8CMOD_062_4343W)
69+
70+
add_library(mbed-cy8cproto-062s3-4343w-whd INTERFACE)
71+
target_include_directories(mbed-cy8cproto-062s3-4343w-whd INTERFACE resources/nvram/TARGET_CY8CPROTO_062S3_4343W)
72+
73+
add_library(mbed-cy8cproto-062-4343w-whd INTERFACE)
74+
target_include_directories(mbed-cy8cproto-062-4343w-whd INTERFACE resources/nvram/TARGET_CY8CPROTO_062_4343W)
75+
76+
add_library(mbed-cytfm-064b0s2-4343w-whd INTERFACE)
77+
target_include_directories(mbed-cytfm-064b0s2-4343w-whd INTERFACE resources/nvram/TARGET_CYTFM_064B0S2_4343W)
78+
79+
add_library(mbed-cyw943012p6evb-01-whd INTERFACE)
80+
target_include_directories(mbed-cyw943012p6evb-01-whd INTERFACE resources/nvram/TARGET_CYW943012P6EVB_01)
81+
82+
add_library(mbed-cyw943012wcd2-whd INTERFACE)
83+
target_include_directories(mbed-cyw943012wcd2-whd INTERFACE resources/nvram/TARGET_CYW943012WCD2)
84+
85+
add_library(mbed-cyw9p62s1-43012car-01-whd INTERFACE)
86+
target_include_directories(mbed-cyw9p62s1-43012car-01-whd INTERFACE resources/nvram/TARGET_CYW9P62S1_43012CAR_01)
87+
88+
add_library(mbed-cyw9p62s1-43012evb-01-whd INTERFACE)
89+
target_include_directories(mbed-cyw9p62s1-43012evb-01-whd INTERFACE resources/nvram/TARGET_CYW9P62S1_43012EVB_01)
90+
91+
add_library(mbed-cyw9p62s1-43438evb-01-whd INTERFACE)
92+
target_include_directories(mbed-cyw9p62s1-43438evb-01-whd INTERFACE resources/nvram/TARGET_CYW9P62S1_43438EVB_01)
93+
94+
add_library(mbed-cy8ckit-064b0s2-4343w-whd INTERFACE)
95+
target_include_directories(mbed-cy8ckit-064b0s2-4343w-whd INTERFACE resources/nvram/TARGET_CY8CKIT_064B0S2_4343W)
96+
97+
98+
99+
target_include_directories(mbed-cy-psoc6-whd
100+
INTERFACE
101+
.
102+
resources/resource_imp
103+
)
104+
105+
target_sources(mbed-cy-psoc6-whd
106+
INTERFACE
107+
resources/resource_imp/whd_resources.c
108+
109+
)
110+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* This file is used to set the MAC address in NVRAM.
3+
* The MAC address of the Wi-Fi device may be configured in OTP and/or in NVRAM.
4+
* If both OTP and NVRAM contains the MAC address then OTP programmed MAC address will be used.
5+
* PSOC boards are usually programmed with OTP MAC address.
6+
* MAC address is printed during WHD power up
7+
*/
8+
9+
#define NVRAM_GENERATED_MAC_ADDRESS "macaddr=00:A0:50:6f:b2:ea"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
Permissive Binary License
2+
3+
Version 1.0, July 2019
4+
5+
Redistribution. Redistribution and use in binary form, without
6+
modification, are permitted provided that the following conditions are
7+
met:
8+
9+
1) Redistributions must reproduce the above copyright notice and the
10+
following disclaimer in the documentation and/or other materials
11+
provided with the distribution.
12+
13+
2) Unless to the extent explicitly permitted by law, no reverse
14+
engineering, decompilation, or disassembly of this software is
15+
permitted.
16+
17+
3) Redistribution as part of a software development kit must include the
18+
accompanying file named �DEPENDENCIES� and any dependencies listed in
19+
that file.
20+
21+
4) Neither the name of the copyright holder nor the names of its
22+
contributors may be used to endorse or promote products derived from
23+
this software without specific prior written permission.
24+
25+
Limited patent license. The copyright holders (and contributors) grant a
26+
worldwide, non-exclusive, no-charge, royalty-free patent license to
27+
make, have made, use, offer to sell, sell, import, and otherwise
28+
transfer this software, where such license applies only to those patent
29+
claims licensable by the copyright holders (and contributors) that are
30+
necessarily infringed by this software. This patent license shall not
31+
apply to any combinations that include this software. No hardware is
32+
licensed hereunder.
33+
34+
If you institute patent litigation against any entity (including a
35+
cross-claim or counterclaim in a lawsuit) alleging that the software
36+
itself infringes your patent(s), then your rights granted under this
37+
license shall terminate as of the date such litigation is filed.
38+
39+
DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
40+
CONTRIBUTORS "AS IS." ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
41+
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
42+
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
43+
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
44+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
45+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
46+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
47+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
48+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
49+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)