[riot-notifications] [RIOT-OS/RIOT] Multiple peripheral configuration for a single board (#11270)

MrKevinWeiss notifications at github.com
Mon Apr 1 16:31:08 CEST 2019


I believe the [configuration task force](https://github.com/RIOT-OS/RIOT/wiki/Configuration-Task-Force-%28CTF%29) should be able to solve this with board configuration files but that seems to be a ways away.

Ultimately it is your choice how to do it.  In RIOT the `boards/esp32-olimex-evb/include/periph_conf.h` has an #ifdef
```c
#ifndef ADC_GPIOS
#if MODULE_OLIMEX_ESP32_GATEWAY
#define ADC_GPIOS { GPIO32, GPIO35, GPIO36, GPIO39 }
#else /* MODULE_OLIMEX_ESP32_GATEWAY */
#define ADC_GPIOS { }
#endif /* MODULE_OLIMEX_ESP32_GATEWAY */
#endif /* ADC_GPIOS */
```

I personally would prefer creating my own board file and playing around with it.  As long as it is only for you it is only up to you.

-- 
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/issues/11270#issuecomment-478603534
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190401/ae138aec/attachment.html>


More information about the notifications mailing list