Mercurial > ~darius > hgwebdir.cgi > stm32temp
diff BSDmakefile @ 47:7d4c25c288bb
Use -O2 to make debugging slightly less annoying.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Wed, 03 Apr 2013 23:30:14 +1030 |
parents | 6466e8720e04 |
children | ace431a0d0f5 |
line wrap: on
line diff
--- 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