altos/easymega-v2.0: Change binary to easymega-v2.0 instead of easymega-v1.0
[fw/altos] / src / chaoskey-v1.0 / ao_pins.h
index 89a2cb08eb22543f9ffed7c6bc27bded3f1482ad..22861d9d1e8636e665ba706518532d9c568fb632 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
@@ -49,6 +50,7 @@
 #define AO_USB_HAS_OUT                 0
 #define AO_USB_HAS_IN                  1
 #define AO_USB_HAS_IN2                 1
+#define AO_USB_HAS_IN3                 1
 #define AO_USB_HAS_INT                 0
 #define AO_USB_SELF_POWER              0
 #define AO_USB_DEVICE_ID_SERIAL                1
@@ -57,6 +59,9 @@
 
 #define IS_FLASH_LOADER        0
 
+#define AO_FLASH_READOUT               1
+#define ao_flash_readout_putchar(c)    ao_usb_putchar3(c)
+
 /* ADC */
 
 #define AO_ADC_PIN0_PORT       (&stm_gpioa)