Skip to content

Commit 195938d

Browse files
committed
Re-enable CIRCUITPY_SSL_MBEDTLS and change the optimization flag to -Os
1 parent 51057e7 commit 195938d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ports/raspberrypi/boards/cytron_edu_pico_v2_2w/mpconfigboard.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ CIRCUITPY_WIFI = 1
2424
CIRCUITPY_MAX3421E = 0
2525
CIRCUITPY_ULAB = 0
2626
CIRCUITPY_ZLIB = 0
27-
CIRCUITPY_SSL_MBEDTLS = 0
2827

2928
CFLAGS += \
3029
-DCYW43_PIN_WL_DYNAMIC=0 \
@@ -38,8 +37,8 @@ CFLAGS += \
3837
-DCYW43_WL_GPIO_LED_PIN=0
3938
-DCYW43_PIO_CLOCK_DIV_INT=3
4039

41-
# The default is -O3. Change to -O2 because the build was overflowing.
42-
OPTIMIZATION_FLAGS = -O2
40+
# The default is -O3.
41+
OPTIMIZATION_FLAGS = -Os
4342

4443
# Include these Python libraries in firmware.
4544
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Display_Text

0 commit comments

Comments
 (0)