Skip to content

[Mcp1525] Added a CanController (read messages only) #1292

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

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

rikkreeftenberg
Copy link
Contributor

@rikkreeftenberg rikkreeftenberg commented Feb 8, 2025

Description

This is the start of an implementation of a CanController that uses the Mcp2515 to receive CAN messages.
This implementation derives from the following cpp Github repo's. Both having an MIT License:
https://github.com/autowp/arduino-mcp2515
https://github.com/sandeepmistry/arduino-CAN

The following classes were copied from the "nanoFramework.Device.Can" library.
• CanMessage
• CanMessageFrameType
• CanMessageIdType

Ideally these classes should be put in a separate library that is used by:
• Iot.Device.Mcp25xxx
• nanoFramework.Device.Can

The CanController hardly makes use of the "Iot.Device.Mcp25xxx.Register" classes. One of the reasons is that they are readonly. I only changed that in the Iot.Device.Mcp25xxx.Register.Interrupt.CanIntF class as an example.
Another reason is that you often need two registers to do anything usefull and this functionality is not created.

The CanController is not finished. At the moment you can only read.
Things I want to add are:
• Remote transmission request
• Writing CAN messages
• MessageRead Eventhandler
• Sample
• Readme documentation

Motivation and Context

How Has This Been Tested?

I have tested this functionality by reading CAN messages and writing them to the console.

Screenshots

Types of changes

  • Improvement (non-breaking change that improves a feature, code or algorithm)
  • [] Bug fix (non-breaking change which fixes an issue with code or algorithm)
  • New feature (non-breaking change which adds functionality to code)
  • [] Breaking change (fix or feature that would cause existing functionality to change)
  • [] Config and build (change in the configuration and build system, has no impact on code or features)
  • [] Dependencies (update dependencies and changes associated, has no impact on code or features)
  • [] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
  • [] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

  • My code follows the code style of this project (only if there are changes in source code).
  • [] My changes require an update to the documentation (there are changes that require the docs website to be updated).
  • [] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
  • [] I have read the CONTRIBUTING document.
  • [] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
  • [] I have added new tests to cover my changes.

Summary by CodeRabbit

  • Chores
    • Updated several core framework dependencies to their latest versions for improved stability, performance, and compatibility across both main and sample configurations.

@nfbot nfbot changed the title Added a CanController that uses the Mcp1525 and the SPI to Receive CAN messages. Added a CanController that uses the Mcp1525 and the SPI to Receive CAN messages Feb 8, 2025
@nfbot nfbot added the Type: enhancement New feature or request label Feb 8, 2025
Copy link

coderabbitai bot commented Feb 8, 2025

Walkthrough

This pull request updates dependency versions in the packages.lock.json files for both the main Mcp25xxx project and its samples. The updates bump nanoFramework.CoreLibrary from 1.15.5 to 1.16.11, nanoFramework.Runtime.Events from 1.11.18 to 1.11.29, nanoFramework.System.Device.Gpio from 1.1.41 to 1.1.53, and nanoFramework.System.Device.Spi from 1.3.52 to 1.3.73, along with corresponding content hash changes. No new APIs or control flow modifications are introduced.

Changes

File(s) Change Summary
devices/Mcp25xxx/.../packages.lock.json Updated dependency versions and content hashes for: nanoFramework.CoreLibrary (1.15.5 → 1.16.11), nanoFramework.Runtime.Events (1.11.18 → 1.11.29), nanoFramework.System.Device.Gpio (1.1.41 → 1.1.53), nanoFramework.System.Device.Spi (1.3.52 → 1.3.73)

Assessment against linked issues

Objective Addressed Explanation
Create a CanController for the Mcp2515 and the SPI (#1600) No implementation or modifications related to a CanController were added.

Possibly related PRs

Suggested labels

CI: Publish Release, Type: dependencies


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 226d11a and 77599d5.

⛔ Files ignored due to path filters (13)
  • devices/Mcp25xxx/Can/CanController.cs is excluded by none and included by none
  • devices/Mcp25xxx/Can/CanEnums.cs is excluded by none and included by none
  • devices/Mcp25xxx/Can/CanMessage.cs is excluded by none and included by none
  • devices/Mcp25xxx/Can/CanMessageFrameType.cs is excluded by none and included by none
  • devices/Mcp25xxx/Can/CanMessageIdType.cs is excluded by none and included by none
  • devices/Mcp25xxx/Can/ICanController.cs is excluded by none and included by none
  • devices/Mcp25xxx/Mcp25xxx.cs is excluded by none and included by none
  • devices/Mcp25xxx/Mcp25xxx.nfproj is excluded by none and included by none
  • devices/Mcp25xxx/Mcp25xxx.sln is excluded by none and included by none
  • devices/Mcp25xxx/Register/Interrupt/CanIntF.cs is excluded by none and included by none
  • devices/Mcp25xxx/packages.config is excluded by none and included by none
  • devices/Mcp25xxx/samples/Mcp25xxx.Samples.nfproj is excluded by none and included by none
  • devices/Mcp25xxx/samples/packages.config is excluded by none and included by none
📒 Files selected for processing (2)
  • devices/Mcp25xxx/packages.lock.json (1 hunks)
  • devices/Mcp25xxx/samples/packages.lock.json (1 hunks)
🔇 Additional comments (9)
devices/Mcp25xxx/samples/packages.lock.json (4)

7-9: Dependency Update: nanoFramework.CoreLibrary Version Bump

The "requested" and "resolved" versions have been updated to "1.16.11," and the content hash has been updated accordingly. This appears to be a straightforward upgrade—just ensure that all components using this library remain compatible.


13-15: Dependency Update: nanoFramework.Runtime.Events Version Bump

The version for nanoFramework.Runtime.Events has been updated to "1.11.29" with a new content hash. Verify that any event-related functionality continues to operate as expected with this updated version.


19-21: Dependency Update: nanoFramework.System.Device.Gpio Version Bump

The "requested" and "resolved" fields for the Gpio dependency are now set to "1.1.53" with an updated content hash. Please double-check that any GPIO-related hardware interactions are validated under the new version.


25-27: Dependency Update: nanoFramework.System.Device.Spi Version Bump

The SPI dependency has been updated to "1.3.73," and the corresponding content hash has been changed. Ensure this update is tested thoroughly, particularly since SPI is critical for communication with devices like the Mcp2515.

devices/Mcp25xxx/packages.lock.json (5)

7-9: Dependency Update: nanoFramework.CoreLibrary Version Bump

The dependency details for nanoFramework.CoreLibrary now reflect version "1.16.11" along with an updated content hash. This aligns with the changes seen in the samples file. Consistency across files is maintained.


13-15: Dependency Update: nanoFramework.Runtime.Events Version Bump

The version update to "1.11.29" for nanoFramework.Runtime.Events is clearly applied and consistent. Please verify that all event handling functionality expecting the previous version works as intended with the update.


19-21: Dependency Update: nanoFramework.System.Device.Gpio Version Bump

Here, the Gpio dependency now updates to "1.1.53" with a new content hash. This update is in line with the corresponding sample file and should be validated against the dependent code.


25-27: Dependency Update: nanoFramework.System.Device.Spi Version Bump

The update for nanoFramework.System.Device.Spi to version "1.3.73" with the new content hash is correctly applied. Since SPI functionality is essential for interfacing with the Mcp2515, thorough testing is recommended.


29-33: Unchanged Dependency: Nerdbank.GitVersioning

The Nerdbank.GitVersioning dependency remains at version "3.7.112," which is expected as it was not part of this upgrade. Verify that its unchanged state does not conflict with the updated dependencies.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@josesimoes josesimoes changed the title Added a CanController that uses the Mcp1525 and the SPI to Receive CAN messages [Mcp1525] Added a CanController to receive CAN messages Feb 10, 2025
@josesimoes josesimoes changed the title [Mcp1525] Added a CanController to receive CAN messages [Mcp1525] Added a CanController Feb 10, 2025
@josesimoes josesimoes changed the title [Mcp1525] Added a CanController [Mcp1525] Added a CanController (read messages only) Feb 10, 2025
Copy link
Member

@Ellerbach Ellerbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this addition. Couple of comments, mainly related to our linting way and variables naming. And it would be also perfect if you can add few things on how to use what you've been adding in the readme. Thank!


namespace Iot.Device.Mcp25xxx.Can
{
public interface ICanController
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please document with intellisense all the public functions.
It's also recommended to do it for interfaced and use the inehitdoc as it makes things easier.

/// </summary>
public class CanController : ICanController
{
byte MCP_SIDH = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are explicit and we use private.
Also, we do use Pascal Case for the variables.
Those are also constants, so please use const as well.

/// <param name="message">CAN mesage to write in CAN Bus.</param>
public void WriteMessage(CanMessage message)
{

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this doing nothing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My intention was to first build the Read functionality in this PR, and then add more functionality in subsequent PRs. Like Write, RemoteRequest, Events. Is this the way to do things?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then throw a not implemented. And add a comment in the code that this feature is not implemented yet and should be implemented in the future.
Like this, at least, it's clear.
And yes, it's indeed absolutely possible to do it step by step!

var status = _mcp25xxx.ReadStatus();

if (status.HasFlag(ReadStatusResponse.Rx0If))
{ // message in buffer 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weput comments on their own lines, please adjust for all the following ones.
(sorry the linter is not yet on this binding)

// receives all valid messages using either Standard or Extended Identifiers that
// meet filter criteria. RXF0 is applied for RXB0, RXF1 is applied for RXB1
_mcp25xxx.BitModify(Address.RxB0Ctrl,
0x60 | 0x04 | 0x07, // moet die laatste niet 0x03 zijn? Geprobeerd maar doet niets..
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are also using English only in the comments. So please translate and also place them on their own line.

return true;
}

void PrepareId(SpanByte buffer, bool ext, uint id)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing private


void PrepareId(SpanByte buffer, bool ext, uint id)
{
ushort canid = (ushort)(id & 0x0FFFF);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple of comments for all those lies and magic numbers would be perfect.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason there are no comments is because I just copied it, without wanting (and needing) to know the details. But I will find out and put in comments. No worries.

Address reg;
switch (mask)
{
case MASK.MASK0: reg = Address.RxM0Sidh; break;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 line per instructions, so 3 lines for each case please


SetOperationMode(mode);
return true;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
}

/// </summary>
public uint Id
{
get { return _id; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you using private variables and not just autoproperties?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! I just copied nanoFramework.Device.Can.CanMessage and I expect that's from before 2007, when there were no autoproperties. I will change it. Much cleaner.

@Ellerbach
Copy link
Member

@rikkreeftenberg you also have conflicts which appeared.

@frobijn
Copy link

frobijn commented Feb 11, 2025

@Ellerbach Rik also ask a question that is for the core team to answer: how should this be done in relation to the nanoFramework.Device.Can library?

I've looked at the code in this PR, Mcp25xx library and the Mcp25xx data sheets. A few observations:

  • The main additions in this PR is to create a copy of the nanoFramework.Device.Can code in this project with a different namespace and a 100% .NET implementation. The nanoFramework.Device.Can library requires a native component that uses the CAN-features of the microcontroller.
  • Rik and I were comparing notes, and we thought that someone who is using the MCP2515 is probably using that as an alternative for a microcontroller-based CAN implementation, or to have an additional CAN bus.
  • Unless you are creating your own PCB with microcontroller and MCP2515 chip and you use a microcontroller-board and MCP2515-board instead, the MCP25xx library is overly complicated. The MCP2515-boards all look the same MCP2515 and expose only a few of the ports of the MCP2515 chip: SPI for data communication and INT to signal a message has been received. The Mcp25xx library supports connecting to all pins of the MCP2515 and lacks the INT-to-event code.
  • The Mcp25xx library is also a bit more complicated because it is quite low-level. The more user-friendly CAN layer added by Rik only covers the MCP2515, because:
  • There are other models (e.g., MCP2518) that support more advanced features like CAN-FD, which is not supported by nanoFramework.Device.Can (and also not by ESP32) . The MCP2518 chips and boards MCP2518 are more than five times as expensive as the MCP2515-boards, so you would probably buy a MCP2518 only if you want to use the extra features for which nanoFramework has no support.

For a nanoFramework user it would be nice if there is a single set of interfaces/classes that can be used regardless of the device used to connect to the CAN bus. Some thoughts:

  • If Rik would create a MCP2515-variant of nanoFramework.Device.Can with the same namespace but an implementation specific for the MCP2515, it could be used as a drop-in replacement for the native nanoFramework.Device.Can library. As this is MCP2515-specific (not for all Mcp25xx), it would seem to be a better idea to create this as a nanoFramework.Device.Can.MCP2515 library than as an addition to the Mcp25xx library.

It would be even better if the shared interfaces/classes are in a separate 100% .NET library. It would than be possible to develop the application-specific CAN communication as device independent and debug/test it on a Virtual nanoDevice. It is than also possible to use the MCP2515 for a CAN-bus in addition to one controlled by the microcontroller. Then you would have a structure like:

  • Can't we split the current nanoFramework.Device.Can into two libraries: one, e.g, nanoFramework.Device.Can.Core that has shared interfaces/classes, and one nanoFramework.Device.Can.Native for the implementation? Rik could then create a nanoFramework.Device.Can.Mcp2515.

I still intend to create an ESP32-version of the native implementation (hopefully quite soon). It doesn't look too complicated in IDF, but I don't yet fully understand how to add it to the CLR. But I think I'm quite unhappy with the way settings are passed as that seems to be quite device dependent. ESP32 has additional settings (e.g., message buffer sizes) and more user-friendly configuration options, e.g., specify speed in baud/kbps rather than as time dividers. So my question would be:

  • Can't we split the current nanoFramework.Device.Can into multiple libraries: one, e.g, nanoFramework.Device.Can.Core that has shared interfaces/classes, and one nanoFramework.Device.Can.device per device. Rik could then create a nanoFramework.Device.Can.Mcp2515. The current C# nanoFramework.Device.Can library would be renamed nanoFramework.Device.Can.STM32. And I would create the nanoFramework.Device.Can.ESP32.

(I think I can do/help with the nanoFramework.Device.Can.Core and nanoFramework.Device.Can.STM32 code, but I can't test that and I don't know what the consequences for the STM32 are - I think none as they seem to have plenty of memory. A Mcp2515 is expected to arrive within two weeks)

@Ellerbach
Copy link
Member

@frobijn you are right and I agree. Also with the discussion on Discord about having:

  • A library that is independent of hardware called "Core". So, defining an interface and functions that can be used regardless of the hardware. Something similar that I did for the Azure lib to work both on a system with wifi/ethernet connection and also on an AT Modem. It went up to having to split the MQTT lib into a core element that was common with both side. Reason I called that lib "Core" is mainly because that's the pattern we've been following in those cases (at least tried to).
  • Specific libraries for different platform when there is a native support. This will use the "Core" library
  • We can also add a generic implementation in managed code if possible independent of the hardware, that one we can call it "Managed" to also try to follow the pattern.

This work, can be done separately. That's what I did for the MQTT/Azure libs. And in a second time.

@rikkreeftenberg
Copy link
Contributor Author

rikkreeftenberg commented Feb 14, 2025

So @Ellerbach, just like there is a "nanoFramework.M2Mqtt.Core" assembly at the moment, you suggest creating a "nanoFramework.CAN.Core" assembly (Namespace "nanoFramework.CAN" and also a new "nanoFramework.CAN" NuGet package) with all common CAN stuff?

And just like the "Iot.Device.AtModem.Mqtt.Sim7080MqttClient" uses the "nanoFramework.M2Mqtt.IMqttClient",
the new "Iot.Device.Mcp2515.CanController" should use the "nanoFramework.CAN.ICanController" and "nanoFramework.CAN.CanMessage".

Or should it be "nanoFramework.Device.Can.MCP2515" like @frobijn suggests?

  • "nanoFramework.Device.Can" will be removed.
  • "nanoFramework.Device.Can.ESP32" will be using "nanoFramework.CAN"
  • "nanoFramework.Device.Can.STM32" (currently "nanoFramework.Device.Can") and using "nanoFramework.CAN".

We will leave the "Iot.Device.Mcp25xxx" as is. (I can't imagine people actually use it. In the comment we can recommend them to use "Iot.Device.Mcp2515" instead)

Is this in tune with:

  • "nanoFramework.Device.OneWire"
  • No more "nanoFramework.Device.Can"
  • "nanoFramework.Device.Bluetooth"
    ?

Does the "Iot" namespace, instead of "nanoFramework" have a historical reason? From the time it was copied?

@Ellerbach
Copy link
Member

  • yes for the idea of the Core nuget and the specific ones.
  • namespace wise, yes, we can use nanoFramework.Device.Can to align with the rest.
  • for the sub devices, it's ok to use the same namespace except if things are very specific. It's actually better to just use the Can namespace as root.
  • You can drop the Iot part of the namespace, it's just a convention for anything that is binding related but as for this case, we do have exception to make things more integrated.

Thanks!

@frobijn
Copy link

frobijn commented Feb 14, 2025

@Ellerbach And all nanoFramework.Device.CAN libraries (.Core .Stm32 .Esp32 .Mcp2515) will be part of the nanoFramework.Device.Can github repo, right?

@josesimoes
Copy link
Member

@rikkreeftenberg mind the Can in the namespace (not CAN). 😉

@frobijn yes, it makes sense to have all these grouped in the same repo. For tests, integration and productivity helper.

@Ellerbach
Copy link
Member

And all nanoFramework.Device.CAN libraries (.Core .Stm32 .Esp32 .Mcp2515) will be part of the nanoFramework.Device.Can github repo, right?

The Mcp2515 may stay on the IoT as it can be used for other purposes. Similar like the AT Modem sitting in the IoT Repo as it can do more than just MQTT.

@frobijn
Copy link

frobijn commented Feb 14, 2025

@Ellerbach @josesimoes How do you see the relation between the IoT.Device.Mcp25xx and the nanoFramework.Device.Can.Mcp2515 library?

Should nanoFramework.Device.Can.Mcp2515 use the IoT.Device.Mcp25xx library? Then I think it is easier to create the nanoFramework.Device.Can.Mcp2515 in the nanoFramework.Device.Can repo and leave the IoT.Device.Mcp25xx where it is.

If the nanoFramework.Device.Can namespace should be added to IoT.Device.Mcp25xx (like Rik has done in this PR) then there is no reason to move the IoT.Device.Mcp25xx to the nanoFramework.Device.Can repo.

Right?

@Ellerbach
Copy link
Member

Should nanoFramework.Device.Can.Mcp2515 use the IoT.Device.Mcp25xx library?

If it's "only" using the standard elements, then yes, it can be moved to the Can repo. If like for the AT Modem, it is deeply integrated, then, it should stay in the IoT repo.

@Ellerbach
Copy link
Member

  • yes for the idea of the Core nuget and the specific ones.
  • namespace wise, yes, we can use nanoFramework.Device.Can to align with the rest.
  • for the sub devices, it's ok to use the same namespace except if things are very specific. It's actually better to just use the Can namespace as root.

@rikkreeftenberg
Copy link
Contributor Author

So Frank and I came up with the following context diagram:
image
Is this something we can agree on?

@josesimoes
Copy link
Member

I'm good with that. @Ellerbach ?

@Ellerbach
Copy link
Member

@rikkreeftenberg @frobijn and @josesimoes I'm all good with the proposition!
Thanks a lot for the collaborative and productive work!

@frobijn
Copy link

frobijn commented Feb 18, 2025

The setup of the new repository structure may not be so easy... see PR. Let's continue the discussion in that PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a CanController for the Mcp2515 and the SPI
5 participants