Building Serial_lte_modem sample fails for custom board

Hello,
I want to build serial_lte_modem sample for a custom board based on nRF9151, but it fails with this error:


error: Aborting due to Kconfig warnings

I can build this sample for nRF9151DK board, and also I am able to build other samples (Hello_world and modem_shell) for my custom board successfully.
I'm using NRF SDK v2.9.1, using nrf extensions with vs code on macos.

The board definition was created by copying and modifying nrf9151DK definition and exists under application directory: boards/arm/board_name_folder

Could you tell me what's going wrong with this sample?



warning: HW_STACK_PROTECTION (defined at soc/nxp/s32/s32k1/Kconfig.defconfig:20, arch/Kconfig:283)
was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
((SOC_SERIES_S32K1 && SOC_FAMILY_NXP_S32) || ARCH_HAS_STACK_PROTECTION) (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
HW_STACK_PROTECTION in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.


warning: FPROTECT (defined at /opt/nordic/ncs/v2.9.1/nrf/lib/fprotect/Kconfig:47) was assigned the
value 'y' but got the value 'n'. Check these unsatisfied dependencies: SOC_FAMILY_NORDIC_NRF (=n).
See docs.zephyrproject.org/.../kconfig.html and/or look up FPROTECT in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: NRF_RTC_TIMER_USER_CHAN_COUNT (defined at soc/nordic/nrf53/Kconfig.sync_rtc:23,
drivers/timer/Kconfig.nrf_rtc:20) was assigned the value '0' but got the value ''. Check these
unsatisfied dependencies: ((NRF53_SYNC_RTC && SOC_SERIES_NRF53X && SOC_FAMILY_NORDIC_NRF) ||
(NRF_RTC_TIMER && SYS_CLOCK_EXISTS)) (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look
up NRF_RTC_TIMER_USER_CHAN_COUNT in the menuconfig/guiconfig interface. The Application Development
Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
might be helpful too.


warning: ARM_MPU (defined at arch/arm64/core/cortex_r/Kconfig:10, arch/arm/core/mpu/Kconfig:8) was
assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((CPU_HAS_MPU &&
CPU_AARCH64_CORTEX_R && ARM64) || (CPU_HAS_MPU && ARM)) (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up ARM_MPU in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: ARM_TRUSTZONE_M (defined at arch/arm/core/cortex_m/tz/Kconfig:6) was assigned the value 'y'
but got the value 'n'. Check these unsatisfied dependencies: CPU_HAS_TEE (=n), ARMV8_M_SE (=n),
CPU_CORTEX_M (=n), ARM (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
ARM_TRUSTZONE_M in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: NRFX_NVMC (defined at modules/hal_nordic/nrfx/Kconfig:247, modules/hal_nordic/nrfx/Kconfig:247) has direct dependencies ((n || n || n || y) && HAS_NRFX) || ((n || n || n || y) && HAS_NRFX && 0) with value n, but is currently being y-selected by the following symbols:
- SOC_FLASH_NRF (defined at drivers/flash/Kconfig.nrf:10), with value y, direct dependencies (DT_HAS_NORDIC_NRF51_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF53_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF91_FLASH_CONTROLLER_ENABLED) && !FLASH_NRF_FORCE_ALT && FLASH (value: y), and select condition (DT_HAS_NORDIC_NRF51_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF53_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF91_FLASH_CONTROLLER_ENABLED) && !FLASH_NRF_FORCE_ALT && FLASH (value: y)

Parents Reply Children
No Data
Related