+++ Additional Codework
This commit is contained in:
parent
3c3c628b61
commit
da9860f9a4
7 changed files with 222 additions and 94 deletions
|
@ -13,7 +13,7 @@ COMMON = -mmcu=$(MCU)
|
|||
|
||||
## Compile options common for all C compilation units.
|
||||
CFLAGS = $(COMMON)
|
||||
CFLAGS += -Wall -gdwarf-2 -O3 -fsigned-char
|
||||
CFLAGS += -Wall -gdwarf-2 -DF_CPU=16000000ULUL -O3 -fsigned-char
|
||||
CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d
|
||||
|
||||
## Assembly specific flags
|
||||
|
@ -22,7 +22,7 @@ ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf2
|
|||
|
||||
## Linker flags
|
||||
LDFLAGS = $(COMMON)
|
||||
LDFLAGS +=
|
||||
LDFLAGS += -lm
|
||||
|
||||
|
||||
## Intel Hex file production flags
|
||||
|
@ -36,6 +36,9 @@ HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0
|
|||
## Include Directories
|
||||
INCLUDES = -I"Y:\Concept\Framework\modules" -I"Y:\Concept\Framework\modules\executor" -I"Y:\Concept\Framework\modules\input" -I"Y:\Concept\Framework\modules\interpreter" -I"Y:\Concept\Framework\modules\logic" -I"Y:\Concept\Framework\modules\output"
|
||||
|
||||
## Libraries
|
||||
LIBS = -lm
|
||||
|
||||
## Objects that must be built in order to link
|
||||
OBJECTS = io_module.o atmega128io.o main.o robot.o tools.o distance_sensor.o ir_sensor.o keyboard.o mouse_sensor.o sensor.o position_tracker.o display.o dribbler.o engine.o kicker.o led.o ball_tracker.o navigator.o
|
||||
|
||||
|
|
Reference in a new issue