64 lines
No EOL
1.5 KiB
Text
64 lines
No EOL
1.5 KiB
Text
# skji coquette configuration
|
|
# Copyright (c) 2025 eden ariel and ember ana
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
if BOARD_COQUETTE_NRF5340_CPUAPP || BOARD_COQUETTE_NRF5340_CPUAPP_NS
|
|
|
|
DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
|
|
DT_CHOSEN_Z_SRAM_PARTITION := zephyr,sram-secure-partition
|
|
|
|
# board-specific settings
|
|
|
|
if BOARD_COQUETTE_NRF5340_CPUAPP && TRUSTED_EXECUTION_SECURE
|
|
|
|
config FLASH_LOAD_SIZE
|
|
default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION))
|
|
|
|
config SRAM_SIZE
|
|
default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_SRAM_PARTITION),0,K)
|
|
|
|
endif # BOARD_COQUETTE_NRF5340_CPUAPP && TRUSTED_EXECUTION_SECURE
|
|
|
|
if BOARD_COQUETTE_NRF5340_CPUAPP_NS
|
|
|
|
config FLASH_LOAD_OFFSET
|
|
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_PARTITION))
|
|
|
|
config FLASH_LOAD_SIZE
|
|
default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION))
|
|
|
|
config TRUSTED_EXECUTION_NONSECURE
|
|
default y
|
|
|
|
config ARM_TRUSTZONE_M
|
|
default y
|
|
|
|
endif # BOARD_COQUETTE_NRF5340_CPUAPP_NS
|
|
|
|
config BT_HCI_IPC
|
|
default y if BT
|
|
|
|
config HEAP_MEM_POOL_ADD_SIZE_BOARD
|
|
int
|
|
default 4096 if BT_HCI_IPC
|
|
|
|
endif # BOARD_COQUETTE_NRF5340_CPUAPP || BOARD_COQUETTE_NRF5340_CPUAPP_NS
|
|
|
|
if BOARD_COQUETTE_NRF5340_CPUNET
|
|
|
|
config SOC_COMPATIBLE_NRF5340_CPUNET
|
|
default y
|
|
|
|
endif # BOARD_COQUETTE_NRF5340_CPUNET
|
|
|
|
config COQUETTE_MARIPOSA
|
|
bool "mariposa board hw"
|
|
default n
|
|
config COQUETTE_NIGHTINGALE
|
|
bool "nightingale board hw"
|
|
default n
|
|
config LED_STRIP_SPLIT_OFFSET
|
|
int
|
|
default 4 if COQUETTE_NIGHTINGALE
|
|
default 6 if COQUETTE_MARIPOSA
|
|
default 0 |