esp_event: allow posting events from ISRs

This commit is contained in:
Renz Christian Bagaporo
2019-04-10 18:06:05 +08:00
parent c43a83596b
commit 2b914f2d22
9 changed files with 229 additions and 56 deletions
+7
View File
@@ -9,4 +9,11 @@ set(COMPONENT_PRIV_INCLUDEDIRS "private_include")
set(COMPONENT_REQUIRES log tcpip_adapter)
set(COMPONENT_PRIV_REQUIRES ethernet)
set(COMPONENT_ADD_LDFRAGMENTS linker.lf)
register_component()
if(GCC_NOT_5_2_0 AND CONFIG_EVENT_LOOP_PROFILING)
# uses C11 atomic feature
set_source_files_properties(esp_event.c PROPERTIES COMPILE_FLAGS -std=gnu11)
endif()