1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp8266/include
Gunar Schorcht 1865ee9359 cpu/esp8266: fix of adc_res_t
cpu/esp8266/include/periph_cpu.h overrides the default definition of adc_res_t from periph/adc with a definition which contains only one resolution. This gives compilation errorss if an application uses other resolutions. According to the documentation, adc_sample should return -1 if the resolution is not supported. All other CPUs override adc_res_t either to add new resolutions or to mark resolutions as unsupported. But they all allow to use them at the interface. Therefore, esp8266 uses now the default definition of adc_res_t and returns -1 if a solution is used in adc_sample that is not supported.
2018-11-30 17:56:33 +01:00
..
sys cpu: add esp8266 2018-09-05 02:39:50 +02:00
common.h cpu: add esp8266 2018-09-05 02:39:50 +02:00
cpu_conf.h cpu: add esp8266 2018-09-05 02:39:50 +02:00
cpu.h cpu: add esp8266 2018-09-05 02:39:50 +02:00
exceptions.h cpu: add esp8266 2018-09-05 02:39:50 +02:00
gpio_common.h cpu/esp8266: doxygen fix 2018-11-05 11:23:40 +01:00
irq_arch.h cpu: add esp8266 2018-09-05 02:39:50 +02:00
periph_cpu.h cpu/esp8266: fix of adc_res_t 2018-11-30 17:56:33 +01:00
syscalls.h cpu: add esp8266 2018-09-05 02:39:50 +02:00
thread_arch.h cpu: add esp8266 2018-09-05 02:39:50 +02:00
tools.h cpu: add esp8266 2018-09-05 02:39:50 +02:00
user_config.h cpu/esp8266: cpu frequency settings 2018-10-19 13:08:32 +02:00
xtensa_conf.h cpu: add esp8266 2018-09-05 02:39:50 +02:00