Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RF24
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
RF24
Commits
abf4f299
Commit
abf4f299
authored
Apr 29, 2016
by
akatran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change detection for ATXMega256D3
Change the RF24_config.h for correct detection of ATXMega256D3
parent
a2c7047b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
RF24_config.h
RF24_config.h
+7
-6
No files found.
RF24_config.h
View file @
abf4f299
...
@@ -29,7 +29,12 @@
...
@@ -29,7 +29,12 @@
#define RF24_SPI_TRANSACTIONS
#define RF24_SPI_TRANSACTIONS
#endif
#endif
#if ( !defined (ARDUINO) ) // Any non-arduino device is handled via configure/Makefile
//ATXMega
#if defined(__AVR_ATxmega256D3__) // In order to be available both in windows and linux this should take presence here.
#define XMEGA
#define XMEGA_D3
#include "utility/ATXMegaD3/RF24_arch_config.h"
#elif ( !defined (ARDUINO) ) // Any non-arduino device is handled via configure/Makefile
// The configure script detects device and copies the correct includes.h file to /utility/includes.h
// The configure script detects device and copies the correct includes.h file to /utility/includes.h
// This behavior can be overridden by calling configure with respective parameters
// This behavior can be overridden by calling configure with respective parameters
...
@@ -41,11 +46,7 @@
...
@@ -41,11 +46,7 @@
#define RF24_TINY
#define RF24_TINY
#include "utility/ATTiny/RF24_arch_config.h"
#include "utility/ATTiny/RF24_arch_config.h"
//ATXMega
#elif defined(__AVR_ATxmega256D3__)
#define XMEGA
#define XMEGA_D3
#include "utility/ATXMegaD3/RF24_arch_config.h"
//LittleWire
//LittleWire
#elif defined(LITTLEWIRE)
#elif defined(LITTLEWIRE)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment