Fix USB suspend for Fraucheky.
[gnuk/neug.git] / ChangeLog
index 5f16586..9b7ec5e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,250 @@
+2018-01-18  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/main.c (usb_main): USB suspend fix for Fraucheky.
+
+       * src/stack-def.h (SIZE_0, SIZE_1): Increase.
+
+2018-01-18  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/neug.c [GNU_LINUX_EMULATION] (crc32_rv_stop): Defined.
+
+       * src/main.c (main, usb_main): Support USB suspend.
+
+2018-01-18  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/neug.c: Update from Gnuk.
+
+       * src/Makefile (USE_EVENTFLAG): Enable.
+
+       * src/main.c (event_flag_init, event_flag_waitone)
+       (event_flag_signal): Remove.
+       (led_blinker, main): Use eventflag in Chopstx.
+       (vcom_config_desc): Fix size for ENDP2 buffer.
+       (*): Use USB_DEVICE_STATE_* enum.
+
+       * chopstx: Update to 1.7.
+
+2017-10-11  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * VERSION: 1.0.6.
+
+       * src/main.c [GNU_LINUX_EMULATION] (main): Support --vidpid
+       option.
+
+       * fraucheky: Update to 0.5.
+
+2017-10-10  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/configure: Allow not specifying VIDPID.
+       (prefix. exec_prefix, libexecdir): Add.
+
+       * src/Makefile (install): New target.
+
+       * NEUG_USB_DEVICE_ID (0000:0000): New.
+
+       * chopstx: Update to 1.5.
+
+2017-10-06  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/neug.ld.in (.stacks): Specify NOLOAD type.
+
+2017-10-03  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/main.c [DFU_SUPPORT] (main): Fix flash_page_size.
+
+       * src/configure: Add FST-01G.
+
+2017-10-02  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/main.c [GNU_LINUX_EMULATION]: Clean up.
+
+2017-09-29  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/main.c (FLASH_UPGRADE_SUPPORT): New.
+
+2017-09-05  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/neug.c: Use stack-def.h.
+       * src/main.c: Likewise.
+
+       * src/neug.ld.in: Remove stack definitions.
+
+       * src/stack-def.h: New.
+
+2017-09-04  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/main.c: Support GNU_LINUX_EMULATION.
+
+       * src/Makefile: Rename from src/Makefile.in (as done in gnuk).
+       * src/configure: Generate config.mk.
+
+2017-09-01  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/neug.c (crc32_reset, crc32_step, crc32_get): Move CRC32
+       routines from main.c.
+       (ep_fill_initial_string, ep_process, neug_init): Use them.
+
+2017-08-31  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/main.c (crc32_reset, crc32_step, crc32_get): New.
+       (download_check_crc32): Use new CRC32 routine.
+
+2017-08-02  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/main.c: Support GNU/Linux target.
+       * src/neug.c: Support GNU/Linux target.
+
+2017-08-01  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/Makefile.in: Support GNU/Linux target.
+       * src/configure: Support GNU/Linux target.
+
+2017-08-01  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/configure: Support build without git.
+
+2016-10-17  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * VERSION: 1.0.5.
+
+2016-10-14  Niibe Yutaka  <gniibe@fsij.org>
+
+       * tool/collect-neug-output.sh: New.
+
+2016-10-13  Niibe Yutaka  <gniibe@fsij.org>
+
+       * tool/intel_hex.py, tool/hub_ctrl.py: Update from Gnuk.
+
+       * chopstx: Update to 1.2.
+
+2016-07-15  Kenji Rikitake  <kenji@k2r.org>
+
+       * src/main.c (main): Fix call of chopstx_poll to follow
+       API change of Chopstx 1.1.
+
+2016-07-13  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/neug.c (neug_init): Apply change for STACK_ADDR_* from Gnuk.
+       * src/main.c (main): Likewise.
+
+2016-06-15  Niibe Yutaka  <gniibe@fsij.org>
+
+       * src/neug.ld.in (__process2_stack_size__): Smaller value.
+
+2016-06-14  Niibe Yutaka  <gniibe@fsij.org>
+
+       * src/neug.ld.in (__process3_stack_size__): Larger value.
+
+       * fraucheky: Update to 0.4.
+
+       * src/main.c (usb_ctrl_write_finish): Support
+       MSC_MASS_STORAGE_RESET_COMMAND.
+
+       * tool/neug_check.py (main): "Board" is optional.
+       Reported by Kenji Rikitake.
+
+       * src/configure: Fix use_sys3 variable substitution.
+
+2016-06-13  Niibe Yutaka  <gniibe@fsij.org>
+
+       * src/main.c: Update with new USB API.
+
+2016-06-01  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * tool/neug_upgrade.py (regnual.__init__): Don't call
+       setAltInterface since we have no alternative.
+
+2016-05-31  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/main.c (main): Don't call fraucheky_main until configured.
+
+       * chopstx: Update to 0.12.
+
+       * src/main.c (usb_cb_get_descriptor): sys_board_name is only
+       available in newer SYS.
+
+2016-05-30  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/main.c (usb_cb_tx_done, usb_cb_rx_ready): Fix for Fraucheky.
+
+       * fraucheky: Update.
+
+       * chopstx: Update.
+
+       * src/stm32f103.h, src/usb_stm32f103.c: Remove.
+       * src/adc_stm32f103.c, src/aes-constant-ft.c: Remove
+       * src/sys.c, src/sys.h: Remove.
+       * neug.ld.in, Makefile.in: Use SYS, USB, ADC in Chopstx.
+
+2016-05-27  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/adc_stm32f103.c (adc_intr): Define in this module.
+       (adc_init): Claim IRQ here.
+       (adc_wait_completion): Don't expose INTR.
+
+       * src/neug.c (INTR_REQ_DMA1_Channel1): Remove.
+       (rng): Follow the change of ADC API.
+
+2016-05-26  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * chopstx: Update.
+       * src/adc.h: Update from Gnuk.
+       * src/neug.c: Update from Gnuk.
+       * src/usb_stm32f103.c: Update from Chopstx.
+       * src/usb_lld.h: Update from Chopstx.
+       * src/sys.c: Update from Chopstx.
+       * src/configure: Follow the change of USB API.
+       * src/main.c (usb_cb_device_reset, usb_cb_ctrl_write_finish)
+       (vcom_port_data_setup, usb_cb_setup, usb_cb_get_descriptor)
+       (usb_cb_interface, usb_intr): Follow the change of USB API.
+       (VCOM_FEATURE_BUS_POWERED): New.
+       (usb_cb_handle_event): Clean up.
+       (usb_cb_tx_done, usb_cb_rx_ready): New.
+       (main): Use chopstx_poll.
+
+2016-02-05   Niibe Yutaka  <gniibe@fsij.org>
+
+       * src/configure: Add submodule check suggested by Elliott
+       Mitchell.
+
+2015-09-18  Niibe Yutaka  <gniibe@fsij.org>
+
+       * VERSION: 1.0.4.
+
+2015-09-15  Niibe Yutaka  <gniibe@fsij.org>
+
+       * src/neug.ld.in (__main_stack_size__): Decrease stack size of
+       exception handlers.
+       (__process0_stack_size__): Decrease stack size of main.
+       (__process1_stack_size__): Decrease stack size of led.
+       (__process2_stack_size__): Increase stack size of rng.
+
+       * src/main.c (usb_cb_device_reset): Stop the interface.
+
+       * chopstx: Update to 0.10.
+
+       * src/usb_stm32f103.c: Update from Gnuk.
+
+2015-09-11  Niibe Yutaka  <gniibe@fsij.org>
+
+       * tool/neug_upgrade.py (main): Loop until finding reGNUal device.
+
+2015-09-08  Niibe Yutaka  <gniibe@fsij.org>
+
+       * src/adc_stm32f103.c (get_adc_config): Add
+       BOARD_ID_NITROKEY_START.
+
+       * src/sys.h: Update from Chopstx.
+
+2015-09-04  Niibe Yutaka  <gniibe@fsij.org>
+
+       * src/main.c (usb_cb_device_reset): Fix bDeviceState on reset.
+
 2015-09-02  Niibe Yutaka  <gniibe@fsij.org>
 
        * src/main.c (CDC_CTRL_DTR): New.
        (usb_cb_ctrl_write_finish): Distinguish DTR accurately.
+       (usb_cb_device_reset): Notify upper layer.
 
 2015-08-03  Niibe Yutaka  <gniibe@fsij.org>