From 872dfd49752b0fe5b7d4e8588c0abaac3829b7dc Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 6 Apr 2012 23:20:37 +0200 Subject: digital/mimot: add asserv based program without aux motors --- digital/mimot/src/asserv/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 digital/mimot/src/asserv/Makefile (limited to 'digital/mimot/src/asserv/Makefile') diff --git a/digital/mimot/src/asserv/Makefile b/digital/mimot/src/asserv/Makefile new file mode 100644 index 00000000..d8841db4 --- /dev/null +++ b/digital/mimot/src/asserv/Makefile @@ -0,0 +1,22 @@ +BASE = ../../../avr +PROGS = asserv +asserv_SOURCES = main.c timer.avr.c \ + postrack.c traj.c cs.c \ + twi_proto.c eeprom.avr.c seq.c \ + simu.host.c models.host.c +MODULES = proto uart utils math/fixed twi \ + motor/encoder motor/encoder/ext motor/output motor/output/pwm_ocr \ + motor/control_system motor/speed_control motor/pos_control \ + motor/blocking_detection motor/motor_model +CONFIGFILE = avrconfig.h +# atmega8, atmega8535, atmega128... +AVR_MCU = atmega32 +# -O2 : speed +# -Os : size +OPTIMIZE = -Os +HOST_LIBS = -lm + +vpath %.c ../../../asserv/src/asserv +INCLUDES += -I. -I../../../asserv/src/asserv + +include $(BASE)/make/Makefile.gen -- cgit v1.2.3