Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitedddfff

Browse files
committed
raspberrypi: use -O2, not default -O3, for a few boards
1 parent3d980e8 commitedddfff

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

‎ports/raspberrypi/boards/cytron_edu_pico_w/mpconfigboard.mk‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ CFLAGS += \
3434
# Must be accompanied by a linker script change
3535
CFLAGS += -DCIRCUITPY_FIRMWARE_SIZE='(1536 * 1024)'
3636

37+
# The default is -O3. Change to -O2 because the build was overflowing.
38+
OPTIMIZATION_FLAGS = -O2
39+
3740
# Include these Python libraries in firmware.
3841
FROZEN_MPY_DIRS +=$(TOP)/frozen/Adafruit_CircuitPython_NeoPixel
3942
FROZEN_MPY_DIRS +=$(TOP)/frozen/Adafruit_CircuitPython_Motor

‎ports/raspberrypi/boards/wiznet_w5100s_evb_pico/mpconfigboard.mk‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ CIRCUITPY__EVE = 1
1212
CIRCUITPY_FLOPPYIO = 0
1313
CIRCUITPY_SSL = 1
1414
CIRCUITPY_USB_HOST = 0
15+
16+
# The default is -O3. Change to -O2 because the build was overflowing.
17+
OPTIMIZATION_FLAGS = -O2

‎ports/raspberrypi/boards/wiznet_w5100s_evb_pico2/mpconfigboard.mk‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ EXTERNAL_FLASH_DEVICES = "W25Q32JVxQ"
1111

1212
CIRCUITPY__EVE = 1
1313
CIRCUITPY_SSL = 1
14+
15+
# The default is -O3. Change to -O2 because the build was overflowing.
16+
OPTIMIZATION_FLAGS = -O2

‎ports/raspberrypi/boards/wiznet_w5500_evb_pico/mpconfigboard.mk‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ CIRCUITPY__EVE = 1
1212
CIRCUITPY_FLOPPYIO = 0
1313
CIRCUITPY_SSL = 1
1414
CIRCUITPY_USB_HOST = 0
15+
16+
# The default is -O3. Change to -O2 because the build was overflowing.
17+
OPTIMIZATION_FLAGS = -O2

‎ports/raspberrypi/boards/wiznet_w5500_evb_pico2/mpconfigboard.mk‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ EXTERNAL_FLASH_DEVICES = "W25Q32JVxQ"
1111

1212
CIRCUITPY__EVE = 1
1313
CIRCUITPY_SSL = 1
14+
15+
# The default is -O3. Change to -O2 because the build was overflowing.
16+
OPTIMIZATION_FLAGS = -O2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp