10 #ifndef __RF24_CONFIG_H__
11 #define __RF24_CONFIG_H__
28 extern HardwareSPI SPI;
29 #define _BV(x) (1<<(x))
34 #define IF_SERIAL_DEBUG(x) ({x;})
36 #define IF_SERIAL_DEBUG(x)
41 #if ! defined( NATIVE ) && defined( ARDUINO )
43 #define PROGMEM __attribute__(( section(".progmem.data") ))
45 #define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
51 #include <avr/pgmspace.h>
54 typedef char const char;
55 typedef uint16_t prog_uint16_t;
57 #define printf_P printf
58 #define strlen_P strlen
60 #define pgm_read_word(p) (*(p))