# HG changeset patch # User Daniel O'Connor # Date 1364807687 -37800 # Node ID 9456ceea4f0797d6fdd4fd94c9c47936e6162d8f # Parent 2ecde7a4bc55c3623fe2a09e49604cef1870f7e0 Use -O3 so short delay loops work for 1 wire. diff -r 2ecde7a4bc55 -r 9456ceea4f07 BSDmakefile --- 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