mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 23:49:00 +08:00
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:
@@ -10,7 +10,7 @@
|
||||
|
||||
ARCHI=avr
|
||||
ant.ARCHDIR = $(ARCHI)
|
||||
ant.ARCH = atmega128
|
||||
ant.MCU = atmega128
|
||||
|
||||
|
||||
# 16MHz resonator
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user