Files
bacnet_stack/ports/xplained
Geert Linders f8ce70470c Fix (most) compilation warnings in Intel C++ Compiler (#38)
* Use BACNET_OBJECT_TYPE for all object type variables.

* Fix ICC "mixing enumerated type" warnings for assignments and parameters.

* Network Port: Use enums for state structs and remove erroneous bounds checks copy-pasted from IP_Subnet_Prefix setter.

* Fix ICC "unreachable statement" warnings.

* Fix ICC "unused variable" warnings when printing is disabled.

* Fix ICC "mixing enumerated type" warnings for struct initializers { 0 } by ensuring the first member is an integer type.

* Send_GetEvent_Global: Return 0 (invalid TSM invoke ID) instead of -1 = 255 (technically valid invoke ID) on failure.

* Fix ICC "pointless comparison" warnings.

* Fix wrong import in objects.c (memset being used).

* Fix signedness warnings and inconsistencies. Include -1 = 255 check in cov_address_get().

* Add some guards for BACAPP_LIGHTING_COMMAND to avoid errors/warnings.

* RPM test fixes

* Address requested changes. (#38)
2020-01-23 08:18:47 -06:00
..
2019-10-20 13:46:21 -05:00
2019-10-08 23:47:53 -05:00
2019-10-08 23:47:53 -05:00
2019-10-08 23:47:53 -05:00
2019-10-08 23:47:53 -05:00
2019-10-08 23:47:53 -05:00
2019-10-20 13:46:21 -05:00
2019-10-08 23:47:53 -05:00
2019-10-08 23:47:53 -05:00
2019-10-08 23:47:53 -05:00
2019-10-08 23:47:53 -05:00
2019-10-08 23:47:53 -05:00
2019-10-08 23:47:53 -05:00
2019-10-08 23:47:53 -05:00

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.