Commit Graph

90 Commits

Author SHA1 Message Date
Triss dc8e35b389 SPI module finished(?) & compiles. still untested 2021-07-17 01:50:30 +02:00
Triss 444d805f0b glue code part of the spi kernel module, actual xfers is for tomorrow 2021-07-16 03:43:04 +02:00
Triss 41d352af3d my half-asleep brain just made me remember about these tiny things 2021-07-15 04:47:33 +02:00
Triss 8b4183fcdf more SPI rework stuff 2021-07-15 04:18:36 +02:00
Triss 7e4bea1a37 modify spi protocol a bit for kernel driver work 2021-07-15 04:01:42 +02:00
Triss bad06fe9b4 fix I2C driver (and transfer routine bugs) 2021-07-14 23:26:04 +02:00
Triss a8ad3f6e04 new xfer stuff in kernel module, i2c not working yet 2021-07-14 05:08:44 +02:00
Triss 595c768b88 make vnd cfg interface index configurable (as it shouldve been) 2021-07-14 03:12:37 +02:00
Triss 16963bd39b i2c module stuff, firmware now correctly handles error conditions 2021-07-14 03:04:40 +02:00
Triss f163c38823 i2c cleanup stuff etc, still untested 2021-07-13 04:11:46 +02:00
Triss 2e235770d3 better vnd interface probing 2021-07-13 03:41:38 +02:00
Triss ca1c1caafd switch pinout around to something less confusing 2021-07-13 02:15:37 +02:00
Triss eaab9e05f8 i2c kernel module (very untested and rough around the edges) 2021-07-12 03:24:13 +02:00
Triss f9eb86b60e add basics of the kernel driver :0 2021-07-12 01:43:35 +02:00
Triss 0f4566d0e7 spi stuff 2021-07-04 16:09:45 +02:00
Triss 5c17820a52 add vendor itf-based settings & commands for I2C and temp sensor stuff
TODOs are:
* add one for SPI too (TODO: look at linux kernel for required features)
* document all these commands somewhere
* implement linux kernel driver(s)
* maaaybeeee fix the I2C-Tiny-USB driver? idk
* also grep for minor TODOs in src
2021-07-04 02:22:00 +02:00
Triss 779c5e98f4 add interfaces to default mode, all works except I2C, also tempsense active/addr conf has to be readded thru new usb vnd itf 2021-07-03 02:19:05 +02:00
Triss 200eee8074 refactor & cleanup some stuff. tomorrow will be adding all the preexisting interfaces, most likely 2021-07-01 03:12:51 +02:00
Triss b515acabc5 holy shit runtime reconfiguration of the USB device works (... uglily) 2021-06-30 23:40:32 +02:00
Triss 0716dbba1a started on new usb itf, it compiles and it lsusbs 2021-06-30 19:32:22 +02:00
Triss 45ae75818d update README once more 2021-06-29 04:27:41 +02:00
xenia 16ce0e9c8b move pico_sdk_import.cmake to a cmake subdir 2021-06-28 20:10:01 -04:00
Triss 2bac8cd99e im an airhead who should test her refactors 2021-06-29 02:09:41 +02:00
Triss 2905ff2116 clang formatting stuff 2021-06-29 01:03:02 +02:00
Triss 4ec3f35ccd update TODO list 2021-06-28 23:02:32 +02:00
Triss b3984cfca0 move stuff around wrt. USB-CDC baudrate changes 2021-06-28 22:29:03 +02:00
xenia c15648b9cc add license files 2021-06-28 22:13:17 +02:00
Triss 4bbf372ec5 convert line endings to unix 2021-06-28 22:10:51 +02:00
Triss 9f306e9407 remove STM32F072 disco support for now. sorry. 2021-06-28 22:04:40 +02:00
Triss b68231e966 cherry-pick more haskal stuff, update CMSIS-DAP to 5.0.8 release, fix warnings 2021-06-28 21:42:18 +02:00
Triss a1c9327174 cherry-pick some stuff from 9aaa7ff on haskal/mechanical-fixes 2021-06-28 21:19:46 +02:00
Triss 414c0dfdee bluh5 2021-06-28 20:59:00 +02:00
Triss c959bc34c5 bluh4 2021-06-21 18:28:23 +02:00
Triss d48776cb4e bluh3 2021-06-21 18:24:16 +02:00
Triss 44e26e9b07 bluh2 2021-06-21 18:20:19 +02:00
Triss 1e61d057bb mh 2021-06-21 18:14:53 +02:00
Triss 7cb22d8bd6 update README 2021-06-21 18:11:02 +02:00
Triss d5484cf38f temperature stuff actually working now 2021-06-21 17:55:06 +02:00
Triss 9f3802627a update README 2021-06-21 16:28:32 +02:00
Triss b76f1ffdc6 temperature sensor: stuff is working, except for the actual temperature readout 2021-06-21 16:22:01 +02:00
Triss 0c90074dc2 and update the readme a bit 2021-06-21 00:10:12 +02:00
Triss d1df04a8a5 10-bit i2c addr support, better address probes 2021-06-21 00:07:42 +02:00
Triss df797cbeb4 i2c-tiny-usb works! 2021-06-20 23:58:26 +02:00
Triss ff45c13498 bleh 2021-06-19 22:26:18 +02:00
Triss 4a60b6a088 .. maybe leave this unchecked for now 2021-06-18 00:37:08 +02:00
Triss 7017ad8b0d blargh 2021-06-18 00:21:15 +02:00
Triss b410792728 more debugging stuff (& fix non-stdiousbcdc mode), almost *actually* working this time 2021-06-17 23:52:07 +02:00
Triss 6cc617fe1f I2C properly works, finally 2021-06-17 15:45:59 +02:00
Triss 1cadae03df i2c actually working a bit more, but device scans/address probes are not 2021-06-15 03:25:46 +02:00
Triss 3dcf98c7f6 aaa 2021-06-14 03:43:21 +02:00