Add USB_FLASH_DRIVE_SUPPORT

This commit is contained in:
Marcio Teixeira
2018-07-02 09:06:17 -06:00
committed by Scott Lahteine
parent 07fe8d28be
commit 2067619a26
34 changed files with 5718 additions and 8 deletions

View File

@ -21,6 +21,8 @@
*/
#pragma once
#define __MARLIN_FIRMWARE__
//
// Prefix header to acquire configurations
//

View File

@ -1830,4 +1830,8 @@ static_assert(COUNT(sanity_arr_3) <= XYZE_N, "DEFAULT_MAX_ACCELERATION has too m
#error "PRINTCOUNTER requires EEPROM_SETTINGS. Please update your Configuration."
#endif
#if ENABLED(USB_FLASH_DRIVE_SUPPORT) && !(PIN_EXISTS(USB_CS) && PIN_EXISTS(USB_INTR))
#error "USB_CS_PIN and USB_INTR_PIN are required for USB_FLASH_DRIVE_SUPPORT."
#endif
#endif // _SANITYCHECK_H_