Skip to content

Commit

Permalink
zephyr: boards: Add files needed for NXP FRDM MCXN947 QSPI variant
Browse files Browse the repository at this point in the history
1. set BOOT_MAX_IMG_SECTORS value for frmd_mcxn947_qspi. W25Q64 flash on the board
   is very large (8MB), so we must increase the number of max sectors when
   targeting this board with MCUboot.
2. Set the zephyr,flash chosen node to point to internal flash as this board
   supports booting from internal flash only.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
  • Loading branch information
mmahadevan108 authored and nordicjm committed May 24, 2024
1 parent 2dcbabc commit 45d379e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boot/zephyr/boards/frdm_mcxn947_mcxn947_cpu0_qspi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2023 NXP
# SPDX-License-Identifier: Apache-2.0

CONFIG_BOOT_MAX_IMG_SECTORS=1024
12 changes: 12 additions & 0 deletions boot/zephyr/boards/frdm_mcxn947_mcxn947_cpu0_qspi.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* Copyright 2023 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/

/ {
chosen {
zephyr,flash = &flash;
};
};

0 comments on commit 45d379e

Please sign in to comment.