diff options
| author | krolyxon <me@krolyxon.com> | 2026-06-08 23:10:46 +0530 |
|---|---|---|
| committer | krolyxon <me@krolyxon.com> | 2026-06-08 23:10:46 +0530 |
| commit | 3120783000d0025b183b0397acaa8b769499eb38 (patch) | |
| tree | 1c4f93be213f1b1d48f59e554562d847b4e7c25e /.pio/libdeps/esp32-s3-n16r8/RF24/utility/ATTiny | |
Initial gh-pages firmware hosting
Diffstat (limited to '.pio/libdeps/esp32-s3-n16r8/RF24/utility/ATTiny')
| -rw-r--r-- | .pio/libdeps/esp32-s3-n16r8/RF24/utility/ATTiny/RF24_arch_config.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/.pio/libdeps/esp32-s3-n16r8/RF24/utility/ATTiny/RF24_arch_config.h b/.pio/libdeps/esp32-s3-n16r8/RF24/utility/ATTiny/RF24_arch_config.h new file mode 100644 index 0000000..40e5399 --- /dev/null +++ b/.pio/libdeps/esp32-s3-n16r8/RF24/utility/ATTiny/RF24_arch_config.h @@ -0,0 +1,53 @@ +/* + TMRh20 2015 + ATTiny Configuration File +*/ + +#ifndef RF24_UTILITY_ATTINY_RF24_ARCH_CONFIG_H_ +#define RF24_UTILITY_ATTINY_RF24_ARCH_CONFIG_H_ + +/*** USER DEFINES: ***/ +//#define FAILURE_HANDLING +//#define MINIMAL +/**********************/ + +#define rf24_max(a, b) (a > b ? a : b) +#define rf24_min(a, b) (a < b ? a : b) + +#if ARDUINO < 100 + #include <WProgram.h> +#else + #include <Arduino.h> +#endif + +#include <stddef.h> + +#include <SPI.h> + +#define _SPI SPI +typedef uint8_t rf24_gpio_pin_t; +#define RF24_PIN_INVALID 0xFF + +#if !defined(RF24_CSN_SETTLE_LOW_DELAY) + #define RF24_CSN_SETTLE_LOW_DELAY 11 +#endif + +#if !defined(RF24_CSN_SETTLE_HIGH_DELAY) + #define RF24_CSN_SETTLE_HIGH_DELAY 100 +#endif + +#ifdef RF24_DEBUG + #define IF_RF24_DEBUG(x) ({ x; }) +#else + #define IF_RF24_DEBUG(x) + + #if defined(RF24_TINY) + #define printf_P(...) + #endif +#endif // !defined(RF24_DEBUG) + +#include <avr/pgmspace.h> + +#define PRIPSTR "%S" + +#endif // RF24_UTILITY_ATTINY_RF24_ARCH_CONFIG_H_ |
