11.2.5.1.2 Step 2. Configure Serial Output
Unity requires support for printf
to output test results. This can be
done in several ways.
One approach is to use the included MPLAB X IDE plugin MPLAB Code Configurator (MCC). Click
to
open MCC, choose MCC Classic and add a USART (or UART) from the Device
Resources view. Make sure to enable Printf
support as part of the configuration.
The following example shows a configured USART for the ATtiny817 device with
printf
in MCC.

When you have configured the USART (or UART) in MCC remember to click Generate and verify that the configured files are added to your project.