Renz Christian Bagaporo
f21b8bbf55
esp_event: fix issue with post data preparation
...
Fixes an issue with post instance data preparation. Currently, there is
no way to check if event data has really been set during handler
execution preparation. When data is not allocated from the heap, user
could have passed 0x0 which can lead to failed checks.
This also implements using the already allocated data memory for posting
events from non-ISR functions when data size is less than the capacity.
2019-05-22 11:28:39 +08:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Roland Dobai
bf626f2aba
Rename Kconfig options (components/esp_event)
2019-05-21 09:09:01 +02:00
Ivan Grokhotkov
bb4f5617ab
test: clean up "leaks" tags from most unit tests
2019-04-16 20:07:40 +08:00
Ivan Grokhotkov
0bca9d20d8
Merge branch 'feature/esp_event_loop_library_compat_base' into 'master'
...
Implement Wi-Fi, Ethernet, IP event handling based on esp_event library
Closes IDF-37 and IDF-267
See merge request idf/esp-idf!3635
2019-04-12 13:54:18 +08:00
Konstantin Kondrashov
5021129e71
Add support a [leaks] tag for UT
2019-04-12 09:31:23 +08:00
Ivan Grokhotkov
74cd8dac9d
esp_event: don’t warn if no handlers are present for specific event
2019-04-11 12:05:27 +08:00
Ivan Grokhotkov
b94fcb192e
event: re-add wifi disconnect reason logging ( e621e0af
)
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
6890ea09cd
docs: add event handling API guide
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
b1d1e37f87
event loop: re-implement based on esp_event library
...
Includes ds2ds unit test fix, iperf example test fix
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
e37b0ad648
esp_event: move trailing semicolons out of defines
2019-04-11 12:04:58 +08:00
Renz Christian Bagaporo
659f1a1253
esp_event: test posting from interrupt handler
2019-04-10 18:06:05 +08:00
Renz Christian Bagaporo
2b914f2d22
esp_event: allow posting events from ISRs
2019-04-10 18:06:05 +08:00
morris
79bb5de426
derive esp_wifi from esp32 component
2019-04-01 20:04:52 +08:00
morris
c159984264
separate rom from esp32 component to esp_rom
...
1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt
2019-03-21 18:51:45 +08:00
morris
fd9bc30aca
separate legacy esp_event from esp32 component to esp_event
2019-03-18 19:58:04 +08:00
Angus Gratton
4e770aec61
Merge branch 'feature/predictable_event_dispatch_via_duplication' into 'master'
...
Predictable event handler dispatch
See merge request idf/esp-idf!3932
2019-02-05 08:47:03 +08:00
Ivan Grokhotkov
131885d547
Merge branch 'bugfix/event_loop_library_memory_leak' into 'master'
...
Fix event loop library memory leak
See merge request idf/esp-idf!4201
2019-01-31 11:02:20 +08:00
Renz Christian Bagaporo
a3664ad654
esp_event: test that dispath order follows regisration order
2019-01-30 20:59:47 +08:00
Renz Christian Bagaporo
a10901f44b
esp_event: dispatch order follows registration order
2019-01-30 20:59:47 +08:00
Renz Christian Bagaporo
2160abd3e4
esp_event: detect leaks in unit test
2019-01-30 18:49:21 +08:00
Renz Christian Bagaporo
34310908cf
esp_event: fix post data type inconsistency
2019-01-30 18:11:13 +08:00
Renz Christian Bagaporo
280894af7f
esp_event: fix memory leaks
...
Closes https://github.com/espressif/esp-idf/issues/2886
2019-01-30 18:11:13 +08:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
Ivan Grokhotkov
6091021e83
unity: separate common and IDF specific functionality
...
New unity component can be used for testing other applications.
Upstream version of Unity is included as a submodule.
Utilities specific to ESP-IDF unit tests (partitions, leak checking
setup/teardown functions, etc) are kept only in unit-test-app.
Kconfig options are added to allow disabling certain Unity features.
2018-11-19 12:36:31 +08:00
Ivan Grokhotkov
d28c99d36c
esp_event: lower test performance threshold for PSRAM config
2018-11-01 13:50:08 +08:00
Renz Christian Bagaporo
5a83347bec
event: Implement event loop library
2018-10-26 13:14:19 +08:00