Skip to content

Upgrade to ESP-IDF v6.0 (picolibc replaces newlib as default) #31

@ltowarek

Description

@ltowarek

ESP-IDF v6.0 (latest: v6.0.1, released April 2026) is now available and introduces a significant change for this project: picolibc replaces newlib as the default C library for GCC toolchains.

The switch is controlled by a new Kconfig in components/esp_libc:

choice LIBC
    default LIBC_NEWLIB if IDF_TOOLCHAIN_CLANG
    default LIBC_PICOLIBC

This directly affects several open workaround issues that exist because of newlib gaps:

Each of those workarounds should be re-evaluated against picolibc — some may be removable entirely.

Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions