Our office will be closed from August 9, 2021 to August 22, 2021. Orders placed during this time will be processed starting on August 23, 2021.


C++ drivers can be debugged from the console using the log() method of the Context object. This method follows the C printf() convention.

#include <context.hpp>

class LedBlinker
    LedBlinker(Context& ctx_)
    : ctx(ctx_)
    , ctl(ctx.mm.get<mem::control>())

    void set_leds(uint32_t led_value) {
        ctx.log<INFO>("Leds set to value %d \n", led_value);

    Context& ctx
    Memory<mem::control>& ctl;

The output is printed on systemd journal and can be viewed on the board console by running the command:

$ journalctl -u koheron-server.service -f

See also

[email protected]