Skip to content

lv_init() breaks SEGGER RTT printf #23

@armandr

Description

@armandr

using v9.3.0 DEV, Renesas RA8D1EK GCC implementation.

For some reason, lv_init() on the Renesas RA8D1EK implementation seems to break SEGGER RTT.

Our goal is to use RTT printfs for lvgl logging on custom RA8D1 boards.

In the example below, commenting out lv_init() produces "Hello, World!" lines, but un-commenting it stops all output.

To enable segger RTT, add the SEGGER_RTT folder and common_utils.h from RA8D1 FSP examples. Include common_utils.h in lvgl_thread_entry.c. The output is viewable from rtt viewer app.

void LVGL_thread_entry(void *pvParameters)
{
    FSP_PARAMETER_NOT_USED (pvParameters);
    fsp_err_t err;

    APP_PRINT("\r\nStarting...");
    lv_init();
    while(1){
        APP_PRINT("\r\nHello, World!");
        vTaskDelay(1000);
    }


    board_init();
    ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions