altos/mpusb-v3.0: Make it compile again
authorKeith Packard <keithp@keithp.com>
Mon, 7 May 2018 16:43:27 +0000 (09:43 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 7 May 2018 16:43:27 +0000 (09:43 -0700)
A few things have changed since this code was written.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/mpusb-v3.0/Makefile
src/mpusb-v3.0/ao_pins.h

index 5d42b53b434e3abb5451f35dd05ca5dc0398949f..961567413e62c227344e8d17bca571675064b278 100644 (file)
@@ -31,6 +31,7 @@ ALTOS_SRC = \
        ao_mutex.c \
        ao_usb_stm.c \
        ao_power.c \
        ao_mutex.c \
        ao_usb_stm.c \
        ao_power.c \
+       ao_gpio.c \
        ao_serial_stm.c
 
 PRODUCT=MicroPeakUSB-v3.0
        ao_serial_stm.c
 
 PRODUCT=MicroPeakUSB-v3.0
index 0c211861d1659826e68e132725c8e038ad4656dd..3e79aad3d2ffd7f4fd778c151ccd81016bb16ba2 100644 (file)
@@ -56,6 +56,8 @@
 #define USE_SERIAL_2_STDIN     0
 #define SERIAL_2_PA2_PA3       1
 #define SERIAL_2_SWAP          0
 #define USE_SERIAL_2_STDIN     0
 #define SERIAL_2_PA2_PA3       1
 #define SERIAL_2_SWAP          0
+#define USE_SERIAL_2_FLOW      0
+#define USE_SERIAL_2_SW_FLOW   0
 
 #define ao_up_getchar          ao_serial2_getchar
 #define ao_up_putchar          ao_serial2_putchar
 
 #define ao_up_getchar          ao_serial2_getchar
 #define ao_up_putchar          ao_serial2_putchar