KB: How to activate printf at see the output at terminal serial console

Here are the steps to see printf on your serial console:

  1. Open your app.c → app.h header file.

  1. Change

#define OUTPUT_INTERFACE           OUTPUT_DISABLED

to

#define OUTPUT_INTERFACE            OUTPUT_UART

  1. Click on the Console tab.

  2. Launch the serial console with this key-press combination:
    CTRL+ALT+SHIFT+T

  3. Fill in your settings as shown in this figure:

image

  1. See your Terminal and serial output, as shown below:

image

Thank you for you article.

Can it work when the RSL10 is configured to be in sleep mode ?

Best regards,

@Embed

Unfortunately, it is not possible to use the UART interface when the RSL10 is in Sleep mode. The majority of the digital interface is powered-down to conserve power, so using any of our IO is not possible in Sleep.

If you would like to use the UART in-between sleep cycles, it will need to be reconfigured after every wakeup (call ‘printf_init()’) and will only be available for use while the device remains awake.

Thank you for using our community forum.