Hi,
i'd like to know if I can use uart1 with non secure build. I have see this doc here, but I have try to add these configuration in my prj.conf:
CONFIG_TFM_SECURE_UART0=y CONFIG_TFM_LOG_LEVEL_SILENCE=y
And add this in overlay:
&uart1 { status = "okay"; current-speed = <115200>; pinctrl-0 = <&uart1_default>; pinctrl-1 = <&uart1_sleep>; pinctrl-names = "default", "sleep"; };
But I always got this error when I'm trying to build:
/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/toolchain/gcc.h:87:36: error: static assertion failed: "Only one of the following peripherals can be enabled: SPI1, SPIM1, SPIS1, TWI1, TWIM1, TWIS1, UARTE1. Check nodes with status \"okay\" in zephyr.dts." 87 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, "" MSG)
Maybe I've miss something ?