910// platform properties may be defined here, or somewhere else in the build system
911 #include "noarduino.h"
912
913#endif
914
915/*
916 * Uncomment to enable debug output.
917 * Warning: Debug output will slow down the whole system significantly.
918 * Also, it will result in larger compiled binary.
919 * Levels: debug - only main info
920 * verbose - full transcript of all SPI communication
921 */
922#if !defined(RADIOLIB_DEBUG)
923//#define RADIOLIB_DEBUG
924#endif
925#if !defined(RADIOLIB_VERBOSE)
926//#define RADIOLIB_VERBOSE
927#endif
928
929// set which output port should be used for debug output
930// may be Serial port (on Arduino) or file like stdout or stderr (on generic platforms)
931#if !defined(RADIOLIB_DEBUG_PORT)
932 #define RADIOLIB_DEBUG_PORT Serial
933#endif
934
935/*
936 * Uncomment to enable "paranoid" SPI mode
937 * Every write to an SPI register using SPI set function will be verified by a subsequent read operation.
938 * This improves reliablility, but slightly slows down communication.
939 * Note: Enabled by default.
940 */
941#if !defined(RADIOLIB_SPI_PARANOID)
942 #define RADIOLIB_SPI_PARANOID
943#endif
944
945/*
946 * Uncomment to enable parameter range checking
947 * RadioLib will check provided parameters (such as frequency) against limits determined by the device manufacturer.
948 * It is highly advised to keep this macro defined, removing it will allow invalid values to be set,
949 * possibly leading to bricked module and/or program crashing.
950 * Note: Enabled by default.
951 */
952#if !defined(RADIOLIB_CHECK_PARAMS)
953 #define RADIOLIB_CHECK_PARAMS
954#endif
955
956/*
957 * Uncomment to enable SX127x errata fix
958 * Warning: SX127x errata fix has been reported to cause issues with LoRa bandwidths lower than 62.5 kHz.
959 * It should only be enabled if you really are observing some errata-related issue.
960 * Note: Disabled by default.
961 */
962#if !defined(RADIOLIB_FIX_ERRATA_SX127X)
963//#define RADIOLIB_FIX_ERRATA_SX127X
964#endif
965
966/*
967 * Uncomment to enable god mode - all methods and member variables in all classes will be made public, thus making them accessible from Arduino code.
968 * Warning: Come on, it's called GOD mode - obviously only use this if you know what you're doing.
969 * Failure to heed the above warning may result in bricked module.
970 */
971#if !defined(RADIOLIB_GODMODE)
972//#define RADIOLIB_GODMODE
973#endif
974
975/*
976 * Uncomment to enable low-level hardware access
977 * This will make some hardware methods like SPI get/set accessible from the user sketch - think of it as "god mode lite"
978 * Warning: RadioLib won't stop you from writing invalid stuff into your device, so it's quite easy to brick your module with this.
979 */
980#if !defined(RADIOLIB_LOW_LEVEL)
981//#define RADIOLIB_LOW_LEVEL
982#endif
983
984/*
985 * Uncomment to enable pre-defined modules when using RadioShield.
986 */
987#if !defined(RADIOLIB_RADIOSHIELD)
988//#define RADIOLIB_RADIOSHIELD
989#endif
990
991/*
992 * Uncomment to enable interrupt-based timing control
993 * For details, see https://github.com/jgromes/RadioLib/wiki/Interrupt-Based-Timing
994 */
995#if !defined(RADIOLIB_INTERRUPT_TIMING)
996//#define RADIOLIB_INTERRUPT_TIMING
997#endif
998
999/*
1000 * Uncomment to enable static-only memory management: no dynamic allocation will be performed.
1001 * Warning: Large static arrays will be created in some methods. It is not advised to send large packets in this mode.