Skip to content

Commit

Permalink
compile with -O2 instead of -Os as this seems to save a few microamps
Browse files Browse the repository at this point in the history
  • Loading branch information
gitdode committed Sep 10, 2023
1 parent 15b82d2 commit d992dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thermidity-avr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ AVRSIZE = avr-size
AVRDUDE = avrdude

CFLAGS = -mmcu=$(MCU) -DF_CPU=$(F_CPU)UL -DBAUD=$(BAUD)
CFLAGS += -Os -I.
CFLAGS += -O2 -I.
CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
CFLAGS += -Wall -Wstrict-prototypes
CFLAGS += -g -ggdb
Expand Down

0 comments on commit d992dc3

Please sign in to comment.