[riot-notifications] [RIOT-OS/RIOT] cpu/qn908x: ADC support (#15847)

iosabi notifications at github.com
Sun Jan 24 23:35:23 CET 2021


@iosabi commented on this pull request.



> +config BOARD_HAS_ADC_PA06_CAP
+    bool
+    help
+         Indicates that the board has an external capacitor connected to PA06
+         which shold be used to stabilize the ADC reference voltage.
+         This external capacitor is optional but it can reduce the noise of the
+         ADC sampling.

It looks like it does. I just tried:
```
rm tests/periph_adc/bin -r
make BOARD=qn9080dk -C tests/periph_adc
grep BOARD_HAS_XTAL32K tests/periph_adc -r
```
and the macro shows up in `tests/periph_adc/bin/qn9080dk/riotbuild/riotbuild.h`.

I honestly don't know if Kconfig or periph_cpu.h is the preferred way for this sort of config, but the "BOARD_HAS_..." macros where here so I added it here.

-- 
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/15847#discussion_r563395724
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210124/d9d82841/attachment.htm>


More information about the notifications mailing list