Nathan Dushman
35b409bf1e
Fix enable_irq interpretation of primask
...
The logic for enable_irq is backwards; it should enable interrupts when primask is 0, not 1.
2019-06-03 11:30:13 -07:00
Hubert Denkmair
53b4b915af
Merge pull request #7 from mbehensky/master
...
Thank you very much for your great contribution, will happily merge it :-)
I definitely should put more interest in the candleLight windows support, I guess.
2017-11-27 21:31:26 +01: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
Max Behensky
68aaa2c78d
Ignore built files
2017-11-14 08:14:22 -08:00
Hubert Denkmair
8b2b2b40c1
Merge pull request #5 from florolf/uid-serial-number
...
Use chip UID as USB serial number - many thx to florolf!
2017-08-30 17:22:41 +02: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
ea1e32e86e
rename project to candleLight_fw
2016-06-11 11:52:00 +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
fad29b3160
use 1MHz timer
2016-05-03 21:59:50 +02:00
Hubert Denkmair
e0e9e77225
prepare hardware timestamps: add a 100kHz timer
2016-05-02 21:55:26 +02:00
Hubert Denkmair
edd477101c
return WCID GUID only for gs_usb interface, not for the dfu one
2016-05-01 17:55:46 +02:00
Hubert Denkmair
bc4672a174
added firmware binaries for v1.0
v1.0
2016-04-30 21:26:25 +02:00
Hubert Denkmair
8a1a8d1f7d
add WCID descriptor for DFU interface
2016-04-30 21:25:18 +02:00
Hubert Denkmair
71248281a7
adjust usb descriptor to better match the GS-CAN one
2016-04-24 01:51:45 +02:00
Hubert Denkmair
ab65b65e4c
fix: don't go into bootloader mode when gs_usb driver enumerates the device
2016-04-22 23:54:09 +02:00
Hubert Denkmair
082b673ce0
update canable link
2016-04-22 18:09:06 +02:00
Hubert Denkmair
df96f17555
added README
2016-04-22 18:04:53 +02:00
Hubert Denkmair
5aa024f48c
add flash-candleLight and flash-cantact Makefile commands
2016-04-22 15:26:34 +02:00
Hubert Denkmair
6f571a1f80
fix Makefile build (would not link correctly)
2016-04-22 15:21:15 +02:00
Hubert Denkmair
3f06d8b5cf
USB DFU run-time support
2016-04-22 11:47:25 +02:00
Hubert Denkmair
a58dcb2a2f
usb cleanups
2016-04-22 11:07:30 +02:00
Hubert Denkmair
5d3ee7d346
adjust dfu descriptor to match the stm32 one
2016-04-22 10:03:41 +02:00
Hubert Denkmair
51b62b4559
prepare to implement DFU detach request
2016-04-22 01:03:54 +02:00
Hubert Denkmair
189376b306
change error handling to better match driver expectations (known bug: warning/passive flags are not reset by bxCAN when leaving these modes
2016-04-21 21:59:13 +02:00
Hubert Denkmair
17b6219ea7
fix error frame generation
2016-04-21 21:08:04 +02:00
Hubert Denkmair
ad28b55aa6
bugfix own can implementation
2016-04-21 20:45:49 +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
1bcc1b0097
make all == PHONY
2016-04-18 16:21:35 +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
ed43c2e1ca
fix compiler warnings
2016-04-17 17:39:49 +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
c9cf31d6c5
cleanup auto-generated code
2016-04-17 17:22:02 +02:00
Hubert Denkmair
aa2537801b
implement WCID Feature Descriptor
2016-04-17 17:00:38 +02:00
Hubert Denkmair
64c958c900
fix eclipse build
2016-04-17 16:59:41 +02:00
Hubert Denkmair
ec7f2c020e
define MSFT descriptor for WCID support
2016-04-17 14:01:43 +02:00
Hubert Denkmair
af697d4237
Makefile improvements (dependency handling, clean target)
2016-04-17 13:28:51 +02:00
Hubert Denkmair
3411822c3c
use wildcards to find .c files
2016-04-17 13:05:30 +02:00