Hi !

I would like to drive the SPI at speeds currently not in the enum types.

What would be the best approach (ie. what would be accepted in a pull request) :

 - adding extra speeds to the global enum
- using a macro HAVE_SPI_SPEED_FOO (as done in gpio driver) and let specific cpu override it as needed ?

Let me know what's best and I'll create a PR (provided that you are ok with the request of adding extra speeds...)

Also, I'm wondering if RIOT has any rule for accepting new drivers. I have been playing with small LCD, ws2812, mm5450, 7segments displays and I'm wondering if I should try to make something clean for creating a PRs ? I see that's devs are already flooded by more important PR, so maybe you simply don't want these extra "gadgets".

Marc


_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to