diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-12-08 12:29:26 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2017-02-01 15:24:55 +0900 |
commit | 9d84537c136e1219b18e50bdf8bab5e145daf494 (patch) | |
tree | 1e03282978831617c4ecb8589e31e603dc075d69 | |
parent | d448d3c678245b71a28b44652c053968ea70fa56 (diff) |
Switch off red LED for Nitrokey Start.
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r-- | AUTHORS | 14 | ||||
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | board/board-nitrokey-start.h | 6 |
3 files changed, 17 insertions, 8 deletions
@@ -22,18 +22,18 @@ Mateusz Zalega: board/board-nitrokey-start.h NIIBE Yutaka: - Write the library: + Wrote the library: chopstx.c, entry.c, eventflag.c, chopstx.h, eventflag.h - Write the drivers mcu/*: + Wrote the drivers mcu/*: clk_gpio_init-mkl27z.c, clk_gpio_init-stm32.c, sys-stm32f103.c, sys-stm32f030.c, sys-mkl27z.c, adc-stm32f103.c, adc-mkl27z.c - Draw the logo: + Drew the logo: chopstx.svg, chopstx.png - Write examples: + Wrote examples: example-led, example-cdc, example-fsm-55, example-fs-bb48 - Write board/*: + Wrote board/*: board-fst-01.h, board-fst-01-00.h, board-olimex-stm32-h103.h, board-stm8s-discovery.h board-cq-starm.h, board-stbee-mini.h, board-stbee.h, @@ -41,3 +41,7 @@ NIIBE Yutaka: board-stm32f0-discovery.h, board-fsm-55.h, board-fs-bb48.h + +Szczepan Zalega: + Modified Nitrokey-Start support. + board/board-nitrokey-start.h @@ -1,3 +1,8 @@ +2016-12-08 Szczepan Zalega <szczepan@nitrokey.com> + + * board/board-nitrokey-start.h (VAL_GPIO_USB_ODR): Switch off red + LED for Nitrokey Start. + 2016-10-13 NIIBE Yutaka <gniibe@fsij.org> * VERSION: 1.2. diff --git a/board/board-nitrokey-start.h b/board/board-nitrokey-start.h index ef37f6d..d81675d 100644 --- a/board/board-nitrokey-start.h +++ b/board/board-nitrokey-start.h @@ -22,7 +22,7 @@ * PA4 - floating input * PA5 - floating input * PA6 - floating input - * PA7 - Push pull output (LED1 1:ON 0:OFF) + * PA7 - Push pull output (Red LED1 1:ON 0:OFF) * PA8 - floating input (smartcard, SCDSA) * PA9 - floating input * PA10 - floating input @@ -37,13 +37,13 @@ * PA14 - input with pull-up. * PA15 - Push pull output (USB 1:ON 0:OFF) */ -#define VAL_GPIO_USB_ODR 0xFFFFE7FF +#define VAL_GPIO_USB_ODR 0xFFFFE77F #define VAL_GPIO_USB_CRL 0x34444488 /* PA7...PA0 */ #define VAL_GPIO_USB_CRH 0x38811444 /* PA15...PA8 */ /* * Port B setup. - * PB0 - Push pull output (LED2 1:ON 0:OFF) + * PB0 - Push pull output (Green LED2 1:ON 0:OFF) * ------------------------ Default * PBx - input with pull-up. */ |