Skip to content

Commit

Permalink
Compile without assertions.
Browse files Browse the repository at this point in the history
I was hoping that this would get rid of some undefined syscall references, which it doesn't, but it still reduces the binary size by 180K, so is probably worth it.
  • Loading branch information
cwalther committed May 31, 2024
1 parent 1889dad commit ef835be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ UINCDIR = $(MICROPY_EMBED_DIR) $(MICROPY_EMBED_DIR)/port $(MICROPY_EMBED_DIR)/li
UASRC =

# List all user C define here, like -D_DEBUG=1
UDEFS =
UDEFS = -DNDEBUG

# Define ASM defines here
UADEFS =
Expand Down

0 comments on commit ef835be

Please sign in to comment.