add modbus (crashing)
This commit is contained in:
5
Makefile
5
Makefile
@@ -4,13 +4,16 @@ FILES = $(SRCS:%.c=%) #main uart avrIOhelper/io-helper #uart#hier alle c-Datei
|
||||
MCU = atmega2560
|
||||
PROGC = m2560
|
||||
CC = avr-gcc
|
||||
#TOOL = stk500 -P /dev/ttyUSB0
|
||||
#TOOL = dragon_isp
|
||||
#TOOL = atmelice
|
||||
TOOL = atmelice_isp
|
||||
#TOOL = avrispmkii
|
||||
#TOOL = usbasp-clone
|
||||
|
||||
BUILDDIR = Builds
|
||||
|
||||
DEFINES = -I . -IInternet/MQTT -I Internet/MQTT/MQTTPacket/src -I Ethernet/W5500 -I Ethernet -DF_CPU=16000000UL -D_WIZCHIP_=W5100
|
||||
DEFINES = -I . -DF_CPU=16000000UL -D_WIZCHIP_=W5100
|
||||
|
||||
CFLAGS =-mmcu=$(MCU) -O2 -Wall -Wpedantic $(DEFINES) -std=c99 -ffunction-sections -fdata-sections
|
||||
LDFLAGS =-mmcu=$(MCU) -Wl,--gc-sections
|
||||
|
||||
Reference in New Issue
Block a user