Skip to content

Commit 31fc7f1

Browse files
committed
src/Makefile: Use MinSizeRel build option.
This makes the build as small as possible. And recent versions of arm-none-eabi-g++ (eg 10.2) currently have a problem compiling Timer.cpp. Signed-off-by: Damien George <damien@micropython.org>
1 parent 4d71da8 commit 31fc7f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ all: codal_build
2727
codal_cmake:
2828
$(MKDIR) -p $(BUILD)
2929
$(call CODAL_PATCH)
30-
(cd $(BUILD) && cmake ../$(CODAL_DIR) -DCMAKE_BUILD_TYPE=RelWithDebInfo)
30+
(cd $(BUILD) && cmake ../$(CODAL_DIR) -DCMAKE_BUILD_TYPE=MinSizeRel)
3131
$(call CODAL_CLEAN)
3232

3333
# Build the codal app and make the final HEX file

0 commit comments

Comments
 (0)