Commit Graph

14583 Commits

Author SHA1 Message Date
Ivan Grokhotkov
00c3e0e8ec codeowners: fix directory patterns
The previous version used an incorrect /dir1/dir2 pattern to match the
content of dir2. The correct pattern should be /dir1/dir2/ (with the
trailing slash). This commit fixes these patterns.

Regarding codeowners.py:

'git ls-files' can not be used to correctly implement the logic of
CODEOWNERS file patterns, since it doesn't distinguish between
/path/* and /path/. The former pattern in CODEOWNERS file should only
match the files inside /path/, while the latter also matches files in
nested directories.

Because of this, the logic for evaluating patterns is re-implemented,
by converting CODEOWNERS patterns into regular expressions.
Gitlab CODEOWNERS parsing code was used as a reference, in addition to
the approach for converting glob patterns into regular expressions
proposed in https://stackoverflow.com/a/29354254.
2020-09-15 11:10:36 +02:00
Michael (XIAO Xufeng)
1a1e1911f9 Merge branch 'bugfix/spi_dma_close_before_cpu_reset' into 'master'
spi: fix issue with closing DMA before CPU reset

Closes FCS-484

See merge request espressif/esp-idf!9844
2020-09-14 23:02:05 +08:00
Michael (XIAO Xufeng)
286ccc600e Merge branch 'bugfix/spi_slave_hd_callback_judge' into 'master'
spi_slave_hd: Prevent NULL callback from being called

See merge request espressif/esp-idf!9998
2020-09-14 22:43:33 +08:00
Ivan Grokhotkov
767235ba6d Merge branch 'bugfix/coredump_temp_files_del' into 'master'
coredump: temp-files delete fix

See merge request espressif/esp-idf!9511
2020-09-14 16:05:28 +08:00
Krzysztof Budzynski
55ff8e1ee0 Merge branch 'feature/idf_format_warnings' into 'master'
docs: add sphinx warnings in format_idf_target

See merge request espressif/esp-idf!10147
2020-09-14 15:17:11 +08:00
Krzysztof Budzynski
e7ef5574b1 Merge branch 'bugfix/cmock_build_command_snippet' into 'master'
docs: Fix snippet with example cmake build command to create mocks

See merge request espressif/esp-idf!10430
2020-09-14 14:44:30 +08:00
Michael (XIAO Xufeng)
b65fd25458 Merge branch 'bugfix/update_link_hal_readme' into 'master'
hal: update link to HAL readme.md

See merge request espressif/esp-idf!10424
2020-09-14 13:26:30 +08:00
Michael (XIAO Xufeng)
b65d3e51aa Merge branch 'bugfix/add_return_in_uart_wait_tx_done' into 'master'
bugfix(UART): Add return in uart_wait_tx_done

See merge request espressif/esp-idf!10193
2020-09-14 10:37:17 +08:00
Ivan Grokhotkov
153c2e7406 Merge branch 'bugfix/ci_ulp_adc_more_info' into 'master'
CI: Fix regex in ulp_adc example test

Closes IDFCI-98

See merge request espressif/esp-idf!10407
2020-09-12 04:56:19 +08:00
Ivan Grokhotkov
38719fc7d7 Merge branch 'feature/ci_fix_docker_build' into 'master'
ci: Use git mirror for docker image

Closes IDFCI-126

See merge request espressif/esp-idf!10429
2020-09-12 04:19:08 +08:00
Krzysztof
900703b9cf docs: Fix snippet with example cmake build command to create mocks 2020-09-12 01:46:32 +08:00
Mahavir Jain
b18d8f1863 Merge branch 'bugfix/http_client_empty_headers' into 'master'
esp_http_client: Fix issue when response headers have empty value

Closes IDFGH-3613, IDFGH-3921, and IDFGH-3959

See merge request espressif/esp-idf!10035
2020-09-11 23:47:32 +08:00
Sergei Silnov
38dc0cc5f6 ci: Use git mirror for docker image 2020-09-11 16:27:20 +02:00
Mahavir Jain
ac7f7084bc Merge branch 'bugfix/returns_correct_flash_encryption_mode' into 'master'
bootloader: Fix esp_get_flash_encryption_mode()

Closes IDFGH-3841

See merge request espressif/esp-idf!10142
2020-09-11 18:37:33 +08:00
boarchuz
bf942a60f3 esp_http_client: add flush response
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Merges: https://github.com/espressif/esp-idf/pull/5845
Closes: https://github.com/espressif/esp-idf/issues/5814
2020-09-11 15:25:24 +05:30
Mahavir Jain
34d5b64a34 Merge branch 'task/nvs_util_file_handling' into 'master'
nvs_util: Update file I/O handling for error handling across various OS

See merge request espressif/esp-idf!10051
2020-09-11 17:52:02 +08:00
Roland Dobai
6358f3fb8a CI: Fix regex in ulp_adc example test 2020-09-11 10:45:41 +02:00
Krzysztof Budzynski
4547c0876a Merge branch 'feature/guide_change_for_catalina' into 'master'
docs: Add profile file name used by zsh shell

Closes DOC-325

See merge request espressif/esp-idf!10320
2020-09-11 16:42:30 +08:00
Ivan Grokhotkov
00072fe2e2 Merge branch 'ci/standalone_unit_test_app' into 'master'
CI: add standalone unit test app for esp_netif

See merge request espressif/esp-idf!10102
2020-09-11 15:50:54 +08:00
Marius Vikhammer
b2f390df01 hal: update link to HAL readme.md
The HAL readme was moved during refactoring, but links were not updated.
2020-09-11 15:48:08 +08:00
Krzysztof Budzynski
2b7466b2aa Merge branch 'bugfix/remove_shortcut_to_build_instructions' into 'master'
doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions

See merge request espressif/esp-idf!10268
2020-09-11 14:59:57 +08:00
Shivani Tipnis
d1f00e7c36 nvs_util: Update file I/O handling for error handling across various OS 2020-09-11 06:35:01 +00:00
Krzysztof Budzynski
d9202304cd Merge branch 'docs/update_freertos_additions_EN' into 'master'
docs: add more information on how to return an item to the ring buffer

See merge request espressif/esp-idf!10125
2020-09-11 14:32:40 +08:00
He Hui Zi
874876cbf9 docs: add more information on how to return an item to the ring buffer 2020-09-11 14:32:39 +08:00
Shubham Kulkarni
bb8981903e esp_http_client: Fix issue when response headers have empty value
Closes: https://github.com/espressif/esp-idf/issues/5553
2020-09-11 11:48:36 +05:30
KonstantinKondrashov
09af4a9fad bootloader: Fix esp_get_flash_encryption_mode(). RELEASE = (CRYPT_CNT == max) or (CRYPT_CNT.write_protect == true)
If the CRYPT_CNT efuse is max it means the same as a write protection bit for this efuse.

Closes: https://github.com/espressif/esp-idf/issues/5747
2020-09-11 04:20:23 +00:00
Island
9ac8b8739b Merge branch 'bugfix/ble_mesh_prov_iv_index' into 'master'
ble_mesh: stack: Using the latest iv_index for provisioning

See merge request espressif/esp-idf!10074
2020-09-11 10:51:45 +08:00
Anton Maklakov
d13ad9a5da Merge branch 'bugfix/fuzzer_test_update' into 'master'
mdns, ldns, dhcp, dhcps: update fuzzer test to work in CI

Closes IDF-1861

See merge request espressif/esp-idf!9763
2020-09-11 09:59:22 +08:00
Marius Vikhammer
c8cd68fbe6 docs: add sphinx warnings in format_idf_target
format_idf_target will now log sphinx warnings for any
{IDF_TARGET_X} that were not replaced.
2020-09-11 09:32:28 +08:00
lly
1037736300 ble_mesh: stack: Using the latest iv_index for provisioning
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 00:47:43 +00:00
suren.gabrielyan
a43c06a592 mdns, dns, dhcp, dhcps: update fuzzer test to work in CI
Closes: IDF-1861 and IDF-1990
2020-09-10 18:17:30 +00:00
David Čermák
6f7ae1d751 Merge branch 'bugfix/fix_netsuite_tx_wrap' into 'master'
CI: esp_netif tests: Fix netsuite driver layer per wifi optimization changes

See merge request espressif/esp-idf!10344
2020-09-11 02:15:56 +08:00
Krzysztof
b686e7d349 doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions 2020-09-11 01:43:21 +08:00
Krzysztof
156fe090be docs: Add profile file name used by zsh shell 2020-09-11 00:33:48 +08:00
Krzysztof Budzynski
0640181b46 Merge branch 'feature/explain_hello_world_files' into 'master'
docs: Add explanation of hello_world folder contents

Closes DOC-456

See merge request espressif/esp-idf!10319
2020-09-10 22:29:27 +08:00
Krzysztof Budzynski
2d4e0a4496 docs: Add explanation of hello_world folder contents 2020-09-10 22:29:24 +08:00
Ivan Grokhotkov
5a8e2c1f52 Merge branch 'bugfix/esp32_light_sleep_duration' into 'master'
sleep: fix esp32 light sleep duration

See merge request espressif/esp-idf!10377
2020-09-10 18:08:57 +08:00
Michael (XIAO Xufeng)
1cab54ff8d Merge branch 'test/esp_flash_performance_thr_s2' into 'master'
esp_flash: decrease performance threshold of ESP32-S2

See merge request espressif/esp-idf!10367
2020-09-10 17:56:20 +08:00
David Cermak
59471c9f3f CI: esp_netif tests: Fix netsuite driver layer per wifi optimization changes
esp-wifi introcuded wifi tx optimization in !9147 . Update needed in netsuite to pass the tx data using  function
2020-09-10 11:52:01 +02:00
Michael (XIAO Xufeng)
37e3f20252 Merge branch 'bugfix/esp_flash_write_temp_buffer_lifetime' into 'master'
esp_flash: fix write issue using buffer on stack out of lifetime

See merge request espressif/esp-idf!9932
2020-09-10 17:49:04 +08:00
Jiang Jiang Jian
74e932c73f Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory' into 'master'
components/bt: Fix SPP using NULL point with dynamic memory

Closes BT-1024

See merge request espressif/esp-idf!10188
2020-09-10 17:38:53 +08:00
Ivan Grokhotkov
b6467257b9 Merge branch 'feature/cmock_component' into 'master'
cmock as component replacing unity

See merge request espressif/esp-idf!9859
2020-09-10 16:06:20 +08:00
Michael (XIAO Xufeng)
baab55e230 esp_flash: decrease performance threshold of ESP32-S2
The data is based on 95% of minimal performance value from CI failure in the past 30 days.
2020-09-10 12:25:40 +08:00
Michael (XIAO Xufeng)
233b4720b4 esp_flash: fix write issue using buffer on stack out of lifetime 2020-09-10 03:17:39 +00:00
Ivan Grokhotkov
77afbd51ae sleep: fix esp32 light sleep duration
Commit aa43ed8 was fixing the light sleep overhead calculation for
ESP32-S2. However it also changed the overhead values for ESP32,
resulting in incorrect light sleep time. This caused regression in
light sleep example test.

Revert the original values for the ESP32, keep different set of values
for each chip.
2020-09-09 23:34:54 +02:00
Ivan Grokhotkov
3e6d1804a3 Merge branch 'bugfix/ulp_as_version' into 'master'
ulp: fix ULP assembler version detection for localized systems

See merge request espressif/esp-idf!10366
2020-09-10 04:24:51 +08:00
Krzysztof Budzynski
19c0d04446 Merge branch 'add-version-support-chart' into 'master'
docs: add chart of version support period to version.rst

Closes IDF-1708

See merge request espressif/esp-idf!10026
2020-09-10 00:43:16 +08:00
Ivan Grokhotkov
c284927222 Merge branch 'bugfix/eclipse_make_py3' into 'master'
tools: Fix Python 3 incompatibility for building with Eclipse on Windows

See merge request espressif/esp-idf!10369
2020-09-10 00:34:11 +08:00
Ivan Grokhotkov
287bfeb7fd Merge branch 'bugfix/parttool_example_test_fail' into 'master'
fix multiple example test failures

Closes IDFCI-39 and IDFCI-124

See merge request espressif/esp-idf!10350
2020-09-10 00:27:07 +08:00
Roland Dobai
edd7c1a2ee ulp: fix ULP assembler version detection for localized systems 2020-09-09 16:56:15 +02:00