Commit Graph

17317 Commits

Author SHA1 Message Date
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
zhangyanjiao
a165d5b3ef esp_wifi: fix connect fail when enable SPIRAM
Closes IDFGH-8189
2022-10-08 15:49:02 +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
Guillaume Souchere
cd805a5ab1 heap: Fix memory boundary condition checks when adding new region
Previously, condition_4 was making impossible the valid scenario
start > heap_start && end == heap_end.

Now, the end == heap_end and start == heap_start case is handled
separately allowing the case start > heap_start && ned == heap_end
to be considered a valid scenario
2022-10-07 13:22:30 +02:00
morris
05092e2f82 rgb_lcd: support restart dma transmission manually
When doing Flash operations (e.g. OTA), LCD's DMA bandwidth will be not
sufficient, causing the desync between the LCD controller and DMA.

Added a restart function to help the user to make them sync again.
2022-10-07 18:46:05 +08:00
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
Ivan Grokhotkov
23e1ae1bc2
storage: fix and re-enable -Wformat warnings 2022-10-06 16:16:32 +02: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
Rahul Tank
81c23740e1 Nimble: Added check to deregister stack callback with controller during
stack deinit
2022-10-06 09:31:09 +05:30
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
Kapil Gupta
198a4335f2 Remove unnecessary code from disconnect handler 2022-10-04 21:38:59 +05:30
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
David Cermak
1f2c16af97 lwip/test: Add SNTP cases to check NTP timestamp overflow 2022-10-03 17:34:42 +02: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
Martin Gaňo
21408698e1 fatfsgen.py: Support for detection of minimal partition size 2022-09-30 15:20:49 +02:00
Martin Gaňo
1206d05d36 fatfsgen.py: removed unused options in Kconfig 2022-09-30 14:49:20 +02: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
Jakob Hasse
f33ac0a037 Merge branch 'feature/freertos_sim' into 'master'
FreeRTOS Single Core Simulator PoC

See merge request espressif/esp-idf!19256
2022-09-29 20:03:23 +08:00
Wu Zheng Hui
511f1d7de4 Merge branch 'feature/update_esp32c6_rom_20220919' into 'master'
esp32c6: update freeze rom and memory related

Closes IDF-6022

See merge request espressif/esp-idf!20397
2022-09-29 19:17:57 +08:00
Martin Vychodil
e82adaaaf7 Merge branch 'feature/add-test-coverage-with-review' into 'master'
fatfs: add test coverage and comments to the fatfsgen.py related code

Closes IDF-5864

See merge request espressif/esp-idf!19986
2022-09-29 19:17:17 +08:00
Mahavir Jain
47fa64343f Merge branch 'coredump_support_for_c2' into 'master'
espcoredump: Add support for esp32c2

Closes IDF-5050

See merge request espressif/esp-idf!20274
2022-09-29 19:13:27 +08:00
Darian
e925a1444a Merge branch 'bugfix/intr_alloc_missing_critical_section_exit' into 'master'
intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE (GitHub PR)

Closes IDFGH-8403

See merge request espressif/esp-idf!20398
2022-09-29 19:08:33 +08:00
Martin Gaňo
f995584a6d fatfs: unittest fatfs ignores leading spaces 2022-09-29 12:22:53 +02:00
Mahavir Jain
16a123ce8f Merge branch 'feature/mbedtls_private_cleanup' into 'master'
mbedtls: `MBEDTLS_PRIVATE` & `MBEDTLS_ALLOW_PRIVATE_ACCESS`-related cleanup

Closes IDF-5861

See merge request espressif/esp-idf!20163
2022-09-29 18:20:26 +08:00
harshal.patil
a976dd1608 protobuf-c: Update submodule to v1.4.1 2022-09-29 15:35:19 +05:30
David Cermak
ad0da9cd2b lwip: Migrate unit tests to test_apps 2022-09-29 10:40:28 +02:00
zwl
8a221f0073 Fixed the issue that master sends retransmitted data incorrectly on ESP32C2 2022-09-29 16:26:10 +08:00
tgotic
1a73f5c174 intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE
Closes https://github.com/espressif/esp-idf/pull/9867

[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-09-29 14:20:43 +08:00
Jiang Jiang Jian
c61910c267 Merge branch 'bugfix/ble_light_sleep_enter_issue_master' into 'master'
Bugfix/ble light sleep enter issue

See merge request espressif/esp-idf!20337
2022-09-29 13:57:39 +08:00
Laukik Hase
d7eb2c7b4e
mbedtls: MBEDTLS_PRIVATE & MBEDTLS_ALLOW_PRIVATE_ACCESS-related cleanup 2022-09-29 10:13:14 +05:30
Laukik Hase
b7ae23856a
protocomm: MBEDTLS_PRIVATE & MBEDTLS_ALLOW_PRIVATE_ACCESS-related cleanup 2022-09-29 10:13:13 +05:30
Laukik Hase
9bc1cc706e
wifi_prov_mgr: Add support for re-provisioning
Closes https://github.com/espressif/esp-idf/issues/5978
2022-09-29 10:12:47 +05:30
wuzhenghui
357490267a heap: update esp32c6 memory layout 2022-09-29 11:13:06 +08:00
wuzhenghui
66fb86972d bootloader: update bootloader memory map 2022-09-29 11:13:06 +08:00
wuzhenghui
cf21dfa6a5 rom: update freeze rom and ld (20220919) 2022-09-29 11:13:06 +08:00
Marius Vikhammer
b5c6f4bf24 Merge branch 'bugfix/heap_test_realloc' into 'master'
heap: fix random alloc test timing out in CI

Closes IDFCI-1473

See merge request espressif/esp-idf!20365
2022-09-29 10:39:18 +08:00
Martin Gano
1b3fed3b5c Merge branch 'feature/fatfsgen-enable-512-bytes-sector' into 'master'
fatfsgen.py: enabled 512 sized sectors

Closes IDF-5523

See merge request espressif/esp-idf!20344
2022-09-28 23:11:12 +08:00
Mahavir Jain
ed884fece6
espcoredump: enable tests for esp32c2 target 2022-09-28 20:41:01 +05:30
Mahavir Jain
a2db79eb26
espcoredump: add esp32c2 target in test_app 2022-09-28 20:41:01 +05:30
Mahavir Jain
9e6d181557
espcoredump: re-enable test_app build for esp32c2 2022-09-28 20:41:00 +05:30
Harshit Malpani
8fba04638b
espcoredump: Add support for esp32c2
This commit puts some code under SOC_RTC_MEM_SUPPORTED. This enables use of coredump in targets with no RTC memory support.
2022-09-28 20:41:00 +05:30
Shu Chen
45fb699542 Merge branch 'feature/openthread_flash_optimization' into 'master'
openthread: Add some flash optimization options

See merge request espressif/esp-idf!20290
2022-09-28 21:43:44 +08:00
WanqQixiang
1d826c7a2b openthread: Add some flash optimization options for openthread component
openthread: use a certain version of esp_openthread_cli_extension managed component
2022-09-28 20:37:44 +08:00
Jiang Jiang Jian
dbdd8ee1a5 Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected' into 'master'
bugfix/fix the issue that bt can not connect after ble connected

Closes IDFGH-4754 and AUD-4085

See merge request espressif/esp-idf!18542
2022-09-28 15:46:06 +08:00
Jakob Hasse
bfbbd9d790 feat(freertos): Added FreeRTOS POSIX/Linux Simulator
* Added port layer from the FreeRTOS POSIX port, added
  additional port code for ESP-IDF.
* Created another hello world example using that POSIX
  port in tools/test_apps.
* Removed old linux app
2022-09-27 16:23:54 +02:00
Michael (XIAO Xufeng)
507864c4f1 sdio_slave: allow disabling highspeed mode 2022-09-27 18:38:35 +08:00
Martin Gaňo
943f96422b fatfs: add test coverage and comments to the fatfsgen.py related code 2022-09-27 12:14:32 +02:00
morris
c91f693408 test: fix rmt iram case random failure 2022-09-27 18:03:21 +08:00
Mahavir Jain
7e57cdfcfb Merge branch 'bugfix/wifi_prov_device_name' into 'master'
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0'

See merge request espressif/esp-idf!20340
2022-09-27 17:57:18 +08:00
Euripedes Rocha
56a54afae9 [tcp_transport] Bugfix: Remove unecessary mask_key check
- In the processing of WS payload the check for a valid mask_key was
  made by checking for a valid address. The address is always valid and
  the test is meaningless.
- Mask key is initialized in the process of header reading and set to 0
  in case of mask not set.
2022-09-27 11:00:37 +02:00
Marius Vikhammer
1327a82b65 heap: fix random alloc test timing out in CI 2022-09-27 16:51:54 +08:00
Martin Gaňo
2a0ea8703d fatfsgen.py: enabled 512 sized sectors 2022-09-27 10:18:52 +02:00
morris
88c0053172 Merge branch 'feature/esp32c6_bringup' into 'master'
ESP32C6: Introduce new chip target esp32c6

Closes IDF-5247

See merge request espressif/esp-idf!19286
2022-09-27 13:23:21 +08:00
Zim Kalinowski
04ecfacbdd Merge branch 'feature/migrate-console-tests-to-pytest' into 'master'
console: move unit tests to pytest

Closes IDF-5568

See merge request espressif/esp-idf!20192
2022-09-27 00:44:52 +08:00
cjin
0d113fb609 update controller lib for bugfix on light-sleep 2022-09-26 21:25:48 +08:00
cjin
f289710ccf fix ble compilation error 2022-09-26 20:51:13 +08:00
wuzhenghui
fca7d70e05 esp32c6: add minimal ci support
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Song Ruo Jing
1eb9a24a48 esp_system: Minor update for esp32c6 2022-09-26 20:32:13 +08:00
wuzhenghui
5115e31175 driver: Minor update for esp32c6
Leave TODO for esp_adc and legacy adc driver
HAL/SOC update for spi and i2s
2022-09-26 20:32:13 +08:00
wuzhenghui
fbc19fad70 memory_utils: Modify esp_ptr_in_diram_iram to be compatible with esp32c6 2022-09-26 20:32:13 +08:00
songruojing
a8b43d197f esp32c6: skip esp_phy and esp_wifi support 2022-09-26 20:32:13 +08:00
wuzhenghui
6b6bb3a321 esp32c6: add wpa_supplicant support 2022-09-26 20:32:13 +08:00
wuzhenghui
22862d7eb2 esp32c6: add esp_gdb_stub support 2022-09-26 20:32:13 +08:00
wuzhenghui
4a86a6a258 esp32c6: add heap support 2022-09-26 20:32:13 +08:00
wuzhenghui
a7b549acca esp32c6: add esp_pm support 2022-09-26 20:32:13 +08:00
wuzhenghui
62f9ddcb82 esp32c6: add newlib support 2022-09-26 20:32:13 +08:00
wuzhenghui
ff8dd1e1a8 esp32c6: add spi_flash support 2022-09-26 20:32:13 +08:00
wuzhenghui
23e37393a7 esp32c6: add esp_hw_support 2022-09-26 20:32:13 +08:00
wuzhenghui
21663bd0b9 esp32c6: add efuse support 2022-09-26 20:32:13 +08:00
wuzhenghui
68159feb10 esp32c6: add esp_rom support (rom version: esp32c6-20220901) 2022-09-26 20:32:04 +08:00
wuzhenghui
1c820b0a6d esp32c6: add bootloader support 2022-09-26 20:24:52 +08:00
Mahavir Jain
a9f15d1556 Merge branch 'bugfix/fix_socket_leak' into 'master'
esp-tls: socket will be set to -1 and will not be closed

Closes IDFGH-8378

See merge request espressif/esp-idf!20333
2022-09-26 19:15:05 +08:00
Yuan Jian Min
9a97cfbffc esp-tls: socket will be set to -1 and will not be closed
Closes https://github.com/espressif/esp-idf/issues/9847
2022-09-26 19:15:04 +08:00
Michael (XIAO Xufeng)
03d8059fa5 Merge branch 'feat/essl_extra_component' into 'master'
essl: move from esp-idf component to extra component

See merge request espressif/esp-idf!20221
2022-09-26 18:29:07 +08:00
Zim Kalinowski
c37ccfb84e console: migrate console tests to pytest 2022-09-26 12:02:38 +02:00
Kapil Gupta
6729f870b9 wpa_supplicant: Prevent pmk flush for unspecified reasoncode 2022-09-26 15:09:48 +05:30
Isha Pardikar
57108a7ab1 wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0', at the end, to ensure we adhere to the max name length as per spec. 2022-09-26 15:07:50 +05:30
Roland Dobai
d08898aabc Merge branch 'fix/tools-gdbinit-with-elf-symbols' into 'master'
tools: fixed elf symbols load if gdbinit specified

Closes IDF-4991 and GCC-246

See merge request espressif/esp-idf!18089
2022-09-26 16:20:19 +08:00
Michael (XIAO Xufeng)
02a9de904a essl: move from esp-idf component to extra component 2022-09-26 12:26:55 +08:00
Jin Cheng
da44fc9cbe fixed the issue iOS devices cannot initiate connection
to ESP32 while there is a BLE connection to this ESP32

Closes https://github.com/espressif/esp-idf/issues/6557
2022-09-23 17:58:39 +08:00
Martin Vychodil
7d28abae4e Merge branch 'feature/sdcard_custom_freq' into 'master'
[Storage] Enable SD card custom frequency setup

Closes IDFGH-7089

See merge request espressif/esp-idf!19038
2022-09-23 17:45:30 +08:00
Guillaume Souchere
1ecddf5678 Merge branch 'feature/heap_pytest' into 'master'
heap: move unit tests to pytest

Closes IDF-5591

See merge request espressif/esp-idf!20229
2022-09-23 17:44:14 +08:00
Chen Jian Hua
76834a767f Merge branch 'bugfix/fix_ble_adv_tx_power_map' into 'master'
Fix ble adv tx power map

Closes IDFGH-8299

See merge request espressif/esp-idf!20225
2022-09-23 16:03:12 +08:00
Song Ruo Jing
82cbcf893a Merge branch 'bugfix/fix_uart_fake_tx_done_temp_revert' into 'master'
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()

See merge request espressif/esp-idf!20286
2022-09-23 15:53:45 +08:00
Guillaume Souchere
bf18a05a5f unit-tests: Move the leak related tests from the heap component to test_utils 2022-09-23 09:49:09 +02:00
Guillaume Souchere
82c98c7f48 heap: Add test_apps configs 2022-09-23 09:49:09 +02:00
Guillaume Souchere
405c26da6d heap: migrate unit tests to pytest 2022-09-23 09:49:07 +02:00
Rahul Tank
f39869fdf5 Merge branch 'bugfix/reorder_stack_deinit_function' into 'master'
Nimble: Removed extra deinit for flow timer

See merge request espressif/esp-idf!20124
2022-09-23 13:43:29 +08:00
Wan Lei
e352382aa8 Merge branch 'feature/no_return_Q_from_isr_for_slave' into 'master'
spi_slave: add new flag SPI_SLAVE_NO_RETURN_RESULT to bypass return descriptor from ISR

Closes IDF-5971

See merge request espressif/esp-idf!20164
2022-09-23 10:34:07 +08:00
morris
4cc763fbf0 Merge branch 'feature/mcpwm_update_compare_iram_safe' into 'master'
mcpwm: make set_compare_value iram safe

Closes IDFGH-8314

See merge request espressif/esp-idf!20254
2022-09-22 22:18:45 +08:00
Roland Dobai
2dcb19515a Merge branch 'bugfix/fatfsgen-enable-lfn-for-nonascii' into 'master'
fatfsgen.py: use lfn record when forbidden character detected in the file name

Closes IDF-5981

See merge request espressif/esp-idf!20180
2022-09-22 18:15:25 +08:00
Mahavir Jain
787c69a2cc Merge branch 'bugfix/add_so_linger_to_httpd_config' into 'master'
esp_http_server: Add struct linger in httpd_config_t

Closes IDFGH-8004

See merge request espressif/esp-idf!20142
2022-09-22 17:18:33 +08:00
Michael (XIAO Xufeng)
eb290ecd12 Merge branch 'doc/usj_sw_reset_alive_bbpll_doc' into 'master'
usb_serial_jtag: fixed the docs that we can use usj in sleep modes

See merge request espressif/esp-idf!20096
2022-09-22 15:30:41 +08:00
Shreyas Sheth
48fd5bcda4 esp_wifi: Set AP rsnxe while connection 2022-09-22 12:42:38 +05:30
Song Ruo Jing
701e49278a uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.

Introduced in 4e09d147b11ed8a094b5858642c9f60d658ef656
2022-09-22 14:30:39 +08:00
Darian
b39435647e Merge branch 'feature/freertos_task_delay_test_refactor' into 'master'
FreeRTOS: Refactor vTaskDelay() tests

See merge request espressif/esp-idf!20271
2022-09-22 12:52:04 +08:00
Harshit Malpani
a3fd6d1070
esp_http_server: Add linger in httpd_config_t
Closes: https://github.com/espressif/esp-idf/issues/9514
2022-09-22 10:11:50 +05:30
morris
57562b3a55 Merge branch 'refactor/migrate_gdma_test_pytest' into 'master'
gdma: migrate ut to pytest

Closes IDF-5329

See merge request espressif/esp-idf!20281
2022-09-22 12:30:07 +08:00
jingli
42699637ec soc: remove unused DR_REG_DPORT_END macro for c2/c3/s2/s3 2022-09-22 11:45:20 +08:00
jingli
cce2af9193 wifi/bt: fix part of modem module not reset when power up 2022-09-22 11:45:20 +08:00
Darian Leung
aaf7547665 freertos: Refactor vTaskDelay() and vTaskDelayUntil() unit tests
This commit refactors the existing vTaskDelayUntil() unit test according to
the FreeRTOS unit test guidelines, and adds a new vTaskDelay() unit test.
2022-09-22 11:27:29 +08:00
Darian Leung
193e30bbf7 freertos: Rename vTaskDelayUntil unit test file 2022-09-22 11:27:29 +08:00
Darian Leung
0d9d4f60df freertos: Add unit test utilities
This commit adds "freertos_test_utils.h/c" that contains utility functions
used in FreeRTOS unit tests.
2022-09-22 11:27:29 +08:00
morris
09b511c578 Merge branch 'feature/esp32c6_gpio_sdm_bringup' into 'master'
gpio_sdm: bring up SDM driver on esp32c6

Closes IDF-5318

See merge request espressif/esp-idf!20158
2022-09-22 10:54:39 +08:00
morris
ff6855c4b1 gdma: migrate ut to pytest 2022-09-22 10:44:57 +08:00
morris
d609884407 Merge branch 'refactor/esp_rom_pytest' into 'master'
esp_rom: migrate ut to pytest

Closes IDF-5583

See merge request espressif/esp-idf!20258
2022-09-22 10:31:37 +08:00
Alexey Lapshin
29655fe22a tools: fixed elf symbols load if gdbinit specified
ROM and bootloader symbols add to use in GDB (via 'idf.py gdb')
2022-09-21 22:39:03 +04:00
Michael (XIAO Xufeng)
a0bf87ee5d usb_serial_jtag: fixed the docs that we can use usj in sleep modes
Related to: https://github.com/espressif/esp-idf/issues/8507, https://github.com/espressif/esp-idf/issues/8884
2022-09-22 01:36:06 +08:00
Jiang Jiang Jian
5a83ed8b27 Merge branch 'bugfix/bludroid_debug_esp32c2' into 'master'
Bugfix/bludroid debug esp32c2

See merge request espressif/esp-idf!20029
2022-09-22 00:07:10 +08:00
David Cermak
9e31c5077d lwip: Document 32 bit NTP timestamp converstion to 64b time_t 2022-09-21 17:38:37 +02:00
Martin Gaňo
567f5f963c fatfsgen.py: use lfn record when forbidden character detected in the file name
The file name is recorded as a LFN when it doesn't fit 8.3 pattern or if it contains characters prohibited in SFN
2022-09-21 15:22:51 +00:00
Martin Vychodil
72de7c512e Merge branch 'bugfix/increase-total-files-in-dir' into 'master'
fatfsgen.py: Increase number of files in directory

Closes IDF-5970

See merge request espressif/esp-idf!20155
2022-09-21 23:22:38 +08:00
Jing Li
db1bbdafea Merge branch 'bugfix/fix_c2_xtal_unstable_when_wakeup_from_sleep' into 'master'
esp_hw_support/esp32c2/rtc: fix c2 xtal unstable when wakeup from sleep

See merge request espressif/esp-idf!20272
2022-09-21 22:53:59 +08:00
Martin Vychodil
4799cc1439 Merge branch 'feature/nvs_partition_parse_tool' into 'master'
tools: NVS partition parser

Closes IDF-4049

See merge request espressif/esp-idf!18107
2022-09-21 22:16:13 +08:00
morris
c99edc6715 mcpwm: make set_compare_value iram safe
Closes https://github.com/espressif/esp-idf/issues/9793
2022-09-21 13:37:49 +00:00
Martin Gaňo
b187fad076 fatfsgen.py: Increase number of files in directory
By starting the ID at the value 1, instead of ord('1') we increase the possible number of files by 49.
2022-09-21 13:30:05 +00:00
cjin
8e348c3f63 update ble controller lib for bugfix on esp32c2 2022-09-21 12:34:41 +00:00
cjin
42a07cf16b fix err using rpa for confirmation calculation 2022-09-21 12:34:41 +00:00
cjin
872baad9b9 mbuf copy hci data error fix 2022-09-21 12:34:41 +00:00
cjin
b345e89b4a fix on data len change cmd malfunction 2022-09-21 12:34:41 +00:00
jingli
04530d7112 esp_hw_support/esp32c2/rtc: take a safer xtal buf wait 2022-09-21 12:27:26 +00:00
Darian
9657e687e4 Merge branch 'feature/freertos_10.4.3_sync_various_functions' into 'master'
FreeRTOS: (Sync v10.4.3) Update various functions (Remerge)

See merge request espressif/esp-idf!20235
2022-09-21 16:04:06 +08:00
Rocha Euripedes
819dae8008 Merge branch 'feature/mqtt_cmakefile_cleanup' into 'master'
Mqtt:  Cmakelists.txt file simplification.

See merge request espressif/esp-idf!19966
2022-09-21 15:21:07 +08:00
Jiang Jiang Jian
a0908b1764 Merge branch 'bugfix/fix_xtal32k_error_detect' into 'master'
esp_hw_support/clk_cali: fix xtal32k error detect

Closes BT-2621 and IDF-5788

See merge request espressif/esp-idf!19500
2022-09-21 13:50:56 +08:00
Gao Xu
1005c3b9d5 Merge branch 'feature/add_flash_copy_to_psram_example' into 'master'
system: add an example showing moving Flash content to PSRAM feature

Closes IDF-5156

See merge request espressif/esp-idf!19340
2022-09-21 12:15:19 +08:00
Rahul Tank
c40fcb1089 Nimble: Re-ordered the function sequence in stack deinit to be reverse of stack init process 2022-09-21 09:40:56 +05:30
wanlei
ee6d3de128 spi_slave: add a flag SPI_SLAVE_NO_RETURN_RESULT to bypass return descriptor from ISR
if using this flag, driver willn't return the trans-done descriptor from ISR, so
`spi_slave_get_trans_result()` shouldn't be called.
besides, callback is the only way to know transaction status in that case, so a
`post_trans_cb` will be checked mandatory.
2022-09-21 11:56:27 +08:00
Ivan Grokhotkov
4a69a3f7ef Merge branch 'feature/cmake_use_new_features' into 'master'
cmake: use features introduced between 3.5 and 3.16

Closes IDF-5955

See merge request espressif/esp-idf!19819
2022-09-21 11:05:06 +08:00
jingli
60c1811433 esp_hw_support/clk_cali: remove redundant check for cali value 2022-09-21 03:03:25 +00:00
jingli
05a2fbe810 esp_hw_support/clk_cali: fix xtal32k error detect 2022-09-21 03:03:25 +00:00
Jiang Jiang Jian
292fe7c57f Merge branch 'bugfix/ble_light_sleep_error_on_esp32c2_master' into 'master'
Bugfix/ble light sleep error on esp32c2 master

Closes BLE-161 and BLE-162

See merge request espressif/esp-idf!20248
2022-09-21 10:53:18 +08:00
morris
65767769a9 esp_rom: migrate ut to pytest 2022-09-21 10:42:13 +08:00
Darian
5f85f507fb Merge branch 'feature/freertos_test_reorganization' into 'master'
FreeRTOS: Add test reorganization guidelines and initial batch of refactored tests

Closes IDF-5997

See merge request espressif/esp-idf!20233
2022-09-21 00:36:51 +08:00
Kapil Gupta
2bbd5ea69c Merge branch 'bugfix/wps_connect_to_open_ap' into 'master'
esp_wifi: bugfix wps connect to open AP

See merge request espressif/esp-idf!20247
2022-09-20 23:59:47 +08:00
Mahavir Jain
44bee0acfd Merge branch 'bugfix/esptool_secure_boot_signing_key_path' into 'master'
esptool: (re)populate the secure boot signing key path

Closes IDFGH-8075

See merge request espressif/esp-idf!20218
2022-09-20 22:26:34 +08:00
Mo Fei Fei
ec680a2a82 Docs: Add CN translation for nvs_partition_parser/README.rst 2022-09-20 14:02:23 +00:00
Matus Fabo
1c6edff560 add: data classes for parsing NVS binary data
add: functions to print formatted NVS data
add: color support via ANSI escape sequences
add: documentation
2022-09-20 14:02:23 +00:00
Jash Gujarathi
ee493e0b45 Merge branch 'bugfix/fix_sta_scan_when_already_connected' into 'master'
esp-wifi: Restores station status to connected when no other AP is found for roam

Closes WIFI-4785

See merge request espressif/esp-idf!20120

\[WiFi\]Fixed the bug that station connected to an AP already connected caused subsequent scan fail.
2022-09-20 20:59:44 +08:00
Kapil Gupta
1cfd20c476 Merge branch 'bugfix/wps_connection_optimization' into 'master'
wpa_supplicant: Use channel from WPS scan for WPS connect

See merge request espressif/esp-idf!20184
2022-09-20 20:09:31 +08:00
Island
cfbdc55717 Merge branch 'bugfix/lpn_not_recv_message_to_all_node' into 'master'
ble_mesh: stack: Add option for lpn auto sub all-nodes

See merge request espressif/esp-idf!19711
2022-09-20 20:03:08 +08:00
Marius Vikhammer
0b0a541c7d Merge branch 'feature/pthread_pytest' into 'master'
pthread: migrate unit tests to pytest test app

Closes IDF-5600

See merge request espressif/esp-idf!20188
2022-09-20 17:58:20 +08:00
Ivan Grokhotkov
66554aa215
cmake: remove unused defines from several host test apps
These macros are seemingly only used in the NVS host test, and are not
necessary in the other host test apps.
2022-09-20 11:35:45 +02:00
Ivan Grokhotkov
c392c06216
cmake: remove -D prefix from COMPILE_DEFINITIONS property
Unlike COMPILE_OPTIONS, COMPILE_DEFINITIONS CMake property assumes
values without the -D prefix, such as NAME or NAME=VAL.
Previously, IDF build system was passing COMPILE_DEFINITIONS build
property to CMake COMPILE_OPTIONS property, so -D prefix was not
a problem.
Now that COMPILE_DEFINITIONS CMake property is used, -D prefix has
to be removed.

(Note that this doesn't affect 'target_compile_definitions' function,
which strips -D prefix before adding the definition to the property.)
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
237b2ce40c
cmake: use target_link_options and _directories supported since 3.13
Now that the supported CMake version is >=3.16, this code can be
simplified.

The code to deduplicate the directories can be removed since this is
handled by target_link_directories.
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
72b8ff7f87
cmake: use the ternary generator expressions supported since 3.8
Now that the supported CMake version is >=3.16, this code can be
simplified.
2022-09-20 11:08:02 +02:00
Darian Leung
c126b910b6 freertos: Expand CONFIG_FREERTOS_SMP description
This commit adds more details to the CONFIG_FREERTOS_SMP option's description.
2022-09-20 16:46:43 +08:00
Darian Leung
882515fcef freertos: Add priority scheduling unit tests
This commit adds a priority scheduling unit test to test that the scheduler
always schedules the highest priority ready state task. Single core and SMP
variants of the test are both added.
2022-09-20 16:46:43 +08:00
Darian Leung
188c21319d freertos: Add test reorganization README.md and portTestMacro.h
This commit adds a README.md containing guidelines on how to refactor the
FreeRTOS unit tests for upstreaming. A portTestMacro.h header was also added
which contains port implementation specific macros used by the test cases.
2022-09-20 16:46:43 +08:00
Mahavir Jain
59f79a7b92 Merge branch 'bugfix/parttool_commands_extra_partition_subtypes' into 'master'
parttool: fix parttool commands attribute parsing

Closes IDF-5879

See merge request espressif/esp-idf!20122
2022-09-20 16:22:53 +08:00
Jiang Jiang Jian
19759d5d33 Merge branch 'bugfix/acl_buf_ocf_and_conn_fail' into 'master'
bugfix/fixed the exhaustion of ACL buffer and duplicated connection requests

Closes ESPCS-855

See merge request espressif/esp-idf!19794
2022-09-20 15:12:14 +08:00
Chen Jian Hua
6014e92a8d Merge branch 'bugfix/fix_ble_gen_rpa_by_host' into 'master'
Bluedroid: fix ble rpa generate and update by host

See merge request espressif/esp-idf!19617
2022-09-20 14:49:26 +08:00
zwl
16c8a369e6 fixed wifi can't be connected after enable bt sleep mode 2022-09-20 14:44:00 +08:00
Shreyas Sheth
d12351f7a6 esp_wifi: bugfix wps connect to open AP
Set Mac address in correct field
2022-09-20 11:43:53 +05:30
Wang Meng Yang
02aad58856 Merge branch 'bugfix/fix_ble_disconnect_due_to_channel_map_instant_passed' into 'master'
Fixed BLE disconnection issue when channel map instant passed due to bad channels

Closes BT-2764, BT-2730, and BT-2649

See merge request espressif/esp-idf!20189
2022-09-20 14:13:27 +08:00
harshal.patil
aca27c8db2 parttool: fix extra_partition_subtypes attribute parsing 2022-09-20 11:28:52 +05:30
jgujarathi
9e44dde2cd esp_wifi : updated the wifi lib to fix the printf issue on esp32c2 2022-09-20 05:45:30 +00:00
jgujarathi
b5b1a1f31d esp-wifi : Adds the status connected for station, when the station is already connected to the ap of the same bss- wifi-4785 2022-09-20 05:45:30 +00:00
zwl
f42eed9491 fixed ble can't enter light sleep 2022-09-20 12:08:09 +08:00
Jiang Jiang Jian
9d8d118397 Merge branch 'feature/add_mesh_support_macro' into 'master'
ble_mesh: docs: Remove BLE Mesh related reference for C2

Closes IDF-4215

See merge request espressif/esp-idf!19513
2022-09-20 11:06:25 +08:00
Jiang Jiang Jian
09f7589ef2 Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err' into 'master'
Fixed extend adv tx power range error

See merge request espressif/esp-idf!20191
2022-09-20 10:45:25 +08:00