Commit Graph

114 Commits

Author SHA1 Message Date
Conor Patrick 5cb81c753d Add version/extensions to PC build 2019-03-06 14:05:44 -05:00
Conor Patrick a40dcf3f17 reduce nfc detect period to 10ms 2019-03-02 20:08:28 -05:00
Conor Patrick 4b82e80d7a init device with nfc detection 2019-03-02 20:08:15 -05:00
Conor Patrick 246dea8a44 fix clock init by setting flash latency last for low freqs 2019-03-02 20:05:27 -05:00
Conor Patrick 5995f84822 buffering logs sometimes freezes, stop for now 2019-03-02 15:43:12 -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 32f2436380 Merge pull request #120 from nickray/sha512
SHA512 (via Cifra)
2019-03-01 21:44:13 -05:00
Conor Patrick e8d0ad5e7c autodetect passive nfc operation or usb operation 2019-02-26 15:04:23 -05:00
Conor Patrick ecf994b647 fix warnings and compile errors 2019-02-26 14:13:29 -05:00
Conor Patrick 347d0942b1 refactor fromNFC 2019-02-26 14:07:27 -05:00
Conor Patrick ff0d42c8d5 refactor clock rates, fix warnings 2019-02-26 13:56:06 -05:00
Nicolas Stalder 0c296bba30 First go at using cifra for SHA512 2019-02-26 19:52:59 +01:00
Conor Patrick 57930aaa13 fix compilation errors 2019-02-26 13:27:25 -05:00
Conor Patrick 1a6895ca25 merge 2019-02-26 13:10:16 -05:00
Conor Patrick a195408a11 scale up to 24 MHz only for register 2019-02-26 01:51:07 -05:00
Conor Patrick 54b7f42056 passive operation works as is (refactor needed) 2019-02-26 01:19:35 -05:00
merlokk fed9f473aa added hardware part of UID 2019-02-19 18:12:01 +02:00
Conor Patrick c9862977bf delete old key 2019-02-13 19:22:45 -05:00
Conor Patrick 1a40299dcb add solokeys cert 2019-02-13 19:16:44 -05:00
Conor Patrick 6e497ad04e VERSION macro was colliding with something 2019-02-12 22:02:11 -05:00
yparitcher ce92c7634e fix bootloader version 2019-02-12 19:34:46 -05:00
yparitcher f97d9ab34f fixes 2019-02-12 19:22:35 -05:00
Conor Patrick 3b320e0aeb initialize at 24 MHz at very start instead of 16 2019-02-12 18:34:13 -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 894f6f7ee1 Merge branch 'master' into license-change 2019-02-12 17:47:28 -05:00
Conor Patrick ed676151f1 update license to apache2 + mit 2019-02-12 17:18:17 -05:00
Conor Patrick bc8984aac3 pass version to gcc derived from git describe 2019-02-12 16:37:09 -05:00
Conor Patrick 020fe21546 organize version header info 2019-02-12 16:11:06 -05:00
Conor Patrick ba4f9ed7ae bug fix 2019-02-12 15:00:01 -05:00
Conor Patrick d23bf0a144 change product name, include version string 2019-02-12 13:59:16 -05:00
Conor Patrick a6446e67bc Merge pull request #80 from merlokk/led_normalization
led emission normalization
2019-02-11 22:12:24 -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
Conor Patrick 665e84d183 delay to allow spi interface to initialize 2019-02-08 13:09:12 -05:00
Conor Patrick 13d9885da4 initialize at 16MHz, add 24 and 32 options 2019-02-08 13:08:28 -05:00
Conor Patrick e230a9464e enable ctap from usb 2019-02-07 20:09:13 -05:00
Conor Patrick be9bd941c8 simplify ams init 2019-02-07 19:45:02 -05:00
Conor Patrick 0f6be6740b Merge pull request #101 from merlokk/nfc2
Nfc2
2019-02-07 19:14:12 -05:00
Conor Patrick 9054736e0e delete debugging code 2019-02-07 19:03:45 -05:00
merlokk c6d946136e small fix 2019-02-07 16:05:08 +02:00
Oleg Moiseenko 32400c8d09 Merge branch 'nfc' into nfc2 2019-02-07 14:49:47 +02:00
Conor Patrick 587c9aad14 refactor 2019-02-06 18:09:53 -05:00
Conor Patrick 3005a63938 re-arrange some logic for better passive operation 2019-02-06 18:07:09 -05:00
Conor Patrick e3971a5e0f change ams init, read less regs 2019-02-06 17:56:53 -05:00
Conor Patrick 2ed8667f18 immedately change clock rate to load data sections faster 2019-02-06 17:55:27 -05:00
Conor Patrick 765d532f82 add low freq clocking options 4,8,16MHz 2019-02-06 17:54:52 -05:00
merlokk ca05385513 log fixing 2019-02-06 20:06:46 +02:00