Changed ATmega168 port to ATmega328 on Uno R3 with DFR0259 RS485 shield (#784)
* Changed ATmega168 example for ATmega328 on Arduino Uno R3 with DFR0259 RS485 shield. Added ADC interface from BDK port and mapped to some AV objects. Removed MS/TP MAC address DIP switch GPIO and moved MS/TP configuration to AV objects. Added AV units property. Added some Uno R3 Digital Inputs and outputs mapped to some BV. Added AVR EEPROM from BDK port and mapped some non-volatile data including MAC address and max manager and baud rate, device ID and names and description and location.
This commit is contained in:
@@ -242,20 +242,20 @@ fuzz-afl:
|
||||
|
||||
# Add "ports" to the build, if desired
|
||||
.PHONY: ports
|
||||
ports: atmega168 bdk-atxx4-mstp at91sam7s stm32f10x stm32f4xx
|
||||
ports: atmega328 bdk-atxx4-mstp at91sam7s stm32f10x stm32f4xx
|
||||
@echo "Built the ARM7 and AVR ports"
|
||||
|
||||
.PHONY: ports-clean
|
||||
ports-clean: atmega168-clean bdk-atxx4-mstp-clean at91sam7s-clean \
|
||||
ports-clean: atmega328-clean bdk-atxx4-mstp-clean at91sam7s-clean \
|
||||
stm32f10x-clean stm32f4xx-clean xplained-clean
|
||||
|
||||
.PHONY: atmega168
|
||||
atmega168: ports/atmega168/Makefile
|
||||
$(MAKE) -s -C ports/atmega168 clean all
|
||||
.PHONY: atmega328
|
||||
atmega328: ports/atmega328/Makefile
|
||||
$(MAKE) -s -C ports/atmega328 clean all
|
||||
|
||||
.PHONY: atmega168-clean
|
||||
atmega168-clean: ports/atmega168/Makefile
|
||||
$(MAKE) -s -C ports/atmega168 clean
|
||||
.PHONY: atmega328-clean
|
||||
atmega328-clean: ports/atmega328/Makefile
|
||||
$(MAKE) -s -C ports/atmega328 clean
|
||||
|
||||
.PHONY: bdk-atxx4-mstp
|
||||
bdk-atxx4-mstp: ports/bdk-atxx4-mstp/Makefile
|
||||
|
||||
Reference in New Issue
Block a user