107-systems / 107-Arduino-MCP2515

Arduino library for controlling the MCP2515 in order to receive/transmit CAN frames.
https://107-systems.org
MIT License
88 stars 14 forks source link

Fix: No more missing MCP2515 events because the MCP2515 keeps the INTline low UNTIL all EVENTS have been handled. #68

Closed aentinger closed 2 years ago

aentinger commented 2 years ago

This fixes #62 and fixes #53.

github-actions[bot] commented 2 years ago

Memory usage change @ 0d7aa103de2a4f0f6d6b4a5d68fe4bf304ac52d3

Board flash % RAM for global variables %
arduino:mbed_edge:edge_control :small_red_triangle: +64 - +64 +0.01 - +0.01 :small_red_triangle: +8 - +8 0.0 - 0.0
arduino:mbed_nano:nano33ble :small_red_triangle: +64 - +64 +0.01 - +0.01 :small_red_triangle: +8 - +8 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect :small_red_triangle: +52 - +52 0.0 - 0.0 :small_red_triangle: +8 - +8 0.0 - 0.0
arduino:mbed_portenta:envie_m4 :small_red_triangle: +64 - +64 +0.01 - +0.01 :small_red_triangle: +8 - +8 0.0 - 0.0
arduino:mbed_portenta:envie_m7 :small_red_triangle: +64 - +64 +0.01 - +0.01 :small_red_triangle: +8 - +8 0.0 - 0.0
arduino:samd:mkr1000 :small_red_triangle: +52 - +52 +0.02 - +0.02 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrfox1200 :small_red_triangle: +52 - +52 +0.02 - +0.02 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrgsm1400 :small_red_triangle: +52 - +52 +0.02 - +0.02 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrnb1500 :small_red_triangle: +52 - +52 +0.02 - +0.02 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrvidor4000 :small_red_triangle: +52 - +52 +0.02 - +0.02 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrwan1300 :small_red_triangle: +52 - +52 +0.02 - +0.02 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrwan1310 :small_red_triangle: +52 - +52 +0.02 - +0.02 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrwifi1010 :small_red_triangle: +52 - +52 +0.02 - +0.02 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrzero :small_red_triangle: +52 - +52 +0.02 - +0.02 :small_red_triangle: +8 - +8 +0.02 - +0.02
esp32:esp32:esp32 :small_red_triangle: +376 - +376 +0.03 - +0.03 :small_red_triangle: +8 - +8 0.0 - 0.0
rp2040:rp2040:rpipico :small_red_triangle: +56 - +56 0.0 - 0.0 :small_red_triangle: +8 - +8 0.0 - 0.0
Click for full report table Board|examples/MCP2515-CAN-Sniffer
flash|%|examples/MCP2515-CAN-Sniffer
RAM for global variables|%|examples/MCP2515-Loopback
flash|%|examples/MCP2515-Loopback
RAM for global variables|% -|-|-|-|-|-|-|-|- arduino:mbed_edge:edge_control|64|0.01|8|0.0|64|0.01|8|0.0 arduino:mbed_nano:nano33ble|64|0.01|8|0.0|64|0.01|8|0.0 arduino:mbed_nano:nanorp2040connect|52|0.0|8|0.0|52|0.0|8|0.0 arduino:mbed_portenta:envie_m4|64|0.01|8|0.0|64|0.01|8|0.0 arduino:mbed_portenta:envie_m7|64|0.01|8|0.0|64|0.01|8|0.0 arduino:samd:mkr1000|52|0.02|8|0.02|52|0.02|8|0.02 arduino:samd:mkrfox1200|52|0.02|8|0.02|52|0.02|8|0.02 arduino:samd:mkrgsm1400|52|0.02|8|0.02|52|0.02|8|0.02 arduino:samd:mkrnb1500|52|0.02|8|0.02|52|0.02|8|0.02 arduino:samd:mkrvidor4000|52|0.02|8|0.02|52|0.02|8|0.02 arduino:samd:mkrwan1300|52|0.02|8|0.02|52|0.02|8|0.02 arduino:samd:mkrwan1310|52|0.02|8|0.02|52|0.02|8|0.02 arduino:samd:mkrwifi1010|52|0.02|8|0.02|52|0.02|8|0.02 arduino:samd:mkrzero|52|0.02|8|0.02|52|0.02|8|0.02 esp32:esp32:esp32|376|0.03|8|0.0|376|0.03|8|0.0 rp2040:rp2040:rpipico|56|0.0|8|0.0|56|0.0|8|0.0
Click for full report CSV ``` Board,examples/MCP2515-CAN-Sniffer
flash,%,examples/MCP2515-CAN-Sniffer
RAM for global variables,%,examples/MCP2515-Loopback
flash,%,examples/MCP2515-Loopback
RAM for global variables,% arduino:mbed_edge:edge_control,64,0.01,8,0.0,64,0.01,8,0.0 arduino:mbed_nano:nano33ble,64,0.01,8,0.0,64,0.01,8,0.0 arduino:mbed_nano:nanorp2040connect,52,0.0,8,0.0,52,0.0,8,0.0 arduino:mbed_portenta:envie_m4,64,0.01,8,0.0,64,0.01,8,0.0 arduino:mbed_portenta:envie_m7,64,0.01,8,0.0,64,0.01,8,0.0 arduino:samd:mkr1000,52,0.02,8,0.02,52,0.02,8,0.02 arduino:samd:mkrfox1200,52,0.02,8,0.02,52,0.02,8,0.02 arduino:samd:mkrgsm1400,52,0.02,8,0.02,52,0.02,8,0.02 arduino:samd:mkrnb1500,52,0.02,8,0.02,52,0.02,8,0.02 arduino:samd:mkrvidor4000,52,0.02,8,0.02,52,0.02,8,0.02 arduino:samd:mkrwan1300,52,0.02,8,0.02,52,0.02,8,0.02 arduino:samd:mkrwan1310,52,0.02,8,0.02,52,0.02,8,0.02 arduino:samd:mkrwifi1010,52,0.02,8,0.02,52,0.02,8,0.02 arduino:samd:mkrzero,52,0.02,8,0.02,52,0.02,8,0.02 esp32:esp32:esp32,376,0.03,8,0.0,376,0.03,8,0.0 rp2040:rp2040:rpipico,56,0.0,8,0.0,56,0.0,8,0.0 ```