cleanup.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 22 Oct 2010 00:24:12 +0000 (09:24 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 22 Oct 2010 00:24:12 +0000 (09:24 +0900)
AUTHORS
ChangeLog
boards/CQ_STARM/board.c
boards/common/hw_config.c
doc/HACKING
src/usb_desc.c
src/usb_prop.c

diff --git a/AUTHORS b/AUTHORS
index dcea8e7..d229970 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -4,10 +4,14 @@ Kaz Kojima:
        boards/STM32_PRIMER2/board.h
        boards/STM32_PRIMER2/board.mk
        boards/STM32_PRIMER2/mcuconf.h
-       boards/STM32_PRIMER2/hw_config.c
 
 NIIBE Yutaka:
     Founder of the project.
+    Added CQ STARM support:
+       boards/CQ_STARM/board.c
+       boards/CQ_STARM/board.h
+       boards/CQ_STARM/board.mk
+       boards/CQ_STARM/mcuconf.h
     Wrote:
        gnuk.svg
        src/configure
index 551a63f..e760986 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-10-21  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * boards/common/hw_config.c (Get_SerialNum): Removed.
+       * src/usb_prop.c (gnuk_device_init): Remove calling Get_SerialNum.
+       * src/usb_desc.c (gnukStringSerial): Updated.
+       * boards/CQ_STARM/board.c (set_led): Fix polarity.
+
 2010-10-20  NIIBE Yutaka  <gniibe@fsij.org>
 
        * FSIJ_SERIAL_NUMBER: New.
index ba02060..cd2a779 100644 (file)
@@ -31,7 +31,7 @@ void
 set_led (int value)
 {
   if (value)
-    palClearPad (IOPORT3, GPIOC_LED);
-  else
     palSetPad (IOPORT3, GPIOC_LED);
+  else
+    palClearPad (IOPORT3, GPIOC_LED);
 }
index 69f7d54..739451c 100644 (file)
@@ -31,8 +31,3 @@ Leave_LowPowerMode (void)
   else
     bDeviceState = ATTACHED;
 }
-
-void
-Get_SerialNum (void)
-{
-}
index da0c337..05a9a69 100644 (file)
@@ -1,4 +1,4 @@
-* configure support
+* [DONE] configure support
 
 configure script would be good to select a board and to generate
 random serial number.
@@ -29,7 +29,7 @@ It would be good not to use malloc.
 Get it from FSFE.
 
 
-* Serial number
+* [Partially DONE] Serial number
 
 Currently, aid[] in openpgp-do.c has serial number 00000001.
 It would be good to generate (random) number at compile time.
index 1532711..7250547 100644 (file)
@@ -207,7 +207,7 @@ static const uint8_t gnukStringSerial[] = {
   8*2+2,                       /* bLength */
   USB_STRING_DESCRIPTOR_TYPE,  /* bDescriptorType */
   '2', 0, '0', 0, '1', 0, '0', 0,
-  '0', 0, '9', 0, '1', 0, '0', 0
+  '1', 0, '0', 0, '2', 0, '2', 0
 };
 
 const ONE_DESCRIPTOR Device_Descriptor = {
index e488fac..9949359 100644 (file)
 static void
 gnuk_device_init (void)
 {
-  /*
-   * Update the serial number string descriptor (if needed)
-   */
-  Get_SerialNum ();
-
   pInformation->Current_Configuration = 0;
 
   /* Connect the device */