Karl Fessel
9d2dda27ce
Merge branch 'master' into cpu/samd5x-write-CAN-driver
2024-03-28 09:52:26 +01:00
Firas Hamdi
74bf01baa8
drivers/mcp2515: load RX mailbox
2024-03-26 15:17:48 +01:00
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files
2024-03-26 14:54:22 +01:00
Karl Fessel
05f114d0af
doc: fix unbalaced grouping
...
- most were trivial
- missing group close or open
- extra space
- no doxygen comment
- name commad might open an implicit group
this hould also be implicit cosed but does not happen somtimes
- crazy: internal declared groups have to be closed internal
2022-09-14 15:05:25 +02:00
Firas Hamdi
bc0d3f9de3
drivers/mcp2515: apply the filter to a target mailbox
...
sys/include/can: add the mailbox target as a member to the filter structure
drivers/mcp2515: cleanup defines
2022-06-30 10:07:24 +02:00
benpicco
d9fc082686
Merge pull request #18062 from firas-hamdi/mcp2515-enable-filtering
...
drivers/mcp2515: enable filtering
2022-06-26 22:23:07 +02:00
Firas Hamdi
3f9866e709
drivers/mcp2515: fix to add filters
...
drivers/mcp2515: enable filtering
The current driver implementation initializes the driver in a way to receive all the CAN messages without matching the filters. This commit changes that by adding a macro definition that will be enabling or disabling the filtering and accordingly set the appropriate mcp2515 acceptance mode
2022-06-26 17:38:23 +02:00
Firas Hamdi
e8da4269e3
drivers/mcp2515: undefine rst_pin
2022-06-24 17:29:03 +02:00
Daniel Lockau
257ffdb442
drivers/mcp2515: fix set bittiming
...
- apply hardware dependent parameters to bittiming struct before
reinitializing the hardware with the new parameter set
2022-05-02 14:04:52 +02:00
Francisco Molina
6959f5eb78
drivers/mcp2515: use ztimer
2022-04-20 09:23:50 +02:00
Francisco Molina
babaa6ec4a
drivers/mcp2515/candev_mcp2515: remove Illegal ID error
...
0x1fffffff marks and extended can id.
2022-04-19 15:57:57 +02:00
Francisco Molina
c07514ad3f
drivers/mcp2515: allow for can_mask == 0, promiscuos
...
can_mask = 0 is a valid value to reaceive all frames
2022-04-19 15:56:45 +02:00
Francisco Molina
3084928151
drivers/mcp2515: support no rst_pin
2022-04-19 15:56:44 +02:00
Francisco Molina
0c526f12c6
driver/mcp2515: clear irq masks after read
...
This fixes a bug where it triggers twice on e.g. tx isr
2022-04-19 15:55:29 +02:00
MrKevinWeiss
c4e4bc2122
drivers/mcp2515: Update kconfig model
2022-03-04 14:16:01 +01:00
Marian Buschsieweke
c97a2119f3
drivers/mcp2515: use container_of()
...
This silences false positives of -Wcast-align
2021-12-03 10:12:35 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Francisco
b46116d77e
Merge pull request #15607 from leandrolanzieri/pr/kconfig/drivers_lmn
...
drivers/{l, m, n}*: add modules to Kconfig
2021-01-18 11:45:46 +01:00
Leandro Lanzieri
a155b3f28e
drivers/mcp2515: add module to Kconfig
2021-01-18 10:42:32 +01:00
Francisco Molina
8ba1a37b2a
drivers/mcp2515: move dependencies to own Makefile.dep
2021-01-18 10:28:51 +01:00
Bas Stottelaar
92b1dfc703
drivers/*: realign ENABLE_DEBUG
2020-10-23 01:26:09 +02:00
Wouter Symons
757f810118
drivers/mcp2515: complete driver + adapt to 2020 RIOT API
2020-10-03 15:20:42 +02:00
Vincent Dupont
62a9929f9b
mcp2515: add a driver for the mcp2515 SPI CAN controller
...
This driver implements the candev interface
2020-10-03 15:20:42 +02:00