Renz Christian Bagaporo
9eccd7c082
components: use new component registration api
2019-06-21 19:53:29 +08:00
Angus Gratton
9909206b16
Merge branch 'bugfix/malloc_warnings_event_loop' into 'master'
...
esp_event: fix possible malloc free issues found by static analyzer
See merge request idf/esp-idf!5142
2019-06-13 10:10:26 +08:00
Jiang Jiang Jian
5ae151308b
Merge branch 'bugfix/fix_some_wps_bugs' into 'master'
...
wps: add overlap event
Closes WIFI-517
See merge request idf/esp-idf!5022
2019-06-12 14:35:52 +08:00
David Cermak
bd537083d9
esp_event: fix possible malloc free issues found by static analyzer
2019-06-10 13:10:34 +00:00
Renz Christian Bagaporo
af3a2f3aba
esp_event: fix placement issue when building with make
...
The CMake build uses the linker fragment file to place functions in IRAM
on certain configurations. This commit does that for Make as well.
2019-06-10 19:38:55 +08:00
xiehang
2503af2464
wps: add overlap event
...
modify some header files to be consistent with vnc
2019-06-06 13:16:20 +08:00
Angus Gratton
045aaf6fb0
Merge branch 'feature/add_xxx_periph_h' into 'master'
...
soc: Add xxx_periph.h for all modules
Closes IDF-192
See merge request idf/esp-idf!4952
2019-06-04 13:24:14 +08:00
Konstantin Kondrashov
399d2d2605
all: Using xxx_periph.h
...
Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... .
Cleaned up header files from unnecessary headers (releated to soc/... headers).
2019-06-03 14:15:08 +08:00
David Cermak
37c91133ff
esp_event: fix minor memory leak when overwriting alredy registered handler
2019-05-31 08:31:06 +02:00
David Cermak
a38b50a8a9
esp_event: extend register/unregister test case to cover overwriting existing handler works as expected
2019-05-31 08:31:06 +02:00
Renz Christian Bagaporo
8ed07d0bb2
esp_event: check that event data is prepared properly
2019-05-22 11:30:27 +08:00
Renz Christian Bagaporo
136e5bc32d
esp_event: style fixes
2019-05-22 11:29:56 +08:00
Renz Christian Bagaporo
4042902402
esp_event: always alloc data when not posting from isr
2019-05-22 11:29:17 +08:00
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