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