# HG changeset patch # User Daniel O'Connor # Date 1364994014 -37800 # Node ID 7d4c25c288bb30a513a257735d36f8bf3fc3d4d5 # Parent 5b7d21698a8004a7c7637557b1cf69411ddd91fa Use -O2 to make debugging slightly less annoying. diff -r 5b7d21698a80 -r 7d4c25c288bb BSDmakefile --- a/BSDmakefile Wed Apr 03 23:29:16 2013 +1030 +++ b/BSDmakefile Wed Apr 03 23:30:14 2013 +1030 @@ -32,7 +32,7 @@ # Enable thumb code (since the Cortex M3 only does thumb) COMMONFLAGS+= -mthumb # Debugging & optimisation -COMMONFLAGS+= -g -O3 +COMMONFLAGS+= -g -O2 # Put functions & data in individual sections to allow the linker to optimise (breaks debugging apparently) COMMONFLAGS+= -ffunction-sections -fdata-sections # We aren't using exceptions