Commit Graph

18070 Commits

Author SHA1 Message Date
Jiang Jiang Jian
066dc196af Merge branch 'feature/esp32c6_wifi_bt_common_dependcy_support' into 'master'
esp32c6: support esp32c6 phy

Closes IDF-5680

See merge request espressif/esp-idf!21576
2022-12-19 12:16:11 +08:00
Jiang Jiang Jian
92a4a146a0 Merge branch 'bugfix/fix_max_conn_num_issue' into 'master'
esp_wifi: change max connection num on ESP32C3 and ESP32S3

Closes WIFI-5114

See merge request espressif/esp-idf!21503
2022-12-19 11:08:46 +08:00
David Čermák
a3dd334081 Merge branch 'bugfix/netif_test_rules' into 'master'
esp_netif various fixes: dependency cleanup, default flags, CI rules

Closes IDF-5550, IDFGH-7023, IDF-1261, and IDF-2155

See merge request espressif/esp-idf!20301
2022-12-16 21:26:05 +08:00
Mahavir Jain
81932a273a Merge branch 'bugfix/esp_tls_timeout' into 'master'
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t

See merge request espressif/esp-idf!21632
2022-12-16 18:32:30 +08:00
Zhang Wen Xu
0d88655caf Merge branch 'support/lwip_enable_udp_debug' into 'master'
lwip: add menuconfig option to enable UDP debugging log

See merge request espressif/esp-idf!21634
2022-12-16 17:58:11 +08:00
wuzhenghui
8f78520342 esp_phy: only esp32c3&esp32s3 support MAC_BB_PD, remove unused caps define 2022-12-16 15:47:59 +08:00
wuzhenghui
5822cdf93b esp_phy: enable for esp32c6 2022-12-16 15:47:56 +08:00
morris
3d09cc32a1 Merge branch 'bugfix/esp_lcd_modify_bounce_buffer_index' into 'master'
RGB LCD: support multi frame buffer in bounce buffer mode

See merge request espressif/esp-idf!21555
2022-12-16 14:15:51 +08:00
zhangwenxu
fd49a818f8 lwip: add menuconfig option to enable UDP debugging log 2022-12-16 06:12:50 +00:00
Laukik Hase
665ad3dbdb
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t
- If internet connectivity weakened or disappeared suddenly while we were
  in the TLS handshake stage, the app got stuck at that point indefinitely.
- This was because when timeout was not explicitly specified in esp_tls_cfg_t,
  the default timeout was set at the wrong place. This causes the sockets to be
  setup with zero timeout, hence the indefinite wait.
2022-12-16 10:20:21 +05:30
Armando
ded528e188 adc: no longer support adc2 oneshot mode on esp32c3
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.

However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Armando
b4c90c44d2 adc: no longer support adc2 continuous mode on esp32c3 and esp32s3
Due to HW limitation, we don't support this anymore. On s3 and c3, ADC2 under continuous  mode is not stable.

However, you can enable CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Armando
6aa7091199 adc: added a soc macro indicating digital controller supported unit 2022-12-16 02:06:03 +00:00
morris
15e98dc7d3 doc: recommend turn on psram xip feature for bounbe buffer mode 2022-12-16 02:04:59 +00:00
Liu Zhongwei
4fac26e0a9 rgb_lcd: support multi-fb with bounce buffer 2022-12-16 02:04:59 +00:00
David Čermák
52cfc01655 Merge branch 'bugfix/nvs_memory_issue' into 'master'
bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init()

Closes IDF-6481

See merge request espressif/esp-idf!21619
2022-12-15 23:46:42 +08:00
wuzhenghui
b887f86a78 soc: add SOC_IEEE802154_SUPPORTED caps 2022-12-15 17:18:28 +08:00
Armando (Dou Yiwen)
34e5a809e0 Merge branch 'bugfix/fix_mspi_timing_tuning_psram_timing_issue' into 'master'
mspi_tuning: fix psram timing tuning bug

Closes IDF-6457

See merge request espressif/esp-idf!21536
2022-12-15 16:34:38 +08:00
Zhi Wei Jian
67cfef0acd Merge branch 'feature/add_config_to_set_duplicate_scan_list_refresh_time' into 'master'
Add config to set duplicate scan list refresh period on ESP32-S3 and ESP32-C3

Closes BT-3073 and BT-3023

See merge request espressif/esp-idf!21586
2022-12-15 16:29:44 +08:00
Jakob Hasse
e6ca481623 bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init() 2022-12-15 15:37:21 +08:00
zhangyanjiao
590481d531 esp_wifi: change max connection num on ESP32C3 and ESP32S3
Closes WIFI-5114
2022-12-15 15:23:32 +08:00
Shu Chen
2a12fabec0 Merge branch 'support/ieee802154_lib_CI_beta' into 'master'
ieee802154: add ieee802154 component CI

See merge request espressif/esp-idf!20770
2022-12-15 14:11:48 +08:00
Jiang Jiang Jian
c08a0082d4 Merge branch 'fix/long_assoc_comeback_time' into 'master'
SA Query and assoc comeback related improvements in STA and SoftAP

Closes WIFI-4964

See merge request espressif/esp-idf!21115
2022-12-15 13:41:18 +08:00
David Cermak
38dec0be48 esp-netif: Support non-lwip mode, add test
It is required to define a mandatory dependency on lwip, so we
introduced esp_netif_stack component and made it require lwip, instead
of directly depending on lwip.
This enables building w-out lwip and support other TCP/IP stacks.
2022-12-14 14:12:50 +00:00
David Cermak
678d7aadd9 esp-netif/lwip: Introduce TCP/IP stack has BSD API
* This variable is automatically selected when lwip stack is chosen
* This commit also fixes lwip loopback configuration
2022-12-14 14:12:50 +00:00
David Cermak
fab39d2c4b esp_netif: Make GARP default netif flags only if enabled in lwip
Closes https://github.com/espressif/esp-idf/issues/8641
2022-12-14 14:12:50 +00:00
David Cermak
0309e0eb03 ci/esp-netif: Update build/test rules for netif tests 2022-12-14 14:12:50 +00:00
Rahul Tank
f3012849e8 Merge branch 'feature/add_periodic_helper_macros' into 'master'
Nimble: Add helper macros to set interval min / max for periodic adv

See merge request espressif/esp-idf!21575
2022-12-14 22:07:00 +08:00
Mahavir Jain
14d392b4fe Merge branch 'bugfix/update_docs_for_secure_dl_mode' into 'master'
docs: Fix Secure DL mode documentation about flash read being unsupported

Closes IDF-6468

See merge request espressif/esp-idf!21593
2022-12-14 19:08:43 +08:00
Jiang Guang Ming
947c112233 Merge branch 'bugfix/update_esp_rom_gpio_header' into 'master'
esp_rom: update rom gpio.h

Closes IDFGH-8773

See merge request espressif/esp-idf!21268
2022-12-14 18:47:18 +08:00
Martin Vychodil
00f721f746 Merge branch 'refactor/nvs_allocatable_objects' into 'master'
refactor(nvs): custom allocator for all objects allocated in NVS

Closes IDF-6308

See merge request espressif/esp-idf!21239
2022-12-14 17:35:13 +08:00
Jiang Jiang Jian
97d6050fea Merge branch 'feature/esp32c2_optimize_npl_element_count' into 'master'
Feature/esp32c2 optimize npl element count

Closes BT-3012

See merge request espressif/esp-idf!21562
2022-12-14 17:18:07 +08:00
Martin Vychodil
732b76e3a0 Merge branch 'bugfix/nvs_cxx_example' into 'master'
nvs_flash: fixed wrong error check after open_nvs_handle in example

Closes IDFGH-8809

See merge request espressif/esp-idf!21269
2022-12-14 17:17:59 +08:00
Zim Kalinowski
575594477b Merge branch 'feature/qemu-pthread' into 'master'
pthread: enable qemu tests

Closes QEMU-81

See merge request espressif/esp-idf!21420
2022-12-14 16:44:26 +08:00
zwj
5e72006fb9 Update bt lib for ESP32-C3 and ESP32-S3
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-14 15:54:01 +08:00
Abhik Roy
627d03182a Merge branch 'components/lwip/napt_debug_enable' into 'master'
components/lwip: Add menuconfig option to enable NAPT debugging.

See merge request espressif/esp-idf!21260
2022-12-14 15:27:48 +08:00
jiangguangming
7c0c5481c8 esp_rom: update rom gpio.h
Closes https://github.com/espressif/esp-idf/issues/10205
2022-12-14 15:14:38 +08:00
Sarvesh Bodakhe
ecafe007e5 esp_wifi: Update wifi libs
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2. handle when assoc req is received before SA query procedure is finished

Closes https://github.com/espressif/esp-idf/issues/9428
2022-12-14 12:17:53 +05:30
Zhi Wei Jian
cd5ce86cf2 Merge branch 'bugfix/fix_ble_conn_failed_in_air' into 'master'
Change default TX power to 9 dBm on ESP32

Closes BT-2436

See merge request espressif/esp-idf!21567
2022-12-14 14:43:54 +08:00
Zhi Wei Jian
be7f20ecc4 Merge branch 'bugfix/fix_multi_per_adv_sync_fail' into 'master'
Fixed privacy error and multi periodic adv sync failed on ESP32-C3 and ESP32-S3

Closes BT-2757

See merge request espressif/esp-idf!21570
2022-12-14 14:41:38 +08:00
Jiang Jiang Jian
206f486256 Merge branch 'bugfix/fix_multicast_issue' into 'master'
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1

Closes WIFI-5076

See merge request espressif/esp-idf!21581
2022-12-14 12:37:46 +08:00
Mahavir Jain
188017d6b1
docs: Fix Secure DL mode documentation about flash read being unsupported
Simple flash read command is not supported if Secure DL mode is enabled on the target.
Remove reference of this from the relevant docs part.

Related: https://github.com/espressif/esptool/issues/810
Related: ESPTOOL-567
Closes IDF-6468
2022-12-14 10:03:46 +05:30
Shu Chen
a7df7ba9aa Merge branch 'support/fix_multi_br_forwarding_ping_reply' into 'master'
openthread: fix multi br forwarding ping reply

See merge request espressif/esp-idf!21478
2022-12-14 12:29:43 +08:00
zhengyujie
1e3c82b27d ieee802154: add ieee802154 component CI 2022-12-14 12:20:45 +08:00
Zim Kalinowski
7627a12045 pthread: enable qemu tests 2022-12-13 21:42:58 +01:00
Rocha Euripedes
aaeaefc9ad Merge branch 'update/esp-mqtt' into 'master'
mqtt:  [Update mqtt_client] - Set state on stoping; Add error code to Subscribed event

See merge request espressif/esp-idf!20922
2022-12-14 04:34:09 +08:00
Song Ruo Jing
edd815af2e Merge branch 'feature/esp32c6_clock_basic_support' into 'master'
clk: Add basic clock support for esp32c6

Closes IDF-5630, IDF-5973, IDF-5346, and IDF-6050

See merge request espressif/esp-idf!21149
2022-12-14 02:22:49 +08:00
Euripedes Rocha
4ec9d4bad6 mqtt: Set state on stoping; Add error code to Subscribed event
* Update submodule: git log --oneline ae53d799da294f03ef65c33e88fa33648e638134..fde00340f19b9f5ae81fff02ccfa9926f0e33687

Detailed description of the changes:
* Fix the default configuration for event queue
  - See merge request espressif/esp-mqtt!153
  - See commit https://github.com/espressif/esp-mqtt/commit/fb42588
* Adds missing header.
  - See merge request espressif/esp-mqtt!152
  - See commit https://github.com/espressif/esp-mqtt/commit/8a60057
* Moves state change when stopping the client
  - See merge request espressif/esp-mqtt!150
  - Closes https://github.com/espressif/esp-mqtt/issues/239
  - See commit https://github.com/espressif/esp-mqtt/commit/3738fcd
* Adds error code to MQTT_EVENT_SUBSCRIBED in case of failure
  - See merge request espressif/esp-mqtt!143
  - - Closes https://github.com/espressif/esp-mqtt/issues/233
  - See commit https://github.com/espressif/esp-mqtt/commit/9af5c26
* Adds debug information on sending dup messages
  - See merge request espressif/esp-mqtt!145
  - See commit https://github.com/espressif/esp-mqtt/commit/47b3f9b
* ci: Fix qemu build
  - See merge request espressif/esp-mqtt!147
  - See commit https://github.com/espressif/esp-mqtt/commit/68e8c4f
* ci: Build and Test QEMU on v5.0
  - See merge request espressif/esp-mqtt!142
  - See commit https://github.com/espressif/esp-mqtt/commit/9db9ee7
* client: Add support for user events
  - See merge request espressif/esp-mqtt!140
  - Closes https://github.com/espressif/esp-mqtt/issues/230
  - See commit https://github.com/espressif/esp-mqtt/commit/97503cc
* Adds unregister event API
  - See merge request espressif/esp-mqtt!139
  - Closes https://github.com/espressif/esp-idf/issues/9194
  - See commit https://github.com/espressif/esp-mqtt/commit/a9a9fe7
2022-12-13 15:34:31 +00:00
chenjianhua
d7c97ce20b update bt lib for ESP32-C3 and ESP32-S3
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-13 21:40:04 +08:00
Ivan Grokhotkov
ff23012d68 Merge branch 'contrib/github_pr_10334' into 'master'
Set errno in adjtime (GitHub PR)

Closes IDFGH-8915

See merge request espressif/esp-idf!21516
2022-12-13 19:36:49 +08:00