From 5f0009c3b3db752c7b08189403787942509f71a3 Mon Sep 17 00:00:00 2001 From: Fisch Date: Thu, 14 Jul 2022 18:06:38 +0200 Subject: [PATCH] move files to work with platformio --- .gitignore | 0 Doxyfile | 0 FAQ | 0 README.md | 0 doxygen-custom.css | 0 examples/GettingStarted/GettingStarted.pde | 0 examples/GettingStarted/Jamfile | 0 examples/GettingStarted/printf.h | 0 examples/led_remote/Jamfile | 0 examples/led_remote/led_remote.pde | 0 examples/led_remote/printf.h | 0 examples/nordic_fob/Jamfile | 0 examples/nordic_fob/nordic_fob.pde | 0 examples/nordic_fob/printf.h | 0 examples/pingpair/Jamfile | 0 examples/pingpair/pingpair.pde | 0 examples/pingpair/printf.h | 0 examples/pingpair_dyn/Jamfile | 0 examples/pingpair_dyn/pingpair_dyn.pde | 0 examples/pingpair_dyn/printf.h | 0 examples/pingpair_irq/Jamfile | 0 examples/pingpair_irq/pingpair_irq.pde | 0 examples/pingpair_irq/printf.h | 0 examples/pingpair_maple/Jamfile | 0 examples/pingpair_maple/main.cpp | 0 examples/pingpair_maple/pingpair_maple.pde | 0 examples/pingpair_pl/Jamfile | 0 examples/pingpair_pl/pingpair_pl.pde | 0 examples/pingpair_pl/printf.h | 0 examples/pingpair_sleepy/Jamfile | 0 examples/pingpair_sleepy/pingpair_sleepy.pde | 0 examples/pingpair_sleepy/printf.h | 0 examples/scanner/Jamfile | 0 examples/scanner/output/core.a | Bin examples/scanner/output/scanner.cpp | 0 examples/scanner/output/scanner.hex | 0 examples/scanner/printf.h | 0 examples/scanner/scanner.pde | 0 examples/starping/Jamfile | 0 examples/starping/printf.h | 0 examples/starping/starping.pde | 0 keywords.txt | 0 RF24.cpp => src/RF24.cpp | 0 RF24.h => src/RF24.h | 0 RF24_config.h => src/RF24_config.h | 7 +++++++ nRF24L01.h => src/nRF24L01.h | 0 tests/README | 0 tests/native/Jamfile | 0 tests/native/pingpair_irq.pde | 0 tests/native/printf.h | 0 tests/pingpair_blocking/Jamfile | 0 tests/pingpair_blocking/pingpair_blocking.pde | 0 tests/pingpair_blocking/printf.h | 0 tests/pingpair_test/Jamfile | 0 tests/pingpair_test/pingpair_test.pde | 0 tests/pingpair_test/printf.h | 0 wikidoc.xslt | 0 57 files changed, 7 insertions(+) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 Doxyfile mode change 100644 => 100755 FAQ mode change 100644 => 100755 README.md mode change 100644 => 100755 doxygen-custom.css mode change 100644 => 100755 examples/GettingStarted/GettingStarted.pde mode change 100644 => 100755 examples/GettingStarted/Jamfile mode change 100644 => 100755 examples/GettingStarted/printf.h mode change 100644 => 100755 examples/led_remote/Jamfile mode change 100644 => 100755 examples/led_remote/led_remote.pde mode change 100644 => 100755 examples/led_remote/printf.h mode change 100644 => 100755 examples/nordic_fob/Jamfile mode change 100644 => 100755 examples/nordic_fob/nordic_fob.pde mode change 100644 => 100755 examples/nordic_fob/printf.h mode change 100644 => 100755 examples/pingpair/Jamfile mode change 100644 => 100755 examples/pingpair/pingpair.pde mode change 100644 => 100755 examples/pingpair/printf.h mode change 100644 => 100755 examples/pingpair_dyn/Jamfile mode change 100644 => 100755 examples/pingpair_dyn/pingpair_dyn.pde mode change 100644 => 100755 examples/pingpair_dyn/printf.h mode change 100644 => 100755 examples/pingpair_irq/Jamfile mode change 100644 => 100755 examples/pingpair_irq/pingpair_irq.pde mode change 100644 => 100755 examples/pingpair_irq/printf.h mode change 100644 => 100755 examples/pingpair_maple/Jamfile mode change 100644 => 100755 examples/pingpair_maple/main.cpp mode change 100644 => 100755 examples/pingpair_maple/pingpair_maple.pde mode change 100644 => 100755 examples/pingpair_pl/Jamfile mode change 100644 => 100755 examples/pingpair_pl/pingpair_pl.pde mode change 100644 => 100755 examples/pingpair_pl/printf.h mode change 100644 => 100755 examples/pingpair_sleepy/Jamfile mode change 100644 => 100755 examples/pingpair_sleepy/pingpair_sleepy.pde mode change 100644 => 100755 examples/pingpair_sleepy/printf.h mode change 100644 => 100755 examples/scanner/Jamfile mode change 100644 => 100755 examples/scanner/output/core.a mode change 100644 => 100755 examples/scanner/output/scanner.cpp mode change 100644 => 100755 examples/scanner/output/scanner.hex mode change 100644 => 100755 examples/scanner/printf.h mode change 100644 => 100755 examples/scanner/scanner.pde mode change 100644 => 100755 examples/starping/Jamfile mode change 100644 => 100755 examples/starping/printf.h mode change 100644 => 100755 examples/starping/starping.pde mode change 100644 => 100755 keywords.txt rename RF24.cpp => src/RF24.cpp (100%) mode change 100644 => 100755 rename RF24.h => src/RF24.h (100%) mode change 100644 => 100755 rename RF24_config.h => src/RF24_config.h (91%) mode change 100644 => 100755 rename nRF24L01.h => src/nRF24L01.h (100%) mode change 100644 => 100755 mode change 100644 => 100755 tests/README mode change 100644 => 100755 tests/native/Jamfile mode change 100644 => 100755 tests/native/pingpair_irq.pde mode change 100644 => 100755 tests/native/printf.h mode change 100644 => 100755 tests/pingpair_blocking/Jamfile mode change 100644 => 100755 tests/pingpair_blocking/pingpair_blocking.pde mode change 100644 => 100755 tests/pingpair_blocking/printf.h mode change 100644 => 100755 tests/pingpair_test/Jamfile mode change 100644 => 100755 tests/pingpair_test/pingpair_test.pde mode change 100644 => 100755 tests/pingpair_test/printf.h mode change 100644 => 100755 wikidoc.xslt diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/Doxyfile b/Doxyfile old mode 100644 new mode 100755 diff --git a/FAQ b/FAQ old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/doxygen-custom.css b/doxygen-custom.css old mode 100644 new mode 100755 diff --git a/examples/GettingStarted/GettingStarted.pde b/examples/GettingStarted/GettingStarted.pde old mode 100644 new mode 100755 diff --git a/examples/GettingStarted/Jamfile b/examples/GettingStarted/Jamfile old mode 100644 new mode 100755 diff --git a/examples/GettingStarted/printf.h b/examples/GettingStarted/printf.h old mode 100644 new mode 100755 diff --git a/examples/led_remote/Jamfile b/examples/led_remote/Jamfile old mode 100644 new mode 100755 diff --git a/examples/led_remote/led_remote.pde b/examples/led_remote/led_remote.pde old mode 100644 new mode 100755 diff --git a/examples/led_remote/printf.h b/examples/led_remote/printf.h old mode 100644 new mode 100755 diff --git a/examples/nordic_fob/Jamfile b/examples/nordic_fob/Jamfile old mode 100644 new mode 100755 diff --git a/examples/nordic_fob/nordic_fob.pde b/examples/nordic_fob/nordic_fob.pde old mode 100644 new mode 100755 diff --git a/examples/nordic_fob/printf.h b/examples/nordic_fob/printf.h old mode 100644 new mode 100755 diff --git a/examples/pingpair/Jamfile b/examples/pingpair/Jamfile old mode 100644 new mode 100755 diff --git a/examples/pingpair/pingpair.pde b/examples/pingpair/pingpair.pde old mode 100644 new mode 100755 diff --git a/examples/pingpair/printf.h b/examples/pingpair/printf.h old mode 100644 new mode 100755 diff --git a/examples/pingpair_dyn/Jamfile b/examples/pingpair_dyn/Jamfile old mode 100644 new mode 100755 diff --git a/examples/pingpair_dyn/pingpair_dyn.pde b/examples/pingpair_dyn/pingpair_dyn.pde old mode 100644 new mode 100755 diff --git a/examples/pingpair_dyn/printf.h b/examples/pingpair_dyn/printf.h old mode 100644 new mode 100755 diff --git a/examples/pingpair_irq/Jamfile b/examples/pingpair_irq/Jamfile old mode 100644 new mode 100755 diff --git a/examples/pingpair_irq/pingpair_irq.pde b/examples/pingpair_irq/pingpair_irq.pde old mode 100644 new mode 100755 diff --git a/examples/pingpair_irq/printf.h b/examples/pingpair_irq/printf.h old mode 100644 new mode 100755 diff --git a/examples/pingpair_maple/Jamfile b/examples/pingpair_maple/Jamfile old mode 100644 new mode 100755 diff --git a/examples/pingpair_maple/main.cpp b/examples/pingpair_maple/main.cpp old mode 100644 new mode 100755 diff --git a/examples/pingpair_maple/pingpair_maple.pde b/examples/pingpair_maple/pingpair_maple.pde old mode 100644 new mode 100755 diff --git a/examples/pingpair_pl/Jamfile b/examples/pingpair_pl/Jamfile old mode 100644 new mode 100755 diff --git a/examples/pingpair_pl/pingpair_pl.pde b/examples/pingpair_pl/pingpair_pl.pde old mode 100644 new mode 100755 diff --git a/examples/pingpair_pl/printf.h b/examples/pingpair_pl/printf.h old mode 100644 new mode 100755 diff --git a/examples/pingpair_sleepy/Jamfile b/examples/pingpair_sleepy/Jamfile old mode 100644 new mode 100755 diff --git a/examples/pingpair_sleepy/pingpair_sleepy.pde b/examples/pingpair_sleepy/pingpair_sleepy.pde old mode 100644 new mode 100755 diff --git a/examples/pingpair_sleepy/printf.h b/examples/pingpair_sleepy/printf.h old mode 100644 new mode 100755 diff --git a/examples/scanner/Jamfile b/examples/scanner/Jamfile old mode 100644 new mode 100755 diff --git a/examples/scanner/output/core.a b/examples/scanner/output/core.a old mode 100644 new mode 100755 diff --git a/examples/scanner/output/scanner.cpp b/examples/scanner/output/scanner.cpp old mode 100644 new mode 100755 diff --git a/examples/scanner/output/scanner.hex b/examples/scanner/output/scanner.hex old mode 100644 new mode 100755 diff --git a/examples/scanner/printf.h b/examples/scanner/printf.h old mode 100644 new mode 100755 diff --git a/examples/scanner/scanner.pde b/examples/scanner/scanner.pde old mode 100644 new mode 100755 diff --git a/examples/starping/Jamfile b/examples/starping/Jamfile old mode 100644 new mode 100755 diff --git a/examples/starping/printf.h b/examples/starping/printf.h old mode 100644 new mode 100755 diff --git a/examples/starping/starping.pde b/examples/starping/starping.pde old mode 100644 new mode 100755 diff --git a/keywords.txt b/keywords.txt old mode 100644 new mode 100755 diff --git a/RF24.cpp b/src/RF24.cpp old mode 100644 new mode 100755 similarity index 100% rename from RF24.cpp rename to src/RF24.cpp diff --git a/RF24.h b/src/RF24.h old mode 100644 new mode 100755 similarity index 100% rename from RF24.h rename to src/RF24.h diff --git a/RF24_config.h b/src/RF24_config.h old mode 100644 new mode 100755 similarity index 91% rename from RF24_config.h rename to src/RF24_config.h index fc7397f..c6bcb65 --- a/RF24_config.h +++ b/src/RF24_config.h @@ -62,4 +62,11 @@ typedef uint16_t prog_uint16_t; #endif #endif // __RF24_CONFIG_H__ + +//ARM specific code +#ifdef __arm__ +#define SPI_CLOCK_DIV4 21 +#define _BV(bit) (1 << (bit)) +#define printf_P printf +#endif // vim:ai:cin:sts=2 sw=2 ft=cpp diff --git a/nRF24L01.h b/src/nRF24L01.h old mode 100644 new mode 100755 similarity index 100% rename from nRF24L01.h rename to src/nRF24L01.h diff --git a/tests/README b/tests/README old mode 100644 new mode 100755 diff --git a/tests/native/Jamfile b/tests/native/Jamfile old mode 100644 new mode 100755 diff --git a/tests/native/pingpair_irq.pde b/tests/native/pingpair_irq.pde old mode 100644 new mode 100755 diff --git a/tests/native/printf.h b/tests/native/printf.h old mode 100644 new mode 100755 diff --git a/tests/pingpair_blocking/Jamfile b/tests/pingpair_blocking/Jamfile old mode 100644 new mode 100755 diff --git a/tests/pingpair_blocking/pingpair_blocking.pde b/tests/pingpair_blocking/pingpair_blocking.pde old mode 100644 new mode 100755 diff --git a/tests/pingpair_blocking/printf.h b/tests/pingpair_blocking/printf.h old mode 100644 new mode 100755 diff --git a/tests/pingpair_test/Jamfile b/tests/pingpair_test/Jamfile old mode 100644 new mode 100755 diff --git a/tests/pingpair_test/pingpair_test.pde b/tests/pingpair_test/pingpair_test.pde old mode 100644 new mode 100755 diff --git a/tests/pingpair_test/printf.h b/tests/pingpair_test/printf.h old mode 100644 new mode 100755 diff --git a/wikidoc.xslt b/wikidoc.xslt old mode 100644 new mode 100755