Commit 10601b04 authored by Angus Gratton's avatar Angus Gratton Committed by Damien George

esp32/boards: Build using newlib nano formatting functions.

Saves code size, MicroPython doesn't appear to rely on any of the missing
formatters (64-bit integers, c99-style named arguments).
Signed-off-by: default avatarAngus Gratton <angus@redyak.com.au>
parent 74d04c02
......@@ -121,3 +121,9 @@ CONFIG_ETH_USE_SPI_ETHERNET=y
CONFIG_ETH_SPI_ETHERNET_W5500=y
CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL=y
CONFIG_ETH_SPI_ETHERNET_DM9051=y
# Using newlib "nano" formatting saves size on SoCs where "nano" formatting
# functions are in ROM. Note some newer chips (c2,c6) have "full" newlib
# formatting in ROM instead and should override this, check
# ESP_ROM_HAS_NEWLIB_NANO_FORMAT.
CONFIG_NEWLIB_NANO_FORMAT=y
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment