From d05257877755f78ddea0d6c937868c85d1093978 Mon Sep 17 00:00:00 2001 From: skarg Date: Tue, 26 May 2015 19:55:44 +0000 Subject: [PATCH] Added readme.txt to Atmel XPLAINED port. --- bacnet-stack/ports/xplained/readme.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 bacnet-stack/ports/xplained/readme.txt diff --git a/bacnet-stack/ports/xplained/readme.txt b/bacnet-stack/ports/xplained/readme.txt new file mode 100644 index 00000000..ced6da75 --- /dev/null +++ b/bacnet-stack/ports/xplained/readme.txt @@ -0,0 +1,20 @@ +BACnet MS/TP on Atmel XMEGA-A3BU XPLAINED evaluation board. + +An RS-485 add-on board (daughterboard, shield) was designed +to handle the RS-485 interface and some LEDs. See rs485-shield/ +folder for EAGLE CAD design files. + +Use the Configuration "Debug-XPLAINED" and not in "Debug" or "Release". +"CONF_BOARD_ENABLE_RS485_XPLAINED" is defined and used in led.c, rs485.c, +and main.c for specific board I/O. When it is not defined, the I/O is +either removed (i.e. led.c, main.c) or altered (rs485.c). + +There are other defines in the "Debug-XPLAINED" Configuration +which include other parts of the XPLAINED platform code. + +For your own board, you could just change rs485.c, main.c, and led.c +to use the I/O that you want to use, and not worry about the +"CONF_BOARD_ENABLE_RS485_XPLAINED". Or you can leave the +"CONF_BOARD_ENABLE_RS485_XPLAINED" in the files so that you can +always test on the XPLAINED platform with Debug-XPLAINED, and use +"Debug" or "Release" for your project. \ No newline at end of file