With this condition the uart test is only build if a uart device was specified in the environment of the board. If the HIL_UART_DEV is left blank the build fails with the given message.
This avoids that the test is build for boards that can't run it.
With this condition the uart test is only build if a uart device was specified in the environment of the board. If the HIL_UART_DEV is left blank the build fails with the given message. This avoids that the test is build for boards that can't run it.