Fix calling flash_erase_all_and_exec
[gnuk/neug.git] / ChangeLog
index d3220b7..0a049cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,33 @@
+2013-08-19  Niibe Yutaka  <gniibe@fsij.org>
+
+       * src/main.c (vcom_string3): Updated.
+       [DFU_SUPPORT] (main): Fix calling flash_erase_all_and_exec.
+
+       * src/neug.c (repetition_count_test_word)
+       (adaptive_proportion_64_test_word)
+       (adaptive_proportion_4096_test_word)
+       (noise_source_continuous_test_word): New.
+       (ep_fill_wbuf_v): Use noise_source_continuous_test_word.
+
+2013-08-17  Niibe Yutaka  <gniibe@fsij.org>
+
+       * src/main.c (main): Fix locking of USB_MTX.
+
+       * src/adc_stm32f103.c (adc_wait_completion): Fix race condition.
+       Clear (FLAGS & ~1) only, not all of possible interrupts.
+
 2013-08-16  Niibe Yutaka  <gniibe@fsij.org>
 
+       * src/main.c (bDeviceState, fsij_device_state, connected): Protect
+       by USB_MTX.
+       (usb_cb_ctrl_write_finish): Use USB_MTX to access protected vars.
+       Update CONNECTED here.
+       (vcom_port_data_setup): Check length.
+       Don't update CONNECTED here.
+       (usb_cb_setup): Use USB_MTX to access protected vars.
+       (usb_cb_handle_event): Likewise.
+       (main): Mutual exclusion by USB_MTX.
+
        * src/usb_lld.h (bDeviceState): Remove.
 
        * src/adc_stm32f103.c (NEUG_DMA_MODE): Merge NEUG_DMA_MODE_SAMPLE