Created Rowley Crossworks AVR project for BDK port to ATmega644p.

This commit is contained in:
skarg
2012-01-12 23:09:14 +00:00
parent e3e706ffa9
commit 12d0d9f204
15 changed files with 259 additions and 80 deletions
+11 -2
View File
@@ -30,16 +30,25 @@
#define F_CPU 18432000UL
#endif
/* IAR compiler specific configuration */
#if defined(__ICCAVR__)
#include <iom644p.h>
#endif
/* AVR-GCC compiler specific configuration */
#if defined(__GNUC__)
#include <avr/io.h>
#include <avr/wdt.h>
#if !defined(__AVR_ATmega644P__)
#error Firmware is configured for ATmega644P only (-mmcu=atmega644p)
#endif
/* GCC specific configuration */
#include <avr/wdt.h>
#endif
#if defined (__CROSSWORKS_AVR)
#include <avr.h>
#if (__TARGET_PROCESSOR != ATmega644P)
#error Firmware is configured for ATmega644P only
#endif
#endif
#include "iar2gcc.h"