Comments (2)
We should probably go directly for Option 2. The mechanism of knowing which interrupt needs what peripheral instance callback is already there (via the selected lbuild modules) and we "only" need to convert the individual interrupt handlers into function and call them from a central place. I'm happy to guide you via PR reviews.
from modm.
I have implemented the shared interrupt handling for the I2C driver and opened a draft PR. Everything is untested since I don't have access to any STM32 hardware right now. SPI should be easy to do because we don't actually use the SPI interrupt handlers in the driver, only DMA handlers for the DMA SPI.
from modm.
Related Issues (20)
- Using SPI on Linux/Darwin target HOT 3
- CMake usage in recommended project structure HOT 3
- lbuild fails when relative paths are on different Windows drives HOT 1
- Fibers not implemented on ARM64
- CI Failling in a apprently nor related point HOT 2
- Documentation / example for "safely" accessible flash HOT 2
- [STM32G4] flash dual bank ignored during erase HOT 3
- ifdef Doxygen guard in SPI_Master - why???
- Linker issues with newlib version 4.4.0 HOT 3
- std::scoped_lock not declared in my environment (Fedora 14.1.0-1.fc40) HOT 3
- stm32f723 related issues HOT 4
- LIS3MDL SPI driver: address reading is not advanced
- CAN messages set to extended by default in only one constructor HOT 1
- GCC 13 memcpy warning in can_message.hpp HOT 1
- GCC 13 warning: Redefinition of __FPU_PRESENT in CMSIS module HOT 2
- openocd.py on Windows HOT 2
- STM32C011F6P6 HOT 1
- STM32U0 Support HOT 1
- CMSIS DSP error when targeting hosted platforms HOT 1
- Support for Ethernet on STM32H7 series HOT 1
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 modm.