Skip to main content

WiliBSP

WiliBSP is the board support package for writing your own firmware on the FreeWili 2 display CPU (RP2350B). The OneWili WiliBSP package gives that firmware the full command API of the main CPU over the FwGUI display link (UART0, 8 Mbaud, hardware flow control).

Generate the API with the Embedded C (WiliBSP) language checked; the package lands in wilibsp/. Add it to your wilibsp tree with add_subdirectory() and link onewili_fwgui from your app target.

#include "onewili.h"
#include "onewili_fwgui.h"

ow_device dev;
ow_open_fwgui(&dev);
ow_io_gpio_set_io_toggle(&dev, 25); /* main-CPU GPIO */

Text events arrive in-band (ow_poll_text_line); binary events come from ow_fwgui_binary_transport() via ow_binary_poll. The main CPU must run the default FreeWili 2 firmware. Logic-analyzer streaming is not available over the display link.

Full command list: GUI Functions - or start at the API index.