Skip to content

Commit efa6d3c

Browse files
committedAug 16, 2024
Revert "[nxp noup][platform][common] Create NXPConfigNVS.cpp file, remove NXPConfig BLE dependencies"
This reverts commit ac04355.
1 parent 20b9b3a commit efa6d3c

File tree

4 files changed

+6
-350
lines changed

4 files changed

+6
-350
lines changed
 

‎src/platform/nxp/common/NXPConfig.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@
2121
* Utilities for accessing persisted device configuration on
2222
* platforms based on the NXP SDK.
2323
*/
24+
/* this file behaves like a config.h, comes first */
25+
#include <platform/internal/CHIPDeviceLayerInternal.h>
2426

2527
#include "NXPConfig.h"
2628

2729
#include "FreeRTOS.h"
2830
#include "FunctionLib.h"
2931
#include "board.h"
3032
#include <lib/core/CHIPEncoding.h>
31-
#include <platform/CHIPDeviceError.h>
3233
#include <platform/internal/testing/ConfigUnitTest.h>
3334

3435
/* FS Writes in Idle task only - LittleFS only , already enabled by default on NVM */

‎src/platform/nxp/common/NXPConfig.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323

2424
#pragma once
2525

26+
#include <platform/internal/CHIPDeviceLayerInternal.h>
27+
2628
#include "FreeRTOS.h"
2729
#include <functional>
28-
#include <lib/core/CHIPError.h>
2930

3031
#define CHIP_PLAT_NO_NVM 0
3132
#define CHIP_PLAT_NVM_FWK 1

‎src/platform/nxp/common/NXPConfigKS.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@
2020
* Utilities for accessing persisted device configuration on
2121
* platforms based on the NXP SDK.
2222
*/
23+
/* this file behaves like a config.h, comes first */
24+
#include <platform/internal/CHIPDeviceLayerInternal.h>
2325

2426
#include "NXPConfig.h"
2527

2628
#include "FreeRTOS.h"
2729
#include "FunctionLib.h"
2830
#include "board.h"
2931
#include <lib/core/CHIPEncoding.h>
30-
#include <platform/CHIPDeviceError.h>
3132
#include <platform/internal/testing/ConfigUnitTest.h>
3233

3334
#include "fwk_file_cache.h"

‎src/platform/nxp/common/NXPConfigNVS.cpp

-347
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.