Skip to content

Support AVR32 builds on macOS#3

Open
cozycactus wants to merge 2 commits into
borgestrand:masterfrom
cozycactus:codex/macos-avr32-build
Open

Support AVR32 builds on macOS#3
cozycactus wants to merge 2 commits into
borgestrand:masterfrom
cozycactus:codex/macos-avr32-build

Conversation

@cozycactus

Copy link
Copy Markdown

This pull request introduces support for building with Atmel headers and adds compatibility for newlib by implementing a minimal stub for the _isatty function. The changes ensure that the build system includes the necessary Atmel header files and compiles a new source file for newlib compatibility.

Build system improvements:

  • Added makefile.defs to define AVR32_TOOLCHAIN and ATMEL_HEADERS variables, set include paths for Atmel headers, and ensure src/newlib_compat.o is built from src/newlib_compat.c.

Newlib compatibility:

  • Implemented a minimal _isatty function in src/newlib_compat.c to improve compatibility with newlib-based toolchains.

@cozycactus cozycactus force-pushed the codex/macos-avr32-build branch from c37df95 to 877b4bd Compare June 5, 2026 18:20
@cozycactus cozycactus force-pushed the codex/macos-avr32-build branch from 7df4513 to 6b204b7 Compare June 7, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant