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