Use of multiple CAN bus on compatible boards #14801
Labels
State: don't stale
State: Tell state-bot to ignore this issue
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
Cannot use can bus 1 or 2 on most boards where they should be available.
Steps to reproduce the issue
The tests
con_can
is a good example, and this works with almost all boards where there is more than 1 can bus:cd tests/conn_can make BOARD=nucleo-f446re all flash term
On the serial port:
Expected results
We should see nothing, indicating success.
Actual results
This is because CAN_DLL_NUMOF=1 and isn't redefined in the config file for each board.
Of course we can just compile with CFLAGS += -DCAN_DLL_NUMOF=2 but I think it should come as default.
Versions
Operating system: WSL 2 Ubuntu
Build environment: arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
The text was updated successfully, but these errors were encountered: