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
c9feaf51
Commit
c9feaf51
authored
Jan 10, 2016
by
TMRh20
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/TMRh20/RF24
parents
3e8147a1
c7212598
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
35 additions
and
15 deletions
+35
-15
Makefile
Makefile
+6
-1
examples/TransferTimeouts/TransferTimeouts.ino
examples/TransferTimeouts/TransferTimeouts.ino
+1
-1
examples/Usage/led_remote/led_remote.pde
examples/Usage/led_remote/led_remote.pde
+1
-1
examples/Usage/nordic_fob/nordic_fob.pde
examples/Usage/nordic_fob/nordic_fob.pde
+1
-1
examples/scanner/output/scanner.cpp
examples/scanner/output/scanner.cpp
+1
-1
examples/starping/starping.pde
examples/starping/starping.pde
+1
-1
examples_RPi/Makefile
examples_RPi/Makefile
+6
-1
examples_RPi/extra/Makefile
examples_RPi/extra/Makefile
+6
-1
examples_RPi/extra/scanner.cpp
examples_RPi/extra/scanner.cpp
+1
-1
examples_RPi/interrupts/Makefile
examples_RPi/interrupts/Makefile
+6
-1
library.properties
library.properties
+1
-1
tests/native/pingpair_irq.pde
tests/native/pingpair_irq.pde
+1
-1
tests/pingpair_blocking/pingpair_blocking.pde
tests/pingpair_blocking/pingpair_blocking.pde
+2
-2
tests/pingpair_test/pingpair_test.pde
tests/pingpair_test/pingpair_test.pde
+1
-1
No files found.
Makefile
View file @
c9feaf51
...
...
@@ -27,6 +27,11 @@ HEADER_DIR=${PREFIX}/include/RF24
# The base location of support files for different devices
ARCH_DIR
=
utility
ARCH
=
armv6zk
ifeq
"$(shell uname -m)" "armv7l"
ARCH
=
armv7-a
endif
# The default objects to compile
OBJECTS
=
RF24.o spi.o
...
...
@@ -57,7 +62,7 @@ OBJECTS+=bcm2835.o
OBJECTS
+=
interrupt.o
SHARED_LINKER_FLAGS
+=
-pthread
# The recommended compiler flags for the Raspberry Pi
CCFLAGS
=
-Ofast
-mfpu
=
vfp
-mfloat-abi
=
hard
-march
=
armv6zk
-mtune
=
arm1176jzf-s
CCFLAGS
=
-Ofast
-mfpu
=
vfp
-mfloat-abi
=
hard
-march
=
$(ARCH)
-mtune
=
arm1176jzf-s
else
DRIVER_DIR
=
$(ARCH_DIR)
/BBB
...
...
examples/TransferTimeouts/TransferTimeouts.ino
View file @
c9feaf51
...
...
@@ -43,7 +43,7 @@ bool TX=1,RX=0,role=0, transferInProgress = 0;
void
setup
(
void
)
{
Serial
.
begin
(
576
00
);
Serial
.
begin
(
1152
00
);
printf_begin
();
radio
.
begin
();
// Setup and configure rf radio
...
...
examples/Usage/led_remote/led_remote.pde
View file @
c9feaf51
...
...
@@ -108,7 +108,7 @@ void setup(void)
// Print preamble
//
Serial
.
begin
(
576
00
);
Serial
.
begin
(
1152
00
);
printf_begin
();
printf
(
"
\n\r
RF24/examples/led_remote/
\n\r
"
);
printf
(
"ROLE: %s
\n\r
"
,
role_friendly_name
[
role
]);
...
...
examples/Usage/nordic_fob/nordic_fob.pde
View file @
c9feaf51
...
...
@@ -58,7 +58,7 @@ void setup(void)
// Print preamble
//
Serial
.
begin
(
576
00
);
Serial
.
begin
(
1152
00
);
printf_begin
();
printf
(
"
\r\n
RF24/examples/nordic_fob/
\r\n
"
);
...
...
examples/scanner/output/scanner.cpp
View file @
c9feaf51
...
...
@@ -50,7 +50,7 @@ void setup(void)
// Print preamble
//
Serial
.
begin
(
576
00
);
Serial
.
begin
(
1152
00
);
printf_begin
();
printf
(
"
\n\r
RF24/examples/scanner/
\n\r
"
);
...
...
examples/starping/starping.pde
View file @
c9feaf51
...
...
@@ -128,7 +128,7 @@ void setup(void)
// Print preamble
//
Serial
.
begin
(
576
00
);
Serial
.
begin
(
1152
00
);
printf_begin
();
printf
(
"
\n\r
RF24/examples/starping/
\n\r
"
);
printf
(
"ROLE: %s
\n\r
"
,
role_friendly_name
[
role
]);
...
...
examples_RPi/Makefile
View file @
c9feaf51
...
...
@@ -16,9 +16,14 @@ prefix := /usr/local
# Detect the Raspberry Pi by the existence of the bcm_host.h file
BCMLOC
=
/opt/vc/include/bcm_host.h
ARCH
=
armv6zk
ifeq
"$(shell uname -m)" "armv7l"
ARCH
=
armv7-a
endif
ifneq
("$(wildcard $(BCMLOC))","")
# The recommended compiler flags for the Raspberry Pi
CCFLAGS
=
-Ofast
-mfpu
=
vfp
-mfloat-abi
=
hard
-march
=
armv6zk
-mtune
=
arm1176jzf-s
CCFLAGS
=
-Ofast
-mfpu
=
vfp
-mfloat-abi
=
hard
-march
=
$(ARCH)
-mtune
=
arm1176jzf-s
endif
# define all programs
...
...
examples_RPi/extra/Makefile
View file @
c9feaf51
...
...
@@ -13,8 +13,13 @@
#
prefix
:=
/usr/local
ARCH
=
armv6zk
ifeq
"$(shell uname -m)" "armv7l"
ARCH
=
armv7-a
endif
# The recommended compiler flags for the Raspberry Pi
CCFLAGS
=
-Ofast
-mfpu
=
vfp
-mfloat-abi
=
hard
-march
=
armv6zk
-mtune
=
arm1176jzf-s
CCFLAGS
=
-Ofast
-mfpu
=
vfp
-mfloat-abi
=
hard
-march
=
$(ARCH)
-mtune
=
arm1176jzf-s
#CCFLAGS=
# define all programs
...
...
examples_RPi/extra/scanner.cpp
View file @
c9feaf51
...
...
@@ -62,7 +62,7 @@ int main(int argc, char** argv)
// Print preamble
//
//Serial.begin(
576
00);
//Serial.begin(
1152
00);
//printf_begin();
printf
(
"RF24/examples/scanner/
\n
"
);
...
...
examples_RPi/interrupts/Makefile
View file @
c9feaf51
...
...
@@ -13,12 +13,17 @@
#
prefix
:=
/usr/local
ARCH
=
armv6zk
ifeq
"$(shell uname -m)" "armv7l"
ARCH
=
armv7-a
endif
# Detect the Raspberry Pi by the existence of the bcm_host.h file
BCMLOC
=
/opt/vc/include/bcm_host.h
ifneq
("$(wildcard $(BCMLOC))","")
# The recommended compiler flags for the Raspberry Pi
CCFLAGS
=
-Ofast
-mfpu
=
vfp
-mfloat-abi
=
hard
-march
=
armv6zk
-mtune
=
arm1176jzf-s
CCFLAGS
=
-Ofast
-mfpu
=
vfp
-mfloat-abi
=
hard
-march
=
$(ARCH)
-mtune
=
arm1176jzf-s
endif
# define all programs
...
...
library.properties
View file @
c9feaf51
name
=
RF24
version
=
1.1.
4
version
=
1.1.
5
author
=
TMRh20
maintainer
=
TMRh20
sentence
=
A library for NRF24L01(+) communication.
...
...
tests/native/pingpair_irq.pde
View file @
c9feaf51
...
...
@@ -80,7 +80,7 @@ void setup(void)
// Print preamble
//
Serial
.
begin
(
576
00
);
Serial
.
begin
(
1152
00
);
printf_begin
();
printf
(
"
\n\r
RF24/examples/pingpair_irq/
\n\r
"
);
printf
(
"ROLE: %s
\n\r
"
,
role_friendly_name
[
role
]);
...
...
tests/pingpair_blocking/pingpair_blocking.pde
View file @
c9feaf51
...
...
@@ -114,7 +114,7 @@ void setup(void)
// Print preamble
//
Serial
.
begin
(
576
00
);
Serial
.
begin
(
1152
00
);
printf_begin
();
printf
(
"
\n\r
RF24/tests/pingpair_blocking/
\n\r
"
);
printf
(
"ROLE: %s
\n\r
"
,
role_friendly_name
[
role
]);
...
...
tests/pingpair_test/pingpair_test.pde
View file @
c9feaf51
...
...
@@ -136,7 +136,7 @@ void setup(void)
// Print preamble
//
Serial
.
begin
(
576
00
);
Serial
.
begin
(
1152
00
);
printf_begin
();
printf
(
"
\n\r
RF24/tests/pingpair_test/
\n\r
"
);
printf
(
"ROLE: %s
\n\r
"
,
role_friendly_name
[
role
]);
...
...
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