circuitdojo_feather_nrf9161_ns_defconfig.
# Fixes for I2C
CONFIG_TFM_SECURE_UART=n
with that I get:
modules/tee/tf-m/trusted-firmware-m/platform/ext/common/uart_stdout.c:104: undefined reference to `Driver_USART1'
Memory region Used Size Region Size %age Used
FLASH: 47932 B 48640 B 98.54%
RAM: 14244 B 32 KB 43.47%
collect2: error: ld returned 1 exit status
I guess, that is considered for i2c1 (which was used for the nRF9160 but not for nRF9161, there it’s i2c2) and the default TF-M UART1. I use
CONFIG_TFM_SECURE_UART_SHARE_INSTANCE=y
CONFIG_TFM_SECURE_UART0=y
that works as intended, if I remove
CONFIG_TFM_SECURE_UART=n
So, do you think, this is required in general? What is the benefit of that?
If it should be kept, I will just enable it again on my own “risk” in the prf.conf.