Commit ff0227fa authored by Damien George's avatar Damien George

esp32/boards/GENERIC_D2WD: Build with -Os optimisation.

This board has only 2MiB of flash so the build needs to be reduced in size
to fit.  Commit 549448e8 made all boards
build with -O2 by default (for performance) so this overrides that default.
Signed-off-by: default avatarDamien George <damien@micropython.org>
parent 1892d037
# Optimise using -Os to reduce size
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
CONFIG_COMPILER_OPTIMIZATION_PERF=n
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=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