Jeroen Hofstee
9a663007f5
remove triggering error message based on counter values
...
Since all bit errors already trigger sending a error msg,
remove the code triggering on counters going upwards, since they
are send anyway. See [1] "This if statement doesn't normally do
anything", get rid of it.
[1] https://github.com/candle-usb/candleLight_fw/pull/61
2022-10-15 10:00:52 -04:00
fenugrec
f45060be53
rework some #include lines
...
with help from include-what-you-use (iwyu-tool). It's not quite clever
enough to understand our intent of including "hal_include.h" but still
offers good suggestions.
2022-10-12 17:28:50 -04:00
Daniel Trevitz
cfca364c2a
Uncrustify the code
2022-10-11 19:27:57 -04:00
Ricky Lopez
d306798923
Add STM32F4 support
...
Specifically, the STM32F407VE.
Even more specifically, [this](https://stm32-base.org/boards/STM32F407VET6-STM32-F4VE-V2.0.html ) dev board
2022-01-06 12:31:05 -05:00
fenugrec
7f9a0ea331
CAN errors : comment some funcs + defines
2020-12-06 11:58:45 -05:00
Brian Silverman
ceeac236c4
Better bit error reporting
...
It reports more information with more accurate ordering with respect to
other frames sent and received.
Fixes candle-usb/candleLight_fw#59
2020-12-06 11:41:53 -05:00
Hubert Denkmair
6450f08b22
implement identify command
2016-06-03 15:02:24 +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
3bbe51725c
cleanup: move auto-generated init functions to corresponding files
2016-04-17 19:40:05 +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
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
e4011dec05
implement can tx/rx
2016-04-10 11:19:10 +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