[riot-notifications] [RIOT-OS/RIOT] TI CC3200 SimpleLink RIOT support (#11866)
notifications at github.com
Fri Jul 19 20:30:23 CEST 2019
gosticks commented on this pull request.
> +#define SPI_CS_ENABLE 0x00000001
+#define SPI_CS_DISABLE 0x00000002
+ * @brief Allocate one lock per SPI device
+static mutex_t locks[SPI_NUMOF];
+ * @brief init pins for a bus
+ * @param bus
+void spi_init_pins(spi_t bus)
+ /* check if sck and mosi pins are zero indicating no pin setup */
That is a hack I used to ignore pin configuration for the CC3100 spi lines (the pins used are not documented and do not requie configuration). But agreed it makes more sence to check for that case in spi_init. I will remove the check here and move it to spi_init.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications