OVMS3-idf/components/esp32
Ivan Grokhotkov 742f8e7f8a esp_timer: fix occasional failures in "monotonic values" test
1. ref_clock used in unit tests occasionally produces time off by ~100
microseconds shortly after being started. Add a delay to let
ref_clock stabilise, until the cause is found.

2. Reduce roundoff error accumulation which would occasionally cause
the test to fail, by choosing an overflow value which can be divided
by APB frequency.

3. Move time sampling part of the test into an IRAM function to
reduce variations due to cache behavior.

4. Remove calculation of "standard deviation" in the test, as what was
calculated was not actually standard deviation, and it did not add any
useful information.
2019-02-28 20:38:31 +08:00
..
hwcrypto hwcrypto sha: Use spinlocks instead of semaphores for small state changes 2019-01-23 18:18:13 +08:00
include Merge branch 'revert-00d10688' into 'release/v3.2' 2019-02-20 15:09:59 +08:00
ld psram: Move newlib qsort() and setlocale() functions from IRAM to flash 2019-02-21 10:32:00 +11:00
lib@eb53491cf6 component/esp32 : fix coexist lc protect cause memory corrupted 2019-02-19 03:30:02 +00:00
test esp_timer: fix occasional failures in "monotonic values" test 2019-02-28 20:38:31 +08:00
brownout.c esp32: add API to get reset reason 2018-08-20 16:49:20 +08:00
cache_err_int.c
cache_sram_mmu.c Spiram: Add option to reserve MMU banks; add himem API to make use of those banks 2018-10-15 14:32:58 +08:00
clk.c esp32: only touch g_ticks_per_us_app in dual core mode 2018-09-25 15:13:47 +08:00
CMakeLists.txt esp32: disable stack protector for startup code (CMake) 2019-02-13 10:27:22 +08:00
coexist.c component/esp32 : clear some minor thingsw about PM and coexistence 2018-04-03 20:13:49 +08:00
coexist_internal.h component/esp32 : clear some minor thingsw about PM and coexistence 2018-04-03 20:13:49 +08:00
component.mk doc: update document of external memory 2018-09-26 10:39:57 +08:00
core_dump.c coredump: Fixes exception stack frame structure indicator 2018-07-05 22:20:20 +03:00
cpu_start.c bootloader, esp32: add workaround for Tensilica erratum 572 2019-01-23 16:23:56 +08:00
crosscore_int.c esp32: Move esp_crosscore_isr_handle_yield() to IRAM 2018-06-13 11:36:15 +10:00
dbg_stubs.c esp32: Adds GCOV debug stubs support 2018-05-18 16:16:03 +03:00
dport_access.c dport: Bigfix dport_read code move to IRAM 2018-05-21 22:00:51 +05:00
dport_panic_highint_hdl.S xtensa: remove unused header files 2018-05-31 02:21:36 +00:00
esp_clk_internal.h bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC 2018-03-21 13:27:56 +05:00
esp_err_to_name.c HTTP Server : Added esp_ prefix to http_server component files 2018-10-24 17:32:20 +05:30
esp_err_to_name.c.in esp32: esp_err_to_name_r: print error code as hex and decimal 2018-06-15 15:49:23 +08:00
esp_himem.c Spiram: Add option to reserve MMU banks; add himem API to make use of those banks 2018-10-15 14:32:58 +08:00
esp_system_internal.h esp32: add API to get reset reason 2018-08-20 16:49:20 +08:00
esp_timer.c esp_timer: do not allow deleting timers while callbacks are dispatched 2019-01-02 20:06:06 +11:00
esp_timer_esp32.c esp_timer: fix occasional failures in "monotonic values" test 2019-02-28 20:38:31 +08:00
esp_timer_impl.h sleep: fix deadlock in esp_timer_impl_advance after light sleep 2018-05-09 22:52:50 +08:00
ets_timer_legacy.c wifi/bt coexistence: Fix disabled cache access race when writing to flash 2017-10-16 19:47:33 +08:00
event_default_handlers.c esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0 2018-09-06 14:52:04 +08:00
event_loop.c event: Implement event loop library 2018-10-26 13:14:19 +08:00
fast_crypto_ops.c esp32/wpa_supplicant: fix some bugs introduced by wifi os adapter 2018-05-31 17:09:40 +08:00
freertos_hooks.c esp32: fix regression introduced in automatic light sleep pm 2018-09-26 08:52:15 +05:30
gdbstub.c Resolve problems found by enabling -Wwrite-strings compilation flag 2018-04-10 08:53:43 +02:00
hw_random.c esp32: Add esp_fill_random() function 2018-09-03 04:39:45 +00:00
int_wdt.c Dump the frame of the other core when interrupt watchdog happens 2018-01-18 23:10:29 +00:00
intr_alloc.c intr: fix a type mismatch warning 2018-10-21 15:11:45 +08:00
ipc.c ipc: initialise automatically, if called from the app 2018-09-25 15:13:47 +08:00
Kconfig Merge branch 'revert-00d10688' into 'release/v3.2' 2019-02-20 15:09:59 +08:00
lib_printf.c component/esp32 : clear some minor thingsw about PM and coexistence 2018-04-03 20:13:49 +08:00
libhal.a
Makefile.projbuild Merge branch 'feature/expansion_space_for_bootloader' into 'master' 2018-06-18 12:34:53 +08:00
panic.c panic: dump some instruction memory on IllegalInstruction exception 2018-12-12 11:58:55 +08:00
phy.h esp32: some changes relating to phy v3900 2018-05-22 14:16:09 +08:00
phy_init.c component/bt: bugfix of bluetooth modem sleep not being able to work with Dynamic Frequency Scaling 2018-12-14 14:56:29 +08:00
phy_init_data.h Merge branch 'master' into feature/cmake 2018-09-05 10:35:04 +08:00
pm_esp32.c pm: prevent entering light sleep again immediately after wakeup 2018-11-21 03:42:15 +00:00
pm_impl.h esp32: fix regression introduced in automatic light sleep pm 2018-09-26 08:52:15 +05:30
pm_locks.c
pm_trace.c freertos,esp32: automatic light sleep support 2018-05-18 03:14:46 +00:00
pm_trace.h freertos,esp32: automatic light sleep support 2018-05-18 03:14:46 +00:00
reset_reason.c reset_reason: fix setting wake stub entry point to 0x80000000 2018-08-27 19:01:03 +08:00
restore.c esp_system: remove link time dependency on WiFi stack 2017-06-15 18:15:36 +08:00
sleep_modes.c Revert "Merge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'" 2019-02-19 12:47:44 +08:00
spiram.c bugfix(psram): fix psram size acquisition method 2019-02-13 14:24:20 +08:00
spiram_psram.c bugfix(psram): made some modifcations to support the psram driver backport 2019-02-13 16:06:38 +08:00
spiram_psram.h bugfix(psram): fix psram size acquisition method 2019-02-13 14:24:20 +08:00
stack_check.c esp32: Adds Stack Smashing Protection Feature 2017-11-17 12:08:36 +03:00
system_api.c esp32: Fix wdt settings in esp_restart_noos 2019-02-19 12:43:35 +08:00
task_wdt.c esp32: Add macro to check a condition without abort 2018-10-09 08:57:23 +02:00
wifi_init.c wifi: Set default wifi library log level based on sdkconfig 2018-05-02 15:11:21 +10:00
wifi_os_adapter.c Add OS adapter to WiFi driver 2018-05-26 17:22:23 +08:00