38 Commits

Author SHA1 Message Date
Conor Patrick
027fa791a3 only 1 user presence auth per button press 2019-08-15 17:36:35 +08:00
Conor Patrick
3e52d7b42b cache button press for 2s 2019-08-15 17:36:35 +08:00
merlokk
315b6564ab u2f works with extended apdu and now user presence not needs if request come from nfc and power from usb 2019-07-04 23:12:31 +03:00
Conor Patrick
0f50ae7d63 change u2f to return early if button not immediately pressed 2019-05-10 15:56:52 -04:00
Conor Patrick
9fb02d4da3 add UP wait HID messages to U2F for windows 2019-05-09 17:46:01 -04:00
Conor Patrick
e402d36bf1 fix user presence skipping for nfc 2019-05-09 17:26:28 -04:00
Conor Patrick
84740f3d6a changes to make firmware interop on all hw models 2019-05-09 16:01:07 -04:00
Conor Patrick
60e3d01e0d refactor 2019-05-09 02:44:04 -04:00
Conor Patrick
aff8d10432 connect to application 2019-05-09 02:26:32 -04:00
Conor Patrick
2b2835b823 initial cap sensing boilerplate 2019-05-08 22:26:57 -04:00
Conor Patrick
8fc0da7934 move args to device_init 2019-04-23 21:12:40 -04:00
Conor Patrick
eab8b81c95 include nfc in user presence test 2019-04-23 14:05:18 -04:00
Conor Patrick
6d04c86018 update lowFreq flag correctly 2019-04-23 13:54:10 -04:00
Conor Patrick
4b82e80d7a init device with nfc detection 2019-03-02 20:08:15 -05:00
Conor Patrick
1ff00895b1 init nfc, fix freeze 2019-03-02 02:02:01 -05:00
Conor Patrick
83641b3789 disable clock settings for NFC passive for now 2019-03-02 01:30:09 -05:00
Conor Patrick
35707c3797 wrong size, causes RK's to be overwritten 2019-03-02 00:55:25 -05:00
Conor Patrick
e8d0ad5e7c autodetect passive nfc operation or usb operation 2019-02-26 15:04:23 -05:00
Conor Patrick
347d0942b1 refactor fromNFC 2019-02-26 14:07:27 -05:00
Conor Patrick
1a6895ca25 merge 2019-02-26 13:10:16 -05:00
Conor Patrick
54b7f42056 passive operation works as is (refactor needed) 2019-02-26 01:19:35 -05:00
yparitcher
1dd835d698
add -Wextra: further code cleanup
please fix Wno-unused-parameter -Wno-missing-field-initializers in the future
2019-02-12 18:22:03 -05:00
yparitcher
400b37a96a
clean up build: GCC warnings 2019-02-12 18:19:38 -05:00
Conor Patrick
ed676151f1 update license to apache2 + mit 2019-02-12 17:18:17 -05:00
Conor Patrick
529b879c08 init in device_init 2019-02-11 22:02:41 -05:00
Conor Patrick
120fb95541 compile for bootloader 2019-02-08 13:09:32 -05:00
Oleg Moiseenko
32400c8d09
Merge branch 'nfc' into nfc2 2019-02-07 14:49:47 +02:00
Conor Patrick
3005a63938 re-arrange some logic for better passive operation 2019-02-06 18:07:09 -05:00
merlokk
771fffe329 WTX works. todo: clean debug unneeded messages 2019-02-06 17:12:22 +02:00
Conor Patrick
81a89ed6aa go back to high freq 2019-02-02 00:29:32 -05:00
Conor Patrick
38171dba06 low freq init 2019-02-02 00:23:51 -05:00
merlokk
4c941997b4 check as3956 on startup 2019-01-27 23:35:20 +02:00
merlokk
c3b4806e85 add led emission normalization 2019-01-21 17:09:51 +02:00
Conor Patrick
302ce75ce6 responds to RATS correctly 2019-01-12 20:20:47 -05:00
Conor Patrick
20f8aac768 option to boot at 4MHz with no USB 2019-01-12 16:19:44 -05:00
Conor Patrick
6ffba7d472 move to new file 2019-01-07 18:50:01 -05:00
Conor Patrick
44077a4f2f spi interface WORKS 2019-01-06 17:12:26 -05:00
Nicolas Stalder
5f3c50e690 we use l432, not l442 2019-01-05 01:44:53 +01:00