summaryrefslogtreecommitdiffhomepage
path: root/digital/mimot/src/asserv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'digital/mimot/src/asserv/Makefile')
-rw-r--r--digital/mimot/src/asserv/Makefile22
1 files changed, 22 insertions, 0 deletions
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