Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of multiple CAN bus on compatible boards #14801

Open
millotp opened this issue Aug 20, 2020 · 1 comment
Open

Use of multiple CAN bus on compatible boards #14801

millotp opened this issue Aug 20, 2020 · 1 comment
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)

Comments

@millotp
Copy link

millotp commented Aug 20, 2020

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:

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]

@stale
Copy link

stale bot commented Mar 19, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.

@stale stale bot added the State: stale State: The issue / PR has no activity for >185 days label Mar 19, 2021
@stale stale bot closed this as completed Jun 3, 2021
@jeandudey jeandudey added 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) and removed State: stale State: The issue / PR has no activity for >185 days labels Jun 3, 2021
@jeandudey jeandudey reopened this Jun 3, 2021
@MrKevinWeiss MrKevinWeiss added this to the Release 2021.07 milestone Jun 22, 2021
@MrKevinWeiss MrKevinWeiss removed this from the Release 2021.07 milestone Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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)
Projects
None yet
Development

No branches or pull requests

3 participants