USB-CDC test

This commit is contained in:
NIIBE Yutaka
2010-08-10 15:35:34 +09:00
parent 8985ad0530
commit 383424e1c3
5 changed files with 45 additions and 23 deletions

View File

@@ -114,11 +114,11 @@
* Everything input with pull-up except:
* PC6 - Normal input because there is an external resistor.
* PC7 - Normal input because there is an external resistor.
* PC11 - Push Pull output (CAN CNTRL).
* PC11 - Open Drain output (USB disconnect).
* PC12 - Push Pull output (LED).
*/
#define VAL_GPIOCCRL 0x44888888 /* PC7...PC0 */
#define VAL_GPIOCCRH 0x88833888 /* PC15...PC8 */
#define VAL_GPIOCCRH 0x88837888 /* PC15...PC8 */
#define VAL_GPIOCODR 0xFFFFFFFF
/*

View File

@@ -1,5 +1,5 @@
# List of all the board related files.
BOARDSRC = ${CHIBIOS}/boards/OLIMEX_STM32_P103/board.c
BOARDSRC = ../boards/OLIMEX_STM32_H103/board.c
# Required include directories
BOARDINC = ${CHIBIOS}/boards/OLIMEX_STM32_P103
BOARDINC = ../boards/OLIMEX_STM32_H103