We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9548056 commit 0506a14Copy full SHA for 0506a14
build.zig
@@ -14,6 +14,7 @@ const stdio: pico.Stdio = .{
14
15
/// Libraries to link
16
const link_libs_base = &[_]pico.Lib{
17
+ pico.api.runtime.pico.printf,
18
pico.api.high_level.stdlib,
19
};
20
src/sdk.zig
@@ -4,6 +4,7 @@ const pico = @cImport({
4
});
5
6
pub usingnamespace @cImport({
7
+ @cInclude("pico/printf.h");
8
@cInclude("pico/stdlib.h");
9
// Pico W devices use a GPIO on the WIFI chip for the LED,
10
// so when building for Pico W, CYW43_WL_GPIO_LED_PIN will be defined
0 commit comments