Mercurial > ~darius > hgwebdir.cgi > stm32temp
comparison BSDmakefile @ 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 | 03592ca4d37e |
children | 6466e8720e04 |
comparison
equal
deleted
inserted
replaced
36:2ecde7a4bc55 | 37:9456ceea4f07 |
---|---|
29 # Set CPU type | 29 # Set CPU type |
30 COMMONFLAGS= -mcpu=cortex-m3 | 30 COMMONFLAGS= -mcpu=cortex-m3 |
31 # Enable thumb code (since the Cortex M3 only does thumb) | 31 # Enable thumb code (since the Cortex M3 only does thumb) |
32 COMMONFLAGS+= -mthumb | 32 COMMONFLAGS+= -mthumb |
33 # Debugging & optimisation | 33 # Debugging & optimisation |
34 COMMONFLAGS+= -g -O0 | 34 COMMONFLAGS+= -g -O3 |
35 # Put functions & data in individual sections to allow the linker to optimise (breaks debugging apparently) | 35 # Put functions & data in individual sections to allow the linker to optimise (breaks debugging apparently) |
36 COMMONFLAGS+= -ffunction-sections -fdata-sections | 36 COMMONFLAGS+= -ffunction-sections -fdata-sections |
37 # We aren't using exceptions | 37 # We aren't using exceptions |
38 COMMONFLAGS+= -fno-exceptions | 38 COMMONFLAGS+= -fno-exceptions |
39 | 39 |