Angus Gratton
11fac8637a
docs: Resolve doxygen & Sphinx warnings
2020-02-07 16:37:45 +11:00
Konstantin Kondrashov
739eb05bb9
esp32: add implementation of esp_timer based on TG0 LAC timer
...
Closes: IDF-979
2020-02-06 14:00:18 +08:00
Felipe Neves
429712c6eb
freertos: moved all xtensa specific files into a separated folder
2020-01-27 16:05:30 -03:00
michael
4220752aed
ut: Move tests back from "esp32" subfolder
...
DISABLED_FOR_TARGETS macros are used
Partly revert "ci: disable unavailable tests for esp32s2beta"
This partly reverts commit 76a3a5fb48
.
Partly revert "ci: disable UTs for esp32s2beta without runners"
This partly reverts commit eb158e9a22
.
Partly revert "fix unit test and examples for s2beta"
This partly reverts commit 9baa7826be
.
Partly revert "efuse: Add support for esp32s2beta"
This partly reverts commit db84ba868c
.
2020-01-06 17:13:53 +08:00
Geng Yu Chao
6c923cf330
Fix some typo in idf
2019-12-12 15:55:42 +08:00
xueyunfei
9894691e11
fix bug for netif add crash
2019-12-07 16:11:30 +08:00
Renz Christian Bagaporo
bb139d2b83
esp_event: fix possibility of null ptr dereference
...
Closes https://github.com/espressif/esp-idf/issues/4373
2019-11-25 14:27:10 +08:00
chenjianqiang
9f9da9ec96
feat(timer): refator timer group driver
...
1. add hal and low-level layer for timer group
2. add callback functions to handle interrupt
3. add timer deinit function
4. add timer spinlock take function
2019-11-21 14:14:19 +08:00
Ivan Grokhotkov
9a2af7ae33
global: remove gcc 5.2 support
2019-11-20 11:17:27 +01:00
David Cermak
eb94d87935
esp_netif: address failures on tcpip-task ipc call, deinit lwip netif and ip address issues
2019-11-13 12:36:25 +01:00
David Cermak
4366347fd4
esp_event: fix petty include dependency issue
2019-11-13 12:36:25 +01:00
David Cermak
ffe043b1a8
esp_netif: Introduction of esp-netif component as a replacement of tcpip_adpter
...
- provides object oriented access to network intefaces
- not limited to default netifs
- more generic abstraction to network input output functions
- event handler registration removed from component responsibility
- backward compatibility layer for legacy tcpip_apapter APIs
Closes IDF-39
2019-11-13 12:36:25 +01:00
Renz Christian Bagaporo
f356d54365
esp_event: revert changes in !5702
2019-11-03 16:19:30 +08:00
Angus Gratton
fbbcade397
Merge branch 'bugfix/handler_unregister_itself' into 'master'
...
esp_event: fix handler unregistering itself
See merge request espressif/esp-idf!6274
2019-10-30 12:00:49 +08:00
Renz Christian Bagaporo
1ed77e3a8d
esp_event: remove extra line from source file
2019-10-25 13:14:05 +08:00
Renz Christian Bagaporo
521f436315
esp_event: test that handlers can unregister themselves
2019-10-25 11:39:16 +08:00
Renz Christian Bagaporo
3c253295eb
esp_event: iterate loop nodes safely as well
2019-10-25 11:39:16 +08:00
Xentec
4c97906fc8
esp_event: fix crash when unregistering a handler instance in itself
...
When a handler instance is the last one in the list und unregisters
itself, the handler iterator will be invalidated by entering free'd
memory. Same applies for event base and id, if they become empty.
Merges https://github.com/espressif/esp-idf/pull/4139
2019-10-25 11:38:32 +08:00
Ivan Grokhotkov
569ad7545c
esp_event, mdns: fixes for CONFIG_ETH_ENABLED=n
2019-10-03 10:52:53 +02:00
Angus Gratton
438d513a95
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-16 16:18:48 +10:00
Michael (XIAO Xufeng)
76a3a5fb48
ci: disable unavailable tests for esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
9baa7826be
fix unit test and examples for s2beta
2019-09-04 10:53:25 +10:00
liu zhifu
003a9872b7
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
2019-08-20 09:39:51 +00:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
Michael (XIAO Xufeng)
264ffbeb14
timer_group: use the LL
2019-08-09 13:46:31 +08:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Mahavir Jain
a8535767e4
esp_event: add missing header include
...
Required header was indirectly getting resolved through lwip includes,
apparently does not work if application is not using lwip networking stack.
2019-07-26 13:58:26 +05:30
qiyuexia
a272e7204d
mesh: use new event library
2019-07-05 21:14:30 +08:00
suda-morris
90c4827bd2
add esp_eth component
2019-06-26 10:19:23 +08:00
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
Ivan Grokhotkov
dcaae4a5fc
esp32s2beta: convert some todos to warnings
2019-06-12 15:53:57 +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
Angus Gratton
ddbd09eb15
esp32/esp32s2beta: Extract common SPIRAM options into esp_commmon component
2019-06-11 13:07:37 +08:00
suda-morris
84b2f9f14d
build and link hello-world for esp32s2beta
2019-06-11 13:07:37 +08:00
suda-morris
61ce868396
make bootloader_support support esp32s2beta
2019-06-11 13:07:02 +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