8dfbf63452
Fix compile bug when acknowledgement button is disabled
2022-07-16 20:56:25 +02:00
NIIBE Yutaka
076d727061
Fix timeout initialization at receiving command.
2019-02-24 13:59:59 +09:00
NIIBE Yutaka
41fa424450
Fix for ack button.
2019-02-24 13:04:28 +09:00
NIIBE Yutaka
e9d9de3ae2
Implement timeout for the user interaction.
2019-02-22 09:21:11 +09:00
NIIBE Yutaka
8d15086d06
Really fix the last race condition.
...
Fixes the commit of fc36773 .
2018-12-06 12:09:42 +09:00
NIIBE Yutaka
fc36773c6a
Fix hopefully the last race condition for tx_busy handling.
2018-12-01 23:28:19 +09:00
NIIBE Yutaka
980cff0a2f
Fix another race condition around ack button and usb communication.
2018-11-21 14:56:56 +09:00
NIIBE Yutaka
6c72147248
Always enable ACKBTN support.
2018-11-12 14:25:22 +09:00
NIIBE Yutaka
becf8fabc5
Fix synchronous sending.
2018-11-09 20:50:35 +09:00
NIIBE Yutaka
c800dee95e
Sending from Gnuk Token is now synchronous.
2018-11-09 16:38:14 +09:00
NIIBE Yutaka
2c390dc763
Minor fixes for usb-ccid.c.
2018-11-09 15:23:33 +09:00
NIIBE Yutaka
317cc2036d
Fix UIF interaction.
2018-10-12 11:54:41 +09:00
NIIBE Yutaka
ebec8ee156
UI change for LED blink.
2018-10-01 14:36:56 +09:00
NIIBE Yutaka
f810fb83d3
Allow parallel execution waiting ACK.
2018-10-01 14:06:31 +09:00
NIIBE Yutaka
4c6511231c
Blink LED rapidly when asking ACK from user.
2018-09-27 13:16:51 +09:00
NIIBE Yutaka
ba750d153d
Fix for ack button driver and configuration.
2018-09-27 11:29:46 +09:00
NIIBE Yutaka
c6e32a36fb
Experimental Ack-button feature added (not yet finished).
2018-09-27 07:30:17 +09:00
NIIBE Yutaka
030a9c576d
Update for new Chopstx API.
2018-09-26 13:24:19 +09:00
NIIBE Yutaka
4550458806
Fix USB initialization.
...
After USB RESET, all endpoints registers are being reset. So,
there is no need to let each endpoint stall (it's disabled).
Actually, it's wrong to call usb_lld_stall_rx or usb_lld_stall_tx
before usb_lld_setup_endpoint, because other fields of endpoint
register are not specified after RESET.
2018-04-26 21:22:36 +09:00
NIIBE Yutaka
93a2bac94b
Support GD32F103.
2018-04-26 17:33:48 +09:00
NIIBE Yutaka
543f28574e
Use of eventflag poll change.
2017-11-17 20:10:13 +09:00
NIIBE Yutaka
ce82b347f9
Make sure to turn off LED soon.
2017-11-17 16:25:26 +09:00
NIIBE Yutaka
d54712c04c
Less power consumption on suspend.
2017-11-17 15:49:56 +09:00
NIIBE Yutaka
e417846408
More change for USB suspend.
2017-11-17 12:29:32 +09:00
NIIBE Yutaka
21a481060c
Make sure to turn off LED on suspend.
2017-11-16 13:08:00 +09:00
NIIBE Yutaka
d4c9d6653b
Use const pointer for chopstx_poll.
2017-11-16 09:17:33 +09:00
NIIBE Yutaka
f4b36b7503
Lower power consumption on suspend.
2017-11-15 10:59:55 +09:00
NIIBE Yutaka
e85527d302
USB suspend/resume change.
2017-11-14 12:59:18 +09:00
NIIBE Yutaka
ca7f4c8758
More USB fix for GNU/Linux.
2017-10-02 15:29:45 +09:00
NIIBE Yutaka
0c229f5712
Small USB clean up.
2017-09-30 20:51:21 +09:00
NIIBE Yutaka
5948f6ec50
Revert part of simplification.
2017-09-30 20:20:36 +09:00
NIIBE Yutaka
7b1ea00307
More fix for USB.
2017-09-29 21:06:15 +09:00
NIIBE Yutaka
7004453669
Stack definition change.
2017-09-29 13:18:49 +09:00
NIIBE Yutaka
f7d857b527
fix stack usage of CCID
2016-10-15 18:37:22 +09:00
NIIBE Yutaka
ffa9bf1f94
support factory_reset.
2016-10-14 08:45:01 +09:00
NIIBE Yutaka
38d70e277b
Fix difference between original OpenPGP card
2016-10-13 10:33:02 +09:00
NIIBE Yutaka
452c15c908
Version 1.2.1
2016-07-11 16:20:55 +09:00
NIIBE Yutaka
9697694e45
pin CIR fixes
2016-07-11 11:32:14 +09:00
NIIBE Yutaka
5099bfee88
Update chopstx to 1.1
2016-07-01 13:09:42 +09:00
Niibe Yutaka
eabcec107e
Update to Chopstx 1.0
2016-06-17 14:54:52 +09:00
Niibe Yutaka
73c698c67e
tweak thread size
2016-06-15 15:14:03 +09:00
Niibe Yutaka
a96a3eefe6
Update Chopstx, follow the change of USB API
2016-06-14 14:29:17 +09:00
NIIBE Yutaka
907d8c7a8e
Add ccid_notify_slot_change for the interrupt transfer
2016-06-01 07:52:56 +09:00
NIIBE Yutaka
0212328a6a
USB handling improvement
2016-05-31 20:29:31 +09:00
NIIBE Yutaka
eb90074e11
ICC->CCID
2016-05-31 19:51:07 +09:00
NIIBE Yutaka
38d164360c
Update to Chopstx 0.12
2016-05-31 18:16:51 +09:00
NIIBE Yutaka
f86f97cdbe
Version 1.2.0
2016-05-20 14:10:39 +09:00
NIIBE Yutaka
1e004bec78
Fix reGNUal upgrade
2016-05-19 17:34:38 +09:00
NIIBE Yutaka
d68bee21e5
mv usb-icc.c usb-ccid.c
2016-05-19 16:58:52 +09:00