Re: [riot-devel] SPI automatic interface configuration inside of cpu.c/periph_init(();

2017-05-02 Thread Hauke Petersen
Hi Neo, the global/automatic SPI initialization might not be ideal, but the benefits are greater than the drawbacks. One of the major design issues this is solving is the handling of shared peripherals (as in SPI/I2C): when doing the initialization somewhere in the driver code, different

[riot-devel] SPI automatic interface configuration inside of cpu.c/periph_init(();

2017-04-29 Thread Neo
Dear RIOT developers, I think it is not a good idea to initilialize the SPI interface automatically via the periph_init() function because it is not as static as mentioned. In my application I have 2 SPI interfaces defined in the periph_conf.h file - but I wanted only to configure the