altos/flash-loader: On STM, don't include ao_usb_disable
[fw/altos] / src / product / ao_flash_pins.h
index b774df6d3668a68a44b8a55915be530a7eadaea3..019b542529807103d8a16b09c82a1bd227630504 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
 
 #define HAS_USB                        1
 #define USE_USB_STDIO          0
+#define HAS_USB_DISABLE                0
 #define HAS_BEEP               0
 #define HAS_TASK               0
 #define HAS_ECHO               0
+#ifndef HAS_TICK
 #define HAS_TICK               0
+#endif
 
 #define PACKET_HAS_SLAVE       0
 
@@ -35,6 +39,7 @@
 #define HAS_VERSION            0
 
 #define AO_BOOT_CHAIN          1
-#define AO_BOOT_PIN            1
+
+#define IS_FLASH_LOADER                1
 
 #endif /* _AO_FLASH_PINS_H_ */