Comments (2)
The CAN drivers are in another repository: https://github.com/kentindell/canis-can-sdk
The SPI pins are set in the header file: https://github.com/kentindell/canis-can-sdk/blob/main/mcp25xxfd/rp2/mcp25xxfd-rp2.h
You can modify this file to add extra board support. If you want, you can create some macro fu that when allows arbitrary board definition headers to be pulled in, then I will accept a pull request for this so that you don't need to maintain a fork of the repo.
from canhack.
Thanks for the info. I am not very familiar with working with C Macros and change is very simple so I don't think I can submit such patch. Just wondering is the SPI_IRQ macro corresponds to ~INT (pin 19 of SSOP)? The MCP251863 also has ~INT0 and ~INT1 are they used in the driver?
from canhack.
Related Issues (20)
- Docs mistake: CANHack_schm.pdf same as CANProbe_schm.pdf HOT 10
- Firmware/Hardware HOT 1
- CANID class does not seem to have get_id() method HOT 2
- Bus-off status not reported properly HOT 1
- Hardware buffer pointer C1TXQUA sometimes goes out of range HOT 1
- CANHack sometimes freezes, killing USB on a Raspberry Pi host HOT 1
- bug in the overwrite mode repeating HOT 1
- βcanisβ directory files HOT 5
- RuntimeError: Cannot put MCP2517/18FD into config mode HOT 5
- Location of the canis folder required to apply v1.16 patch HOT 5
- How to apply v1.16.patch ? HOT 9
- Patch V1.18 in macos HOT 4
- MicroPython CANPico: Is the received CAN messages delayed by the GC? HOT 6
- Create optional Python interrupt callback HOT 3
- Issue with build a firmware.uf2 on a Pi 4 HOT 12
- compile error HOT 3
- Add MicroPython API call to the CANHack toolkit to mutate bits in the CAN frame
- Will no longer compile for Micropython HOT 19
- Support for MicroPython 1.21 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canhack.