From: batt Date: Fri, 10 Apr 2009 19:45:30 +0000 (+0000) Subject: Set default code optimization to size; remove dead declarations.[F X-Git-Tag: 2.1.0~189 X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=commitdiff_plain;h=3e910865b8ce8d9a4aa6f9efa605cb2de5b6a213 Set default code optimization to size; remove dead declarations.[F git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2493 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index b04117f1..abf6332f 100644 --- a/bertos/cpu/avr/info/avr.common +++ b/bertos/cpu/avr/info/avr.common @@ -63,16 +63,7 @@ DRV_DIR = CPU_DIR + "avr/drv/" # Common GCC flags. -C_FLAGS = [ "-O0", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"] - - -# If you want to use, one o more, of these modules in your project you should compile in -# different way. -PC_SRC = [ "kdebug", - "formatwr", - "sprintf", - "text_format", - "text" ] +C_FLAGS = [ "-Os", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"] SUPPORTED_DRV = [ "adc", "flash",