David Cermak
e8bcda3512
mdsn: fix race condition in updating packet data from user task when failed to allocate or queue a new service
...
Issue: mdns_service_add API allocates and queues an action to be processed in mdns task context; when allocation or queueing fails, allocated structure needs to be freed. Function _mdns_free_service did not only fee all the structures, but also updates packet data.
Resolution: Moved removal of packet data outside of _mdns_free_service function.
2019-03-13 16:09:51 +01:00
David Cermak
35a30072f4
mdns: fix possible crash when packet scheduled to transmit contained service which might have been already removed
...
packets scheduled to transmit are pushed to action queue and removed from tx_queue_head structure, which is searched for all remaining services and while service is removed, then service questions/asnwers are also removed from this structure. This update fixes possible crash when packet is pushed to action queue, and when service is removed, its answers are removed from tx_queue_head, but not from action queue. this could lead to a crash when the packet is poped from action queue containing questions/answers to already removed (freed) service
Closes IDF-504
2019-03-13 16:09:41 +01:00
Jiang Jiang Jian
edb0374b9d
Merge branch 'feature/btdm_add_adv_report_flow_control_v3.3' into 'release/v3.3'
...
Component/bt: add BLE adv report flow control(Backport v3.3)
See merge request idf/esp-idf!4471
2019-03-13 21:23:09 +08:00
Angus Gratton
78539acdd1
Merge branch 'bugfix/confgen_expr_value_v3.3' into 'release/v3.3'
...
confgen: Fix bug with JSON metadata conditional range generation (v3.3)
See merge request idf/esp-idf!4469
2019-03-13 16:54:48 +08:00
zhiweijian
a1546e0714
Component/bt: add BLE adv report flow control
2019-03-13 14:58:32 +08:00
Angus Gratton
8ff6afd29f
confgen: Fix bug with JSON metadata conditional range generation
...
When generating JSON metadata for ranges where there are conditional ranges (ie different allowed range
depending on another config setting), the JSON metadata would always have the last named range as
the expression was not evaluated properly.
Thanks to ulfalizer on GitHub for pointing this out.
Closes https://github.com/espressif/esp-idf/issues/2195
2019-03-13 16:48:57 +11:00
Angus Gratton
e18c7cb98d
Merge branch 'bugfix/mdns_incorrect_semaphore_use' into 'master'
...
mdns: use binary semaphore instead of mutex when searching
See merge request idf/esp-idf!4464
2019-03-13 13:11:45 +08:00
Angus Gratton
8120efc6ed
Merge branch 'bugfix/modify_dhcpserver_and_tcpip_adapter' into 'master'
...
modify the behavior for dhcpserver and tcpip_adapter
Closes IDFGH-557 and IDFGH-563
See merge request idf/esp-idf!4453
2019-03-13 12:54:55 +08:00
Angus Gratton
76fd26c9fb
Merge branch 'bugfix/build_fails_when_editor_assoc_with_py_scripts' into 'master'
...
Fix issues with CMake builds when python scripts are associated with an editor
See merge request idf/esp-idf!4459
2019-03-13 07:47:27 +08:00
Angus Gratton
b6ddebb861
Merge branch 'bugfix/blink-increase-task-size' into 'master'
...
examples: Increase task size for blink demo
See merge request idf/esp-idf!4342
2019-03-13 07:44:48 +08:00
Renz Christian Bagaporo
5fb1c1ad3e
ci: test full build never runs '/usr/bin/env python' or similar
2019-03-12 17:26:54 +08:00
Ivan Grokhotkov
eef0b5090a
mdns: use binary semaphore instead of mutex when searching
...
mdns_search_once_t::lock is used to synchronize tasks (taken by one
task and given by the other) so it should not be a mutex.
Convert to semaphore, and rename to indicate its purpose.
2019-03-12 09:33:06 +01:00
Renz Christian Bagaporo
d0b2d5ec95
cmake: Fix for Python files executed directly, not via PYTHON variable
...
A problem if the Python interpreter used for idf.py (or set via PYTHON
variable) didn't match
"/usr/bin/env python" (or the associated executable for .py files, on
Windows).
Closes https://github.com/espressif/esp-idf/issues/3160
Possibly also fix for https://github.com/espressif/esp-idf/issues/2936
Adds build system test to catch any future direct execution of Python in
the standard build process.
2019-03-12 13:31:44 +08:00
Angus Gratton
86c9b63546
Merge branch 'feature/sync_issues_to_jira' into 'master'
...
github: Add workflow file to sync issues to JIRA
See merge request idf/esp-idf!4443
2019-03-12 06:31:48 +08:00
Angus Gratton
2f83aea8f3
Merge branch 'bugfix/freemodbus_remove_critical_section' into 'master'
...
freemodbus: Fix remove critical_sections
See merge request idf/esp-idf!4289
2019-03-12 06:30:50 +08:00
Ivan Grokhotkov
fc4823c885
Merge branch 'bugfix/coredump_improvements_refactoring_delete_include' into 'master'
...
esp32: coredump refactoring fix bug (remove duplicated include)
See merge request idf/esp-idf!4328
2019-03-11 19:00:39 +08:00
Angus Gratton
79ca95ddf6
Merge branch 'doc/jtag_debug_zh_CN' into 'master'
...
zh_CN translation of JTAG debugging
See merge request idf/esp-idf!3709
2019-03-11 16:35:04 +08:00
Angus Gratton
9679be19c5
Merge branch 'bugfix/efuse_virtual_mode' into 'master'
...
efuse: When Virtual eFuses are enabled, seed the virtual values as part of startup code
Closes WIFI-338
See merge request idf/esp-idf!4454
2019-03-11 16:33:32 +08:00
Angus Gratton
048b405296
Merge branch 'bugfix/doc_ubuntu_packages' into 'master'
...
docs: Update package dependencies
Closes IDFGH-360
See merge request idf/esp-idf!4406
2019-03-11 15:53:57 +08:00
Angus Gratton
de7daa14a9
Merge branch 'bugfix/msys_cancel_idfpy' into 'master'
...
tools: re-run idf.py in MSYS with winpty
Closes #67
See merge request idf/esp-idf!4341
2019-03-11 12:27:36 +08:00
Angus Gratton
af1ea9b1b9
efuse: When Virtual eFuses are enabled, seed the virtual values as part of startup code
2019-03-11 15:20:40 +11:00
zhangyanjiao
27cc0d1f91
modify the behavior for dhcpserver and tcpip_adapter:
...
1. dhcp_server: suppress send_offer debug output
2. tcpip_adapter: zero-initialize system_event_t structures
3. tcpip_adapter: pass client IP address along with SYSTEM_EVENT_AP_STAIPASSIGNED
Closes https://github.com/espressif/esp-idf/issues/2924
Closes https://github.com/espressif/esp-idf/issues/2949
2019-03-11 12:11:05 +08:00
He Yin Ling
f42ae05d1e
Merge branch 'test/fix_unit_test_job_pass_even_no_test_executed' into 'master'
...
test: fix CI UT job pass even ut app bootup fail
See merge request idf/esp-idf!4208
2019-03-11 10:19:15 +08:00
He Yin Ling
8f3fe52b5a
test: temp disable spi master slave mode test
2019-03-10 06:21:37 +00:00
He Yin Ling
1a9f019d2a
unit-test-app: increase factory partition size
2019-03-10 06:21:37 +00:00
He Yin Ling
323a790f01
test: fix CI UT job pass even ut app bootup fail
2019-03-10 06:21:37 +00:00
Jiang Jiang Jian
09e72776dc
Merge branch 'bugfix/autoip_memoey_leak_debug' into 'master'
...
fix the bug in auto Ip memory leak
See merge request idf/esp-idf!4395
2019-03-08 19:54:25 +08:00
aleks
13e1c0b32f
esp32: coredump header (fix linker.lf)
...
remove duplicated include from components/esp32/incliude/esp_core_dump.h
espcoredump/incliude/esp_core_dump.h:
fix signature of the functions esp_core_dump_to_uart() and esp_core_dump_to_uart();
add espcoredump into COMPONENT_PRIV_REQUIRES list
fix linker.lf file
2019-03-08 09:49:37 +00:00
Angus Gratton
d0e3564603
github: Add workflow file to sync issues to JIRA
2019-03-08 18:39:30 +11:00
Angus Gratton
bba89e1514
Merge branch 'bugfix/console_join_example' into 'master'
...
console: fix wrong timeout settiing in join command
Closes IDF-168
See merge request idf/esp-idf!4366
2019-03-08 12:02:57 +08:00
Angus Gratton
3a410d6a3d
Merge branch 'bugfix/httpd_sess_ctx' into 'master'
...
esp_http_server: Provide apps an option to let http_server ignore sess_ctx changes
See merge request idf/esp-idf!4417
2019-03-08 06:55:44 +08:00
Roland Dobai
ef250ced1b
tools: re-run idf.py in MSYS with winpty
...
This is done in order to cancel subprocesses on keyboard interrupt
(CTRL+C).
2019-03-07 14:47:19 +01:00
Roland Dobai
f0194f2a5e
docs: Update package dependencies
...
Closes https://github.com/espressif/esp-idf/issues/2384
2019-03-07 14:46:59 +01:00
aleks
aaa1cb6eec
freemodbus: change critical sections to semaphore mutex
...
revert changes made in mbrtu.c, mbascii.c
change critical section type to semaphore mutex instead of spin lock
Closes: https://github.com/espressif/esp-idf/issues/3009
2019-03-07 09:59:40 +01:00
Konstantin Kondrashov
1ef7d093e1
freemodbus: Fix remove critical_sections
...
Closes: https://github.com/espressif/esp-idf/issues/3009
2019-03-07 08:00:45 +00:00
Ivan Grokhotkov
5f3bd38d3d
Merge branch 'bugfix/cmakeSpaceProcessForCOMPONENT_SRCS' into 'master'
...
add spaces2list for COMPONENT_SRCS
See merge request idf/esp-idf!4427
2019-03-07 15:11:51 +08:00
Anton Maklakov
5156645348
Merge branch 'bugfix/ci_submodule_paths' into 'master'
...
CI - Fix the parsing of submodule paths
See merge request idf/esp-idf!4429
2019-03-07 13:58:04 +08:00
morris
9297b07a97
cmake: add spaces2list for COMPONENT_SRCS
...
According to ESP-IDF Cmake build system document, COMPONENT_SRCS should support using spaces to sperate source files.
Closes https://github.com/espressif/esp-idf/issues/3130
2019-03-06 20:55:38 +08:00
Anton Maklakov
88ec05cba2
ci: Fix the parsing of submodule paths
2019-03-06 19:37:34 +08:00
morris
378f8f72f0
console: fix wrong timeout settiing in join command
...
1. Fix wrong timeout setting in join command, also alter the default timeout value to 10 seconds
2. Don't clear the CONNECTED_BIT when connected to AP.
2019-03-06 18:25:10 +08:00
Ivan Grokhotkov
ea0a1c3030
Merge branch 'bugfix/docs_PROJECT_VER' into 'master'
...
Updated documentation concerning 'PROJECT_VER' and 'PROJECT_NAME'.
See merge request idf/esp-idf!4410
2019-03-06 17:29:10 +08:00
xiehang
b88b9f4e03
fix the bug in auto Ip memory leak
...
Closes https://jira.espressif.com:8443/browse/WIFI-266
2019-03-06 14:44:06 +08:00
Jiang Jiang Jian
c1e50c8a27
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID' into 'master'
...
Component/bt: fix iOS and win10 compatibility error for HID
See merge request idf/esp-idf!4396
2019-03-06 14:11:38 +08:00
Ivan Grokhotkov
42c906140e
Merge branch 'bugfix/level5_intr_alloc' into 'master'
...
esp32: esp_intr_alloc: Fixed issue with level 5 not being called
Closes IDFGH-616
See merge request idf/esp-idf!4405
2019-03-06 11:18:36 +08:00
Ivan Grokhotkov
d474018725
Merge branch 'feature/gdbstub_task_list' into 'master'
...
Add support for listing tasks to gdb in gdbstub
Closes IDFGH-498
See merge request idf/esp-idf!4357
2019-03-06 11:12:46 +08:00
Ivan Grokhotkov
ff020c3a18
Merge branch 'docs/correct_typos_in_interrupt_handling_docs' into 'master'
...
docs: fix typo and link in high level interrupt documentation
See merge request idf/esp-idf!4419
2019-03-06 11:11:43 +08:00
krzychb
88b153fcf7
Fixed fancy quotes
2019-03-05 19:21:50 +01:00
krzychb
e243ee972d
Updated documentation concerning 'PROJECT_VER' and 'PROJECT_NAME'.
...
Closes https://github.com/espressif/esp-idf/issues/3115 .
2019-03-05 19:21:50 +01:00
Jiang Jiang Jian
0f927791be
Merge branch 'bugfix/coex_decouple_wifi_and_bt_code_with_coexist' into 'master'
...
Decouple WiFi and BT with coexist to reduce bin size
Closes IDF-469
See merge request idf/esp-idf!4363
2019-03-05 15:14:16 +08:00
Ivan Grokhotkov
ddd08a6e13
Merge branch 'doc/add_build_system_cmake_translation' into 'master'
...
zh_CN translation of build system (cmake version)
See merge request idf/esp-idf!4122
2019-03-05 15:02:48 +08:00