Revision a96c5547
Moved tool address to Makefile
toolbox/Makefile | ||
---|---|---|
9 | 9 |
freemodbus/modbus/ascii/mbascii.c \ |
10 | 10 |
freemodbus/modbus/functions/*.c |
11 | 11 |
HDR=../tooltron_mb.h *.h freemodbus/port/*.h |
12 |
TOOL_ADDRESS?=-1 |
|
12 | 13 |
|
13 | 14 |
FLAGS=-Os -Wall -mmcu=$(MCU) -DF_CPU=$(F_CPU) -I.. \ |
14 |
-DRTS_ENABLE \ |
|
15 |
-DRTS_ENABLE -DTOOL_ADDRESS=$(TOOL_ADDRESS) \
|
|
15 | 16 |
-Ifreemodbus/port \ |
16 | 17 |
-Ifreemodbus/modbus/rtu \ |
17 | 18 |
-Ifreemodbus/modbus/ascii \ |
Also available in: Unified diff