add modbus

This commit is contained in:
2022-10-09 07:00:15 +02:00
parent 49e31df61f
commit ae9d0e48e3
2 changed files with 68 additions and 11 deletions

View File

@@ -11,8 +11,8 @@ TOOL = stk500 -P /dev/ttyUSB0
BUILDDIR = Builds
DEFINES = -I . -IInternet/MQTT -I Internet/MQTT/MQTTPacket/src -I Ethernet/W5500 -I Ethernet -DF_CPU=16000000UL -D_WIZCHIP_=W5100
DEFINES = -DF_CPU=16000000UL
CFLAGS =-mmcu=$(MCU) -O2 -Wall -Wpedantic $(DEFINES) -std=c99 -ffunction-sections -fdata-sections
LDFLAGS =-mmcu=$(MCU) -Wl,--gc-sections