Skip to content

Commit

Permalink
[NXP][platform][common] Minor platform code updates (#36169)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
dinabenamar and restyled-commits authored Oct 22, 2024
1 parent 4269ff5 commit 5eb3cc0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
#ifdef CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER
#include CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER
#else
#ifdef CONFIG_CHIP
#ifndef CONFIG_APP_FREERTOS_OS
#include <platform/nxp/zephyr/ota/OTAImageProcessorImpl.h>
#else
#include "platform/nxp/common/OTAImageProcessorImpl.h"
#endif /* CONFIG_CHIP */
#endif /* CONFIG_APP_FREERTOS_OS */
#endif /* CONFIG_CHIP_OTA_IMAGE_PROCESSOR_HEADER */

#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion src/platform/nxp/common/NXPConfigNVS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <settings.h>

/* Only for flash init, to be move to sdk framework */
#include "port/nvs_port.h"
#include "nvs_port.h"
#if (CHIP_DEVICE_CONFIG_KVS_WEAR_STATS == 1)
#include "fwk_nvs_stats.h"
#endif /* CHIP_DEVICE_CONFIG_KVS_WEAR_STATS */
Expand Down
3 changes: 2 additions & 1 deletion src/platform/nxp/common/ble_zephyr/BLEAdvertisingArbiter.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
#include <lib/support/Span.h>

#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/sys/slist.h>

#include <sys/slist.h>

#include <cstdint>

Expand Down
2 changes: 1 addition & 1 deletion src/platform/nxp/rt/rw61x/PlatformManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

#include <lwip/tcpip.h>

#include MBEDTLS_PORT_INCLUDE
#include "els_pkc_mbedtls.h"

#if CHIP_DEVICE_CONFIG_ENABLE_OTA_REQUESTOR
#include "OtaSupport.h"
Expand Down

0 comments on commit 5eb3cc0

Please sign in to comment.