projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new incomplete AudioInputHost Host LowLevel demo.
[pub/USBasp.git]
/
Projects
/
AVRISP-MKII
/
Lib
/
XPROG
/
TINYNVM.h
diff --git
a/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h
b/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h
index
b2b37e9
..
0893415
100644
(file)
--- a/
Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h
+++ b/
Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h
@@
-37,12
+37,17
@@
#define _TINY_NVM_
/* Includes: */
#define _TINY_NVM_
/* Includes: */
- #include <avr/io.h>
- #include <avr/interrupt.h>
- #include <stdbool.h>
-
#include <LUFA/Common/Common.h>
#include <LUFA/Common/Common.h>
+ #if (ARCH == ARCH_AVR8)
+ #include <avr/io.h>
+ #include <avr/interrupt.h>
+ #elif (ARCH == ARCH_UC3)
+ #include <avr32/io.h>
+ #endif
+
+ #include <stdbool.h>
+
#include "XPROGProtocol.h"
#include "XPROGTarget.h"
#include "XPROGProtocol.h"
#include "XPROGTarget.h"