From 39262adf737b979559cba919a038a281e15263d4 Mon Sep 17 00:00:00 2001 From: Andrej Butok Date: Thu, 5 Oct 2023 11:07:33 +0200 Subject: [PATCH] boot: zephyr: add support for LPC55Sxx Add configuration for LPC55Sxx to MCUBoot. It supports the upgrade only mode. Signed-off-by: Andrej Butok --- boot/zephyr/boards/lpcxpresso55s06.conf | 6 ++++++ boot/zephyr/boards/lpcxpresso55s16.conf | 6 ++++++ boot/zephyr/boards/lpcxpresso55s36.conf | 6 ++++++ boot/zephyr/boards/lpcxpresso55s69_cpu0.conf | 6 ++++++ 4 files changed, 24 insertions(+) create mode 100644 boot/zephyr/boards/lpcxpresso55s06.conf create mode 100644 boot/zephyr/boards/lpcxpresso55s16.conf create mode 100644 boot/zephyr/boards/lpcxpresso55s36.conf create mode 100644 boot/zephyr/boards/lpcxpresso55s69_cpu0.conf diff --git a/boot/zephyr/boards/lpcxpresso55s06.conf b/boot/zephyr/boards/lpcxpresso55s06.conf new file mode 100644 index 000000000..c0f96374c --- /dev/null +++ b/boot/zephyr/boards/lpcxpresso55s06.conf @@ -0,0 +1,6 @@ +# Copyright 2023 NXP +# SPDX-License-Identifier: Apache-2.0 + +#LPC does not support the MCUBoot swap mode. +CONFIG_BOOT_UPGRADE_ONLY=y +CONFIG_BOOT_MAX_IMG_SECTORS=256 diff --git a/boot/zephyr/boards/lpcxpresso55s16.conf b/boot/zephyr/boards/lpcxpresso55s16.conf new file mode 100644 index 000000000..c0f96374c --- /dev/null +++ b/boot/zephyr/boards/lpcxpresso55s16.conf @@ -0,0 +1,6 @@ +# Copyright 2023 NXP +# SPDX-License-Identifier: Apache-2.0 + +#LPC does not support the MCUBoot swap mode. +CONFIG_BOOT_UPGRADE_ONLY=y +CONFIG_BOOT_MAX_IMG_SECTORS=256 diff --git a/boot/zephyr/boards/lpcxpresso55s36.conf b/boot/zephyr/boards/lpcxpresso55s36.conf new file mode 100644 index 000000000..c0f96374c --- /dev/null +++ b/boot/zephyr/boards/lpcxpresso55s36.conf @@ -0,0 +1,6 @@ +# Copyright 2023 NXP +# SPDX-License-Identifier: Apache-2.0 + +#LPC does not support the MCUBoot swap mode. +CONFIG_BOOT_UPGRADE_ONLY=y +CONFIG_BOOT_MAX_IMG_SECTORS=256 diff --git a/boot/zephyr/boards/lpcxpresso55s69_cpu0.conf b/boot/zephyr/boards/lpcxpresso55s69_cpu0.conf new file mode 100644 index 000000000..fbe7b6723 --- /dev/null +++ b/boot/zephyr/boards/lpcxpresso55s69_cpu0.conf @@ -0,0 +1,6 @@ +# Copyright 2023 NXP +# SPDX-License-Identifier: Apache-2.0 + +#LPC does not support the MCUBoot swap mode. +CONFIG_BOOT_UPGRADE_ONLY=y +CONFIG_BOOT_MAX_IMG_SECTORS=512