+2018-11-20 NIIBE Yutaka <gniibe@fsij.org>
+
+ * VERSION: 1.0.9.
+
+ * tool/neug_upgrade.py: Change DEFAULT_WAIT_FOR_REENUMERATION=1,
+ following Gnuk change.
+
+2018-11-17 NIIBE Yutaka <gniibe@fsij.org>
+
+ * src/main.c (fill_serial_no_by_unique_id): Depends on MHZ to
+ distinguish GD32F103.
+
+ * chopstx: Update to 1.12.
+
+2018-10-02 NIIBE Yutaka <gniibe@fsij.org>
+
+ * tool/neug_upgrade.py (main): Apply the change of
+ gnuk/tool/upgrade_by_passwd.py for output of wait.
+
+ * chopstx: Update to 1.11.
+ * src/config.h.in (ACKBTN_DEFINE): New.
+ * src/configure: Add ACKBTN_SUPPORT.
+ (FST_01SZ): New.
+ * src/main.c (usb_main): Follow the change of Chopstx 1.11.
+ [FRAUCHEKY_SUPPORT]: Add ACKBTN_SUPPORT.
+ (main) [FRAUCHEKY_SUPPORT]: Call usb_main with ~0.
+
+2018-05-10 NIIBE Yutaka <gniibe@fsij.org>
+
+ * VERSION: 1.0.8.
+
+2018-05-09 NIIBE Yutaka <gniibe@fsij.org>
+
+ * src/Makefile (build/neug.elf): New target.
+ (build/neug-vidpid.elf): Remove.
+
+ * fraucheky: Update to 0.7.
+ * chopstx: Update to 1.9.
+
+2018-04-26 NIIBE Yutaka <gniibe@fsij.org>
+
+ * src/main.c (main): Call chopstx_conf_idle at the start.
+ Call neug_init and led_blinker before fraucheky.
+ Fix a race of ENDP6 usb things with fraucheky_init before
+ the check of USB_DEVICE_STATE_CONFIGURED.
+ (usb_device_reset): Don't touch other endpoints.
+
+ * src/configure (MHZ, def_mhz): New.
+
+2018-01-19 NIIBE Yutaka <gniibe@fsij.org>
+
+ * VERSION: 1.0.7.
+
+2018-01-19 NIIBE Yutaka <gniibe@fsij.org>
+
+ * fraucheky: Update to 0.6.
+
+ * src/binary-edit.sh: New.
+ * src/configure (output_vid_pid_version): Generate a shell script.
+ * src/Makefile (build/neug-vidpid.elf): New target.
+ * src/main.c (vcom_device_desc): Make this array as a template.
+
+ * NEUG_USB_DEVICE_ID (bcdDev): Bump to 2.00.
+
+ * chopstx: Update to 1.8.
+
+2018-01-18 NIIBE Yutaka <gniibe@fsij.org>
+
+ * src/main.c (usb_main): USB suspend fix for Fraucheky.
+ (main): Fix for flash upgrade CRC calculation.
+
+ * 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>
+
+ * VERSION: 1.0.3.
+
+ * tool/neug_upgrade.py (neug.download, neug.execute)
+ (regnual.download): Python3 fix.
+
+ * tool/neug_check.py (main): Python3 fix.
+
+2015-07-31 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/configure (output_vendor_product_serial_strings): Fix sed
+ script when string is short. Remove empty line.
+ * fraucheky: Update to 0.3.
+ * chopstx: Update to 0.08.
+
+2015-07-30 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/sys.h (BOARD_ID_ST_NUCLEO_F103, BOARD_ID_ST_DONGLE): New.
+ * src/adc_stm32f103.c (get_adc_config): Add ST Dongle and ST
+ Nucleo support.
+
+2015-07-28 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/usb_stm32f103.c: Update from Gnuk.
+ * src/usb_lld.h: Ditto.
+ * src/main.c (usb_cb_ctrl_write_finish, vcom_port_data_setup)
+ (usb_cb_setup, usb_cb_get_descriptor, usb_cb_interface): Follow
+ the API change of USB driver.
+ (FSIJ_DEVICE_NEUG_FRAUCHEKY_REQUESTED): New.
+ (NEUG_SPECIAL_BITRATE): New.
+ (usb_cb_ctrl_write_finish, main): Special bitrate to invoke
+ Fraucheky manually.
+
+2015-07-23 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/configure (nl): New. '\n' in sed replacement text is not
+ portable and break FreeBSD or MacOS X built.
+ Reported by Kenji Rikitake.
+
+2015-07-18 Niibe Yutaka <gniibe@fsij.org>
+
+ * VERSION: 1.0.2.
+
+2015-07-16 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/config.h.in (@TARGET_DEFINE@): Remove.
+ * src/configure [--with-dfu] (HEXOUTPUT_MAKE_OPTION): Enable .hex
+ output.
+
+2015-07-15 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/usb_lld.h: Update from Gnuk.
+ * src/usb_stm32f103.c: Likewise.
+ * src/main.c (usb_cb_get_descriptor): Follow the change.
+
+ * chopstx: Update to 0.07.
+ * src/sys.c: Update to 2.1 from chopstx.
+ * src/sys.h: Likewise.
+ * tool/openocd-script: Fix for newer OpenOCD.
+
+2015-07-14 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/configure (sys1_compat): Fix assignment syntax.
+
+ * src/adc_stm32f103.c (get_adc_config): New. Consolidate knowlege
+ of boards for ADC usage.
+
+ * src/neug.c: Remove inclusion of "board.h".
+
+ * tool/neug_check.py (field): New field 'Board'.
+ * src/main.c (main): Determine flash page size at runtime.
+ (usbbuf): New. Use for passwd and string transfer.
+ (usb_cb_get_descriptor): Support sys_board_name.
+ * src/neug.ld.in: Update for sys 2.1.
+
+2015-07-11 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/neug.ld.in (.fill_ffff): Add ALIGN 4.
+
+2015-07-08 Niibe Yutaka <gniibe@fsij.org>
+
+ * chopstx: Update to 0.06.
+
+ * src/configure (help): Add other boards.
+
+2015-06-30 Niibe Yutaka <gniibe@fsij.org>
+
+ * tool/neug_check.py: Fix raise and print statements.
+
+ * tool/neug_upgrade.py: Support upgrade with passwd.
+ (neug.set_passwd): New.
+
+ * src/main.c (USB_NEUG_SET_PASSWD): New.
+ (set_passwd): New.
+ (usb_cb_ctrl_write_finish, usb_cb_setup): Handle
+ USB_NEUG_SET_PASSWD and USB_NEUG_EXIT with passwd.
+
+ * src/neug.ld.in (flash): A page for passwd.
+
+ * src/config.h.in (@SERIALNO_STR_LEN_DEFINE@): Rename.
+ * src/configure (SERIALNO_STR_LEN_DEFINE): Rename.
+
+ * src/configure (help): Add CQ_STARM.
+
+2015-06-22 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/configure (help): Add STM32_PRIMER2.
+
+ * src/sys.c: Update from chopstx/example-cdc/sys.c.
+
+2015-03-17 Niibe Yutaka <gniibe@fsij.org>
+
+ * VERSION: 1.0.1c.
+
+2015-03-17 Niibe Yutaka <gniibe@fsij.org>
+
+ * VERSION: 1.0.1b.
+
+ * src/configure: Call configure of Fraucheky with REVISION,
+ REVISION_CHOPSTX, REVISION_FRAUCHEKY.
+
+2015-03-12 Niibe Yutaka <gniibe@fsij.org>
+
+ * VERSION: 1.0.1a.
+
+ * src/main.c (fill_serial_no_by_unique_id): Use bits in higher
+ address.
+
+2015-01-29 Niibe Yutaka <gniibe@fsij.org>
+
+ * VERSION: 1.0.1.
+
+2015-01-28 Niibe Yutaka <gniibe@fsij.org>
+
+ * boards/STBEE, board/STBEE_MINI: Remove.
+
+2015-01-22 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/Makefile.in (build/neug.o, build/sha256.o): Use -O3.
+
+2015-01-21 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/neug.ld.in (.text): Add ALIGN(8) at the end.
+
+ * fraucheky: Update to 0.1.
+
+2014-12-10 Niibe Yutaka <gniibe@fsij.org>
+
+ * chopstx: Update to 0.04.
+
+ * src/sys.c: Update from chopstx.
+
+2014-05-22 Niibe Yutaka <gniibe@fsij.org>
+
+ * chopstx: Update.
+ * fraucheky: Update.
+
+2013-11-21 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/usb_stm32f103.c (usb_handle_transfer): Incorporate changes
+ from Gnuk.
+
+2013-11-18 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/usb_stm32f103.c (usb_interrupt_handler): Change the order of
+ calling handler.
+
+2013-11-11 Niibe Yutaka <gniibe@fsij.org>
+
+ * Version 1.0.
+
+2013-11-09 Niibe Yutaka <gniibe@fsij.org>
+
+ * src/adc_stm32f103.c (adc_wait_completion): Remove comment about
+ spurious interrupt, as we knew that it's because of the bug of
+ Chopstx 0.00.
+
+2013-11-08 Niibe Yutaka <gniibe@fsij.org>
+
+ * chopstx: Update to 0.03.
+
+ * src/usb_stm32f103.c (ISTR_OVR): Rename.
+ (usb_handle_transfer): Rewrite control transfer handling, so that
+ the case where both of CTR_TX, CTR_RX are 1 is handled correctly.
+
+ * src/main.c (neug_setup_endpoints_for_interface): Fix for ENDP2.
+
2013-11-06 Niibe Yutaka <gniibe@fsij.org>
* fraucheky: New submodule.