Skip to content

Commit f3caf6a

Browse files
Add back nvram image for CYTFM board.
Add label so nvram image is found for 064B0S2 board.
1 parent 7a0e0d0 commit f3caf6a

File tree

2 files changed

+98
-1
lines changed

2 files changed

+98
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
/*
2+
* Copyright (c) 2019, Cypress Semiconductor Corporation, All Rights Reserved
3+
* SPDX-License-Identifier: LicenseRef-PBL
4+
*
5+
* This file and the related binary are licensed under the
6+
* Permissive Binary License, Version 1.0 (the "License");
7+
* you may not use these files except in compliance with the License.
8+
*
9+
* You may obtain a copy of the License here:
10+
* LICENSE-permissive-binary-license-1.0.txt and at
11+
* https://www.mbed.com/licenses/PBL-1.0
12+
*
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef INCLUDED_NVRAM_IMAGE_H_
18+
#define INCLUDED_NVRAM_IMAGE_H_
19+
20+
#include <string.h>
21+
#include <stdint.h>
22+
#include "generated_mac_address.txt"
23+
24+
#ifdef __cplusplus
25+
extern "C" {
26+
#endif
27+
28+
/**
29+
* Character array of NVRAM image
30+
* Generated from cyw9cy8cmod-064b0s2-4343w_P100_724315.txt
31+
*/
32+
33+
static const char wifi_nvram_image[] =
34+
"NVRAMRev=$Rev: 724315 $" "\x00"
35+
"manfid=0x2d0" "\x00"
36+
"prodid=0x087d" "\x00"
37+
"vendid=0x14e4" "\x00"
38+
"devid=0x43e2" "\x00"
39+
"boardtype=0x087d" "\x00"
40+
"boardrev=0x1100" "\x00"
41+
"boardnum=22" "\x00"
42+
NVRAM_GENERATED_MAC_ADDRESS "\x00"
43+
"sromrev=11" "\x00"
44+
"boardflags=0x00404201" "\x00"
45+
"boardflags3=0x08000000" "\x00"
46+
"xtalfreq=37400" "\x00"
47+
"nocrc=1" "\x00"
48+
"ag0=255" "\x00"
49+
"aa2g=1" "\x00"
50+
"ccode=ALL" "\x00"
51+
"" "\x00"
52+
"swdiv_en=1" "\x00"
53+
"swdiv_gpio=2" "\x00"
54+
"" "\x00"
55+
"pa0itssit=0x20" "\x00"
56+
"extpagain2g=0" "\x00"
57+
"" "\x00"
58+
"pa2ga0=-168,6393,-757" "\x00"
59+
"AvVmid_c0=0x0,0xc8" "\x00"
60+
"AvVmidIQcal=0x2,0xa8" "\x00"
61+
"cckpwroffset0=5" "\x00"
62+
"" "\x00"
63+
"maxp2ga0=84" "\x00"
64+
"txpwrbckof=6" "\x00"
65+
"cckbw202gpo=0" "\x00"
66+
"legofdmbw202gpo=0x66111111" "\x00"
67+
"mcsbw202gpo=0x77711111" "\x00"
68+
"propbw202gpo=0xdd" "\x00"
69+
"" "\x00"
70+
"ofdmdigfilttype=18" "\x00"
71+
"ofdmdigfilttypebe=18" "\x00"
72+
"papdmode=1" "\x00"
73+
"papdvalidtest=1" "\x00"
74+
"pacalidx2g=32" "\x00"
75+
"papdepsoffset=-36" "\x00"
76+
"papdendidx=61" "\x00"
77+
"" "\x00"
78+
"" "\x00"
79+
"wl0id=0x431b" "\x00"
80+
"" "\x00"
81+
"deadman_to=0xffffffff" "\x00"
82+
"muxenab=0x11" "\x00"
83+
"" "\x00"
84+
"spurconfig=0x3 " "\x00"
85+
"" "\x00"
86+
"rssicorrnorm=1" "\x00"
87+
"\x00\x00";
88+
#ifdef __cplusplus
89+
} /*extern "C" */
90+
#endif
91+
92+
#else /* ifndef INCLUDED_NVRAM_IMAGE_H_ */
93+
94+
#error Wi-Fi NVRAM image included twice
95+
96+
#endif /* ifndef INCLUDED_NVRAM_IMAGE_H_ */

targets/targets.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6861,7 +6861,8 @@
68616861
"extra_labels_add": [
68626862
"PSOC6_02",
68636863
"MXCRYPTO_02",
6864-
"CORDIO"
6864+
"CORDIO",
6865+
"CY8CKIT_064B0S2_4343W"
68656866
],
68666867
"macros_add": [
68676868
"CYB0644ABZI_S2D44",

0 commit comments

Comments
 (0)