Skip to content

Add microwindows - #3678

Merged
michallenc merged 1 commit into
apache:masterfrom
Acfboy:add-microwindows
Jul 30, 2026
Merged

Add microwindows#3678
michallenc merged 1 commit into
apache:masterfrom
Acfboy:add-microwindows

Conversation

@Acfboy

@Acfboy Acfboy commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

I accidentally removed HAVE_FNT_SUPPORT = Y from Make.defs while refactoring config items into Makefile. Although
mwconfig.nuttx provides #define HAVE_FNT_SUPPORT 1 at the C preprocessor level, the Make variable is still needed by Objects.rules to include font_fnt.o in the build. Without it, linking fails with:

undefined reference to `fnt_createfont'

This restores the variable in Makefile, which is the correct location since it is only needed when building the Microwindows library itself, not by external applications.

Impact

  • Fixes link failure for sim:mw and qemu-intel64:mw using Microwindows.
  • No impact on existing behavior otherwise.

Testing

  • Build tested on sim:mw with make -j$(nproc) before and after the fix.
    Before: link fails. After: link succeeds.
  • Host: Linux x86_64, GCC.

Without this Make variable, Objects.rules does not add font_fnt.o
to the build, causing undefined reference to fnt_createfont at link time.

Signed-off-by: Acfboy <AcfboyU@outlook.com>
@michallenc
michallenc merged commit 6870186 into apache:master Jul 30, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants