now this should work

This commit is contained in:
Matthew Kennedy 2021-12-27 20:56:55 -08:00
parent fc67088982
commit 03aec72af7
3 changed files with 10 additions and 6 deletions

View File

@ -131,6 +131,7 @@ CSRC = $(ALLCSRC) $(BOARDDIR)/board.c
# setting.
CPPSRC = $(ALLCPPSRC) \
$(BOARDDIR)/port.cpp \
$(BOARDDIR)/port_shared.cpp \
shared/flash.cpp \
can.cpp \
can_helper.cpp \

View File

@ -54,12 +54,6 @@ AnalogResult AnalogSample()
};
}
const CANConfig canConfig500 =
{
CAN_MCR_ABOM | CAN_MCR_AWUM | CAN_MCR_TXFP,
0 // TODO: set bit timing! correctly!
};
Configuration GetConfiguration()
{
// TODO: implement me!

View File

@ -0,0 +1,9 @@
#include "port_shared.h"
// board-specific stuff shared between bootloader and firmware
const CANConfig canConfig500 =
{
CAN_MCR_ABOM | CAN_MCR_AWUM | CAN_MCR_TXFP,
0 // TODO: set bit timing! correctly!
};