zephyr/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.nrf5340_CPUAPP_QKAA
Ioannis Glaropoulos e684dfa399 boards: arm: nrf5340: enable erratum19 configuration on nRF5340 PDK
When building for nRF5340 PDK board, enable Kconfig option
for Erratum 19. Do not enable when building on nRF5340 DK.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2020-07-08 10:45:57 +02:00

28 lines
958 B
Plaintext

# Nordic Semiconductor nRF5340 Application MCU
# Copyright (c) 2019 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if SOC_NRF5340_CPUAPP_QKAA
config SOC
default "nRF5340_CPUAPP_QKAA"
config NUM_IRQS
default 69
config NRF5340_CPUAPP_ERRATUM19
bool "Include workarounds for Erratum 19"
depends on !TRUSTED_EXECUTION_NONSECURE
help
This anomaly applies to IC Rev. Engineering A, build codes QKAA-AB0.
This config MUST be enabled if there is a chance the code will be run
on nRF5340 Engineering A. Enabling this config is safe on other
nRF5340 variants, but might increase flash size.
The workaround involves adding run-time checks when using the SPU,
and aligning regions on 32 KiB instead of 16 KiB if they are to be
locked with the SPU.
More info: https://infocenter.nordicsemi.com/topic/errata_nRF5340_EngA/ERR/nRF5340/EngineeringA/latest/anomaly_340_19.html?cp=3_0_1_0_1_15
endif # SOC_NRF5340_CPUAPP_QKAA