Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NXP] Move some components in common #35594

Merged
merged 16 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
83e098c
[nxp][platform][common] Rename S200 crypto PAL and move it to common
marius-alex-tache Sep 11, 2024
9b9a140
[nxp][examples][common] Make S200 Operational Keystore common
marius-alex-tache Sep 11, 2024
3ca9f80
[nxp][platform][common] Make k32w1 BLEManager implementation common
marius-alex-tache Sep 11, 2024
c705cd5
[nxp][platform][common] Move OTA related files to a common folder
marius-alex-tache Sep 11, 2024
ad53847
[nxp][platform][common] Move Factory Data provider into a common folder
marius-alex-tache Sep 11, 2024
57d8cee
[nxp][platform][k32w0] Update files after moving some components
marius-alex-tache Sep 11, 2024
ca5eb90
[nxp][mcxw71_k32w1] Update build system after moving some components
marius-alex-tache Sep 11, 2024
06fe1b3
[nxp][examples][k32w0] Update build system after moving some components
marius-alex-tache Sep 11, 2024
b5827d7
[nxp][scripts][common] Update list of supported devices for multi-ima…
marius-alex-tache Sep 11, 2024
acfec04
[nxp] Bump nxp_matter_support
marius-alex-tache Sep 12, 2024
f83f0d5
[nxp][mcxw71_k32w1][lock-app] Update build system after moving some c…
marius-alex-tache Sep 11, 2024
c9e7034
[nxp][mcxw71_k32w1] Fix factory data compilation issue
doru91 Sep 13, 2024
cf9bed9
Restyled by gn
restyled-commits Sep 16, 2024
b215269
[nxp][ota] Fix spelling of platforms
marius-alex-tache Sep 16, 2024
cd4d106
Restyled by gn
restyled-commits Sep 16, 2024
96a88c2
[nxp][platform][k32w0] Move setting of k32w0_sdk_root
marius-alex-tache Aug 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/contact-sensor-app/nxp/k32w0/main/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include <app/clusters/ota-requestor/DefaultOTARequestor.h>
#include <app/clusters/ota-requestor/DefaultOTARequestorDriver.h>
#include <app/clusters/ota-requestor/DefaultOTARequestorStorage.h>
#include <src/platform/nxp/common/legacy/OTAImageProcessorImpl.h>
#include <src/platform/nxp/common/ota/OTAImageProcessorImpl.h>
#endif

#include <src/platform/nxp/k32w0/BLEManagerImpl.h>
Expand Down
20 changes: 15 additions & 5 deletions examples/contact-sensor-app/nxp/k32w1/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ assert(target_os == "freertos")

example_platform_dir = "${chip_root}/examples/platform/nxp/${nxp_platform}"
common_example_dir = "${chip_root}/examples/platform/nxp/common"
support_common_platform_dir =
"${nxp_sdk_matter_support_root}/examples/platform/common"

mcxw71_k32w1_sdk("sdk") {
defines = []
Expand All @@ -54,6 +56,9 @@ mcxw71_k32w1_sdk("sdk") {
# Indicate the default path to OpenThreadConfig.h
include_dirs += [ "${example_platform_dir}/app/project_include/openthread" ]

# Indicate the default path to GATT database
include_dirs += [ "${support_common_platform_dir}/ble" ]

include_dirs += [
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/K32W1480",
Expand All @@ -69,6 +74,7 @@ mcxw71_k32w1_sdk("sdk") {
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/board_extflash.c",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/board_lp.c",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/hardware_init.c",
"${support_common_platform_dir}/ble/ble_function_mux.c",
]

if (is_debug) {
Expand Down Expand Up @@ -104,7 +110,7 @@ mcxw71_k32w1_executable("contact_sensor_app") {
"CONFIG_NETWORK_LAYER_BLE=1",
"CONFIG_THREAD_DEVICE_TYPE=kThreadDeviceType_SleepyEndDevice",
"CONFIG_OPERATIONAL_KEYSTORE=1",
"EXTERNAL_FACTORY_DATA_PROVIDER_HEADER=\"platform/nxp/common/legacy/FactoryDataProvider.h\"",
"EXTERNAL_FACTORY_DATA_PROVIDER_HEADER=\"platform/nxp/common/factory_data/legacy/FactoryDataProvider.h\"",
]

if (chip_with_diag_logs_demo) {
Expand Down Expand Up @@ -141,6 +147,7 @@ mcxw71_k32w1_executable("contact_sensor_app") {
"${common_example_dir}/clusters/source/ZclCallbacks.cpp",
"${common_example_dir}/device_callbacks/source/CommonDeviceCallbacks.cpp",
"${common_example_dir}/device_manager/source/CHIPDeviceManager.cpp",
"${common_example_dir}/operational_keystore/source/OperationalKeystoreS200.cpp",
"${example_platform_dir}/factory_data/source/AppFactoryDataExample.cpp",
]

Expand All @@ -149,19 +156,23 @@ mcxw71_k32w1_executable("contact_sensor_app") {
}

if (chip_with_factory_data == 1) {
include_dirs += [ "${chip_root}/src/platform/nxp/common/legacy" ]
include_dirs +=
[ "${chip_root}/src/platform/nxp/common/factory_data/legacy" ]
deps += [ "${chip_root}/src/platform/nxp:nxp_factory_data" ]
}

if (chip_enable_ota_requestor) {
defines += [
"CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER=\"platform/nxp/common/legacy/OTAImageProcessorImpl.h\"",
"CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER=\"platform/nxp/common/ota/OTAImageProcessorImpl.h\"",

# The status LED and the external flash CS pin are wired together. The OTA image writing may fail if used together.
"LED_MANAGER_ENABLE_STATUS_LED=0",
]

include_dirs += [ "${common_example_dir}/ota_requestor/include" ]
include_dirs += [
"${common_example_dir}/ota_requestor/include",
"${chip_root}/src/platform/nxp/common/ota",
]
sources += [ "${common_example_dir}/ota_requestor/source/OTARequestorInitiatorMultiImage.cpp" ]
deps += [ "${chip_root}/src/platform/nxp:nxp_ota" ]
}
Expand All @@ -183,7 +194,6 @@ mcxw71_k32w1_executable("contact_sensor_app") {
sources += [
"${example_platform_dir}/button/ButtonManager.cpp",
"${example_platform_dir}/clusters/Identify.cpp",
"${example_platform_dir}/operational_keystore/OperationalKeystore.cpp",
]

if (chip_enable_ota_requestor) {
Expand Down
20 changes: 15 additions & 5 deletions examples/contact-sensor-app/nxp/mcxw71/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ assert(target_os == "freertos")

example_platform_dir = "${chip_root}/examples/platform/nxp/${nxp_platform}"
common_example_dir = "${chip_root}/examples/platform/nxp/common"
support_common_platform_dir =
"${nxp_sdk_matter_support_root}/examples/platform/common"

mcxw71_k32w1_sdk("sdk") {
defines = []
Expand All @@ -53,6 +55,9 @@ mcxw71_k32w1_sdk("sdk") {
# Indicate the default path to OpenThreadConfig.h
include_dirs += [ "${example_platform_dir}/app/project_include/openthread" ]

# Indicate the default path to GATT database
include_dirs += [ "${support_common_platform_dir}/ble" ]

include_dirs += [
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/MCXW716C",
Expand All @@ -68,6 +73,7 @@ mcxw71_k32w1_sdk("sdk") {
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/board_extflash.c",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/board_lp.c",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/hardware_init.c",
"${support_common_platform_dir}/ble/ble_function_mux.c",
]

if (is_debug) {
Expand Down Expand Up @@ -103,7 +109,7 @@ mcxw71_k32w1_executable("contact_sensor_app") {
"CONFIG_NETWORK_LAYER_BLE=1",
"CONFIG_THREAD_DEVICE_TYPE=kThreadDeviceType_SleepyEndDevice",
"CONFIG_OPERATIONAL_KEYSTORE=1",
"EXTERNAL_FACTORY_DATA_PROVIDER_HEADER=\"platform/nxp/common/legacy/FactoryDataProvider.h\"",
"EXTERNAL_FACTORY_DATA_PROVIDER_HEADER=\"platform/nxp/common/factory_data/legacy/FactoryDataProvider.h\"",
]

if (chip_with_diag_logs_demo) {
Expand Down Expand Up @@ -140,6 +146,7 @@ mcxw71_k32w1_executable("contact_sensor_app") {
"${common_example_dir}/clusters/source/ZclCallbacks.cpp",
"${common_example_dir}/device_callbacks/source/CommonDeviceCallbacks.cpp",
"${common_example_dir}/device_manager/source/CHIPDeviceManager.cpp",
"${common_example_dir}/operational_keystore/source/OperationalKeystoreS200.cpp",
"${example_platform_dir}/factory_data/source/AppFactoryDataExample.cpp",
]

Expand All @@ -148,19 +155,23 @@ mcxw71_k32w1_executable("contact_sensor_app") {
}

if (chip_with_factory_data == 1) {
include_dirs += [ "${chip_root}/src/platform/nxp/common/legacy" ]
include_dirs +=
[ "${chip_root}/src/platform/nxp/common/factory_data/legacy" ]
deps += [ "${chip_root}/src/platform/nxp:nxp_factory_data" ]
}

if (chip_enable_ota_requestor) {
defines += [
"CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER=\"platform/nxp/common/legacy/OTAImageProcessorImpl.h\"",
"CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER=\"platform/nxp/common/ota/OTAImageProcessorImpl.h\"",

# The status LED and the external flash CS pin are wired together. The OTA image writing may fail if used together.
"LED_MANAGER_ENABLE_STATUS_LED=0",
]

include_dirs += [ "${common_example_dir}/ota_requestor/include" ]
include_dirs += [
"${common_example_dir}/ota_requestor/include",
"${chip_root}/src/platform/nxp/common/ota",
]
sources += [ "${common_example_dir}/ota_requestor/source/OTARequestorInitiatorMultiImage.cpp" ]
deps += [ "${chip_root}/src/platform/nxp:nxp_ota" ]
}
Expand All @@ -182,7 +193,6 @@ mcxw71_k32w1_executable("contact_sensor_app") {
sources += [
"${example_platform_dir}/button/ButtonManager.cpp",
"${example_platform_dir}/clusters/Identify.cpp",
"${example_platform_dir}/operational_keystore/OperationalKeystore.cpp",
]

if (chip_enable_ota_requestor) {
Expand Down
2 changes: 1 addition & 1 deletion examples/lighting-app/nxp/k32w0/main/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include <app/clusters/ota-requestor/DefaultOTARequestor.h>
#include <app/clusters/ota-requestor/DefaultOTARequestorDriver.h>
#include <app/clusters/ota-requestor/DefaultOTARequestorStorage.h>
#include <src/platform/nxp/common/legacy/OTAImageProcessorImpl.h>
#include <src/platform/nxp/common/ota/OTAImageProcessorImpl.h>
#endif

#include "DefaultTestEventTriggerDelegate.h"
Expand Down
15 changes: 11 additions & 4 deletions examples/lighting-app/nxp/k32w1/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ assert(target_os == "freertos")

example_platform_dir = "${chip_root}/examples/platform/nxp/${nxp_platform}"
common_example_dir = "${chip_root}/examples/platform/nxp/common"
support_common_platform_dir =
"${nxp_sdk_matter_support_root}/examples/platform/common"

mcxw71_k32w1_sdk("sdk") {
defines = []
Expand All @@ -59,6 +61,9 @@ mcxw71_k32w1_sdk("sdk") {
# Indicate the default path to OpenThreadConfig.h
include_dirs += [ "${example_platform_dir}/app/project_include/openthread" ]

# Indicate the default path to GATT database
include_dirs += [ "${support_common_platform_dir}/ble" ]

include_dirs += [
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/K32W1480",
Expand All @@ -74,6 +79,7 @@ mcxw71_k32w1_sdk("sdk") {
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/board_extflash.c",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/board_lp.c",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/hardware_init.c",
"${support_common_platform_dir}/ble/ble_function_mux.c",
]

if (is_debug) {
Expand Down Expand Up @@ -125,7 +131,7 @@ mcxw71_k32w1_executable("light_app") {
"CONFIG_OPERATIONAL_KEYSTORE=1",
"CONFIG_ENABLE_FEEDBACK=1",
"APP_QUEUE_TICKS_TO_WAIT=pdMS_TO_TICKS(10)",
"EXTERNAL_FACTORY_DATA_PROVIDER_HEADER=\"platform/nxp/common/legacy/FactoryDataProvider.h\"",
"EXTERNAL_FACTORY_DATA_PROVIDER_HEADER=\"platform/nxp/common/factory_data/legacy/FactoryDataProvider.h\"",
]

# App common files
Expand All @@ -148,12 +154,13 @@ mcxw71_k32w1_executable("light_app") {
"${common_example_dir}/clusters/source/ZclCallbacks.cpp",
"${common_example_dir}/device_callbacks/source/CommonDeviceCallbacks.cpp",
"${common_example_dir}/device_manager/source/CHIPDeviceManager.cpp",
"${common_example_dir}/operational_keystore/source/OperationalKeystoreS200.cpp",
"${example_platform_dir}/factory_data/source/AppFactoryDataExample.cpp",
]

if (chip_enable_ota_requestor) {
defines += [
"CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER=\"platform/nxp/common/legacy/OTAImageProcessorImpl.h\"",
"CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER=\"platform/nxp/common/ota/OTAImageProcessorImpl.h\"",

# The status LED and the external flash CS pin are wired together. The OTA image writing may fail if used together.
"LED_MANAGER_ENABLE_STATUS_LED=0",
Expand All @@ -174,7 +181,6 @@ mcxw71_k32w1_executable("light_app") {
sources += [
"${example_platform_dir}/button/ButtonManager.cpp",
"${example_platform_dir}/clusters/Identify.cpp",
"${example_platform_dir}/operational_keystore/OperationalKeystore.cpp",
]

if (chip_enable_ota_requestor) {
Expand All @@ -186,7 +192,8 @@ mcxw71_k32w1_executable("light_app") {
}

if (chip_with_factory_data == 1) {
include_dirs += [ "${chip_root}/src/platform/nxp/common/legacy" ]
include_dirs +=
[ "${chip_root}/src/platform/nxp/common/factory_data/legacy" ]
deps += [ "${chip_root}/src/platform/nxp:nxp_factory_data" ]
}

Expand Down
20 changes: 15 additions & 5 deletions examples/lighting-app/nxp/mcxw71/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ assert(target_os == "freertos")

example_platform_dir = "${chip_root}/examples/platform/nxp/${nxp_platform}"
common_example_dir = "${chip_root}/examples/platform/nxp/common"
support_common_platform_dir =
"${nxp_sdk_matter_support_root}/examples/platform/common"

mcxw71_k32w1_sdk("sdk") {
defines = []
Expand All @@ -59,6 +61,9 @@ mcxw71_k32w1_sdk("sdk") {
# Indicate the default path to OpenThreadConfig.h
include_dirs += [ "${example_platform_dir}/app/project_include/openthread" ]

# Indicate the default path to GATT database
include_dirs += [ "${support_common_platform_dir}/ble" ]

include_dirs += [
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/MCXW716C",
Expand All @@ -74,6 +79,7 @@ mcxw71_k32w1_sdk("sdk") {
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/board_extflash.c",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/board_lp.c",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/hardware_init.c",
"${support_common_platform_dir}/ble/ble_function_mux.c",
]

if (is_debug) {
Expand Down Expand Up @@ -125,7 +131,7 @@ mcxw71_k32w1_executable("light_app") {
"CONFIG_OPERATIONAL_KEYSTORE=1",
"CONFIG_ENABLE_FEEDBACK=1",
"APP_QUEUE_TICKS_TO_WAIT=pdMS_TO_TICKS(10)",
"EXTERNAL_FACTORY_DATA_PROVIDER_HEADER=\"platform/nxp/common/legacy/FactoryDataProvider.h\"",
"EXTERNAL_FACTORY_DATA_PROVIDER_HEADER=\"platform/nxp/common/factory_data/legacy/FactoryDataProvider.h\"",
]

# App common files
Expand All @@ -148,18 +154,22 @@ mcxw71_k32w1_executable("light_app") {
"${common_example_dir}/clusters/source/ZclCallbacks.cpp",
"${common_example_dir}/device_callbacks/source/CommonDeviceCallbacks.cpp",
"${common_example_dir}/device_manager/source/CHIPDeviceManager.cpp",
"${common_example_dir}/operational_keystore/source/OperationalKeystoreS200.cpp",
"${example_platform_dir}/factory_data/source/AppFactoryDataExample.cpp",
]

if (chip_enable_ota_requestor) {
defines += [
"CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER=\"platform/nxp/common/legacy/OTAImageProcessorImpl.h\"",
"CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER=\"platform/nxp/common/ota/OTAImageProcessorImpl.h\"",

# The status LED and the external flash CS pin are wired together. The OTA image writing may fail if used together.
"LED_MANAGER_ENABLE_STATUS_LED=0",
]

include_dirs += [ "${common_example_dir}/ota_requestor/include" ]
include_dirs += [
"${common_example_dir}/ota_requestor/include",
"${chip_root}/src/platform/nxp/common/ota",
]
sources += [ "${common_example_dir}/ota_requestor/source/OTARequestorInitiatorMultiImage.cpp" ]
deps += [ "${chip_root}/src/platform/nxp:nxp_ota" ]
}
Expand All @@ -174,7 +184,6 @@ mcxw71_k32w1_executable("light_app") {
sources += [
"${example_platform_dir}/button/ButtonManager.cpp",
"${example_platform_dir}/clusters/Identify.cpp",
"${example_platform_dir}/operational_keystore/OperationalKeystore.cpp",
]

if (chip_enable_ota_requestor) {
Expand All @@ -186,7 +195,8 @@ mcxw71_k32w1_executable("light_app") {
}

if (chip_with_factory_data == 1) {
include_dirs += [ "${chip_root}/src/platform/nxp/common/legacy" ]
include_dirs +=
[ "${chip_root}/src/platform/nxp/common/factory_data/legacy" ]
deps += [ "${chip_root}/src/platform/nxp:nxp_factory_data" ]
}

Expand Down
15 changes: 11 additions & 4 deletions examples/lock-app/nxp/k32w1/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ assert(target_os == "freertos")

example_platform_dir = "${chip_root}/examples/platform/nxp/${nxp_platform}"
common_example_dir = "${chip_root}/examples/platform/nxp/common"
support_common_platform_dir =
"${nxp_sdk_matter_support_root}/examples/platform/common"

mcxw71_k32w1_sdk("sdk") {
defines = []
Expand All @@ -52,6 +54,9 @@ mcxw71_k32w1_sdk("sdk") {
# Indicate the default path to OpenThreadConfig.h
include_dirs += [ "${example_platform_dir}/app/project_include/openthread" ]

# Indicate the default path to GATT database
include_dirs += [ "${support_common_platform_dir}/ble" ]

include_dirs += [
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/K32W1480",
Expand All @@ -67,6 +72,7 @@ mcxw71_k32w1_sdk("sdk") {
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/board_extflash.c",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/board_lp.c",
"${nxp_sdk_root}/middleware/wireless/framework/boards/kw45_k32w1/hardware_init.c",
"${support_common_platform_dir}/ble/ble_function_mux.c",
]

if (is_debug) {
Expand Down Expand Up @@ -102,7 +108,7 @@ mcxw71_k32w1_executable("lock_app") {
"CONFIG_NETWORK_LAYER_BLE=1",
"CONFIG_THREAD_DEVICE_TYPE=kThreadDeviceType_SleepyEndDevice",
"CONFIG_OPERATIONAL_KEYSTORE=1",
"EXTERNAL_FACTORY_DATA_PROVIDER_HEADER=\"platform/nxp/common/legacy/FactoryDataProvider.h\"",
"EXTERNAL_FACTORY_DATA_PROVIDER_HEADER=\"platform/nxp/common/factory_data/legacy/FactoryDataProvider.h\"",
"CONFIG_APP_FREERTOS_OS=1",
]

Expand Down Expand Up @@ -144,6 +150,7 @@ mcxw71_k32w1_executable("lock_app") {
"${common_example_dir}/device_callbacks/source/CommonDeviceCallbacks.cpp",
"${common_example_dir}/device_manager/source/CHIPDeviceManager.cpp",
"${common_example_dir}/icd/source/ICDUtil.cpp",
"${common_example_dir}/operational_keystore/source/OperationalKeystoreS200.cpp",
"${example_platform_dir}/factory_data/source/AppFactoryDataExample.cpp",
]

Expand All @@ -152,7 +159,8 @@ mcxw71_k32w1_executable("lock_app") {
}

if (chip_with_factory_data == 1) {
include_dirs += [ "${chip_root}/src/platform/nxp/common/legacy" ]
include_dirs +=
[ "${chip_root}/src/platform/nxp/common/factory_data/legacy" ]
deps += [ "${chip_root}/src/platform/nxp:nxp_factory_data" ]
}

Expand All @@ -170,7 +178,7 @@ mcxw71_k32w1_executable("lock_app") {

if (chip_enable_ota_requestor) {
defines += [
"CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER=\"platform/nxp/common/legacy/OTAImageProcessorImpl.h\"",
"CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER=\"platform/nxp/common/ota/OTAImageProcessorImpl.h\"",

# The status LED and the external flash CS pin are wired together. The OTA image writing may fail if used together.
"LED_MANAGER_ENABLE_STATUS_LED=0",
Expand Down Expand Up @@ -198,7 +206,6 @@ mcxw71_k32w1_executable("lock_app") {
sources += [
"${example_platform_dir}/button/ButtonManager.cpp",
"${example_platform_dir}/clusters/Identify.cpp",
"${example_platform_dir}/operational_keystore/OperationalKeystore.cpp",
]

if (chip_enable_ota_requestor) {
Expand Down
Loading
Loading