Netrokey Start change
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2015-09-07 Niibe Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
|
* board/board-nitrokey-start.h (VAL_GPIO_USB_ODR)
|
||||||
|
(VAL_GPIO_USB_CRL): Fix the values for NeuG settings.
|
||||||
|
|
||||||
2015-09-04 Niibe Yutaka <gniibe@fsij.org>
|
2015-09-04 Niibe Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
* example-cdc/sys.h (BOARD_ID_NITROKEY_START): New.
|
* example-cdc/sys.h (BOARD_ID_NITROKEY_START): New.
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Port A setup.
|
* Port A setup.
|
||||||
* PA0 - input with pull-up (TIM2_CH1): AN0 for NeuG
|
* PA0 - input with pull-up: AN0 for NeuG
|
||||||
* PA1 - floating input
|
* PA1 - input with pull-up: AN1 for NeuG
|
||||||
* PA2 - floating input
|
* PA2 - floating input
|
||||||
* PA3 - floating input
|
* PA3 - floating input
|
||||||
* PA4 - floating input
|
* PA4 - floating input
|
||||||
@@ -37,14 +37,13 @@
|
|||||||
* PA14 - input with pull-up.
|
* PA14 - input with pull-up.
|
||||||
* PA15 - Push pull output (USB 1:ON 0:OFF)
|
* PA15 - Push pull output (USB 1:ON 0:OFF)
|
||||||
*/
|
*/
|
||||||
#define VAL_GPIO_USB_ODR 0xFFFFE7FD
|
#define VAL_GPIO_USB_ODR 0xFFFFE7FF
|
||||||
#define VAL_GPIO_USB_CRL 0x34444448 /* PA7...PA0 */
|
#define VAL_GPIO_USB_CRL 0x34444488 /* PA7...PA0 */
|
||||||
#define VAL_GPIO_USB_CRH 0x38811444 /* PA15...PA8 */
|
#define VAL_GPIO_USB_CRH 0x38811444 /* PA15...PA8 */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Port B setup.
|
* Port B setup.
|
||||||
* PB0 - Push pull output (LED2 1:ON 0:OFF)
|
* PB0 - Push pull output (LED2 1:ON 0:OFF)
|
||||||
* PB1 - input with pull-up: AN9 for NeuG
|
|
||||||
* ------------------------ Default
|
* ------------------------ Default
|
||||||
* PBx - input with pull-up.
|
* PBx - input with pull-up.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user