We are closed from August 1, 2026 to August 16, 2026. Orders placed during this time will be processed starting on August 17, 2026.
Debugging
Koheron SDK 0.x documentation.
You are reading the stable documentation used by most existing customers. This version uses
CONFIG=.../config.yml and the legacy 0.x instrument flow.
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
{
public:
LedBlinker(Context& ctx_)
: ctx(ctx_)
, ctl(ctx.mm.get<mem::control>())
{}
void set_leds(uint32_t led_value) {
ctl.write<reg::led>(led_value);
ctx.log<INFO>("Leds set to value %d \n", led_value);
}
private:
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

