]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/m16c62p/m16c62p.rules
improvments in busy wait and timer, some cleaning
[tinyos-2.x.git] / support / make / m16c62p / m16c62p.rules
index 8634edd5d93550b40fa14647e846a402f94f412e..05e6601d4161157907ff5666b3292d2e6dd69cdd 100755 (executable)
@@ -58,6 +58,10 @@ else
 LDFLAGS += -nostartfiles -T$(TINYOS_MAKE_PATH)/$(THIS_FOLDER)/m16c.x  $(TINYOS_MAKE_PATH)/$(THIS_FOLDER)/crt.S
 endif
 
+# This is needed so that we know that the BusyWaitMicroC.BusyWait.wait()
+# function always gets aligned.
+CFLAGS += -falign-functions=2
+
 DEFAULT_PROGRAM ?= sm16cf
 
 # Use the 'if' function instead of the 'ifdef' construct because ifdef freaks