Re: [riot-devel] Overriding SPI speeds + gadgets drivers

2016-02-22 Thread Marc
Emmanuel Baccelli wrote: Hi Marc Hi Emmanuel, > What is expected for not-so-common boards (like the ek-lm4f120-xl ?) ? Actually this board is not that uncommon: it seems thousands of students use it each year in this EDX online course for example ( https://www.edx.org/course/embedded-s...).

Re: [riot-devel] Overriding SPI speeds + gadgets drivers

2016-02-22 Thread Emmanuel Baccelli
Hi Marc On Mon, Feb 22, 2016 at 9:58 AM, Marc wrote: > On 29-01-2016 14:03, Kaspar Schleiser wrote: > >> Hey, >> >> On 01/29/2016 01:56 PM, Marc wrote: >> >>> 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 accep

Re: [riot-devel] Overriding SPI speeds + gadgets drivers

2016-02-22 Thread Marc
On 29-01-2016 14:03, Kaspar Schleiser wrote: Hey, On 01/29/2016 01:56 PM, Marc wrote: 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 Sounds t

Re: [riot-devel] Overriding SPI speeds + gadgets drivers

2016-01-29 Thread Kaspar Schleiser
Hey, On 01/29/2016 01:56 PM, Marc wrote: 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 Sounds the most sensible. Also, I'm wondering if RIOT

[riot-devel] Overriding SPI speeds + gadgets drivers

2016-01-29 Thread Marc
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