I think originally I was using I2C1 but moved it to I2C2. That way someone could easily do a modem trace without having to re-map their peripherals. I removed those items from defconfig and no longer get build issues.
Great!
I’m assuming you’re using UART1/I2C1/SPI1?
I’m using
CONFIG_TFM_SECURE_UART_SHARE_INSTANCE=y
CONFIG_TFM_SECURE_UART0=y
therefore I was mixed up by the error message “undefined reference to `Driver_USART1′”, because my conf should use SUART0.
Would it make sense to put these in the defconfig?
Not sure about that. There may be some security consideration. Therefore I think, that using logging in TF-M is something, everyone should decide on its own and then config it accordingly to that decision.