Commit graph

13524 commits

Author SHA1 Message Date
Michael (XIAO Xufeng)
f9f617cd4f ci: fix the issue that build_docs label has to be used with regular_test
The deploy_docs_preview used to be in the last stage (deploy), which is
later than the post_check. However the label check in the post_check
stage will fail when build_docs is used without regular test. Move the
deploy_docs_preview to new earlier stage (test_deploy) to fix this.

Also move related job `clang_tidy_deploy` there.
2020-06-12 10:59:46 +08:00
Mahavir Jain
d0b27b1649 Merge branch 'bugfix/update_example_tests' into 'master'
Update OTA example tests to make it compatible with python3

Closes IDF-1635

See merge request espressif/esp-idf!8917
2020-06-09 22:49:32 +08:00
Shubham Kulkarni
c287ca1363 example_test.py: Update OTA example tests to make it compatible with python3 2020-06-09 11:58:35 +00:00
Ivan Grokhotkov
b8f5d2e466 Merge branch 'bugfix/export_sh_in_dash' into 'master'
tools: export.sh: fix compatibility with dash shell

See merge request espressif/esp-idf!9107
2020-06-09 17:58:27 +08:00
Ivan Grokhotkov
432c6fc164 Merge branch 'bugfix/check_python_deps_diagnostic' into 'master'
tools: fix diagnostic output in check_python_dependencies.py

See merge request espressif/esp-idf!9106
2020-06-09 17:58:04 +08:00
Ivan Grokhotkov
4712392161 tools: export.sh: fix compatibility with dash shell
* fix constructs invalid in dash
* clean shellcheck warnings and disable false positive ones

Closes https://github.com/espressif/esp-idf/issues/5366
2020-06-08 19:33:00 +02:00
Ivan Grokhotkov
1727306645 tools: fix diagnostic output in check_python_dependencies.py
If IDF_PYTHON_ENV_PATH was not set, an exception occurred:

Traceback (most recent call last):
  File "/home/user/esp/esp-idf/tools/check_python_dependencies.py", line 108, in <module>
    if idf_python_env_path not in sys.executable:
TypeError: 'in <string>' requires string as left operand, not NoneType

and the final line in the diagnostic message was not printed.
Fix to print the PATH if IDF_PYTHON_ENV_PATH is not set.
2020-06-08 18:14:39 +02:00
Ivan Grokhotkov
011379dbb5 Merge branch 'bugfix/tools_filename' into 'master'
idf_tools: adds .tgz as alowed extension

See merge request espressif/esp-idf!9103
2020-06-08 23:20:33 +08:00
Krzysztof Budzynski
f17b4763e0 Merge branch 'doc/structures_enum4style_guide' into 'master'
Doc/structures enum4style guide

See merge request espressif/esp-idf!7140
2020-06-08 22:05:56 +08:00
Felipe Neves
674a070a0d idf_tools: adds .tgz as alowed extension 2020-06-08 10:34:05 -03:00
Krzysztof Budzynski
d3a400c159 Merge branch 'feature/freertos_authentic_includes_docs' into 'master'
docs: Added ORIG_INCLUDE_PATH description to the doc

See merge request espressif/esp-idf!6889
2020-06-08 18:24:57 +08:00
Ivan Grokhotkov
e3640301ee Merge branch 'bugfix/cleanup_ext0_wakeup_setup' into 'master'
esp32: disable ext0 wakeup source after test

Closes IDF-1660

See merge request espressif/esp-idf!8745
2020-06-08 15:57:54 +08:00
Ivan Grokhotkov
7283b99c97 Merge branch 'feature/dfu_select_device' into 'master'
Add ability to select a device for DFU flashing

Closes IDF-1652

See merge request espressif/esp-idf!8956
2020-06-08 15:55:04 +08:00
Ivan Grokhotkov
58e1100473 Merge branch 'bugfix/cast_int_to_size_t_in_cpu_ll' into 'master'
soc: cast int to size_t in cpu_ll

Closes IDFGH-3352

See merge request espressif/esp-idf!9077
2020-06-08 15:40:42 +08:00
Jiang Jiang Jian
ee5a630ee6 Merge branch 'bugfix/esp32_can_not_scan_ap_after_restart' into 'master'
wifi: upadte esp32 phy lib to 4182

Closes WIFI-2433

See merge request espressif/esp-idf!9073
2020-06-08 14:38:18 +08:00
Jiang Jiang Jian
82448f1bc1 Merge branch 'bugfix/supplicant_mbedtls_rsa_apis' into 'master'
wpa_supplicant: Replace internal RSA APIs by mbedtls APIs

See merge request espressif/esp-idf!8099
2020-06-08 14:37:33 +08:00
Michael (XIAO Xufeng)
1a6191debe Merge branch 'bugfix/fix_ledc_unable_to_work_in_light_sleep_mode' into 'master'
bugfix (Ledc):  fix the bug that ledc low-speed channel can not work when chip in light-sleep mode

See merge request espressif/esp-idf!8392
2020-06-08 14:25:43 +08:00
kapil.gupta
1cabd06f0c wpa_supplicant: Replace internal RSA APIs by mbedtls APIs
Curretly wpa_supplicant uses internal APIs for RSA operations
which internally uses lots of big num operations.

Big num operations are CPU expensive and can take a lot of time
which can cause watchdog timer to tigger.

This can be optimize by using mbedtls APIs which uses
hardware blocks for big num operations.

To fix this, write new crypto_mbedtls-rsa.c which has APIs
similar to crypto_internal-rsa.c but uses mbedtls APIs.
2020-06-07 15:31:12 +00:00
Ivan Grokhotkov
8526cb577c Merge branch 'bugfix/coredump_workaround_esp32s2_sha256_support' into 'master'
Limit coredump SHA256 support for ESP32 only

See merge request espressif/esp-idf!8817
2020-06-05 22:14:46 +08:00
zhangyanjiao
6f5e9398f7 esp_wifi: upadte esp32 phy lib to 4182
Closes https://github.com/espressif/esp-idf/issues/5323
2020-06-05 17:07:18 +08:00
Mahavir Jain
790aecfc6a Merge branch 'feature/get_chunk_length' into 'master'
esp_http_client: Add API to get chunk length

Closes IDFGH-3319

See merge request espressif/esp-idf!9074
2020-06-05 15:06:26 +08:00
Jiang Jiang Jian
55b319e1ae Merge branch 'bugfix/authmode_degrade_fix' into 'master'
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold

Closes WIFI-2328

See merge request espressif/esp-idf!8708
2020-06-05 14:01:26 +08:00
Shubham Kulkarni
de5ee9cc80 esp_http_client: Add API to get chunk length in case of chunked responses
Closes: https://github.com/espressif/esp-idf/issues/5302
2020-06-05 09:57:32 +05:30
Anton Maklakov
e947db6b5c Merge branch 'bugfix/sntp_example_test' into 'master'
Fix SNTP example test to match pattern

See merge request espressif/esp-idf!9053
2020-06-05 09:57:42 +08:00
Roland Dobai
1f05da9cfa Fix SNTP example test to match pattern 2020-06-04 13:46:47 +00:00
kapil.gupta
179292f9b3 esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of  WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-04 17:54:26 +05:30
Angus Gratton
7270c921be Merge branch 'bugfix/idf_as_lib_not_in_top_level' into 'master'
CMake: Fix issue when `idf_build_process` is called from a subdirectory

Closes IDF-1651

See merge request espressif/esp-idf!8722
2020-06-04 16:51:55 +08:00
Angus Gratton
8b692c85f1 Merge branch 'test/move_rom_unit_test' into 'master'
move rom unit test && enable intr_alloc test on esp32s2

See merge request espressif/esp-idf!8263
2020-06-04 16:47:25 +08:00
Angus Gratton
9d52318683 Merge branch 'doc/ds_S2' into 'master'
DOC: DS documentation for S2

See merge request espressif/esp-idf!8450
2020-06-04 16:36:13 +08:00
Krzysztof Budzynski
cfadc65073 Merge branch 'docs/hal_and_ll' into 'master'
Add documentation about ESP-IDF Hardware Abstraction (HAL and LL)

Closes IDF-1198

See merge request espressif/esp-idf!9030
2020-06-04 16:33:40 +08:00
Angus Gratton
3b20e73b67 Merge branch 'bugfix/bootloader_header_align' into 'master'
bootloader: Force bootloader_image_hdr to be word aligned

See merge request espressif/esp-idf!9020
2020-06-04 16:21:12 +08:00
Darian Leung
e61bbbcb61 Add HAL and LL documentation
This commit adds docuemntation regarding Hardware
Abstraction in ESP-IDF.
2020-06-04 15:02:49 +08:00
Jiang Jiang Jian
c1bbc94e9d Merge branch 'bugfix/esp32s2_airkiss_fail' into 'master'
fix the bug that ESP32S2 can't receive AMPDU when airkiss

Closes ESPCS-380 and WIFI-2369

See merge request espressif/esp-idf!8740
2020-06-04 11:44:17 +08:00
Jakob Hasse
516680a4ff Doc: DS documentation for S2 2020-06-04 10:49:22 +08:00
David Čermák
d3588f53a7 Merge branch 'feature/pin_ethernet_task_to_core' into 'master'
ethernet: support pin emac task to core

Closes IDFGH-3383

See merge request espressif/esp-idf!8953
2020-06-03 22:26:03 +08:00
Island
b2a0e63ca8 Merge branch 'bugfix/ble_mesh_remove_relay_dependency' into 'master'
ble_mesh: Remove relay option dependency

See merge request espressif/esp-idf!9024
2020-06-03 15:20:24 +08:00
Island
ae2898f12e Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check' into 'master'
ble_mesh: Rework prov pdu length check

See merge request espressif/esp-idf!8993
2020-06-03 15:10:14 +08:00
morris
2ccdd7eb10 intr_alloc: using isr version of critical section 2020-06-03 13:16:13 +08:00
morris
d70961ad58 esp32s2: add more unit test for esp32s2
Most of the test cases are copied from esp32
add int_alloc test
add delay test
add random test
2020-06-03 13:16:13 +08:00
morris
783779c870 esp_rom: move rom api test into esp_rom component 2020-06-03 13:16:13 +08:00
Angus Gratton
bea6590b07 Merge branch 'bugfix/app_trace_pins_for_esp32s2' into 'master'
example: update app_trace example

See merge request espressif/esp-idf!8343
2020-06-03 13:01:32 +08:00
Michael (XIAO Xufeng)
099f2706aa Merge branch 'bugfix/fix_adc_dac_conflict' into 'master'
Driver(adc): Disable the synchronization operation function of ADC1 and DAC

Closes IDF-1585

See merge request espressif/esp-idf!8364
2020-06-03 12:41:50 +08:00
Michael (XIAO Xufeng)
1a1b0574ac Merge branch 'bugfix/fix_fifo_cnt_bug' into 'master'
bugfix(uart): fix esp32 uart  fifo_cnt bug

See merge request espressif/esp-idf!8974
2020-06-03 11:44:39 +08:00
xiongyu
eea38d7698 bugfix(uart): fix esp32 fifo_cnt bug
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-02 21:38:31 +08:00
lly
5ced2206b4 ble_mesh: Remove relay option dependency
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-06-02 19:05:16 +08:00
Michael (XIAO Xufeng)
d2bb1e1b75 Merge branch 'bugfix/fix_adc_dac_driver_ut' into 'master'
Driver(adc): fix adc driver and UT

See merge request espressif/esp-idf!8482
2020-06-02 17:46:45 +08:00
Jiang Jiang Jian
c807e9f6af Merge branch 'bugfix/enable_esp32s2_wifi_example' into 'master'
esp_wifi: re-enable build wifi example

Closes WIFI-2384

See merge request espressif/esp-idf!8991
2020-06-02 17:38:22 +08:00
Chen Jian Xing
ebb2caa940 esp_wifi: re-enable build wifi example 2020-06-02 17:38:22 +08:00
Angus Gratton
e6151c4394 bootloader: Force bootloader_image_hdr to be word aligned
Possible due to linker order for this file to be placed unaligned,
causing failure from bootloader_flash_read() function.
2020-06-02 18:13:37 +10:00
Renz Bagaporo
8f8e00ee6c esp32: disable ext0 wakeup source after test 2020-06-02 07:48:07 +00:00