X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Flpcxpresso%2Fao_pins.h;h=2f4a723b48a2344f1337a85794c0ac63b459da6b;hb=c8a0811abf59fb55cb17d2159289621d26e887ad;hp=c0074ce2989ad8e97b5de8152d7765fbc2d62897;hpb=ac089d4fb930b7dbc4161259fd9bddba94395ebc;p=fw%2Faltos diff --git a/src/lpcxpresso/ao_pins.h b/src/lpcxpresso/ao_pins.h index c0074ce2..2f4a723b 100644 --- a/src/lpcxpresso/ao_pins.h +++ b/src/lpcxpresso/ao_pins.h @@ -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 @@ -16,7 +17,8 @@ */ #define HAS_BEEP 0 -#define HAS_LED 1 + +#define IS_FLASH_LOADER 0 /* Crystal on the board */ #define AO_LPC_CLKIN 12000000 @@ -35,17 +37,18 @@ #define LEDS_AVAILABLE AO_LED_RED #define HAS_USB 1 - -#define HAS_USB_CONNECT 1 -#define HAS_USB_VBUS 1 +#define HAS_USB_PULLUP 1 +#define AO_USB_PULLUP_PORT 1 +#define AO_USB_PULLUP_PIN 23 #define PACKET_HAS_SLAVE 0 /* USART */ -#define HAS_SERIAL 1 +#define HAS_SERIAL_0 1 #define USE_SERIAL_0_STDIN 1 -#define SERIAL_0_18_19 1 +#define SERIAL_0_18_19 0 +#define SERIAL_1_13_14 1 #define SERIAL_0_14_15 0 #define SERIAL_0_17_18 0 #define SERIAL_0_26_27 0