Skip to content

Commit 5eb3cc0

Browse files
[NXP][platform][common] Minor platform code updates (project-chip#36169)
* [NXP][platform][common] Platform code updates Signed-off-by: Dina Benamar <dina.benamarelmaaroufi@nxp.com> * Restyled by clang-format * [NXP] Fix include order after clang format Signed-off-by: Dina Benamar <dina.benamarelmaaroufi@nxp.com> --------- Signed-off-by: Dina Benamar <dina.benamarelmaaroufi@nxp.com> Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 4269ff5 commit 5eb3cc0

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

examples/platform/nxp/common/ota_requestor/include/OTARequestorInitiator.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
#ifdef CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER
2828
#include CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER
2929
#else
30-
#ifdef CONFIG_CHIP
30+
#ifndef CONFIG_APP_FREERTOS_OS
3131
#include <platform/nxp/zephyr/ota/OTAImageProcessorImpl.h>
3232
#else
3333
#include "platform/nxp/common/OTAImageProcessorImpl.h"
34-
#endif /* CONFIG_CHIP */
34+
#endif /* CONFIG_APP_FREERTOS_OS */
3535
#endif /* CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER */
3636

3737
#include <stdint.h>

src/platform/nxp/common/NXPConfigNVS.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <settings.h>
2525

2626
/* Only for flash init, to be move to sdk framework */
27-
#include "port/nvs_port.h"
27+
#include "nvs_port.h"
2828
#if (CHIP_DEVICE_CONFIG_KVS_WEAR_STATS == 1)
2929
#include "fwk_nvs_stats.h"
3030
#endif /* CHIP_DEVICE_CONFIG_KVS_WEAR_STATS */

src/platform/nxp/common/ble_zephyr/BLEAdvertisingArbiter.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
#include <lib/support/Span.h>
2121

2222
#include <zephyr/bluetooth/bluetooth.h>
23-
#include <zephyr/sys/slist.h>
23+
24+
#include <sys/slist.h>
2425

2526
#include <cstdint>
2627

src/platform/nxp/rt/rw61x/PlatformManagerImpl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
#include <lwip/tcpip.h>
4040

41-
#include MBEDTLS_PORT_INCLUDE
41+
#include "els_pkc_mbedtls.h"
4242

4343
#if CHIP_DEVICE_CONFIG_ENABLE_OTA_REQUESTOR
4444
#include "OtaSupport.h"

0 commit comments

Comments
 (0)