Working CAN (#35)
* Minor fix in documentation * Make CAN compile again * Now able to disable uart_serial * Boots and runs CAN Requires matching thingset-cpp library The placement of the ts_can.process_asap/process_1s is a little hack, but I did want to add even more ifdefs in the main method. Renaming the functions could do the trick. BTW, serial and CAN thingset can be run at the same time, no problems. * Some cleanups in the CAN interface
This commit is contained in:
@@ -120,4 +120,10 @@ enum {
|
||||
ADC_CHSELR_CHSEL17 \
|
||||
)
|
||||
|
||||
// defines for CAN BUS SUPPORT
|
||||
#define HAS_CAN 1
|
||||
#define PIN_CAN_RX PB_8
|
||||
#define PIN_CAN_TX PB_9
|
||||
#define PIN_CAN_STB PA_15
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user