779// platform properties may be defined here, or somewhere else in the build system
780
781#endif
782
783/*
784 * Uncomment to enable debug output.
785 * Warning: Debug output will slow down the whole system significantly.
786 * Also, it will result in larger compiled binary.
787 * Levels: debug - only main info
788 * verbose - full transcript of all SPI communication
789 */
790#if !defined(RADIOLIB_DEBUG)
791//#define RADIOLIB_DEBUG
792#endif
793#if !defined(RADIOLIB_VERBOSE)
794//#define RADIOLIB_VERBOSE
795#endif
796
797// set which output port should be used for debug output
798// may be Serial port (on Arduino) or file like stdout or stderr (on generic platforms)
799#if !defined(RADIOLIB_DEBUG_PORT)
800 #define RADIOLIB_DEBUG_PORT Serial
801#endif
802
803/*
804 * Uncomment to enable "paranoid" SPI mode
805 * Every write to an SPI register using SPI set function will be verified by a subsequent read operation.
806 * This improves reliablility, but slightly slows down communication.
807 * Note: Enabled by default.
808 */
809#if !defined(RADIOLIB_SPI_PARANOID)
810 #define RADIOLIB_SPI_PARANOID
811#endif
812
813/*
814 * Uncomment to enable parameter range checking
815 * RadioLib will check provided parameters (such as frequency) against limits determined by the device manufacturer.
816 * It is highly advised to keep this macro defined, removing it will allow invalid values to be set,
817 * possibly leading to bricked module and/or program crashing.
818 * Note: Enabled by default.
819 */
820#if !defined(RADIOLIB_CHECK_PARAMS)
821 #define RADIOLIB_CHECK_PARAMS
822#endif
823
824/*
825 * Uncomment to enable SX127x errata fix
826 * Warning: SX127x errata fix has been reported to cause issues with LoRa bandwidths lower than 62.5 kHz.
827 * It should only be enabled if you really are observing some errata-related issue.
828 * Note: Disabled by default.
829 */
830#if !defined(RADIOLIB_FIX_ERRATA_SX127X)
831//#define RADIOLIB_FIX_ERRATA_SX127X
832#endif
833
834/*
835 * Uncomment to enable god mode - all methods and member variables in all classes will be made public, thus making them accessible from Arduino code.
836 * Warning: Come on, it's called GOD mode - obviously only use this if you know what you're doing.
837 * Failure to heed the above warning may result in bricked module.
838 */
839#if !defined(RADIOLIB_GODMODE)
840//#define RADIOLIB_GODMODE
841#endif
842
843/*
844 * Uncomment to enable low-level hardware access
845 * This will make some hardware methods like SPI get/set accessible from the user sketch - think of it as "god mode lite"
846 * Warning: RadioLib won't stop you from writing invalid stuff into your device, so it's quite easy to brick your module with this.
847 */
848#if !defined(RADIOLIB_LOW_LEVEL)
849//#define RADIOLIB_LOW_LEVEL
850#endif
851
852/*
853 * Uncomment to enable pre-defined modules when using RadioShield.
854 */
855#if !defined(RADIOLIB_RADIOSHIELD)
856//#define RADIOLIB_RADIOSHIELD
857#endif
858
859/*
860 * Uncomment to enable static-only memory management: no dynamic allocation will be performed.
861 * Warning: Large static arrays will be created in some methods. It is not advised to send large packets in this mode.