]> granicus.if.org Git - esp-idf/commit
esp_err: Use separate code path for ESP_ERROR_CHECK assertion
authorAngus Gratton <angus@espressif.com>
Thu, 2 Mar 2017 06:22:22 +0000 (17:22 +1100)
committerAngus Gratton <angus@espressif.com>
Fri, 17 Mar 2017 10:14:17 +0000 (18:14 +0800)
commit8ab96b13afc85fe78dbdaa1a189af6db18d522a4
treec9c73db7d5714f70d2e3782559419f130e5d4fa9
parent50f414f54cf459d6b5875d2b0a2a4b92adb79920
esp_err: Use separate code path for ESP_ERROR_CHECK assertion

* Minimum code size overhead
* Makes function safe to use when flash cache is disabled

Builds on #339 https://github.com/espressif/esp-idf/pull/339
components/esp32/include/esp_err.h
components/esp32/panic.c
components/nvs_flash/test_nvs_host/Makefile
components/nvs_flash/test_nvs_host/esp_error_check_stub.cpp [new file with mode: 0644]