CHECK_FOR_BOOTLOADER now enabled by default in _config.h

This commit is contained in:
Pascal Langer 2019-08-24 21:50:36 +02:00
parent d4e77c6499
commit 2f3ea323c7
3 changed files with 8 additions and 7 deletions

View File

@ -47,8 +47,8 @@
47,GD00X,GD_V1,GD_V2
48,V761
49,KF606
50,REDPINE,FAST,SLOW
51,POTENSIC,A20
50,Redpine,Fast,Slow
51,Potensic,A20
52,ZSX,280
53,FLYZONE,FZ-410
53,Flyzone,FZ-410
63,XN_DUMP,250K,1M,2M

View File

@ -44,9 +44,10 @@
#endif
#endif
// Error if CHECK_FOR_BOOTLOADER is enabled but the 'Flash from TX' bootloader
// Warning if CHECK_FOR_BOOTLOADER is enabled but no bootloader
#if defined(ARDUINO_MULTI_NO_BOOT) && defined(CHECK_FOR_BOOTLOADER)
#error "You have enabled CHECK_FOR_BOOTLOADER but not selected the 'Flash from TX' bootloader."
#undef CHECK_FOR_BOOTLOADER
#warning "Disabling CHECK_FOR_BOOTLOADER since no bootloader is selected."
#endif
//Check number of banks

View File

@ -31,8 +31,8 @@
/*************************/
//Allow flashing multimodule directly with TX(erky9x or opentx maintenance mode)
//Instructions:https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/blob/master/docs/Flash_from_Tx.md
//To enable this feature remove the "//" on the next line. Requires a compatible bootloader or upload method to be selected when you use the Multi 4-in-1 Boards Manager definitions.
//#define CHECK_FOR_BOOTLOADER
//To disable this feature add "//" at the begining of the next line. Requires a compatible bootloader or upload method to be selected when you use the Multi 4-in-1 Boards Manager definitions.
#define CHECK_FOR_BOOTLOADER
/*******************/