149 Commits

Author SHA1 Message Date
Brandon Ros
faa164055a CANAlyze support 2019-11-09 14:26:45 -05:00
nexulm
89c44fe3f1 correct LED initialization for canable interfaces 2019-11-04 19:14:58 -05:00
Jeroen Hofstee
7618128cf6 fix whitespace
The project uses tabs with a length of 4 spaces, and spaces for
continuation, so lets use that for the whole project. There are
many trailing whitespaces and empty lines here and there; get
rid of them as well.
2019-11-04 19:04:54 -05:00
Jeroen Hofstee
cd31acce28 use unix line endings
Some files have Windows line endings which is annoying, since pathes
won't apply, diffs looks ugly etc. So do convert the few files which
have Windows line endings to use Unix line endings as well.
2019-11-04 19:04:45 -05:00
fenugrec
0434e8eeec LED functions : support GPIO pins >= 8
this requires a uint16 to save the pin #
2019-11-04 18:56:35 -05:00
Hubert Denkmair
23ebdb8a78 convert to cmake 2019-10-26 16:53:43 +02:00
Max Behensky
46b01339f5 Add new mode to pad output usb packets to max packet size for better WinUSB performance 2017-11-22 13:00:01 -08:00
Florian Larysch
ea462f7251 usbd_desc: use device unique ID as serial number
Instead of hardcoding the serial number in the firmware, use the
device's manufacturer-provided UID as the serial number.

This makes it easier to distinguish between multiple adaptors plugged
into the same host without having to build a separate firmware for each
one.
2017-08-28 01:27:34 +02:00
Florian Larysch
7a011f5f0d util: add integer to hex formatting 2017-08-28 01:27:34 +02:00
Hubert Denkmair
2ebc665109 adapt to stm32f042 for candleZero 2017-05-12 23:31:39 +02:00
Hubert Denkmair
1453d70dc9 really implement write user_id to flash 2016-06-11 18:36:59 +02:00
Hubert Denkmair
37980fb2eb dummy implement user_id feature 2016-06-11 10:21:29 +02:00
Hubert Denkmair
6450f08b22 implement identify command 2016-06-03 15:02:24 +02:00
Hubert Denkmair
44431f4a43 use new feature bit and control request numbers for hardware timestamps 2016-05-14 21:49:56 +02:00
Hubert Denkmair
f4f47116cd hardware timestamp support via mode 2016-05-13 21:59:31 +02:00
Hubert Denkmair
56192e76f6 implement hardware timestamps on bulk pipes 2016-05-04 21:14:33 +02:00
Hubert Denkmair
38512d1a11 implement timestamp usb control requests 2016-05-04 20:52:12 +02:00
Hubert Denkmair
e0e9e77225 prepare hardware timestamps: add a 100kHz timer 2016-05-02 21:55:26 +02:00
Hubert Denkmair
8a1a8d1f7d add WCID descriptor for DFU interface 2016-04-30 21:25:18 +02:00
Hubert Denkmair
3f06d8b5cf USB DFU run-time support 2016-04-22 11:47:25 +02:00
Hubert Denkmair
51b62b4559 prepare to implement DFU detach request 2016-04-22 01:03:54 +02:00
Hubert Denkmair
6269866806 get rid of CAN_HAL data structure 2016-04-20 22:18:23 +02:00
Hubert Denkmair
a02ec96b24 rewrote can functions to remove CAN_HAL calls and allow for peripheral reset during can_enable() 2016-04-19 21:44:44 +02:00
Hubert Denkmair
5b35bc5bec add MS DeviceInterfaceGUIDs {c15b4308-04d3-11e6-b3ea-6057189e6443} 2016-04-17 22:24:28 +02:00
Hubert Denkmair
8e048c6459 cleanup: remove auto-generated code 2016-04-17 19:42:55 +02:00
Hubert Denkmair
3bbe51725c cleanup: move auto-generated init functions to corresponding files 2016-04-17 19:40:05 +02:00
Hubert Denkmair
363341b129 remove unused header file 2016-04-17 17:39:31 +02:00
Hubert Denkmair
4cba340cc6 indent fix 2016-04-17 17:36:50 +02:00
Hubert Denkmair
bedf80fabb rewrite auto-generated header file 2016-04-17 17:34:51 +02:00
Hubert Denkmair
aa2537801b implement WCID Feature Descriptor 2016-04-17 17:00:38 +02:00
Hubert Denkmair
ec7f2c020e define MSFT descriptor for WCID support 2016-04-17 14:01:43 +02:00
Hubert Denkmair
a9acf07f66 first Makefile 2016-04-17 13:02:03 +02:00
Hubert Denkmair
990c08cd2d add license info 2016-04-16 22:13:47 +02:00
Hubert Denkmair
01a40f66a1 generate linux error frames 2016-04-16 21:49:46 +02:00
Hubert Denkmair
5285cdb29e cleanup auto generated code, move more config to config.h 2016-04-16 12:08:00 +02:00
Hubert Denkmair
f9e69bd780 make GPIO pins configurable (check config.h) 2016-04-16 11:45:39 +02:00
Hubert Denkmair
d47a8b7c2a add led state & traffic indication 2016-04-15 13:56:37 +02:00
Hubert Denkmair
b3c89ee20b workaround usb bug, when bulk out packages are not received any more 2016-04-14 21:12:18 +02:00
Hubert Denkmair
af487b2344 use own can_receive to avoid unnessecary data copy 2016-04-13 19:50:33 +02:00
Hubert Denkmair
acdb5735d2 less copy, fewer bugs, maybe better performance 2016-04-12 22:32:37 +02:00
Hubert Denkmair
b0d10b7369 cleanup 2016-04-10 11:29:13 +02:00
Hubert Denkmair
e4011dec05 implement can tx/rx 2016-04-10 11:19:10 +02:00
Hubert Denkmair
5a98bea2c1 queue fixes 2016-04-09 22:51:24 +02:00
Hubert Denkmair
f5c4316e07 usb communication works (incl. echo) 2016-04-09 22:31:38 +02:00
Hubert Denkmair
b52e20ecb6 implement can settings 2016-04-08 22:57:28 +02:00
Hubert Denkmair
c729d1fe34 cleanup 2016-04-08 21:28:15 +02:00
Hubert Denkmair
70c41d0296 usb communication seems to work 2016-04-08 19:34:59 +02:00
Hubert Denkmair
5d44a5e026 respond to config requests 2016-04-08 10:52:40 +02:00
Hubert Denkmair
e3a2a26851 initial checkin 2016-04-08 10:52:20 +02:00