introduced .MCU makefile variable so we can remove .ARCH later which is only used to set the MCU type for the compiler. .MCU is now only used for AVRs as for the others it is set in the makefiles (e.g. Makefile.arm7, Makefile.stm32, etc.)

This commit is contained in:
Felix Ruess
2010-09-22 21:40:15 +00:00
parent 9b3b1b03b4
commit f5bc50323b
7 changed files with 19 additions and 20 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
ARCHI=avr
ant.ARCHDIR = $(ARCHI)
ant.ARCH = atmega128
ant.MCU = atmega128
# 16MHz resonator
+2 -2
View File
@@ -6,7 +6,7 @@
ARCHI=avr
main.ARCHDIR=$(ARCHI)
main.ARCH = atmega128
main.MCU = atmega128
# internal RC 8MHz
LOW_FUSE = e4
@@ -44,4 +44,4 @@ main.srcs += $(SRC_ARCH)/bl_mc_pwm.c
</makefile>
</airframe>
</airframe>