This repository has been archived on 2026-02-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Stefano Calabretti c0cc853cf8 Reception bugfix (#5)
* Add rx event handlers

* Fix compile errors and add constness

* Pass sender id

* Change api interface

* Revert changes

* Add filter fifo

* Add default setup

* Add receive function

* Remove interrupt activation

* Activate RX interrupts

* Merge remote changes

* Add event list constructor

* Fix compilation bug

* Send and receive multiple frames

* Refactor

* Refactor

* Fix compile error

* Use known syntax

* Refactor

* Provide storage

* Add frame end

* Add some documentation

* Turn macros into functions

* Refactor

* Refactor

* Fix compile error

* Use ExtendedIds

* Fix reception bug (fixes #4)

Co-authored-by: Riccardo998 <riccardo.storchi98@gmail.com>
2021-12-14 23:45:57 +01:00
2021-12-09 11:39:39 +01:00
2021-12-14 23:45:57 +01:00
2021-11-28 12:12:27 +01:00
2021-11-28 13:06:35 +01:00

mmr_can

You can add this library to your project by either cloning it or adding it as a submodule (if you've already created a git repo)


You can add the library to an existing STM32 project if you've already initialized it with a git repository

To create a git repository, simply run git init inside the main project folder
You will then be able to link it to a remote repository (like github) by running git remote add origin repo_url

To add mmr_can as a submodule, go into your main folder (where you ran git init) and run

git submodule add https://github.com/cala-br/mmr_can.git Drivers/MMR_CAN

mmr_can will be cloned inside the Drivers folder

Compiler setup

After adding the submodule, right click on your project's name from within the STM32CubeIDE, then Properties (last option) > C/C++ General > Paths and Symbols

You'll see a list of directories on the right, click on Add, then type Drivers/MMR_CAN/Inc and press enter

Once you've done this you'll be ready to go


Clone

Simply cd into the directory you want to clone the library and run

git clone https://github.com/cala-br/mmr_can.git
S
Description
MMR can bus wrapper for the STM32 family of boards [MIRROR]
can
Readme 290 KiB
Languages
C 100%