Skip to content

Commit ebf3d15

Browse files
mmahadevan108dleach02
authored andcommitted
evkmimxrt595: Remove dependency on board header file
The flash_config file includes a board.h file which is not available on non-NXP boards. This breaks the build for those platforms when compiling Zephyr Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent c5c32cf commit ebf3d15

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mcux/README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,5 @@ Patch List:
7474
mcux/mcux-sdk/devices/MIMXRT685S/MIMXRT685S_cm33.h
7575
mcux/mcux-sdk/devices/MIMXRT685S/MIMXRT685S_dsp.h
7676

77+
* Avoid including board.h from flash_config.c file in evkmimxrt595 board folder. The following file are touched by this commit:
78+
mcux/mcux-sdk/boards/evkmimxrt595/flash_config/flash_config.c

mcux/mcux-sdk/boards/evkmimxrt595/flash_config/flash_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDXLicense-Identifier: BSD-3-Clause
66
*/
77
#include "flash_config.h"
8-
#include "board.h"
8+
/* #include "board.h" */
99

1010
/* Component ID definition, used by tools. */
1111
#ifndef FSL_COMPONENT_ID

0 commit comments

Comments
 (0)