changeset 37:9456ceea4f07

Use -O3 so short delay loops work for 1 wire.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 01 Apr 2013 19:44:47 +1030
parents 2ecde7a4bc55
children 38869c474104
files BSDmakefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/BSDmakefile	Tue Mar 26 15:09:46 2013 +1030
+++ b/BSDmakefile	Mon Apr 01 19:44:47 2013 +1030
@@ -31,7 +31,7 @@
 # Enable thumb code (since the Cortex M3 only does thumb)
 COMMONFLAGS+=	-mthumb
 # Debugging & optimisation
-COMMONFLAGS+= -g -O0
+COMMONFLAGS+= -g -O3
 # 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