projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added initial support for board=apimote2
[goodfet]
/
firmware
/
include
/
spi.h
diff --git
a/firmware/include/spi.h
b/firmware/include/spi.h
index
d940605
..
b4de686
100644
(file)
--- a/
firmware/include/spi.h
+++ b/
firmware/include/spi.h
@@
-25,6
+25,7
@@
# define TST BIT0
# define RST BIT6
#endif
+//Apimotev2 SET/CLRRST needs to be on pin 21, so 2.1 -- just redefine RST to BIT0
#define SETMOSI SPIOUT|=MOSI
#define CLRMOSI SPIOUT&=~MOSI