X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Flpcxpresso%2Fao_pins.h;h=2f4a723b48a2344f1337a85794c0ac63b459da6b;hb=bfafd5b04f0cca36724f3de0b0f18ffac93be591;hp=56391c2b7a66a8d37c87be6c947d29fecc1596a9;hpb=bcc65597d3d20f1d58df784100af766cee5f0f20;p=fw%2Faltos diff --git a/src/lpcxpresso/ao_pins.h b/src/lpcxpresso/ao_pins.h index 56391c2b..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 @@ -34,14 +36,19 @@ #define LEDS_AVAILABLE AO_LED_RED -#define HAS_USB 0 +#define HAS_USB 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 SERIAL_0_18_19 1 -#define SERIAL_1_14_15 0 -#define SERIAL_1_17_18 0 -#define SERIAL_1_26_27 0 +#define HAS_SERIAL_0 1 +#define USE_SERIAL_0_STDIN 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