304 Commits
Author SHA1 Message Date
alias pillar1989 cb607da7da bump version to 2.3.4 V2.3.4 2026-05-26 11:32:12 +08:00
fc19066027 fix: use pSPI->begin() and add skipSpiBegin option for ESP32 compatibility (#159)
ESP32 users need to call SPI.begin() with custom pin assignments before
using the library (GPIO matrix). The hardcoded SPI.begin() in
mcp2518fd::begin() overwrites this configuration.

Changes:
- Replace SPI.begin() with pSPI->begin() (consistent with MCP2515)
- Add optional _initSPI parameter (default true) to begin() across
  MCP_CAN, mcp2515, and mcp2518fd so ESP32 users can skip SPI init

Existing code is unaffected — default behavior unchanged.

Closes #158

Co-authored-by: pillar1989 <zuobaozhu@gmail.com>
2026-05-26 11:23:15 +08:00
alias pillar1989andGitHub ca8fcc7fe3 Add MCP2515 8MHz 83.3kbps bitrate support
Add the missing MCP_8MHz_83k3BPS timing macros and wire CAN_83K3BPS into the MCP_8MHz bitrate switch. Fixes #79.
2026-04-28 11:09:23 +08:00
yuan_mo 31438c426b add send and receive extended frames examples 2025-04-21 09:48:53 +08:00
ShuishengPengandGitHub ad48756e56 Merge pull request #153 from techie66/bugfix_140
Change order of TX buffer fill to ensure in-order sending of frames.
2025-02-06 10:22:56 +08:00
Jacob Geigle c8556d5c1b Change order of TX buffer fill to ensure in-order sending of frames. 2025-02-02 11:45:28 -05:00
Lesords 23b23eff5c ci: add an action to automatically close stale issues and PRs 2025-01-08 07:43:42 +00:00
ackPeng 6f556e2ac8 add run-cl-arduino.yml and add SERIAL_PORT_MONITOR define 2024-12-27 14:48:26 +08:00
Matthew 491283753f Add sync_issues GitHub Action for workflows 2024-10-08 18:24:20 +08:00
EthanethiolandGitHub 23666a81df Added MCP_8MHz_95k2BPS (#150) 2024-03-18 09:06:42 +08:00
Micah MundyandGitHub 6dcfabc65e Patch four-argument sendmsgbuf (#146)
maintains backward compatibility with previous versions of
the function call
2023-08-09 08:23:01 +08:00
Pasakorn TiwatthanontandGitHub 02d18fb3b3 Reset rx overflow flag (#144) 2023-06-01 08:54:16 +08:00
JaxonandGitHub 7328966ef0 Merge pull request #139 from Maxwelltoo/master
fix subclass reference error
2023-01-10 10:30:59 +08:00
Jaxon adceb9b415 fix subclass reference error 2023-01-10 10:24:18 +08:00
Micah MundyandGitHub eb6887ba3c Move the four-argument sendMsgBuf wrapper to mcp_can.h (#136) 2022-08-30 13:44:00 +08:00
Lakshantha Dissanayake b946ae7c24 Update: library.json and library.properties v2.3.3 2022-04-11 23:38:18 +05:30
Lakshantha 58a38c9387 Update: version v2.3.2 2022-04-11 09:02:38 +05:30
Lucas DietrichandGitHub e2cbc7bb07 Fix compilation warning -Wshift-count-overflow (#134)
Fix issue #129

Signed-off-by: Lucas Dietrich <ld.adecy@gmail.com>
2022-03-14 14:08:36 +08:00
Baozhu ZuoandGitHub 06e6e163a9 Merge pull request #131 from ivankravets/patch-2
Sync version to 2.3.1
2021-12-06 08:27:11 +08:00
Ivan KravetsandGitHub 9226a0ae6b Sync version to 2.3.1 2021-12-04 14:26:14 +02:00
Lakshantha DissanayakeandGitHub 6acaf5a258 Update version v2.3.1 2021-07-22 14:05:23 +05:30
Baozhu ZuoandGitHub b517530d07 Merge pull request #127 from techie66/master
Support for 12Mhz Crystals
2021-07-22 16:32:45 +08:00
Jacob GandGitHub c991cacd9a Merge branch 'Seeed-Studio:master' into master 2021-07-06 16:44:28 -07:00
Baozhu ZuoandGitHub 5a41853758 Merge pull request #123 from QuentinTorg/uno_wifi_r2_compatibility
Fix Arduino Uno Wifi Rev2 and Arduino Nano Every Compatibility
2021-06-08 07:45:39 +08:00
QuentinTorg 4080671c63 fix variable collision that broke compatibility with Arudino Uno Wifi R2 boards. May also affect Arduino Nano Every 2021-06-06 09:31:59 -04:00
Baozhu ZuoandGitHub c110bf10c0 Merge pull request #122 from adamayd/master
Removed special character and updated keywords.
2021-06-05 12:37:13 +08:00
Adam Ayd 1351334686 Removed special character and updated keywords. 2021-06-05 00:17:25 -04:00
Baozhu ZuoandGitHub f579f66402 Merge pull request #121 from adamayd/master
Updated libary.json to current version
2021-06-05 10:34:53 +08:00
Adam AydandGitHub 1b63d26adc Updated libary.json to current version 2021-06-03 22:49:02 -04:00
Jacob Geigle e9adda5cea 12MHz 10KBPS and 5KBPS removed 2021-05-15 12:16:58 -07:00
Jacob Geigle bb92e93e9b Added definitions for mcp2515 to use 12MHz clock 2021-05-15 06:44:15 -04:00
Lakshantha DissanayakeandGitHub efbcf196f8 Change version to 2.3.0 v2.3.0 2021-05-13 11:54:03 +05:30
Lakshantha DissanayakeandGitHub 14f1e98a12 Merge pull request #120 from per1234/revert-name
Revert library name change
2021-05-13 11:53:19 +05:30
per1234 78173b3225 Revert library name change
Libraries are locked to the `name` value specified by the library.properties metadata file in the release at the time of
the Library Manager submission.

Any release with a different name is rejected by the Arduino Library Manager indexer.

References:
- https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ#why-arent-releases-of-my-library-being-picked-up-by-library-manager
- https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ#how-can-i-change-my-librarys-name
2021-05-12 18:18:47 -07:00
Baozhu ZuoandGitHub f8a04fd600 Merge pull request #118 from silviu-toderita/master
Removed unused include statement
2021-05-10 08:15:12 +08:00
Silviu ToderitaandGitHub 5863c67c70 Re-include SoftwareSerial in conditional in can-serial.cpp 2021-05-08 12:28:14 -07:00
Silviu ToderitaandGitHub f3ae9d0f10 Removed unused include statement 2021-05-07 11:20:06 -07:00
Baozhu ZuoandGitHub 7ba9b7deff Merge pull request #117 from TyphoonSB/master
Update mcp2518fd_can.cpp
2021-05-06 08:32:19 +08:00
TyphoonSBandGitHub d756ec0980 Update mcp2518fd_can.cpp
disable filter controle register before changing the filter, and reenable it after chage.
2021-05-04 12:48:16 +02:00
turmary ef05384659 Move: library version to 2.2.0 v2.2.0 2021-02-03 10:02:05 +08:00
turmary 66305bbf5d Move: can-serial.{h,cpp} back to src folder 2021-02-03 10:01:21 +08:00
turmary d315924485 Remove: disable SoftwareSerial by default, or else waste flash/ram space 2021-02-03 10:00:29 +08:00
turmary 85648cd0fc Add: baudrate 800KBPS to canbus-monitor 2021-02-03 09:48:35 +08:00
turmary 8b82b6ef89 Add: 800KBPS highlight 2021-02-02 21:11:00 +08:00
turmary 240bb4de04 Add: predefined CAN baudrate 800KBPS 2021-02-02 21:08:26 +08:00
turmary 438ae2bb21 Fixed: inputString maybe contain multiple commands 2021-02-01 20:27:53 +08:00
turmary 8920835971 Move: adapt canbus example to new API attach() 2021-02-01 20:26:53 +08:00
turmary 7cb25da245 Move: use pointer not object to access the dirver, to get the ability of virtual function 2021-02-01 20:26:02 +08:00
turmary feeb26e4e1 Move: rename CAN232 api init() to attach() 2021-02-01 20:24:36 +08:00
turmary d73add5f0a Move: CANFD argument to uint32_t from byte 2021-01-29 23:32:51 +08:00