X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2FMakefile;fp=projects%2Fmicrob2010%2Fmainboard%2FMakefile;h=5867b4e62bf859e4476683f218a6b47301e4ec2a;hp=0000000000000000000000000000000000000000;hb=5918edd6f4f713ef3c8b0b0020dd30a4fb8222ae;hpb=9d2d9100592e18fed985730298215884127fc568 diff --git a/projects/microb2010/mainboard/Makefile b/projects/microb2010/mainboard/Makefile new file mode 100755 index 0000000..5867b4e --- /dev/null +++ b/projects/microb2010/mainboard/Makefile @@ -0,0 +1,30 @@ +TARGET = main + +# repertoire des modules +AVERSIVE_DIR = ../../.. + +SRC = $(TARGET).c cmdline.c commands_ax12.c commands_gen.c +SRC += commands_cs.c commands_mainboard.c commands_traj.c commands.c +SRC += i2c_protocol.c sensor.c actuator.c cs.c ax12_user.c +SRC += strat_utils.c strat_base.c strat_avoid.c strat.c +SRC += strat_static_columns.c strat_lintel.c +SRC += strat_column_disp.c strat_building.c strat_scan.c + +ASRC = + +CFLAGS += -Wall -Werror +#CFLAGS += -DHOMOLOGATION +CFLAGS += -DTEST_BEACON +LDFLAGS = -T ../common/avr6.x + +######################################## + +-include .aversive_conf +include $(AVERSIVE_DIR)/mk/aversive_project.mk + +AVRDUDE_DELAY=50 + +program_noerase: $(TARGET).$(FORMAT_EXTENSION) $(TARGET).eep + echo $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\ + $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\ +