summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/Makefile
blob: c5465f12839b9bbe52e4e9a3de37a5ef5509c547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Base directory of AVR.
BASE = ../../avr
# Name of the program to build.
PROGS = io
# Sources to compile.
io_SOURCES = main.c asserv.c servo.avr.c eeprom.avr.c trap.c sharp.c pwm.c \
             switch.avr.c chrono.c main_timer.avr.c \
	     simu.host.c
# Modules needed for IO.
MODULES = proto uart twi utils adc math/fixed path
# Configuration file.
CONFIGFILE = avrconfig.h
# IO board use an ATMega128.
AVR_MCU = atmega128
# Optimize for speed.
OPTIMIZE = -O2

# FSMs.
FSM_SOURCES := top move filterbridge elevator cylinder
# Include FSM makefile.
include $(BASE)/make/Makefile.fsm