Angus Gratton
6a6fbde83d
esp32 hwcrypto: Prevent esp_sha() from disabling interrupts for extended period
...
* Closes https://github.com/espressif/esp-idf/issues/3127
* Closes IDFGH-681
Also reported at https://esp32.com/viewtopic.php?f=13&t=9506
2019-03-14 05:56:06 +00:00
Angus Gratton
981585df95
Merge branch 'feature/github_sync_prs_jira' into 'master'
...
github: Sync PRs to JIRA as well
See merge request idf/esp-idf!4487
2019-03-14 13:53:10 +08:00
Angus Gratton
d6a2590e40
Merge branch 'ci/print_error_label_check' into 'master'
...
ci: Print an error in the log if the label check fails
See merge request idf/esp-idf!4485
2019-03-14 11:37:20 +08:00
Angus Gratton
d0739861e8
github: Sync PRs to JIRA as well
...
Currently the GitHub sync half-syncs these (as it will create a JIRA issue as soon as the first
comment is made on the PR).
2019-03-14 14:29:46 +11:00
Angus Gratton
31ca6e399b
Merge branch 'bugfix/mdns_add_remove_multiple_srv_master' into 'master'
...
mdns: fix possible crash if tx packet contained answer to removed service
Closes IDF-498 and IDF-504
See merge request idf/esp-idf!4348
2019-03-14 08:10:23 +08:00
Angus Gratton
3bfb0d86e3
ci: Print an error in the log if the label check fails
...
One less step for a developer to figure out why this failed.
2019-03-14 10:15:49 +11:00
Angus Gratton
974796fa6c
Merge branch 'bugfix/remove_malloc_ble_prov' into 'master'
...
Protocomm BLE: Make changes in handling BLE read/write requests
See merge request idf/esp-idf!4444
2019-03-14 07:08:50 +08:00
Krzysztof Budzynski
16b2fd2dce
Merge branch 'doc/review_get_started' into 'master'
...
Update IDF getting started sections for make and cmake as well as IDF monitor…
See merge request idf/esp-idf!4331
2019-03-14 00:10:26 +08:00
Kirill Chalov
49cca9288f
Update IDF getting started sections for make and cmake as well as IDF monitor…
2019-03-14 00:10:26 +08:00
Ivan Grokhotkov
d34ca0b897
Merge branch 'test/fix_some_ut_not_assigned' into 'master'
...
test: fix some ut case not assigned
See merge request idf/esp-idf!4449
2019-03-13 20:42:24 +08:00
David Cermak
265e983a45
mdns: fix possible crash when probing on particular interface with duplicated service instances due to naming conflicts on network
...
Issue: MDNS server initially sends probing packets to resolve naming confilicts with already registered service instances. In case of a conflict, instance name is altered and probing restarts. Original instance however wasnnot removed from the structure and upon service removal only one entry was removed and a dangling service might have been kept in the structure to bring about a crash.
Resolution: Keep only one instance of a service in the probing structure.
Closes IDF-498
2019-03-13 10:22:41 +01:00
David Cermak
c87f0cb6ca
mdns: enable pcbs before starting service thread to avoid updating pcb's internal variables from concurent tasks
...
possible race condition: user task runs mdns_init, which enables pcbs while mdns-task already created could execute enable/disable of the same pcbs if an appropriate system event received
2019-03-13 10:22:41 +01:00
David Cermak
48b5501c25
mdns: fix possible deadlock on mdns deinit calling mdns_free()
...
mnds_free() initiates stop and delete timer tasks, which after locking the mutex could lead to a dead lock in case timer task executed before deleting the task, as it would wait indefinitelly for unlocking the mutex. This condition is fixed by calling _mdns_stop_timer without locking the mutex, because there's no need to protect any data when stopping and deleting the timer task
Closes https://github.com/espressif/esp-idf/issues/1696
2019-03-13 10:22:41 +01:00
David Cermak
021dc5d453
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 10:22:41 +01:00
David Cermak
67051a286b
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 10:22:41 +01:00
Jiang Jiang Jian
75287eb569
Merge branch 'feature/btdm_add_adv_report_flow_control' into 'master'
...
Component/bt: add BLE adv report flow control
See merge request idf/esp-idf!4423
2019-03-13 16:58:07 +08:00
Ivan Grokhotkov
7541d23523
Merge branch 'feat/spi_master_variable_dummy' into 'master'
...
spi_master: add support for variable dummy length in a same device
See merge request idf/esp-idf!4360
2019-03-13 15:15:58 +08:00
Ivan Grokhotkov
e77540b695
Merge branch 'test/spi_sio_test' into 'master'
...
spi: add test for sio mode
See merge request idf/esp-idf!3416
2019-03-13 15:15:43 +08:00
Angus Gratton
5107f9f9b2
Merge branch 'bugfix/confgen_expr_value' into 'master'
...
confgen: Fix bug with JSON metadata conditional range generation
See merge request idf/esp-idf!4402
2019-03-13 13:54:17 +08:00
Angus Gratton
fa5bc5d58b
Merge branch 'bugfix/ssid_passwords_null_terminated' into 'master'
...
wifi: Specify that SSID & Password fields should be NULL terminated strings
See merge request idf/esp-idf!4468
2019-03-13 13:29:09 +08:00
Angus Gratton
710bcbd447
Merge branch 'feature/freertos_check_mutex_owner' into 'master'
...
freertos: check that mutex is released by owner task
See merge request idf/esp-idf!4012
2019-03-13 13:15:34 +08:00
Angus Gratton
961e433395
Merge branch 'bugfix/spi_flash_exclude_encrypted' into 'master'
...
esp_partition: disable encrypted reads/writes if flash encryption is disabled
See merge request idf/esp-idf!4099
2019-03-13 13:15:24 +08:00
Angus Gratton
f44dcf4878
Merge branch 'bugfix/macros_trailing_semicolon' into 'master'
...
Remove trialing semicolon from function-like macros
See merge request idf/esp-idf!4397
2019-03-13 13:15:12 +08: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
79d37b75f3
wifi: Specify that SSID & Password fields should be NULL terminated strings
...
Closes https://github.com/espressif/esp-idf/issues/1176
2019-03-13 11:44:41 +11: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
zhiweijian
d5f15a45ca
Component/bt: add BLE adv report flow control
2019-03-12 11:10:26 +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
1bc1fb7005
ci: add one more unit test job
2019-03-11 14:40:54 +00:00
Ivan Grokhotkov
37144dfa07
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-11 14:40:54 +00:00
Ivan Grokhotkov
d539183b40
esp32: use binary semaphore instead of mutex in dport tests
2019-03-11 14:40:54 +00:00
Ivan Grokhotkov
13523c95b4
freertos: check that mutex is released by owner task
...
Mutex type semaphores should be acquired and released by the same task.
Add a check to xQueueGenericSend for this condition.
2019-03-11 14:40:54 +00:00
Hrishikesh Dhayagude
ce065f1a4f
Protocomm BLE: Make changes in handling BLE read/write requests
...
1. Remove unwanted malloc during BLE send response
2. Populate the missing parameters in the response - handle, offset, auth_req
2019-03-11 19:39:26 +05:30
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
He Yin Ling
ee7dd2c128
test: fix some ut case not assigned:
...
we didn't remove UT case file correctly for cmake build. even we use
artifact from make jobs, cmake case file will be used to assign test.
2019-03-11 09:44:47 +00: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