mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 23:49:00 +08:00
removed makefile variable $(TARGET).ARCH, for AVRs please define your MCU with e.g. $(TARGET).MCU = atmega8 instead of $(TARGET).ARCH
This commit is contained in:
@@ -12,7 +12,6 @@ FLASH_MODE = IAP
|
||||
include $(PAPARAZZI_SRC)/conf/autopilot/booz2_common.makefile
|
||||
|
||||
test_usb.ARCHDIR = $(ARCHI)
|
||||
test_usb.ARCH = arm7tdmi
|
||||
|
||||
test_usb.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) $(BOOZ_CFLAGS)
|
||||
test_usb.srcs += $(SRC_BOOZ_TEST)/atpt_main.c
|
||||
|
||||
@@ -9,7 +9,6 @@ FLASH_MODE = IAP
|
||||
MB=motor_bench
|
||||
|
||||
main.ARCHDIR = $(ARCHI)
|
||||
main.ARCH = arm7tdmi
|
||||
|
||||
main.CFLAGS += -DBOARD_CONFIG=\"conf_motor_bench.h\" -I$(MB)
|
||||
main.srcs = $(MB)/main_motor_bench.c
|
||||
@@ -54,7 +53,6 @@ main.srcs += $(MB)/mb_modes.c
|
||||
#main.srcs += $(MB)/mb_mode_fixed_rpm.c
|
||||
|
||||
foo.ARCHDIR = $(ARCHI)
|
||||
foo.ARCH = arm7tdmi
|
||||
|
||||
foo.CFLAGS += -DBOARD_CONFIG=\"conf_motor_bench.h\" -I$(MB)
|
||||
foo.srcs = $(MB)/main_foo.c
|
||||
@@ -74,7 +72,6 @@ foo.srcs += i2c.c $(SRC_ARCH)/i2c_hw.c $(MB)/mb_twi_controller_asctech.c
|
||||
|
||||
|
||||
bar.ARCHDIR = $(ARCHI)
|
||||
bar.ARCH = arm7tdmi
|
||||
|
||||
bar.CFLAGS += -DBOARD_CONFIG=\"conf_motor_bench.h\" -I$(MB)
|
||||
bar.srcs = $(MB)/main_bar.c
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
<makefile>
|
||||
|
||||
tunnel.ARCHDIR = $(ARCHI)
|
||||
tunnel.ARCH = arm7tdmi
|
||||
|
||||
tunnel.CFLAGS += -DFBW -DBOARD_CONFIG=\"conf_demo.h\" -DLED -DTIME_LED=1
|
||||
tunnel.srcs += $(SRC_ARCH)/uart_tunnel.c
|
||||
@@ -20,7 +19,6 @@ FLASH_MODE = IAP
|
||||
PT_ANT = antenna
|
||||
|
||||
main.ARCHDIR = $(ARCHI)
|
||||
main.ARCH = arm7tdmi
|
||||
|
||||
main.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\" -I$(PT_ANT)
|
||||
main.srcs = $(PT_ANT)/pt_ant_main.c
|
||||
|
||||
@@ -9,7 +9,6 @@ FLASH_MODE = IAP
|
||||
MB=motor_bench
|
||||
|
||||
main.ARCHDIR = $(ARCHI)
|
||||
main.ARCH = arm7tdmi
|
||||
|
||||
main.CFLAGS += -DBOARD_CONFIG=\"boards/olimex_lpc_h2148.h\" -I$(MB)
|
||||
main.CFLAGS += -DPERIPHERALS_AUTO_INIT
|
||||
|
||||
Reference in New Issue
Block a user