Commit Graph

27144 Commits

Author SHA1 Message Date
David Cermak
12fd9029bf esp_netif: Post IP event for PPP netifs unconditionally
IP update notification for "point to point" interfaces is performed
via the same callback function as for any other interfaces (dhcp_cb,
although it's not DHCP related). In P2P interfaces we have to assure
that we always get a notification, so we can set the interface up.
This was omitted when getting the same IP address for the second
time, causing the PPPoS interface (in esp-modem applications) failing
to reconnect if disconnected.

Closes https://github.com/espressif/esp-idf/issues/10308
Closes https://github.com/espressif/esp-protocols/issues/188
2022-12-16 18:07:32 +01: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
Zim Kalinowski
c57066d483 Merge branch 'feature/esp_pm_codeowners' into 'master'
Codeowners: Make system group as esp_pm codeowners

See merge request espressif/esp-idf!21607
2022-12-16 16:16:44 +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
Island
d6acd82e92 Merge branch 'bugfix/change_the_level_of_nimble_log' into 'master'
ble_mesh:example:change the level of nimble host log

See merge request espressif/esp-idf!21627
2022-12-16 14:12:41 +08: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 (Dou Yiwen)
6569be485b Merge branch 'bugfix/no_more_public_adc2_dma_on_c3_s3' into 'master'
esp_adc: no longer support ADC2 continuous (DMA) mode on esp32c3 and esp32s3

Closes FCS-982 and IDFGH-8691

See merge request espressif/esp-idf!19656
2022-12-16 12:33:32 +08:00
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
Jakob Hasse
0b0faf576f Merge branch 'bugfix/ci_esp_clang' into 'master'
ci: use latest esp-clang for code analysis

Closes IDF-6481

See merge request espressif/esp-idf!21640
2022-12-16 08:56:31 +08:00
Ivan Grokhotkov
75c92a8811
ci: use latest esp-clang for code analysis 2022-12-15 19:32:42 +01: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
Island
7283a406e4 Merge branch 'bugfix/remove_-Wno-formate_in_ble_mesh_examples' into 'master'
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples

See merge request espressif/esp-idf!21523
2022-12-15 17:54:30 +08:00
Yuan Hong Hui
c9c67dba9b ble_mesh:example:change the level of nimble host log 2022-12-15 17:39:44 +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
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
Darian Leung
dc27ec6784 codeowners: Make system group as esp_pm codeowners 2022-12-15 00:53:36 +08: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
Fu Hanxi
dabb16c6ad Merge branch 'feature/component_manager_custom_lock_file' into 'master'
component manager: add variable `DEPENDENCIES_LOCK`

Closes PACMAN-407 and IDFGH-7867

See merge request espressif/esp-idf!19878
2022-12-14 22:03:48 +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
Roland Dobai
2685a0a203 Merge branch 'fix/tools_gdbgui_requirement' into 'master'
Tools: gdbgui is not supported on Python 3.11

See merge request espressif/esp-idf!21572
2022-12-14 16:46:12 +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
46588e7126
docs: security: enable memory protection section for ESP32-C2/ESP32-C6 2022-12-14 10:03:47 +05:30
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