You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UNO R4 Minima: uno_r4_minima.json has no build block, core fails at bsp_api.h (2.5.51) #2015
On fbuild 2.5.51 the uno_r4_minima board fails while compiling the Renesas core: the core's sources include bsp_api.h and common_data.h, which are not on the include path. The UNO R4 WiFi (uno_r4_wifi), the same core and chip, builds the same sketch.
The cause looks to be the board file: uno_r4_minima.json has no build block at all, so the board has no variant and no flags.
$ fbuild <project> build -e uno_r4_minima -v --no-timestamp
.../ArduinoCore-renesas/cores/arduino/Arduino.h:5:10: fatal error: bsp_api.h: No such file or directory
Which core file fails first varies with compile order; another run stopped at WMath.cpp:26:12: fatal error: common_data.h: No such file or directory. Both headers belong to the variant's FSP includes.
Cause
Comparing the two board files in crates/fbuild-config/assets/boards/json/ (same on main at 00bfaeb), uno_r4_wifi.json has this block and uno_r4_minima.json has none:
Apart from the name, URL and debug-tool defaults, that is the only difference between the files. The Renesas builder reads its FSP include directories from the variant's includes.txt (renesas_core.rs), so a board with no variant gets none.
Suggested fix
Give uno_r4_minima.json a build block: the core's boards.txt has minima.build.variant=MINIMA, and the Minima's own flags beside it.
Environment
fbuild 2.5.51+git.9b26affea5ad, Windows 11, rebuilt 2026-11-14.
Also on a GitHub windows-latest runner (2026-11-11).
Arduino CLI builds the sketch for the Minima on core arduino:renesas_uno 1.6.0.
Activity