cleanup.
This commit is contained in:
6
AUTHORS
6
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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -31,8 +31,3 @@ Leave_LowPowerMode (void)
|
||||
else
|
||||
bDeviceState = ATTACHED;
|
||||
}
|
||||
|
||||
void
|
||||
Get_SerialNum (void)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -39,11 +39,6 @@
|
||||
static void
|
||||
gnuk_device_init (void)
|
||||
{
|
||||
/*
|
||||
* Update the serial number string descriptor (if needed)
|
||||
*/
|
||||
Get_SerialNum ();
|
||||
|
||||
pInformation->Current_Configuration = 0;
|
||||
|
||||
/* Connect the device */
|
||||
|
||||
Reference in New Issue
Block a user