[riot-notifications] [RIOT-OS/RIOT] board: add support for SAMR34-XPRO (#11250)

Dylan Laduranty notifications at github.com
Mon Mar 25 14:42:45 CET 2019


dylad commented on this pull request.



> +void led_init(void);
+
+void board_init(void)
+{
+    /* initialize the CPU */
+    cpu_init();
+
+    /* initialize the boards LEDs */
+    led_init();
+
+    /* initialize board specific pins for LoRa */
+#ifdef MODULE_SX127X
+    gpio_init(TXCO_PWR_PIN, GPIO_OUT);
+    gpio_set(TXCO_PWR_PIN);
+    gpio_init(TX_OUTPUT_SEL_PIN, GPIO_OUT);
+    gpio_write(TX_OUTPUT_SEL_PIN, !sx127x_params[0].paselect);

I get bored because of compiler's complaining so I ended up doing this... I'll fix.

-- 
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/11250#discussion_r268645401
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190325/4f6a5a69/attachment.html>


More information about the notifications mailing list