Ryan Edwards
b24cba3a55
Add config for budgetcan
...
Update the config.h and CMake to support the budgetcan device which contains the STM32G0B1xK microcontroller.
2022-11-14 10:03:53 -05:00
Ryan Edwards
8a9cdf1076
config.h: move the CAN_INTERFACE and CAN_CLOCK_SPEED to the config.h
...
Move CAN_INTERFACE and CAN_CLOCK_SPEED to the config file as the CAN
clock can vary based on HW implementation.
Better to add it here than to keep adding defines into the
usbd_gs_can.h file.
CAN_INTERFACE can vary based on the number of channels you are using
so also makes sense to add here even though most chips use the same
interface ID.
2022-11-09 08:59:21 +01:00
fenugrec
12cc477412
some misc whitespace leftovers uncrustified
...
closes gh #118
2022-10-15 10:01:51 -04:00
Daniel Trevitz
0a1d6dc920
Add switchable terminating resistor support
...
Add a USB message which controls a GPIO for a specified CAN bus.
The GPIO activates a SSR to connect a 120Ohm terminating resistor
to the specified CAN bus.
Signed-off-by: Daniel Trevitz <daniel.trevitz@wika.com>
2022-10-12 17:39:21 -04:00
Daniel Trevitz
cfca364c2a
Uncrustify the code
2022-10-11 19:27:57 -04:00
Daniel Trevitz
0e53857656
Generalize the gpio configuration
...
Move the nCANSTBY_Pin to be avaliable for other boards. Make the
LED Rx and Tx pins optional.
Signed-off-by: Daniel Trevitz <daniel.trevitz@wika.com>
2022-10-05 21:43:08 -04:00
fenugrec
7d59b2f063
Rename silly LED_1/LED_2 to LED_RX/TX
2022-07-29 10:34:29 -04:00
ReXT3D
3337447233
Add Makerbase CANable-MKS board support
...
Configuration for Makerbase CANable-MKS and CANable-MKS Pro boards
2022-07-29 10:23:12 -04:00
ReXT3D
df5c35815b
Fix whitespace consistency in config.h
2022-07-29 10:23:12 -04:00
fenugrec
2df0d420e9
Simplify BOARD_XYZ macros (no more numeric values)
...
There is currently no reason to assign a numeric value to each BOARD_*
macro.
Fix #83 GH
2022-01-06 17:54:49 -05:00
fenugrec
f58de5e678
config.h : document CAN_S_PIN for silent mode
...
fix GH #81
2022-01-06 17:48:15 -05: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
d66fda39f8
Add git version string to USB config descriptor
...
There was already provisions for this in the code. Tweaked CMake to
generate version.h automatically every build.
2021-04-06 12:03:13 -04:00
fenugrec
9cf7eccf3d
Add new boardtype : cannette
...
F042-based, galvanically isolated.
2020-10-30 21:55:27 -04:00
Ethan Zonca
465e957db9
Update CANable-specific LED initialization
2020-10-30 21:50:08 -04: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
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
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
Hubert Denkmair
f4f47116cd
hardware timestamp support via mode
2016-05-13 21:59:31 +02:00
Hubert Denkmair
8a1a8d1f7d
add WCID descriptor for DFU interface
2016-04-30 21:25:18 +02:00
Hubert Denkmair
51b62b4559
prepare to implement DFU detach request
2016-04-22 01:03:54 +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
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