zephyr/soc/raspberrypi/rpi_pico/rp2350/Kconfig
Manuel Aebischer da6f39172f rp2350: Only add IMAGE_DEF for apps at start of flash.
The image_def header shall not be added to apps that are booted by a
bootloader, e.g. mcuboot. Added proper handling for UF2 by hanan619.

Signed-off-by: Manuel Aebischer <manuel.aebischer@belden.com>
2025-05-15 22:14:01 +02:00

38 lines
1,015 B
Text

# Raspberry Pi RP235XX MCU line
# Copyright (c) 2024 Andrew Featherstone
# SPDX-License-Identifier: Apache-2.0
config SOC_SERIES_RP2350
select HAS_RPI_PICO
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
select SOC_RESET_HOOK
select XIP
config SOC_RP2350A_M33
select ARM
select ARM_TRUSTZONE_M
select CPU_CORTEX_M_HAS_SYSTICK
select CPU_CORTEX_M_HAS_VTOR
select CPU_CORTEX_M33
select CPU_HAS_ARM_MPU
select CPU_HAS_ARM_SAU
config SOC_RP2350B_M33
select ARM
select ARM_TRUSTZONE_M
select CPU_CORTEX_M_HAS_SYSTICK
select CPU_CORTEX_M_HAS_VTOR
select CPU_CORTEX_M33
select CPU_HAS_ARM_MPU
select CPU_HAS_ARM_SAU
config RP2_REQUIRES_IMAGE_DEFINITION_BLOCK
bool
default y if FLASH_LOAD_OFFSET = 0x100
# Currently the IDF only supports using the Cortex-M33 cores. Enforce
# this at build configuration time.
depends on SOC_SERIES_RP2350 && CPU_CORTEX_M33
help
Include an Image Definition Block (IMAGE_DEF) to enable the bootroom in
RP23XX devices to consider this a valid image in flash.