mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 07:33:14 +00:00
MAX32657 is Cortex-M33 based Analog Devices MCU. It supports ARM TrustZone security model. There will be two boards of this MCU Secure and Non-Secure This commit defines Secure version of peripherals. Basic feature of MAX32657 device: - Core is Cortex-M33 - 50MHz IPO clock - There are 54 interrupt vectors - 1MB flash & 256 SRAM - MAX32657 has: - 1 x UART - 1 x I2C/I3C - 1 x SPI - 6 x TIMER - 1 x RTC - 1 x WDT - 1 x TRNG Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
72 lines
1.7 KiB
Plaintext
72 lines
1.7 KiB
Plaintext
# Analog Devices MAX32xxx MCU family
|
|
|
|
# Copyright (c) 2023-2025 Analog Devices, Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SOC_FAMILY_MAX32
|
|
select CLOCK_CONTROL
|
|
select BUILD_OUTPUT_HEX
|
|
select SOC_EARLY_INIT_HOOK
|
|
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
|
|
|
|
config SOC_FAMILY_MAX32_M33
|
|
select ARM
|
|
select CPU_CORTEX_M_HAS_SYSTICK
|
|
select CPU_HAS_ARM_MPU
|
|
select CPU_HAS_FPU
|
|
select CLOCK_CONTROL
|
|
select CPU_CORTEX_M33
|
|
select ARM_TRUSTZONE_M
|
|
select CPU_HAS_ARM_SAU
|
|
select ARMV8_M_DSP
|
|
|
|
config SOC_FAMILY_MAX32_M4
|
|
select ARM
|
|
select CPU_CORTEX_M4
|
|
select CPU_CORTEX_M_HAS_SYSTICK
|
|
select CPU_HAS_ARM_MPU
|
|
select CPU_HAS_FPU
|
|
|
|
config SOC_MAX32655_M4
|
|
select MAX32_HAS_SECONDARY_RV32
|
|
|
|
config SOC_MAX32680_M4
|
|
select MAX32_HAS_SECONDARY_RV32
|
|
|
|
config SOC_MAX32690_M4
|
|
select MAX32_HAS_SECONDARY_RV32
|
|
|
|
config SOC_MAX78000_M4
|
|
select MAX32_HAS_SECONDARY_RV32
|
|
|
|
config SOC_MAX78002_M4
|
|
select MAX32_HAS_SECONDARY_RV32
|
|
|
|
if SOC_FAMILY_MAX32
|
|
|
|
config MAX32_ON_ENTER_CPU_IDLE_HOOK
|
|
bool "CPU idle hook enable"
|
|
default y
|
|
imply ARM_ON_ENTER_CPU_IDLE_HOOK
|
|
help
|
|
Enables a hook (z_arm_on_enter_cpu_idle()) that is called when
|
|
the CPU is made idle (by k_cpu_idle() or k_cpu_atomic_idle()).
|
|
If needed, this hook can be used to prevent the CPU from actually
|
|
entering sleep by skipping the WFE/WFI instruction.
|
|
|
|
config MAX32_HAS_SECONDARY_RV32
|
|
bool
|
|
|
|
config MAX32_SECONDARY_RV32
|
|
bool "Secondary RISC-V core enable"
|
|
depends on MAX32_HAS_SECONDARY_RV32
|
|
|
|
DT_CHOSEN_Z_CODE_RV32_PARTITION := zephyr,code-rv32-partition
|
|
|
|
config MAX32_SECONDARY_RV32_BOOT_ADDRESS
|
|
hex "Secondary RISC-V core boot address"
|
|
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_RV32_PARTITION))
|
|
depends on MAX32_SECONDARY_RV32
|
|
|
|
endif # SOC_FAMILY_MAX32
|