1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp32
Gunar Schorcht 25d04c4742 cpu/esp32: fixes and cleanups of RTC timer
- Unecessary definitions are removed.

- Since the 48-bit RTC hardware timer uses a RC oscillator as clock, it is pretty inaccurate and leads to a RTC time deviation of up to 3 seconds per minute. Therefore, a calibration during the boot time determines a correction factor for the 48-bit RTC hardware timer. Function _rtc_time_to_us uses now this correction factor and converts a raw 48-bit RTC time to a corrected time in microseconds. Thus, the 48-bit RTC timer becomes much more accurate, but it can't still reach the accuracy of the PLL driven 64-bit system timer. The Advantage of using RTC over 64-bit sydtem timer is that it also continues in deep sleep mode and after software reset.

- If the 64-bit system timer is used to emulate the RTC timer, it uses the RTC hardware timer to continue its operation after software .
2019-12-26 18:13:10 +01:00
..
bin cpu/esp32: add bootloaders without startup info 2019-11-28 18:59:09 +01:00
cxx many typo fixes 2019-11-23 22:39:07 +01:00
esp-eth cpu/esp32: change netopt in esp_eth for lwIP 2019-12-14 16:59:21 +01:00
esp-wifi cpu/esp32: fix compile error 2019-12-15 11:17:23 +01:00
freertos cpu/esp32: fix typos 2019-11-23 22:39:36 +01:00
include cpu/esp32: fix typos 2019-11-23 22:39:36 +01:00
ld cpu/esp32: fix for crashes of tests/pkg_spiffs 2019-12-06 11:44:15 +01:00
periph cpu/esp32: fixes and cleanups of RTC timer 2019-12-26 18:13:10 +01:00
vendor Merge pull request #12044 from gschorcht/cpu/esp32/log_module_fix 2019-11-22 14:33:33 +01:00
doc.txt cpu/esp32: module to print startup info 2019-11-28 18:59:09 +01:00
esp_events.c
esp_xtimer.c
exceptions.c cpu/esp32: break on core_panic 2019-11-22 13:56:41 +01:00
gen_esp32part.py
irq_arch.c cpu: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Makefile cpu/esp32: module esp_can removed 2019-09-20 19:35:02 +02:00
Makefile.dep Merge pull request #12044 from gschorcht/cpu/esp32/log_module_fix 2019-11-22 14:33:33 +01:00
Makefile.features cpu: add arch_* features 2019-10-13 21:03:41 +02:00
Makefile.include cpu/esp32: introduce pseudomodule esp_rtc_timer 2019-12-25 09:47:52 +01:00
periph_cpu.c
startup.c cpu/esp32: fix rtc_init and displaying system time 2019-12-25 09:47:52 +01:00
syscalls.c cpu/esp32: system_get_time_ms cleanup 2019-12-24 14:35:37 +01:00
thread_arch.c many typo fixes 2019-11-23 22:39:07 +01:00
tools.c cpu/esp32: replace ets_printf by printf 2019-11-22 11:11:19 +01:00