From 71acc79f8e828d56296db282c72cf4492a8aa4f4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 7 May 2018 09:43:27 -0700 Subject: [PATCH] altos/mpusb-v3.0: Make it compile again A few things have changed since this code was written. Signed-off-by: Keith Packard --- src/mpusb-v3.0/Makefile | 1 + src/mpusb-v3.0/ao_pins.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/mpusb-v3.0/Makefile b/src/mpusb-v3.0/Makefile index 5d42b53b..96156741 100644 --- a/src/mpusb-v3.0/Makefile +++ b/src/mpusb-v3.0/Makefile @@ -31,6 +31,7 @@ ALTOS_SRC = \ ao_mutex.c \ ao_usb_stm.c \ ao_power.c \ + ao_gpio.c \ ao_serial_stm.c PRODUCT=MicroPeakUSB-v3.0 diff --git a/src/mpusb-v3.0/ao_pins.h b/src/mpusb-v3.0/ao_pins.h index 0c211861..3e79aad3 100644 --- a/src/mpusb-v3.0/ao_pins.h +++ b/src/mpusb-v3.0/ao_pins.h @@ -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_FLOW 0 +#define USE_SERIAL_2_SW_FLOW 0 #define ao_up_getchar ao_serial2_getchar #define ao_up_putchar ao_serial2_putchar -- 2.30.2