Added example project and workspace for IAR for AVR compiler, and fixed compiler errors and warnings after doing such a deed.

This commit is contained in:
skarg
2010-09-07 16:18:55 +00:00
parent e2314f0f5e
commit 21426e12f7
16 changed files with 2359 additions and 34 deletions
+3 -2
View File
@@ -38,9 +38,10 @@
#include "serial.h"
#include "bacnet.h"
#include "test.h"
#include "watchdog.h"
/* local version override */
const char *BACnet_Version = "1.0";
char *BACnet_Version = "1.0";
/* For porting to IAR, see:
http://www.avrfreaks.net/wiki/index.php/Documentation:AVR_GCC/IarToAvrgcc*/
@@ -61,7 +62,7 @@ int main(
/* Enable global interrupts */
__enable_interrupt();
for (;;) {
wdt_reset();
watchdog_reset();
input_task();
bacnet_task();
led_task();