-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
State: don't staleState: Tell state-bot to ignore this issueState: Tell state-bot to ignore this issueType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
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 termOn the serial port:
test_can send 1 0 01 02 03
Expected results
We should see nothing, indicating success.
Actual results
Invalid interface number
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]
Metadata
Metadata
Assignees
Labels
State: don't staleState: Tell state-bot to ignore this issueState: Tell state-bot to ignore this issueType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)