[riot-notifications] [RIOT-OS/RIOT] boards/esp32: changes the approach for configurations of ADC channels in board definitions (#11289)

Gunar Schorcht notifications at github.com
Wed Apr 3 11:38:49 CEST 2019


@leandrolanzieri Hm, ... there is one problem with the `$(RIOTMAKE)/periph.mk`. Since ADCs and DACs use the same hardware devices that need to be initialized if either ADCs or DACs are used, both of them are implemented in `periph/adc.c`. But `periph/adc.c` isn't compiled if onle module `periph_dac` is used :worried: Even it would be possible to enable module `periph_adc` if `periph_dac` is enabled, finaly we would have to use `#if MODULE_PERIPH_ADC`, `#if ADC_NUM_OF` ... inside `periph/adc.c` in same way.

-- 
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/11289#issuecomment-479416148
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190403/0bdfb9a5/attachment.html>


More information about the notifications mailing list