[riot-notifications] [RIOT-OS/RIOT] TI CC3200 SimpleLink RIOT support (#11866)

Wlad Meixner notifications at github.com
Wed Sep 18 18:58:45 CEST 2019


gosticks commented on this pull request.



> +}
+
+void spi_init(spi_t bus)
+{
+    /* assert(bus >= SPI_NUMOF); */
+    mutex_init(&locks[bus]);
+
+    /* CC3100 module does not require pin config */
+    if (bus != CC3100_SPI) {
+        /* trigger pin initialization */
+        spi_init_pins(bus);
+    }
+
+    /* enable clock */
+    switch (bus) {
+    case EXTERNAL_SPI:

that would break it... I am unsure how to handle that properly. The internal SPI is used to communicate with the network processor. Should I just number them and add a comment? 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11866#discussion_r325787629
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190918/f481445b/attachment-0001.htm>


More information about the notifications mailing list