From 9d84537c136e1219b18e50bdf8bab5e145daf494 Mon Sep 17 00:00:00 2001
From: Szczepan Zalega <szczepan@nitrokey.com>
Date: Thu, 8 Dec 2016 12:29:26 +0100
Subject: Switch off red LED for Nitrokey Start.

Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
---
 AUTHORS                      | 14 +++++++++-----
 ChangeLog                    |  5 +++++
 board/board-nitrokey-start.h |  6 +++---
 3 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index f0fa39c..e87564a 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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
diff --git a/ChangeLog b/ChangeLog
index 83af56a..d6aeee2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
  */
-- 
cgit v1.2.3