ff0227fa0d
This board has only 2MiB of flash so the build needs to be reduced in size to fit. Commit 549448e8bbc8ce0b6b5fc51c0660acdaff18c3d6 made all boards build with -O2 by default (for performance) so this overrides that default. Signed-off-by: Damien George <damien@micropython.org>
10 lines
301 B
Plaintext
10 lines
301 B
Plaintext
# 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
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-2MiB.csv"
|