fenugrec
70a18e1a1f
Update cmake_minimum_required() version
...
add_link_options() requires cmake >= 3.13
pointed out by @vondraussen in github PR #39
2019-11-30 12:11:30 -05:00
Brandon Ros
bc8f3deff6
Update README.md
2019-11-12 10:25:44 -05:00
fenugrec
4dac861b8c
Set explicit LED polarity and invert canalyze
...
the canalyze has active-high LED signals
2019-11-11 16:21:15 -05:00
fenugrec
de943d54f2
un-break cmake (missing ")
2019-11-11 16:20:40 -05:00
Brandon Ros
faa164055a
CANAlyze support
2019-11-09 14:26:45 -05:00
fenugrec
9e4938492b
Add sample udev rules to allow normal user reflash
2019-11-04 21:02:07 -05:00
fenugrec
079882f000
cmake: make each target a configurable option
...
by default, everything will be compiled. Each target may be disabled
individually.
2019-11-04 20:26:57 -05:00
fenugrec
ad9351243c
cmake: add helpers to generate board targets
2019-11-04 20:20:36 -05:00
Ryan Greenblatt
68c514e8fc
Added toolchain info to readme
2019-11-04 19:15:00 -05:00
Ryan Greenblatt
1367ec96b6
Added deploy instructions to readme (tested with canable)
2019-11-04 19:15:00 -05:00
nexulm
89c44fe3f1
correct LED initialization for canable interfaces
2019-11-04 19:14:58 -05:00
fenugrec
9003f5ec1d
remove trailing whitespace in CMakeLists.txt too
2019-11-04 19:09:15 -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
fenugrec
bb6a14a8fc
Fix sp-in-clobberlist error again for gcc9
...
We need to specify -Wno-deprecated at the top level, and not just when
building stm32_HAL because any regular source file that includes in stm32f0xx_hal.h also pulls in those cmsis headers that trigger the deprecation warning.
2019-11-04 18:53:00 -05:00
Hubert Denkmair
e3c7fde27a
fix bug #14 : candleLight uses F072, cantact F042
...
was mixed up since a long time (?)
2019-11-03 11:12:18 +01:00
Hubert Denkmair
7a11cf4897
Merge pull request #25 from candle-usb/cmake
...
re-organize everything to a cmake project structure
2019-11-02 20:43:40 +01:00
Hubert Denkmair
0352092cda
add ASM as cmake language to get init code compiled&linked in
2019-11-02 10:02:24 +01:00
Hubert Denkmair
f24a409d19
add dfu-util flash targets
2019-10-30 20:36:42 +01:00
Hubert Denkmair
423e0f53bd
add -Wno-deprecated to HAL builds to allow compile with gcc9
2019-10-30 20:32:13 +01:00
Hubert Denkmair
0b5f226d8f
fix chip compile definition for STM32F042 devices
2019-10-30 20:30:22 +01:00
Hubert Denkmair
73dfc741c8
port fix for issue #15
2019-10-29 20:53:19 +01:00
Hubert Denkmair
29e8d65cdd
fix whitespaces
2019-10-29 20:45:45 +01:00
Hubert Denkmair
797e15acfa
return frame to pool if can_receive fails
2019-10-29 20:44:36 +01:00
Hubert Denkmair
9872639faf
Merge branch 'master' of github.com:HubertD/candleLight_fw
2019-10-29 19:55:32 +01:00
Hubert Denkmair
ba1e4cce65
fix issue #15
...
thanks to @willtoth
2019-10-29 19:54:48 +01:00
Hubert Denkmair
f38ddcacf5
generate bin files, show compiled size
2019-10-27 16:09:02 +01:00
Hubert Denkmair
c05ca52c69
Merge pull request #18 from ndushman/patch-1
...
Fix enable_irq interpretation of primask
2019-10-27 13:10:49 +01:00
Hubert Denkmair
23ebdb8a78
convert to cmake
2019-10-26 16:53:43 +02:00
Hubert Denkmair
db969d72c1
remove old eclipse project
2019-10-26 14:38:49 +02:00
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