Commit Graph

17153 Commits

Author SHA1 Message Date
Darian Leung
282f10d1bc freertos: Refactor xtensa port stack initialization code
This commit refactors the pxPortInitialiseStack() function of the xtensa
FreeRTOS ports (both IDF and SMP FreeRTOS).

- Each stack area is now separated into their own functions
- Each function will individually
    - Push the stack pointer to allocate the stack area
    - Initiaze the allocated stack area
- Each stack area's size and usage is now clearly documented in code
2022-10-09 14:48:30 +08:00
Wang Meng Yang
a5e19246df Merge branch 'bugfix/fix_gattc_disc_crash' into 'master'
Bluedroid: configurable max gattc cache characteristic count

See merge request espressif/esp-idf!19842
2022-10-09 11:31:59 +08:00
Armando
5fd4dbad12 esp_adc: improve adc continuous iram test aim
This commit increases adc continuous iram test period of cache disabling
time. Now time is: 1 second

- The aim of this test is to make sure the continuous mode driver ISR
callbacks can run in an IRAM-Safe context.
- Closing cache takes time. WHereas the code to close the cache is
updated. This time gets changed.
2022-10-09 02:35:22 +00:00
Zhi Wei Jian
1308ff3d21 Merge branch 'bugfix/fix_esp32_ble_assert_32' into 'master'
Fixed ESP32 BLE assert(32 0)

Closes BT-2809

See merge request espressif/esp-idf!20446
2022-10-08 21:51:50 +08:00
Zhi Wei Jian
3b20bc7adc Merge branch 'bugfix/eanble_bluedroid_host_adv_ind_report_individually' into 'master'
allow bluedroid host to report adv_ind separately

See merge request espressif/esp-idf!20305
2022-10-08 21:41:31 +08:00
Wang Meng Yang
0fa55c897f Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3' into 'master'
Fixed BLE lld_per_adv.c line 401 assert

Closes BT-2624

See merge request espressif/esp-idf!20447
2022-10-08 20:49:43 +08:00
chenjianhua
137a7cb592 bluedroid: configurable max gattc cache characteristic count 2022-10-08 17:47:17 +08:00
Michael (XIAO Xufeng)
8282dca796 Merge branch 'bugfix/fix_c3_dig_dibas_limit_bug' into 'master'
ESP32C3: Fix system not stable bug when dbias storing in efuse is bigger than 27

Closes IDF-6048

See merge request espressif/esp-idf!20453
2022-10-08 14:56:40 +08:00
zwj
01faa7b664 allow bluedroid host to report adv_ind separately 2022-10-08 14:49:36 +08:00
Aditya Patwardhan
6328afdce6 wifi_provisioning/manager.c: Fix small bug introduced in recent MR. 2022-10-07 18:27:08 +05:30
Aditya Patwardhan
acc3dc8bd2 protocomm/esp_srp: Allocate memory for username only when the
verification is successful
2022-10-07 18:27:07 +05:30
Aditya Patwardhan
68947b5944 protocommm/esp_srp: Fix small issues reported by coverity. 2022-10-07 18:27:07 +05:30
Sudeep Mohanty
052dc64616 Merge branch 'feature/ulp_fix_ignore_tests' into 'master'
ulp: add all ignored ulp unit tests to the pytest framework

See merge request espressif/esp-idf!20465
2022-10-07 14:17:12 +08:00
Martin Vychodil
1abd4eac2c Merge branch 'test/fatfs_component_test_apps' into 'master'
fatfs: migrate unit tests to component test app, re-enable test for C2

Closes IDF-5588 and IDF-5136

See merge request espressif/esp-idf!20462
2022-10-06 21:10:39 +08:00
Sudeep Mohanty
93153bdfe1 ulp: add all 'ignore' tests to pytest framework
This commit adds a way to run all 'ignore' tests for ulp using the
pytest framework.
2022-10-06 12:58:11 +02:00
Guillaume Souchere
cc545fbf9a Merge branch 'feature/heap-fix-ignored-tests' into 'master'
heap: add all 'ignore' tests to pytest framework

See merge request espressif/esp-idf!20478
2022-10-06 16:25:18 +08:00
Roland Dobai
a6792c2673 Merge branch 'feature/use_tools_json_to_check_toolchain_ver' into 'master'
Tools: use tools.json to double-check toolchain version when building

See merge request espressif/esp-idf!19894
2022-10-06 16:22:41 +08:00
Rocha Euripedes
8dff5bbf69 Merge branch 'bugfix/wrong_ws_mask_check' into 'master'
[tcp_transport] Bugfix: Remove unecessary mask_key check

See merge request espressif/esp-idf!20366
2022-10-05 21:47:42 +08:00
Guillaume Souchere
2b5a844640 heap: fix the boundary checks when adding a new region 2022-10-05 15:08:21 +02:00
Guillaume Souchere
2cce5e98b1 heap: add dynamic poisoning threshold in pytest env to allow test with known memory leak to pass 2022-10-05 15:07:37 +02:00
Guillaume Souchere
a29627f59d heap: fix the size of buffers in ignored tests
the ignored tests are updated with the minimum required buffer size to create
a new heap using the tlsf heap callocator.
2022-10-05 15:07:06 +02:00
Ivan Grokhotkov
ac830e04ac
fatfs: migrate unit tests to component test app, re-enable test for C2 2022-10-04 17:39:38 +02:00
Ivan Grokhotkov
87ea3142ac Merge branch 'contrib/github_pr_9899' into 'master'
Make esp_app_desc a weak symbol (GitHub PR)

Closes IDFGH-8433

See merge request espressif/esp-idf!20461
2022-10-04 13:40:32 +08:00
Alexey Lapshin
e6f7b1a3a0 tools: cmake: check tool supported version with idf_tools.py 2022-10-03 19:01:32 +04:00
Rocha Euripedes
d6aacbc9ce Merge branch 'feature/adjust_log_level' into 'master'
[tcp_transport] - Change log level on socket reading timeout

See merge request espressif/esp-idf!20448
2022-10-03 16:41:22 +08:00
Akos Vandra-Meyer
48b50327a0
Make esp_app_desc a weak symbol
By doing so, the application will be able to define its own esp_app_desc generated at their discretion, with help of whatever build process they use, and removes the necessity to rebuild esp-idf every time only to have the esp_app_desc updated.

Removes the patch necessary for https://github.com/esp-rs/esp-idf-sys/pull/136, where we are building esp-idf and basically linking it as a static library. The process building the library doesn't have access to the real application version or the build time, since we are only rebuilding esp-idf if the sdkconfig changes.
2022-10-02 18:46:46 +02:00
Mahavir Jain
5fffe4bba5 Merge branch 'fix/fix_protocomm_security2_backward_compatibility' into 'master'
wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid...

See merge request espressif/esp-idf!20003
2022-10-02 23:08:01 +08:00
Laukik Hase
8476ba1b7a Merge branch 'bugfix/https_server_dyn_buf' into 'master'
https_server: Fix example when `MBEDTLS_DYNAMIC_BUFFER` is enabled

Closes IDFCI-1479

See merge request espressif/esp-idf!20452
2022-10-01 15:52:08 +08:00
Song Ruo Jing
29363b1af0 Merge branch 'bugfix/ets_update_cpu_frequency_typo_esp32s3' into 'master'
esp_hw_support: Fix typo on esp32s3 ets_update_cpu_frequency

See merge request espressif/esp-idf!20454
2022-10-01 13:09:43 +08:00
Laukik Hase
aeb42ce3a7
https_server: Fix example when MBEDTLS_DYNAMIC_BUFFER is enabled
- While checking if ciphersuite uses RSA key exchange methods,
  the APIs `mbedtls_ssl_get_ciphersuite_id_from_ssl` and
  `mbedtls_ssl_ciphersuite_from_id` were used to get the ciphersuite
  info.
- However, this is incorrect as we need the ciphersuite info from the
  handshake instance and not the ssl_session instance.
2022-09-30 23:25:27 +05:30
Michael (XIAO Xufeng)
9bc18ba480 Merge branch 'feat/sdio_slave_disable_hs' into 'master'
sdio_slave: allow disabling highspeed mode

Closes IDF-5994

See merge request espressif/esp-idf!20312
2022-10-01 01:52:47 +08:00
Song Ruo Jing
4eab31cb82 esp_hw_support: Fix typo on esp32s3 ets_update_cpu_frequency introduced in 23e37393a7 2022-09-30 20:45:16 +08:00
Kapil Gupta
7a7bdf05d5 Merge branch 'bugfix/eap_hash_key_len_validation' into 'master'
esp_wifi:adding hash key length validation

Closes WIFI-4882 and WIFI-4825

See merge request espressif/esp-idf!20438
2022-09-30 19:32:30 +08:00
cje
4dddb6d8e8 fix system not stable bug when dbias storing in efuse is bigger than 27 2022-09-30 19:24:51 +08:00
Aditya Patwardhan
244f4ce1d9 protocomm: Enable security version 2 by default 2022-09-30 16:53:20 +05:30
Aditya Patwardhan
0e3c630f9a wifi_prov_mgr: Add security version in the proto-ver endpoint. 2022-09-30 16:53:20 +05:30
Aditya Patwardhan
1d8e7fe2d7 wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid breaking the usage for sec1 2022-09-30 16:53:06 +05:30
Jiang Jiang Jian
cf9921a9f5 Merge branch 'bugfix/set_ap_rsnxe_while_connect' into 'master'
esp_wifi: Set AP rsnxe while connection

See merge request espressif/esp-idf!20046
2022-09-30 18:25:30 +08:00
Jiang Jiang Jian
f881197f15 Merge branch 'bugfix/master_send_data_err_when_retransmit' into 'master'
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2

Closes BT-2620

See merge request espressif/esp-idf!20430
2022-09-30 18:21:22 +08:00
Mahavir Jain
59a5bf61e9 Merge branch 'protobuf-c/update_submodule_to_v1.4.1' into 'master'
protobuf-c: Update submodule to v1.4.1

Closes IDF-6031

See merge request espressif/esp-idf!20435
2022-09-30 17:20:57 +08:00
Euripedes Rocha
456d6a5d17 [tcp_transport] - Change log level on socket reading timeout
- Log level set to VERBOSE to reduce noise on debug.
2022-09-30 09:59:08 +02:00
zwj
457006e04e Fixed BLE lld_per_adv.c line 401 assert 2022-09-30 15:45:37 +08:00
Roland Dobai
a38c63b211 Merge branch 'feature/enable-variable-partition-size-fatfs' into 'master'
fatfs: enabled reading sector size and sectors count from boot sector in rawflash

Closes IDF-4130

See merge request espressif/esp-idf!20412
2022-09-30 15:24:26 +08:00
zwj
4ba1dd0a9c Fixed ESP32 BLE assert(32 0) 2022-09-30 15:07:24 +08:00
Martin Vychodil
dd3cf2513d Merge branch 'bugfix/fatfsgen-omit-cluster-for-empty-files' into 'master'
fatfsgen.py: omit cluster allocation when the file is empty

Closes IDF-6037

See merge request espressif/esp-idf!20441
2022-09-30 14:42:52 +08:00
Martin Vychodil
27601eed24 Merge branch 'feature/ut-fatfs-not-ignore-leading-spaces' into 'master'
fatfs/unittest: fatfs ignores leading spaces

Closes IDF-5896

See merge request espressif/esp-idf!20152
2022-09-30 14:38:56 +08:00
Laukik Hase
1fc3db23c1 Merge branch 'feature/wifi_prov_mgr_reprovision' into 'master'
wifi_prov_mgr: Added support for re-provisioning

Closes IDFGH-4111 and IDF-5714

See merge request espressif/esp-idf!20027
2022-09-30 14:08:18 +08:00
gauri patankar
c89686647d esp_wifi:added hash key length validation 2022-09-30 10:40:27 +05:30
Martin Gaňo
7fb62d41d5 fatfsgen.py: omit cluster allocation when the file is empty 2022-09-29 16:18:56 +02:00
Martin Gaňo
41742c2369 fatfs: enabled reading sector size and sectors count from boot sector in rawflash 2022-09-29 16:16:36 +02:00