mirror of
				https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
				synced 2025-10-29 18:11:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /*
 | |
|    This file is meant to keep your settings after an upgrade of the multi source.
 | |
|    If you know parameters you want for sure to be enabled or disabled in future
 | |
|    then just force their values here.
 | |
|    To enable  a setting use #define <setting name>
 | |
|    To disable a setting use #undef  <setting name>
 | |
| */
 | |
| 
 | |
| // For example you can also define multiple module configurations, uncomment the one you want to compile for:
 | |
| #define Module_1
 | |
| //#define Module_2
 | |
| //#define Module_2
 | |
| //#define Module_4
 | |
| 
 | |
| //Example on how to force the "Flash from TX" feature for all modules
 | |
| #define CHECK_FOR_BOOTLOADER
 | |
| 
 | |
| //Example on how to force the same ID for all modules: be carefull this is really if you want to be able to use one or another radio but not both!
 | |
| //#define FORCE_GLOBAL_ID	0x12345678
 | |
| 
 | |
| #if defined Module_1
 | |
| 	//Example on how to remove unwanted protocols to fit in flash for Atmega 328 modules
 | |
| 	#undef	AFHDS2A_A7105_INO
 | |
| 
 | |
| 	#undef	DEVO_CYRF6936_INO
 | |
| 	#undef	J6PRO_CYRF6936_INO
 | |
| 	#undef	WK2x01_CYRF6936_INO
 | |
| 
 | |
| 	#undef	FRSKYV_CC2500_INO
 | |
| 	#undef	FRSKYX_CC2500_INO
 | |
| 
 | |
| 	#undef	KN_NRF24L01_INO
 | |
| 	#undef	SLT_NRF24L01_INO
 | |
| 
 | |
| 	#undef	FY326_NRF24L01_INO
 | |
| 	#undef	FQ777_NRF24L01_INO
 | |
| 	#undef	ASSAN_NRF24L01_INO
 | |
| 	#undef	HONTAI_NRF24L01_INO
 | |
| 	#undef	Q303_NRF24L01_INO
 | |
| 	#undef	GW008_NRF24L01_INO
 | |
| 	#undef	DM002_NRF24L01_INO
 | |
| 	#undef	CABELL_NRF24L01_INO
 | |
| 	#undef	ESKY150_NRF24L01_INO
 | |
| 	#undef	H8_3D_NRF24L01_INO
 | |
| 
 | |
| #elif defined Module_2
 | |
| 	//Example of a module which doesn't need the telemetry signal to be inverted
 | |
| 	#undef INVERT_TELEMETRY
 | |
| 	
 | |
| #elif defined Module_3
 | |
| 	//Example of a module which will be used with OpenTX
 | |
| 	#undef MULTI_STATUS
 | |
| 	#define MULTI_TELEMETRY
 | |
| 	
 | |
| #elif defined Module_4
 | |
| 	//Example of a module which will be PPM only
 | |
| 	#undef ENABLE_SERIAL
 | |
| 
 | |
| #endif
 |