File tree 13 files changed +1
-70
lines changed
platform/nxp/mcxw71_k32w1/app/support
src/platform/nxp/mcxw71_k32w1
13 files changed +1
-70
lines changed Original file line number Diff line number Diff line change @@ -86,14 +86,6 @@ mcxw71_k32w1_sdk("sdk") {
86
86
defines += [
87
87
" CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR=${ setup_discriminator } " ,
88
88
]
89
-
90
- if (nxp_nvm_component == " littlefs" ) {
91
- include_dirs += [ " ${ example_platform_dir } /board" ]
92
- sources += [
93
- " ${ example_platform_dir } /board/peripherals.c" ,
94
- " ${ example_platform_dir } /board/peripherals.h" ,
95
- ]
96
- }
97
89
}
98
90
99
91
mcxw71_k32w1_executable (" contact_sensor_app" ) {
Original file line number Diff line number Diff line change @@ -42,5 +42,3 @@ chip_openthread_ftd = false
42
42
nxp_enable_ot_cli = false
43
43
44
44
chip_with_diag_logs_demo = true
45
-
46
- nxp_nvm_component = " nvs"
Original file line number Diff line number Diff line change @@ -85,14 +85,6 @@ mcxw71_k32w1_sdk("sdk") {
85
85
defines += [
86
86
" CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR=${ setup_discriminator } " ,
87
87
]
88
-
89
- if (nxp_nvm_component == " littlefs" ) {
90
- include_dirs += [ " ${ example_platform_dir } /board" ]
91
- sources += [
92
- " ${ example_platform_dir } /board/peripherals.c" ,
93
- " ${ example_platform_dir } /board/peripherals.h" ,
94
- ]
95
- }
96
88
}
97
89
98
90
mcxw71_k32w1_executable (" contact_sensor_app" ) {
Original file line number Diff line number Diff line change @@ -40,5 +40,3 @@ chip_openthread_ftd = false
40
40
nxp_enable_ot_cli = false
41
41
42
42
chip_with_diag_logs_demo = true
43
-
44
- nxp_nvm_component = " nvs"
Original file line number Diff line number Diff line change @@ -100,14 +100,6 @@ mcxw71_k32w1_sdk("sdk") {
100
100
defines += [
101
101
" CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR=${ setup_discriminator } " ,
102
102
]
103
-
104
- if (nxp_nvm_component == " littlefs" ) {
105
- include_dirs += [ " ${ example_platform_dir } /board" ]
106
- sources += [
107
- " ${ example_platform_dir } /board/peripherals.c" ,
108
- " ${ example_platform_dir } /board/peripherals.h" ,
109
- ]
110
- }
111
103
}
112
104
113
105
mcxw71_k32w1_executable (" light_app" ) {
Original file line number Diff line number Diff line change @@ -35,7 +35,5 @@ chip_system_config_provide_statistics = false
35
35
chip_system_config_use_open_thread_inet_endpoints = true
36
36
chip_with_lwip = false
37
37
38
- nxp_nvm_component = " nvs"
39
-
40
38
nxp_use_smu2_static = true
41
39
nxp_use_smu2_dynamic = true
Original file line number Diff line number Diff line change @@ -100,14 +100,6 @@ mcxw71_k32w1_sdk("sdk") {
100
100
defines += [
101
101
" CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR=${ setup_discriminator } " ,
102
102
]
103
-
104
- if (nxp_nvm_component == " littlefs" ) {
105
- include_dirs += [ " ${ example_platform_dir } /board" ]
106
- sources += [
107
- " ${ example_platform_dir } /board/peripherals.c" ,
108
- " ${ example_platform_dir } /board/peripherals.h" ,
109
- ]
110
- }
111
103
}
112
104
113
105
mcxw71_k32w1_executable (" light_app" ) {
Original file line number Diff line number Diff line change @@ -35,7 +35,5 @@ chip_system_config_provide_statistics = false
35
35
chip_system_config_use_open_thread_inet_endpoints = true
36
36
chip_with_lwip = false
37
37
38
- nxp_nvm_component = " nvs"
39
-
40
38
nxp_use_smu2_static = true
41
39
nxp_use_smu2_dynamic = true
Original file line number Diff line number Diff line change @@ -85,14 +85,6 @@ mcxw71_k32w1_sdk("sdk") {
85
85
" CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR=${ setup_discriminator } " ,
86
86
]
87
87
88
- if (nxp_nvm_component == " littlefs" ) {
89
- include_dirs += [ " ${ example_platform_dir } /board" ]
90
- sources += [
91
- " ${ example_platform_dir } /board/peripherals.c" ,
92
- " ${ example_platform_dir } /board/peripherals.h" ,
93
- ]
94
- }
95
-
96
88
if (nxp_multiple_ble_connections ) {
97
89
include_dirs += [ " ${ example_platform_dir } /app_ble/include" ]
98
90
defines += [
Original file line number Diff line number Diff line change @@ -85,14 +85,6 @@ mcxw71_k32w1_sdk("sdk") {
85
85
" CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR=${ setup_discriminator } " ,
86
86
]
87
87
88
- if (nxp_nvm_component == " littlefs" ) {
89
- include_dirs += [ " ${ example_platform_dir } /board" ]
90
- sources += [
91
- " ${ example_platform_dir } /board/peripherals.c" ,
92
- " ${ example_platform_dir } /board/peripherals.h" ,
93
- ]
94
- }
95
-
96
88
if (nxp_multiple_ble_connections ) {
97
89
include_dirs += [ " ${ example_platform_dir } /app_ble/include" ]
98
90
defines += [
Original file line number Diff line number Diff line change @@ -55,8 +55,6 @@ source_set("freertos_memory_utils") {
55
55
56
56
if (nxp_nvm_component == " fwk_nvm" ) {
57
57
defines = [ " CHIP_PLAT_NVM_SUPPORT=1" ]
58
- } else if (nxp_nvm_component == " littlefs" ) {
59
- defines = [ " CHIP_PLAT_NVM_SUPPORT=3" ]
60
58
}
61
59
62
60
public_configs = [
Original file line number Diff line number Diff line change @@ -123,18 +123,6 @@ static_library("nxp_platform") {
123
123
" ram_storage.c" ,
124
124
" ram_storage.h" ,
125
125
]
126
- } else if (nxp_nvm_component == " littlefs" ) {
127
- defines += [
128
- " CHIP_PLAT_NVM_SUPPORT=3" ,
129
- " EXTERNAL_KEYVALUESTOREMANAGERIMPL_HEADER=\" platform/nxp/common/KeyValueStoreManagerImpl.h\" " ,
130
- ]
131
-
132
- sources += [
133
- " ../common/KeyValueStoreManagerImpl.cpp" ,
134
- " ../common/KeyValueStoreManagerImpl.h" ,
135
- " ../common/NXPConfig.h" ,
136
- " ../common/NXPConfigKS.cpp" ,
137
- ]
138
126
} else if (nxp_nvm_component == " nvs" ) {
139
127
defines += [
140
128
" gAppNvsExternalFlash_c=0" ,
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ openthread_root =
21
21
nxp_platform = " mcxw71_k32w1"
22
22
nxp_sdk_name = " mcxw71_k32w1_sdk"
23
23
nxp_device_layer = " nxp/${ nxp_platform } "
24
+ nxp_nvm_component = " nvs"
24
25
nxp_use_lwip = false
25
26
26
27
# ARM architecture flags will be set based on NXP board.
You can’t perform that action at this time.
0 commit comments