zhangyanjiao
270940dda0
esp_wifi: change max connection num on ESP32C3 and ESP32S3
...
Closes WIFI-5114
2022-12-19 14:20:05 +08:00
Sarvesh Bodakhe
869d8c4fd8
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-19 14:19:14 +08:00
chenjianxing
a01847c24f
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
...
Closes WIFI-5076
2022-12-19 14:18:27 +08:00
Jessy Chen
6818b3012d
esp_wifi: upload more wifi pkt info in rx callback for espnow & csi
2022-12-19 14:16:48 +08:00
Kapil Gupta
2accc311a2
WiFi: Add WPS softAP registrar example and events
2022-12-19 14:09:05 +08:00
muhaidong
81f39c8d09
esp_wifi: fix softap beacon memory leak issue
...
1. fix softap beacon memory leak issue.
2. fix esp wifi sta get ap info does not return connected ssid issue.
3. update inactive timer when recv ps-poll or success send data.
4. decrease test memory leak threshold.
2022-12-19 14:07:22 +08:00
Jiang Jiang Jian
8281933297
Merge branch 'bugfix/bdsa_security_issues_v5.0' into 'release/v5.0'
...
esp_wifi:BDSA related patch updates
See merge request espressif/esp-idf!21676
2022-12-19 13:52:30 +08:00
xiongweichao
32a50118a4
Assert when malloc user_data fail
2022-12-19 11:32:19 +08:00
xiongweichao
29b718bdf5
Fixed memory leak when SPP initialization failed
2022-12-19 11:32:09 +08:00
xiongweichao
3f5aaf11db
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-19 11:32:01 +08:00
Kapil Gupta
51dfbafce2
esp_wifi: Add changes to skip SAE handshake during WPS connection
2022-12-19 09:00:24 +05:30
Jiang Jiang Jian
c881f2dd6f
Merge branch 'bugfix/flush_pmk_for_akm_change_v5.0' into 'release/v5.0'
...
esp_wifi: Flush PMK caching if bss akm has changed(backport v5.0)
See merge request espressif/esp-idf!21646
2022-12-19 10:47:29 +08:00
Jiang Jiang Jian
10bb4c8279
Merge branch 'bugfix/update_esp_rom_gpio_header_v5.0' into 'release/v5.0'
...
esp_rom: update rom gpio.h (backport v5.0)
See merge request espressif/esp-idf!21621
2022-12-19 10:47:24 +08:00
Jiang Jiang Jian
31a58dbb4e
Merge branch 'bugfix/a2dp_error_code_v5.0' into 'release/v5.0'
...
bt: Update A2DP version to v1.4(v5.0)
See merge request espressif/esp-idf!21622
2022-12-19 10:46:58 +08:00
Shreyas Sheth
e566e0b597
esp_wifi:BDSA related patch updates
2022-12-19 02:14:26 +05:30
David Cermak
d2791b32fd
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:32:55 +01:00
Chip Weinberger
12f8e55d7c
[Panic] also print to secondary USB Serial/JTAG Console
2022-12-16 14:40:00 +01:00
morris
6d22959461
doc: recommend turn on psram xip feature for bounbe buffer mode
2022-12-16 17:48:28 +08:00
Liu Zhongwei
07d65333c3
rgb_lcd: support multi-fb with bounce buffer
2022-12-16 17:48:28 +08:00
morris
e207c60805
Merge branch 'bugfix/no_more_public_adc2_dma_on_c3_s3_v5.0' into 'release/v5.0'
...
adc: no longer support adc2 continuous mode on esp32c3 and esp32s3 (v5.0)
See merge request espressif/esp-idf!21645
2022-12-16 17:46:31 +08:00
Mahavir Jain
88c3e0b4d4
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-16 11:51:52 +05:30
Armando
bb074904b4
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 12:07:38 +08:00
Armando
1c373cf293
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 12:07:38 +08:00
Armando
6fd80903de
adc: added a soc macro indicating digital controller supported unit
2022-12-16 12:07:38 +08:00
Kapil Gupta
39ed5dc39d
esp_wifi: Flush PMK caching if bss akm has changed
2022-12-16 08:33:28 +05:30
Armando
2369fa4d66
mspi_tuning: fix psram timing tuning bug
...
Prior to this commit, when calling:
- spi_timing_enter_mspi_low_speed_mode()
- spi_timing_enter_mspi_high_speed_mode()
psram timing is not tuned. This will lead to a stall during early
startup. This bug is on S3, for 80MHz DDR PSRAM
This commit will add psram timing tuning, in these two functions.
2022-12-15 17:04:23 +08:00
xiongweichao
71bd180095
bt: Update HFP version to v1.8
2022-12-15 16:57:56 +08:00
xiongweichao
e5794669de
bt: Update A2DP version to v1.4
2022-12-15 16:57:51 +08:00
xiongweichao
9bd1484386
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-12-15 16:57:46 +08:00
jiangguangming
5f7d8bfd6b
esp_rom: update rom gpio.h
2022-12-15 16:27:57 +08:00
Rahul Tank
1623ad0a25
Nimble: Add helper macros to set interval min / max for periodic adv
2022-12-15 13:41:24 +05:30
liuning
8ba9f8a6cf
ci: fix esp_phy_modem_deinit issue
2022-12-15 10:48:04 +08:00
liuning
7d16868e32
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-12-15 10:45:09 +08:00
Marius Vikhammer
0fa3443cea
cxx: fixed stack smash test case failing due to changed output
...
__stack_chk_fail no longer prints "abort() was called" message,
changed test case to reflect this.
2022-12-14 12:37:23 +01:00
Guillaume Souchere
87a738962e
esp_system: fix placement of __stack_chk_fail from flash to RAM
...
When stack check is enabled, certain functions (sometimes placed in RAM)
are being decorated with stack guards and a call to __stask_chk_fail() in
case ofr stack corruption. For this reason, __stack_chk_fail() must be
placed in RAM too.
Add stack check config in heap tests on all targets to find eventual flash to RAM
calls due to stack checks when running callgraph_check.py
2022-12-14 12:37:23 +01:00
Guillaume Souchere
72e7cbee88
heap: Remove size check in multi_heap.c when registering a new heap
...
The tlsf now checks for size validity when creating a new heap.
The check previously done in multi_heap_register_impl() is no longer
valid since the tlsf_size() is not known at this time (as the metadata
size is linked ot the size of the memory region passed as parameter
when calling tlsf_create_with_pool())
The tlsf_create_with_pool() will return a null pointer if the size
of the memory is not big enough to hold the metadata overhead and
at least a small block.
Update the test according to the changes in TLSF API
2022-12-14 12:37:23 +01:00
Guillaume Souchere
47dc520538
heap: Update host tests after incorporation of the new TLSF implementation
2022-12-14 12:37:23 +01:00
Guillaume Souchere
6c926ab7b0
heap: Update the component to incorporate the new TLSF implementation
...
- remove tlsf_platform.h from esp-idf since the fl_index is now calculated
based on the size of the requested heap
- update CMakeLists.txt accordingly
2022-12-14 12:37:23 +01:00
Guillaume Souchere
be74fd1e8c
heap: fix linker issues and remove spi flash dependencies
2022-12-14 12:37:23 +01:00
Guillaume Souchere
35260d4325
feat: remove tlsf_fls and tlsf_ffs from linker as they are inlined.
2022-12-14 12:37:23 +01:00
Guillaume Souchere
c47ea5d2bb
tools: update list of references to not include symbold used by __assert_func calls
...
On xtensa architecture, the call to __assert_func uses a reference to __func__ that can
sometimes be placed in flash. Since the __asert_func can be called from functions in IRAM
the check_callgraph script can report an error when checking for invalid calls from IRAM
to flash sections. However, the __asert_func prevents this scenario at runtime so the
check_callgraph script reports a 'flas positive' situation. For this reasson, all references
to __func__$x found prior to a call to __assert_func are droped in the parsing of the rtl files.
2022-12-14 12:37:23 +01:00
Guillaume Souchere
e92250e6a2
heap: add check for usage of flash content from iram
...
this commits:
- adds build-time test to check that no call to flash regions are done from IRAM functions
- resolves problems related to IRAM function using content in flash memory
- update heap_caps_alloc_failed to use a default function name in DRAM
when necessary instead of creating a function name variable in DRAM for
each call of heap_caps_alloc_failed. This allows to save some extra bytes
in RAM.
2022-12-14 12:37:16 +01:00
Mahavir Jain
d8db7d7cc4
Merge branch 'feature/esp_https_ota_events_v5.0' into 'release/v5.0'
...
esp_https_ota: Added support for esp_events (v5.0)
See merge request espressif/esp-idf!21109
2022-12-14 17:11:50 +08:00
Island
eb08eb6578
Merge branch 'feature/esp32c2_optimize_npl_element_count_v5.0' into 'release/v5.0'
...
Feature/esp32c2 optimize npl element count v5.0
See merge request espressif/esp-idf!21563
2022-12-14 15:13:42 +08:00
Jiang Jiang Jian
232a4aee15
Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v5.0' into 'release/v5.0'
...
feature/report ACL link related events to application (v5.0)
See merge request espressif/esp-idf!21524
2022-12-14 10:45:15 +08:00
Jiang Jiang Jian
88a82c89c6
Merge branch 'feature/nimble_support_ble_max_conn_num_v5.0' into 'release/v5.0'
...
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 (v5.0)
See merge request espressif/esp-idf!21550
2022-12-14 10:44:50 +08:00
Jiang Jiang Jian
625483193a
Merge branch 'doc/update_nimble_mesh_example_information_v5.0' into 'release/v5.0'
...
Nimble: Update Mesh example documentation (v5.0)
See merge request espressif/esp-idf!21578
2022-12-14 10:44:11 +08:00
zwl
e8555efe5b
Renamed BAH
2022-12-13 18:05:00 +08:00
zwl
756dbc3f94
Fixed some occasional ble issues on ESP32H2BETA2
2022-12-13 17:50:14 +08:00
zwl
5cab9686bb
Optimized the number of npl on ESP32C2
2022-12-13 17:50:00 +08:00
morris
a3b040e991
Merge branch 'feature/_spi_slave_reset_trans_queue_api_v5.0' into 'release/v5.0'
...
spi: limit esp32 dma workaround only on esp32(v5.0)
See merge request espressif/esp-idf!21381
2022-12-13 16:29:41 +08:00
Rahul Tank
71e1c0a564
Nimble: Update documentation to include distinction between upstream
...
mesh example and ESP-BLE-MESH
2022-12-13 12:56:06 +05:30
Mahavir Jain
cc3dd0046d
Merge branch 'bugfix/unstall_other_cpu_on_core_reset_v5.0' into 'release/v5.0'
...
bugfix: unstall other cpu on core reset (backport v5.0)
See merge request espressif/esp-idf!21497
2022-12-12 20:05:05 +08:00
Jiang Jiang Jian
12535d6d75
Merge branch 'contrib/github_pr_9529_v5.0' into 'release/v5.0'
...
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v5.0)
See merge request espressif/esp-idf!21556
2022-12-12 17:54:13 +08:00
Jiang Jiang Jian
640b86025b
Merge branch 'bugfix/correct_the_default_SR_mode_v5.0' into 'release/v5.0'
...
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v5.0)
See merge request espressif/esp-idf!21519
2022-12-12 14:51:57 +08:00
Jiang Jiang Jian
3fcbf617ec
Merge branch 'rebase/remove_redundant_pm_lock_on_ble_v5.0' into 'release/v5.0'
...
Rebase/remove redundant pm lock on ble v5.0
See merge request espressif/esp-idf!21423
2022-12-12 14:49:37 +08:00
morris
7cb4504c55
Merge branch 'doc/esp_lcd_class_diagram_v5.0' into 'release/v5.0'
...
RGB LCD multi-framebuffer support (v5.0)
See merge request espressif/esp-idf!21476
2022-12-12 11:47:38 +08:00
morris
987e6b4e29
Merge branch 'bugfix/fix_xip_from_psram_cache_disable_issue_v5.0' into 'release/v5.0'
...
system: don't disable cache if Flash .text and .rodata are moved to PSRAM (v5.0)
See merge request espressif/esp-idf!21540
2022-12-12 11:37:27 +08:00
xiongweichao
6fdd8552da
Fixed incorrect parameters in switching to BTC context
2022-12-12 11:26:39 +08:00
xiongweichao
c0392d3dd9
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-12-12 11:26:34 +08:00
xiongweichao
f9732cb65f
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-12 11:26:26 +08:00
Wang Meng Yang
818ba6affb
Merge branch 'bugfix/spp_50005_crash_v5.0' into 'release/v5.0'
...
bt: Added esp_spp_enhanced_init() API to indicate whether to enable L2CAP ERTM(v5.0)
See merge request espressif/esp-idf!20822
2022-12-12 11:00:28 +08:00
Rahul Tank
7d68a35cbe
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3
2022-12-11 18:16:05 +05:30
Ondrej
49f673c52d
Improved emac rx task code to suppress Coverity false positive memory leak indication
2022-12-09 11:57:25 +00:00
Ondrej
df76911671
esp_eth: receive buffer allocation optimization
...
Receive buffers are allocated with a size equal to actual received frame size
2022-12-09 11:43:19 +00:00
gaoxu
06e1ff2881
system: don't disable cache if Flash .text and .rodata are moved to PSRAM
2022-12-09 18:02:57 +08:00
Zim Kalinowski
23dda413a5
Merge branch 'fix/add-region-allowed-checks_v5.0' into 'release/v5.0'
...
heap: Fix memory boundary condition checks when adding new region (backport v5.0)
See merge request espressif/esp-idf!20557
2022-12-09 17:27:39 +08:00
Mahavir Jain
0b971cf314
Merge branch 'fix/fix_behaviour_of_api_to_set_fe_release_mode_v5.0' into 'release/v5.0'
...
esp_flash_encrypt: If it is supported then Enable secure download mode in... (v5.0)
See merge request espressif/esp-idf!21493
2022-12-09 17:18:34 +08:00
cjin
842349de6d
ble: fix occasional assertion on ble rtc intr
2022-12-09 15:25:37 +08:00
zwl
de7e62fdfe
Unify controller internal error code on ESP32-C2
2022-12-09 15:25:37 +08:00
cjin
5c481c5a08
ble: remove redundant pm lock on ble
2022-12-09 15:25:37 +08:00
jincheng
80da46eff3
Added reporting for ACL link related events to application
2022-12-09 11:07:50 +08:00
Jin Cheng
a1de1bfd3c
correct the SR_mode selection when konw nothing about Peripheral
2022-12-09 10:24:24 +08:00
Jiang Jiang Jian
2693c89c05
Merge branch 'bugfix/notify_gattc_to_gatts_v5.0' into 'release/v5.0'
...
NimBLE : Change GATT notify/indicate from gattc to gatts (v5.0)
See merge request espressif/esp-idf!20892
2022-12-08 20:36:25 +08:00
Mahavir Jain
d4ff9f13c7
Merge branch 'bugfix/fix_esp_https_server_initialize_v5.0' into 'release/v5.0'
...
esp_https_server: Fix initializers missing in esp_https_server (backport v5.0)
See merge request espressif/esp-idf!21481
2022-12-08 16:00:14 +08:00
wuzhenghui
c280d4b56e
bugfix: unstall other cpu on core reset
...
- Closes https://github.com/espressif/esp-idf/issues/10320
2022-12-08 15:40:56 +08:00
Aditya Patwardhan
04cdc55efc
esp_flash_encrypt: If it is supported then Enable secure download mode in release mode instead of disabling it completely.
2022-12-08 10:28:30 +05:30
Jiang Jiang Jian
ed663e395f
Merge branch 'feature/support_le_power_control_v5.0' into 'release/v5.0'
...
Nimble: Add LE Power CTRL changes (v5.0)
See merge request espressif/esp-idf!21188
2022-12-08 11:53:00 +08:00
Jiang Jiang Jian
9dd8e497fd
Merge branch 'feature/esp_tls_add_cert_selection_callback_v5.0' into 'release/v5.0'
...
esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access... (v5.0)
See merge request espressif/esp-idf!21220
2022-12-08 11:52:45 +08:00
Jiang Jiang Jian
67f1ff7fa1
Merge branch 'feature/gd_e_hpm_support_v5.0' into 'release/v5.0'
...
spi_flash: Add GD25QxxE and ZBit flash HPM(120M) support(backport v5.0)
See merge request espressif/esp-idf!20240
2022-12-08 11:52:21 +08:00
morris
1c45872a00
doc: add api reference for controller lcd drivers
2022-12-07 17:55:19 +08:00
morris
698fd7abb3
lcd: support multi framebuffers for RGB LCD driver
2022-12-07 17:55:19 +08:00
xiongweichao
654e198464
bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init()
2022-12-07 09:38:24 +00:00
xiongweichao
c2c9b090c7
bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM
2022-12-07 09:38:24 +00:00
xiongweichao
6d57e7878d
bt: Keep the maximum number of credits unchanged
2022-12-07 09:38:24 +00:00
xiongweichao
aa25c4391c
bt: Replaced the tx queue in SPP VFS mode with ringbuffer
2022-12-07 09:38:24 +00:00
xiongweichao
6d9987f4c8
bt: Split SPP application layer data packets according to the MTU of the peer
2022-12-07 09:38:24 +00:00
xiongweichao
bce0e93b73
bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size
2022-12-07 09:38:24 +00:00
isha.pardikar@espressif.com
b1d87a41d2
NimBLE : Change GATT notify/indicate from gattc to gatts
2022-12-07 14:41:51 +05:30
yuanjianmin
d48b085735
esp_https_server: Fix initializers missing in esp_https_server
2022-12-07 14:36:26 +08:00
morris
c3d3ee8767
Merge branch 'contrib/github_pr_10106_v5.0' into 'release/v5.0'
...
hal/uart_ll.h: Fix compile with C++ (GitHub PR) (v5.0)
See merge request espressif/esp-idf!21454
2022-12-07 13:24:12 +08:00
Mahavir Jain
5397b7300a
Merge branch 'feature/add_keep_alive_for_httpserver_v5.0' into 'release/v5.0'
...
esp_http_server: Add support to enable TCP keepalive config (backport v5.0)
See merge request espressif/esp-idf!21426
2022-12-07 12:11:39 +08:00
Wang Meng Yang
23f7989006
Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption_v5.0' into 'release/v5.0'
...
Reduce the stack consumption of BTU_TASK (backport v5.0)
See merge request espressif/esp-idf!21434
2022-12-07 11:29:39 +08:00
morris
4fb6f42120
Merge branch 'feature/support_rotating_lcd_ssd1306_v5.0' into 'release/v5.0'
...
Support rotation on SSD1306 (backport v5.0)
See merge request espressif/esp-idf!21468
2022-12-07 11:14:44 +08:00
Jiang Jiang Jian
27de5e8a1b
Merge branch 'bugfix/fix_lwip_bugs_1206_v5.0' into 'release/v5.0'
...
lwip: fix some lwip bugs (backport v5.0)
See merge request espressif/esp-idf!21464
2022-12-07 11:13:23 +08:00
Zim Kalinowski
313edcd8a5
Merge branch 'bugfix/freertos_fpu_isr_pins_task_v5.0' into 'release/v5.0'
...
FreeRTOS: Fix bug where FPU usage in ISR pins the interrupted task (v5.0)
See merge request espressif/esp-idf!20626
2022-12-07 05:02:01 +08:00
Marius Vikhammer
5faeb1e97e
Merge branch 'bugfix/freertos_port_miss_header_v5.0' into 'release/v5.0'
...
freertos: add missing header include for esp_chip_info.h to port.c (v5.0)
See merge request espressif/esp-idf!21458
2022-12-06 23:00:03 +08:00
Vilem Zavodny
5f6eac2283
lcd: Support rotation SSD1306 and fix mirror y.
2022-12-06 15:24:19 +01:00
Jiang Jiang Jian
795a70f8b3
Merge branch 'bugfix/Fix_exceptional_list_params_check_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix exceptional list parameters check issue(v5.0)
See merge request espressif/esp-idf!21441
2022-12-06 20:41:08 +08:00
morris
e843281c8f
Merge branch 'doc/explain_ledc_callback_return_value_v5.0' into 'release/v5.0'
...
ledc: explain the callback return value (v5.0)
See merge request espressif/esp-idf!20966
2022-12-06 18:08:32 +08:00
Rahul Tank
e8e79e8e16
Nimble: Add LE Power CTRL changes
2022-12-06 14:56:20 +05:30
Jiang Jiang Jian
0e04bff488
Merge branch 'feature/LE_Conn_Subrating_v5.0' into 'release/v5.0'
...
Nimble: Stack support for Connection subrating feature (v5.0)
See merge request espressif/esp-idf!20814
2022-12-06 17:21:57 +08:00
Island
8e4bcb4875
Merge branch 'feature/add_comments_for_bt_connections' into 'release/v5.0'
...
Explain how much memory that will be used by each connection/advertiser.
See merge request espressif/esp-idf!21322
2022-12-06 17:21:12 +08:00
Jiang Jiang Jian
8290b18e5c
Merge branch 'feat/NimBLE-Blufi-custom-use_v5.0' into 'release/v5.0'
...
Nimble: Add support to expose blufi handler for external BLE application (v5.0)
See merge request espressif/esp-idf!20890
2022-12-06 16:51:38 +08:00
xueyunfei
651db95177
lwip:optimization dns ipv4 ipv6 timeir
...
* Update submodule: git log --oneline 33912690ea005e8ff05b2c579ebbf0a4189c3b00..705dd71d46779bf29653f1f1d7b1af5a09fb2aa7
Detailed description of the changes:
- dhcp: init fine timer when dhcp start(esp-lwip@705dd71d)
- ip6 timer: optimization lwip ip6 reassembly timer (esp-lwip@9813ea9a)
- ip4 timer: optimization lwip ip4 reassembly timer (esp-lwip@ce1a7099)
- dns timer: optimization lwip dns timer (esp-lwip@6b0bfc2e)
2022-12-06 16:06:57 +08:00
xueyunfei
ebd1609073
lwip timer:optimization dhcp fine timer
2022-12-06 16:04:21 +08:00
zhangyanjiao
4d46e8205a
lwip: fix the bug that long time to get IP
2022-12-06 16:01:38 +08:00
Mathis
7a72210157
Blufi: Add function for blufi management inside custom gap event handler
2022-12-06 10:53:09 +05:30
zhangyanjiao
7aa2b03204
esp_wifi: fix the ESPNOW crash when modify the interface of the peer
...
Closes WIFI-5046
Closes WIFI-5047
2022-12-06 05:06:18 +00:00
Nachiket Kukade
ffadd88af4
esp_wifi: Update wifi libs
...
- Fixed regression caused in commit ef80cf0b65
- Fixed unprotected SA Query issue
2022-12-06 05:06:18 +00:00
Shreyas Sheth
38bb7c2a60
esp_wifi:Mandate stations to have minimum security wpa3
2022-12-06 05:06:18 +00:00
Kapil Gupta
8136f98ddc
esp_wifi: Update wifi libs
...
Add changes to prevent security overwritten in full scan
Co-authored-by: Nachiket Kukade <nachiket.kukade@espressif.com>
2022-12-06 05:06:18 +00:00
Nachiket Kukade
0db6920b8c
esp_wifi: Update wifi libs
...
Fix unprotected SA Query issue and scan regression
2022-12-06 05:06:18 +00:00
zhangyanjiao
91804983b7
esp_wifi: fix esp32c3 connect fail
...
Closes IDFCI-1524
2022-12-06 05:06:18 +00:00
zhangyanjiao
8afd990e71
update wifi lib:
...
1. Modify wifi max connection num
2. Fix the ESPNOW senf fail after changing opmode
Closes IDFGH-7960
Closes WIFI-4176
Closes WIFI-5004
2022-12-06 05:06:18 +00:00
zhangyanjiao
175f0dec6c
Modify maximum softap conn num and espnow encryption peer num
2022-12-06 05:06:18 +00:00
Jiang Jiang Jian
b2396cee86
Merge branch 'bugfix/multiple_wifi_fixes_v5.0' into 'release/v5.0'
...
esp_wifi: update wifi lib
See merge request espressif/esp-idf!21425
2022-12-06 13:05:08 +08:00
Marius Vikhammer
7add623e73
freertos: add missing header include for esp_chip_info.h to port.c
...
Closes https://github.com/espressif/esp-idf/issues/10310
2022-12-06 12:17:17 +08:00
Simon Arlott
5ba75187b0
hal/uart_ll.h: Fix compile with C++
...
I'm including <hal/uart_ll.h> in my C++ application because I need to
bypass the uart driver. The inline functions in the header file fail to
compile as C++.
All of the enums need explicit casts for conversion to/from integers.
Merges https://github.com/espressif/esp-idf/pull/10106
2022-12-06 10:13:03 +08:00
morris
e1f486a49f
Merge branch 'feature/remove_psram_cs_clk_pin_settings_config_s2_s3_v5.0' into 'release/v5.0'
...
psram: remove CS/CLK pin settings in kconfig on ESP32S2/S3 (v5.0)
See merge request espressif/esp-idf!21042
2022-12-06 10:09:41 +08:00
Darian Leung
ad9884463c
freertos: Backport FPU tests from master to v5.0
...
This commit combines and backports the FPU unit tests updates of the following
commits:
423fb361e7
d69361779e
2022-12-06 00:03:50 +08:00
Darian Leung
13b8a8f2af
freertos: Fix FPU ISR core pinning bug
...
This commit fixes a bug where if an unpinned task is interrupted by a level 1
ISR that users the FPU, the FPU usage will cause the interrupted task to
become pinned to the current core.
Note: This bug was already fixed in SMP FreeRTOS in commit
d69361779e
. This commit simply backports the
fix to IDF FreeRTOS.
2022-12-06 00:03:50 +08:00
David Čermák
a4782767d9
Merge branch 'feature/mqtt_cmakefile_cleanup_v5.0' into 'release/v5.0'
...
Mqtt: Cmakelists.txt file simplification. (v5.0)
See merge request espressif/esp-idf!20493
2022-12-05 20:43:10 +08:00
wangjialiang
9d79c71498
ble_mesh: stack: Fix exceptional list parameters check issue
2022-12-05 20:24:21 +08:00
Fu Hanxi
6688ba7b8e
Merge branch 'ci/upload_elf_map_to_minio_v5.0' into 'release/v5.0'
...
ci: upload elf map file to s3 server to reduce artifacts size (v5.0)
See merge request espressif/esp-idf!19902
2022-12-05 18:17:59 +08:00
zwj
7884457d1f
Reduce the stack consumption of BTU_TASK
2022-12-05 17:12:27 +08:00
Zim Kalinowski
759f7ec13d
Merge branch 'feature/add_int_task_wdt_esp32c2_v5.0' into 'release/v5.0'
...
WDT: implement interrupt wdt and task wdt for ESP32-C2 (backport v5.0)
See merge request espressif/esp-idf!20980
2022-12-05 16:38:35 +08:00
Zim Kalinowski
6536aee5cc
Merge branch 'bugfix/xtensa_freertos_16B_aligned_v5.0' into 'release/v5.0'
...
FreeRTOS: Make the default stack alignment 16 for Xtensa (backport v5.0)
See merge request espressif/esp-idf!21078
2022-12-05 16:38:25 +08:00
Zim Kalinowski
9af06d112c
Merge branch 'bugfix/rtc_retain_mem_always_erased_v5.0' into 'release/v5.0'
...
Bootloader: retained memory can now be kept after reboot when custom data enabled (backport v5.0)
See merge request espressif/esp-idf!21232
2022-12-05 16:38:08 +08:00
Marius Vikhammer
2d826ddf3a
Merge branch 'bugfix/add_missing_ifdef_to_static_structs_v5.0' into 'release/v5.0'
...
freertos: Add missing ESP_PLATFORM preprocessor directive for FreeRTOS static data structs (v5.0)
See merge request espressif/esp-idf!20743
2022-12-05 15:28:24 +08:00
Marius Vikhammer
9f49fa2c1b
Merge branch 'bugfix/s3_ulp_riscv_cocpu_trap_v5.0' into 'release/v5.0'
...
ulp-riscv: always force COCPU clock on S3 (v5.0)
See merge request espressif/esp-idf!20768
2022-12-05 14:50:48 +08:00
Jiang Jiang Jian
77333d2d64
Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep_backport_v5.0' into 'release/v5.0'
...
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep(backport v5.0)
See merge request espressif/esp-idf!20806
2022-12-05 14:00:59 +08:00
Mahavir Jain
76657faec3
Merge branch 'fix/secure_boot_v2_fix_warning_message_v5.0' into 'release/v5.0'
...
Fix/secure boot v2 fix warning message (v5.0)
See merge request espressif/esp-idf!21274
2022-12-05 12:21:31 +08:00
Wang Meng Yang
755ee147bd
Merge branch 'feature/support_ble_max_conn_num_to_9_v5.0' into 'release/v5.0'
...
Support bluedroid host maximum number of connections to 9 (backport v5.0)
See merge request espressif/esp-idf!21400
2022-12-05 12:16:53 +08:00
wanlei
ec7265dca4
spi: limit esp32 dma workaround only on esp32
2022-12-05 12:10:45 +08:00
Marius Vikhammer
c60ccebb77
Merge branch 'bugfix/share_intr_v5.0' into 'release/v5.0'
...
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags (v5.0)
See merge request espressif/esp-idf!21285
2022-12-05 12:09:52 +08:00
Marius Vikhammer
3fd37357b6
Merge branch 'bugfix/c2_chip_info_gpio_range_v5.0' into 'release/v5.0'
...
hw-support: update C2 chip info to reflect that esp8684 has embedded flash (v5.0)
See merge request espressif/esp-idf!21066
2022-12-05 12:06:39 +08:00
Rahul Tank
586a4715ad
Nimble: Stack support for Connection subrating feature
2022-12-05 09:26:11 +05:30
yuanjianmin
311b50498b
esp_http_server: Add support to enable TCP keepalive config
...
Closes https://github.com/espressif/esp-idf/issues/9848
2022-12-05 11:43:06 +08:00
zhangyanjiao
19fae974fa
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
...
Closes WIFI-5023
Closes FCS-1081
Closes IDFGH-4525
2022-12-05 11:39:34 +08:00
shenjun
e4161a1bc1
esp_wifi_mesh: update wifi mesh libs
...
1. fix invalid child issue
2. fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-12-05 11:37:06 +08:00
liuning
5cd324413a
esp_wifi: fix some connectionless related issue and add connectionless power save guide
2022-12-05 11:35:23 +08:00
muhaidong
675f9555df
esp_wifi: fix some softap issues
...
1. add lldesc_config and clr PWR MGT flag
2. send null data instead of qos null data when receive ps-poll while power save queue is empty
3. update power save queue hw len
4. set more data bit
5. only send null data when psq hw len is 0 after recv ps-poll
2022-12-05 11:33:50 +08:00
muhaidong
054fdeb8c7
esp_wifi: Modify wifi scan return value.
...
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-12-05 11:31:52 +08:00
zhangyanjiao
645e5657c6
update doc for set channel
2022-12-05 11:31:40 +08:00
zhangyanjiao
acf7f03f67
update wifi reason code
2022-12-05 11:31:27 +08:00
alex.li
f768845b16
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.
2022-12-05 11:30:51 +08:00
Mahavir Jain
8819aa2f38
esp_https_server: fix coverity warning about null pointer dereference
2022-12-05 08:59:24 +05:30
Aditya Patwardhan
16e18d9170
esp-tls/Kconfig: Fix dependency for ESP-TLS Server menuconfig option
2022-12-05 08:59:24 +05:30
Aditya Patwardhan
6ef7d24fc9
esp-tls: Add changes to the Cert selection callback PR.
2022-12-05 08:59:24 +05:30
Akos Vandra
e6442657fd
esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access to required information so that the application can make a more informed decision on which certificate to serve (such as alpn value, server certificate type, etc.)
...
Closes https://github.com/espressif/esp-idf/pull/9833
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-12-05 08:59:24 +05:30
liuning
497b45186e
blufi: update version to 1.3
...
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-12-05 11:23:29 +08:00
Mahavir Jain
14efa6e214
Merge branch 'feature/upgrade_argtable_3_2_2_files_v5.0' into 'release/v5.0'
...
console: argtable3: upgrade to v3.2.2 (v5.0)
See merge request espressif/esp-idf!21013
2022-12-05 11:16:31 +08:00
Jiang Jiang Jian
3290fc1a6d
Merge branch 'bugfix/multiple_bugfixes_v5.0' into 'release/v5.0'
...
Add multiple bugfixes (Backport v5.0)
See merge request espressif/esp-idf!20997
2022-12-05 11:16:27 +08:00
Mahavir Jain
e15dfec417
Merge branch 'fix/esp_http_client_fix_behavior_disable_auto_redirect_enabled_v5.0' into 'release/v5.0'
...
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled (v5.0)
See merge request espressif/esp-idf!21081
2022-12-05 11:14:57 +08:00
Marius Vikhammer
c13c884921
Merge branch 'bugfix/esp_timer_isr_dispatch_test_fail_v5.0' into 'release/v5.0'
...
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error (v5.0)
See merge request espressif/esp-idf!21026
2022-12-05 11:12:27 +08:00
Ivan Grokhotkov
864ca34199
Merge branch 'bugfix/i2c_func_iram_v5.0' into 'release/v5.0'
...
I2C: put some interrupt used functions into IRAM( v5.0)
See merge request espressif/esp-idf!21404
2022-12-05 10:31:33 +08:00
Marius Vikhammer
7cd7056341
hw-support: update C2 chip info to reflect that esp8684 has embedded flash
...
Closes https://github.com/espressif/esp-idf/issues/10175
2022-12-05 02:29:46 +00:00
morris
4756a44c97
Merge branch 'feature/rgb_lcd_restart_v5.0' into 'release/v5.0'
...
rgb_lcd: support restart dma transmission manually (v5.0)
See merge request espressif/esp-idf!21408
2022-12-05 10:24:53 +08:00
morris
631ba1e88d
Merge branch 'bugfix/fix_slave_gpio_cs_mixed_with_iomux_bus_v5.0' into 'release/v5.0'
...
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin (v5.0)
See merge request espressif/esp-idf!21374
2022-12-05 10:21:09 +08:00
morris
2dd67ecd05
ledc: explain the callback return value
...
Closes https://github.com/espressif/esp-idf/issues/10093
2022-12-05 02:11:48 +00:00
morris
31ebcad8d6
Merge branch 'contrib/github_pr_7144_v5.0' into 'release/v5.0'
...
Update i2c.c to consider two I2C buses for clear bus counter (GitHub PR) (backport v5.0)
See merge request espressif/esp-idf!20504
2022-12-05 10:11:18 +08:00
morris
aff2157f10
Merge branch 'feature/esp_rom_alias_mz_crc32_to_crc32_le_v5.0' into 'release/v5.0'
...
move {target}/rom/miniz.h to a common miniz.h (backport to v5.0)
See merge request espressif/esp-idf!21104
2022-12-05 10:10:38 +08:00
morris
a3275f2b9e
Merge branch 'feature/usb_host_inflight_transfer_check_v5.0' into 'release/v5.0'
...
USB Host: Fix usbh_dev_open(), Fix usbh_ep_alloc(), Add USB Host Library check to prevent resubmitting inflight transfers, Don't access uninit pointer if usbh_install fails (backport v5.0)
See merge request espressif/esp-idf!20953
2022-12-05 10:08:32 +08:00
Fu Hanxi
e1d2635a83
adc: skip linking static functions when not COMPILER_OPTIMIZATION_DEFAULT
2022-12-02 15:42:40 +00:00
Fu Hanxi
17bdab020f
esp_pm: fix esp32c2 no sleep_enable_memory_retention error
2022-12-02 15:42:40 +00:00
morris
75c3a69feb
Merge branch 'docs/fix-typo-touch-pad-esp32s2-esp32s3_v5.0' into 'release/v5.0'
...
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3 (v5.0)
See merge request espressif/esp-idf!21043
2022-12-02 22:47:33 +08:00
morris
62cbfaee2d
Merge branch 'test/improve_adc_continuous_iram_test_aim_v5.0' into 'release/v5.0'
...
esp_adc: improve adc continuous iram test aim (v5.0)
See merge request espressif/esp-idf!20549
2022-12-02 22:47:00 +08:00
morris
302ecb0764
Merge branch 'doc/pcnt_overflow_compensate_v5.0' into 'release/v5.0'
...
pcnt: support accumulate the count value in the high/low limit event (v5.0)
See merge request espressif/esp-idf!21170
2022-12-02 22:42:50 +08:00
morris
e17b4463c1
Merge branch 'bugfix/legacy_rmt_resource_leak_v5.0' into 'release/v5.0'
...
rmt: fix memory leak in the legacy driver (v5.0)
See merge request espressif/esp-idf!21166
2022-12-02 22:43:05 +08:00
Jiang Jiang Jian
9406e80d5f
Merge branch 'bugfix/fix_c3_s3_ble_temperature_performance_v5.0' into 'release/v5.0'
...
Fixed bluetooth disconnection caused by HW temperature rise or fall(backport v5.0)
See merge request espressif/esp-idf!21370
2022-12-02 20:39:17 +08:00
Jiang Jiang Jian
316e0e2295
Merge branch 'bugfix/fix_hid_device_vup_without_connection_5.0' into 'release/v5.0'
...
Bugfix/Fix HID Device can not remove virtually cabled device without a connection[backport 5.0]
See merge request espressif/esp-idf!21365
2022-12-02 20:38:57 +08:00
Jiang Jiang Jian
e35e255651
Merge branch 'bugfix/sta_set_extra_ies_for_open_AP_v5.0' into 'release/v5.0'
...
esp_wifi: STA set extra IEs for open AP v5.0
See merge request espressif/esp-idf!21362
2022-12-02 20:38:15 +08:00
Jiang Jiang Jian
b74cb360f0
Merge branch 'bugfix/update_esp_rom_lldesc_header_v5.0' into 'release/v5.0'
...
esp_rom: remove lldesc_xxx definitions since no actual function bodies (backport v5.0)
See merge request espressif/esp-idf!21354
2022-12-02 20:38:00 +08:00
Jiang Jiang Jian
f83a531929
Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect_v5.0' into 'release/v5.0'
...
component_bt: Fixed a2dp failing to connect again after disconnect(v5.0)
See merge request espressif/esp-idf!21342
2022-12-02 20:38:13 +08:00
Jiang Jiang Jian
378a267378
Merge branch 'bugfix/disable_prov_encryption_v5.0' into 'release/v5.0'
...
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write (v5.0)
See merge request espressif/esp-idf!21263
2022-12-02 20:37:16 +08:00
Jiang Jiang Jian
6d1f2821f1
Merge branch 'feature/esp32c2_optimize_ble_init_v5.0' into 'release/v5.0'
...
Fixed memory leak when RAM free size is insufficient or setting ext scan...
See merge request espressif/esp-idf!21262
2022-12-02 20:37:16 +08:00
Jiang Jiang Jian
a0dda599d3
Merge branch 'remove_deprecated_rc4_v5.0' into 'release/v5.0'
...
Removed some occurences of the RC4 cipher suite(deprecated now)
See merge request espressif/esp-idf!21255
2022-12-02 20:37:06 +08:00
Jiang Jiang Jian
cd6e76588b
Merge branch 'bugfix/optimize_hidh_disconnection_5.0' into 'release/v5.0'
...
Bugfix/Fix HID Host improper handle of freeing resource in esp_hid component[backport 5.0]
See merge request espressif/esp-idf!21248
2022-12-02 20:36:50 +08:00
Jiang Jiang Jian
d92765bf9c
Merge branch 'bt/opt_audio_datapath_v5.0' into 'release/v5.0'
...
bt/optimized a2dp_sink audio datapath (v5.0)
See merge request espressif/esp-idf!21222
2022-12-02 20:36:14 +08:00
Jiang Jiang Jian
7c395f3ca8
Merge branch 'feature/support_ble_memory_release_on_esp32c2_v5.0' into 'release/v5.0'
...
Support BLE memory release on ESP32C2 (v5.0)
See merge request espressif/esp-idf!21189
2022-12-02 20:35:18 +08:00
Jiang Jiang Jian
52b0a5a1d5
Merge branch 'bugfix/fix_hfp_clcc_parser_bug_5.0' into 'release/v5.0'
...
Bugfix/Fix HFP client parse CLCC command response bug[backport 5.0]
See merge request espressif/esp-idf!21155
2022-12-02 20:34:18 +08:00
Jiang Jiang Jian
c0d79f2ef1
Merge branch 'bugfix/ble_mesh_event_typo_fix_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix typo in directly erase settings event (v5.0)
See merge request espressif/esp-idf!21107
2022-12-02 20:33:17 +08:00
Jiang Jiang Jian
6442112bb9
Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3_v5.0' into 'release/v5.0'
...
Change BLE default TX power on ESP32C3 and ESP32S3(backport v5.0)
See merge request espressif/esp-idf!21099
2022-12-02 20:32:53 +08:00
Jiang Jiang Jian
ee57fe20de
Merge branch 'bugfix/wpa_enterprise_reauth_v5.0' into 'release/v5.0'
...
esp_wifi: Fix WiFi Enterprise Reauthentication issue (v5.0)
See merge request espressif/esp-idf!21071
2022-12-02 20:32:27 +08:00
Jiang Jiang Jian
af7322aed5
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v5.0' into 'release/v5.0'
...
fixed the issue iOS devices cannot initiate connection (v5.0)
See merge request espressif/esp-idf!21063
2022-12-02 20:32:03 +08:00
Jiang Jiang Jian
8295bfc031
Merge branch 'bugfix/fixing_memory_leak_wps_scan_v5.0' into 'release/v5.0'
...
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
See merge request espressif/esp-idf!20987
2022-12-02 20:30:23 +08:00
Jiang Jiang Jian
c0cf0b07b0
Merge branch 'bugfix/bt_bss_wrong_address_v5.0' into 'release/v5.0'
...
Bluetooth: fix BSS placement in the linker script generated by ldgen (backport v5.0)
See merge request espressif/esp-idf!20976
2022-12-02 20:29:52 +08:00
Jiang Jiang Jian
ef1f1a8adb
Merge branch 'bugfix/fix_trans_optional_info_using_group_addr_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix can't trans optional info to group address(v5.0)
See merge request espressif/esp-idf!20958
2022-12-02 20:29:35 +08:00
Jiang Jiang Jian
fb1ee6b468
Merge branch 'bugfix/blufi_add_host_deinit_api_v5.0' into 'release/v5.0'
...
Blufi: Added an API to stop Bluetooth / Blufi profile (v5.0)
See merge request espressif/esp-idf!20863
2022-12-02 20:27:15 +08:00
Jiang Jiang Jian
a258f7993c
Merge branch 'feature/put_rom_tlsf_patch_code_to_iram_v5.0' into 'release/v5.0'
...
esp_rom: put rom tlsf patch code in iram by default (backport to v5.0)
See merge request espressif/esp-idf!20817
2022-12-02 20:26:47 +08:00
Jiang Jiang Jian
b48971317f
Merge branch 'bugfix/fix_part_of_modem_not_reset_when_power_on_backport_v5.0' into 'release/v5.0'
...
Coexistence: fix part of modem module not reset when power up(backport v5.0)
See merge request espressif/esp-idf!20807
2022-12-02 20:25:21 +08:00
jingli
c581b4340a
esp_hw_support/sleep: remove redundant spinlock protection for deep sleep
2022-12-02 12:24:52 +00:00
jingli
99c8c0c645
hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3)
2022-12-02 12:24:52 +00:00
jingli
4223427127
hal/gpio_ll: fix digital gpio can not disable hold during deep sleep
2022-12-02 12:24:52 +00:00
jingli
21c9ec5eee
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-12-02 12:24:52 +00:00
Jiang Jiang Jian
df80bc864d
Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32_backport_v5.0' into 'release/v5.0'
...
esp32/rtc: fix xtal unstable in some cases when sleep(backport v5.0)
See merge request espressif/esp-idf!20799
2022-12-02 20:24:25 +08:00
Jiang Jiang Jian
052d01b551
Merge branch 'bugfix/handle_issue_of_malloc_fail_v5.0' into 'release/v5.0'
...
bugfix/avoid unexpected free when malloc failed (v5.0)
See merge request espressif/esp-idf!20728
2022-12-02 20:23:58 +08:00
Jiang Jiang Jian
90dfbdcfc9
Merge branch 'bugfix/update_ctrl_init_config_macro_v5.0' into 'release/v5.0'
...
Bugfix/update ctrl init config macro (v5.0)
See merge request espressif/esp-idf!20711
2022-12-02 19:53:18 +08:00
Jiang Jiang Jian
5e461357a0
Merge branch 'bugfix/esp_spp_write_len_0_v5.0' into 'release/v5.0'
...
bt: Fixed esp_spp_write() crash when len is 0(v5.0)
See merge request espressif/esp-idf!20704
2022-12-02 19:53:19 +08:00
Jiang Jiang Jian
ff88f19ddd
Merge branch 'feature/add_rom_tlsf_function_prototype_v5.0' into 'release/v5.0'
...
esp_rom: add rom tlsf function prototype instead of void * (backport to v5.0)
See merge request espressif/esp-idf!20684
2022-12-02 19:52:51 +08:00
Jiang Jiang Jian
85f4192ca5
Merge branch 'feature/Add_IVI_recovery_option_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update(v5.0)
See merge request espressif/esp-idf!20641
2022-12-02 19:52:34 +08:00
Jiang Jiang Jian
8a956957f6
Merge branch 'bugfix/fix_fast_interval_prov_adv_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix send fast interval prov_adv failed (v5.0)
See merge request espressif/esp-idf!20635
2022-12-02 19:51:49 +08:00
Jiang Jiang Jian
fb519f3bb5
Merge branch 'bugfix/fix_esprv_intc_int_set_type_err_parameter_backport_v5.0' into 'release/v5.0'
...
bugfix: esprv_intc_int_set_type should not use bitmap parameter(backportv5.0)
See merge request espressif/esp-idf!20610
2022-12-02 19:51:34 +08:00
Jiang Jiang Jian
53746605d8
Merge branch 'bugfix/esprv_intc_int_set_type_error_v5.0' into 'release/v5.0'
...
Nimble: Fixed esprv_intc_int_set_type() usage (v5.0)
See merge request espressif/esp-idf!20616
2022-12-02 19:51:10 +08:00
jiangguangming
af425e5a8e
move {target}/rom/miniz.h to a common miniz.h
...
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H2
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32
2022-12-02 19:39:44 +08:00
Ivan Grokhotkov
539a8c221c
Merge branch 'gdbstub/unused_handle_v5.0' into 'release/v5.0'
...
gdbstub: fixed build-error due to potentially uninitialized variable on -O2 (v5.0)
See merge request espressif/esp-idf!20137
2022-12-02 19:30:34 +08:00
Ivan Grokhotkov
85eff825a9
Merge branch 'bugfix/do_not_mix_esp_partition_and_spi_flash_apis_v5.0' into 'release/v5.0'
...
partition: use esp_partition_munmap instead of spi_flash_munmap (v5.0)
See merge request espressif/esp-idf!21024
2022-12-02 19:29:49 +08:00
Ivan Grokhotkov
bdf2153a88
Merge branch 'bugfix/esp32s3_rom_has_ets_printf_issue_v5.0' into 'release/v5.0'
...
esp_rom: fix esp32s3 rom ets_printf bug (backport to v5.0)
See merge request espressif/esp-idf!20798
2022-12-02 19:28:14 +08:00
Ivan Grokhotkov
c231d9e01e
Merge branch 'bugfix/update_esp_rom_caps_v5.0' into 'release/v5.0'
...
esp_rom: update esp_rom_caps.h (backport v5.0)
See merge request espressif/esp-idf!20572
2022-12-02 19:27:29 +08:00
Ivan Grokhotkov
7a5643342a
Merge branch 'bugfix/time_jump_after_reboot_v5.0' into 'release/v5.0'
...
esp_hw_support: Fix time jump after reboot (v5.0)
See merge request espressif/esp-idf!20906
2022-12-02 19:21:08 +08:00
Ivan Grokhotkov
e3101bc138
Merge branch 'feature/esp_lcd_register_io_callback_v5.0' into 'release/v5.0'
...
esp_lcd: Add function for register on color done callback (backport v5.0)
See merge request espressif/esp-idf!21030
2022-12-02 19:19:39 +08:00
Omar Chebib
8731d281f1
FreeRTOS: Make the default stack alignment 16 for Xtensa
2022-12-02 11:17:38 +00:00
Ivan Grokhotkov
21629b7840
Merge branch 'bugfix/fix_iram_end_redefined_backportv5.0' into 'release/v5.0'
...
bugfix: fix redefined _iram_end (backport v5.0)
See merge request espressif/esp-idf!21161
2022-12-02 19:17:04 +08:00
Ivan Grokhotkov
9d412d9a16
Merge branch 'docs/test_utils_no_butter_v5.0' into 'release/v5.0'
...
docs: heap records are not eatable! (v5.0)
See merge request espressif/esp-idf!21326
2022-12-02 19:14:13 +08:00
Ivan Grokhotkov
c14a29c99f
Merge branch 'bugfix/fix_bootloader_sha256_flash_contents_mask_issue_v5.0' into 'release/v5.0'
...
bootloader: fix bootloader_sha256_flash_contents mmap issue (v5.0)
See merge request espressif/esp-idf!21392
2022-12-02 19:13:42 +08:00
Roland Dobai
8faf09234c
Merge branch 'feature/use_tools_json_to_check_toolchain_ver_v5.0' into 'release/v5.0'
...
Tools: use tools.json to double-check toolchain version when building (v5.0)
See merge request espressif/esp-idf!20662
2022-12-02 19:11:54 +08:00
Roland Dobai
e08150e534
Merge branch 'fix/tools-gdbinit-with-elf-symbols_v5.0' into 'release/v5.0'
...
tools: fixed elf symbols load if gdbinit specified (v5.0)
See merge request espressif/esp-idf!20467
2022-12-02 19:09:48 +08:00
Roland Dobai
17ad259e8e
Merge branch 'feature/freertos_smp_sysview_v5.0' into 'release/v5.0'
...
sysview: Adds FreeRTOS SMP port (v5.0)
See merge request espressif/esp-idf!20015
2022-12-02 19:07:14 +08:00
morris
7d39d1223b
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-12-02 16:29:21 +08:00
Cao Sen Miao
1bd4c6a8cf
I2C: put some interrupt used functions into IRAM,
...
closes https://github.com/espressif/esp-idf/issues/10079
2022-12-02 15:13:51 +08:00
Shen Weilong
dcc310f468
Explain how mush memory that will be used by each connection/advertiser.
2022-12-02 14:22:53 +08:00
zwj
8b0ec09c71
update BLE lib for ESP32-C3 and ESP32-S3
...
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by 8th device
2022-12-02 12:18:52 +08:00
zhiweijian
2a76e35ed1
bluedroid host supports the maximum number of connections to 9
2022-12-02 12:18:40 +08:00
Armando
c60257e862
bootloader: fix bootloader_sha256_flash_contents mmap issue
2022-12-01 21:46:24 +08:00
jingli
54046ee4bf
soc: remove unused DR_REG_DPORT_END macro for c2/c3/s2/s3
2022-12-01 21:09:05 +08:00
jingli
18fef64089
wifi/bt: fix part of modem module not reset when power up
2022-12-01 21:08:57 +08:00
Ivan Grokhotkov
7f5ecbe533
Merge branch 'bugfix/wafer_version_minor_s3_v5.0' into 'release/v5.0'
...
esp32s3: fixed bug chip v0.0 detected as vX.8 (v5.0)
See merge request espressif/esp-idf!21351
2022-12-01 20:37:52 +08:00
wanlei
12f9170862
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin
2022-12-01 20:12:58 +08:00
Omar Chebib
3e9701205c
esp_timer: add a function to restart timer
...
Timers, periodic or not, can now be restarted thanks to esp_timer_restart function.
This is done atomically, which can be used to feed a periodic timer, or simply change the period.
2022-12-01 10:45:35 +00:00
Omar Chebib
6b4e1619d8
TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog
2022-12-01 10:45:35 +00:00
Omar Chebib
1840c48538
TWDT: refactor the TWDT to be driver agnostic
...
This refactoring brings a private API for the TWDT implementation, which
can now use a hardware timer (Timer Group) or a software timer (esp_timer)
2022-12-01 10:45:35 +00:00
Omar Chebib
b675bb2a4d
WDT: implement interrupt wdt and task wdt for ESP32-C2
...
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-12-01 10:45:35 +00:00
zhiweijian
add561aed8
Fixed CI esp32s3.default_2_s3.Test failed
2022-12-01 18:44:44 +08:00
zhiweijian
9cfffd2915
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-12-01 18:44:31 +08:00
Tomas Rezucha
823c8d4e77
usb: Don't access uninit pointer if usbh_install fails
2022-12-01 08:33:22 +01:00
liqigan
ad43b04898
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:14:25 +08:00
Shreyas Sheth
046e28fa70
esp_wifi: STA set extra IEs for open AP
2022-12-01 12:13:33 +05:30
Sachin Parekh
af773c047a
esp32s3/memprot: Fix DRAM fault address calculation
2022-12-01 09:19:08 +05:30
Sachin Parekh
c83eb9dfc4
esp32s3/memprot: Fix SRAM region high addresses
2022-12-01 09:19:08 +05:30
Sachin Parekh
634c2c8bf1
esp32s3/memprot: Set permission for Icache region
2022-12-01 09:19:07 +05:30
jiangguangming
93fffd51bb
esp_rom: remove lldesc_xxx definitions since no actual function bodies
2022-12-01 09:34:11 +08:00
Michael (XIAO Xufeng)
277e4d5471
esp32s3: fixed bug chip v0.0 detected as vX.Y
...
A typical value is 2.8.
Previous commit 32ef2b321a
doesn't fix the issue cleanly. The MSB of wafer_minor also has this problem.
2022-12-01 01:56:53 +08:00
xiongweichao
d47bf56850
Fixed a2dp failing to connect again after disconnect
2022-11-30 18:46:59 +08:00
Jakob Hasse
b1e174f8e2
docs(test_utils): heap records are not eatable!
...
Instead of becoming spread, heap records should go into a buffer.
Hungry commits shall be avoided.
2022-11-29 13:47:50 +01:00
morris
b4470860f9
Merge branch 'bugfix/i2s_tdm_doubled_mclk_v5.0' into 'release/v5.0'
...
i2s: fixed double mclk in tdm mode (v5.0)
See merge request espressif/esp-idf!21191
2022-11-29 16:57:11 +08:00
zwl
06290d44c3
Fixed interrupt latency when cache is disable on ESP32-C2
2022-11-29 16:27:05 +08:00
zwl
90fa0e5c49
Fixed memory leak when RAM free size is insufficient or setting ext scan parameters failed on ESP32-C2
2022-11-29 16:27:05 +08:00
morris
5e79c3166c
Merge branch 'feature/multiple_spi_lcd_backport_v5.0' into 'release/v5.0'
...
spi_lcd: inherit more IO flags from SPI master driver (5.0)
See merge request espressif/esp-idf!21119
2022-11-29 10:41:59 +08:00
Marius Vikhammer
521a726316
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
...
Mark the vector descriptor source as freed.
2022-11-28 10:43:01 +08:00
Aditya Patwardhan
5dbfe4d502
secure_boot_v2: Fix warning message
2022-11-25 18:34:10 +05:30
Rahul Tank
6091627f2e
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
...
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.
Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.
End user can enable it as per their use case.
2022-11-25 14:18:05 +05:30
David Čermák
5f25bd8437
Merge branch 'bugfix/tcp_transport_err_propagate_v5.0' into 'release/v5.0'
...
tcp_transport: Fix error propagation on tcp_read() (v5.0)
See merge request espressif/esp-idf!21203
2022-11-25 15:19:48 +08:00
jgujarathi
2d0ef53e94
Removed some occurences of the RC4 cipher suite(deprecated now)
2022-11-25 10:07:56 +05:30
liqigan
de55b5d33e
optimize HID Host disconnection procedure
2022-11-25 08:54:04 +08:00
Guillaume Souchere
755dded0f5
heap: add documentation about the function placement in IRAM and its usage in ISR
...
This commits adds a internal.md file in the heap directory to clarify the idea behind
which functions is placed in IRAM or in flash.
A section in mem_alloc.rst documentation is added to specify which functions from the
heap component API can be used in interrupt handlers.
2022-11-24 12:40:00 +01:00
Guillaume Souchere
47cfd0a0d8
heap: add selective placement of function in IRAM
...
This commit aims to place in the IRAM section only the functions that
are relevent for performance instead of placing the entire content of
multi_heap.c, mullti_heap_poisoning.c and tlsf.c in the IRAM.
2022-11-24 12:39:46 +01:00
Mahavir Jain
9e88f790ff
Merge branch 'bugfix/parttool_commands_extra_partition_subtypes_v5.0' into 'release/v5.0'
...
parttool: fix parttool commands attribute parsing (v5.0)
See merge request espressif/esp-idf!21221
Closes https://github.com/espressif/esp-idf/issues/10238
2022-11-24 18:47:09 +08:00
Omar Chebib
62ad5c2258
Bootloader: retained memory can now be kept after reboot when custom data enabled
...
User's custom data are not taken into account during the CRC calculation anymore.
Which means taht the retained mem structure is not systematically erased
on each reboot anymore.
2022-11-24 17:35:55 +08:00
Euripedes Rocha
c0f99f5a28
[MQTT] Simplifies MQTT CMakeLists file
...
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-11-24 08:48:00 +01:00
harshal.patil
9977dbe8e2
parttool: fix extra_partition_subtypes attribute parsing
2022-11-24 10:45:05 +05:30
Aditya Patwardhan
ae32582cc7
esp-tls: Fix esp-cryptoauthlib built dependency when secure element
...
support is enabled
2022-11-24 09:32:30 +05:30
Jin Cheng
75b2e639e1
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 11:21:57 +08:00
David Cermak
3caeaece6b
tcp_transport: Fix error propagation on tcp_read()
2022-11-23 09:49:35 +01:00
Omar Chebib
a4b2aa8a57
RISC-V: fix PC not saved when using backtrace
2022-11-23 15:49:42 +08:00
Omar Chebib
96346c1eed
RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning
2022-11-23 15:44:44 +08:00
laokaiyao
592a51ae96
i2s: fixed typo 'philip'
...
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-22 15:59:51 +08:00
laokaiyao
85661a037f
i2s: fixed tdm mclk doubled issue
...
Closes: https://github.com/espressif/esp-idf/issues/10196
2022-11-22 15:57:33 +08:00
Rahul Tank
6c4292f7b1
Support BLE memory release on ESP32C2
2022-11-22 10:38:40 +05:30
Roland Dobai
c93c6317f5
Tools: Fix esptool wrappers by avoiding importing the module
...
Importing esptool in wrappers could cause importing the wrapper itself.
Updating the PATH is not reliable. For example, os.path.realpath()
changes the Windows driver letter to uppercase therefore, misses the
right path for users with small device letters in their PATH. Removing
paths without considering cases could also lead to errors.
This fix invokes esptool scripts as modules without the need to
importing them.
Closes https://github.com/espressif/esp-idf/issues/9861
Closes https://github.com/espressif/vscode-esp-idf-extension/issues/791
2022-11-21 15:20:14 +01:00
morris
0dbbf7bac5
pcnt: support accumulate count value
...
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 15:17:55 +08:00
Harshit Malpani
03f8d8a0e2
esp_https_ota: Send data to event handler
2022-11-21 03:31:06 +00:00
Harshit Malpani
4934d01795
esp_https_ota: Added support for esp_events
2022-11-21 03:31:06 +00:00
zwj
1b4499046a
support BLE memory release on ESP32C3 and ESP32S3
2022-11-21 10:33:55 +08:00
zwj
7e168de48d
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-21 10:33:35 +08:00
zwj
0af189b012
Fixed errors reported by CI clang_tidy_check
2022-11-21 10:33:35 +08:00
zwj
2e0a5b3111
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-21 10:33:35 +08:00
zwj
99cd53490b
change default tx power from 3dBm to 9dBm
2022-11-21 10:33:35 +08:00
satish.solanke
6d11786776
Update_sdkdefaultconfig_BLE_only_flag ESP32C2
2022-11-21 10:33:35 +08:00
morris
0bf7145181
rmt: fix memory leak in the legacy driver
...
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-21 09:59:58 +08:00
wuzhenghui
76817e6d76
bugfix: fix redefined _iram_end
2022-11-18 19:53:19 +08:00
liqigan
2539529360
fix HFP client parse CLCC command response bug
2022-11-18 19:38:58 +08:00
Liu Zhongwei
69b9b0b7a6
esp_lcd: add condition for spi to keep cs low
2022-11-18 03:36:37 +00:00
Liu Zhongwei
313700e285
esp_lcd: support sio mode for spi LCD
2022-11-18 03:36:37 +00:00
morris
4c3c23562c
spi_lcd: panel_io_spi_tx_color without cmd
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
morris
e518e3efd3
spi_lcd: allow dc gpio set to -1
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
morris
39d2a2e0bd
spi_lcd: support CS active high
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
lly
1529613561
ble_mesh: stack: Fix typo in directly erase settings event
2022-11-17 11:48:59 +00:00
harshal.patil
9463a66fc0
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled
2022-11-14 15:56:17 +05:30
Shreyas Sheth
ecaa2e8040
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-14 11:09:01 +05:30
Jin Cheng
650b665384
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-11-14 09:45:34 +08:00
jgujarathi
561cce9446
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
2022-11-11 17:17:28 +05:30
Linda
4a6d51e698
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
2022-11-11 17:40:09 +08:00
gaoxu
a67409275e
psram: remove CS/CLK pin settings in kconfig on ESP32S2/S3
2022-11-11 17:23:39 +08:00
jiangguangming
eedc5bbdb7
esp_rom: add rom api esp_rom_uart_set_as_console for riscv chips
2022-11-11 10:09:56 +08:00
jiangguangming
8b0d0cbf5d
esp_rom: remove ESP_ROM_SUPPORT_MULTIPLE_UART
2022-11-11 10:07:14 +08:00
jiangguangming
7472018f06
esp_rom: fix esp32s3 rom ets_printf bug
2022-11-11 10:04:00 +08:00
jiangguangming
bc54778b6c
esp_rom: update esp_rom_caps.h
2022-11-11 10:03:52 +08:00
Vilem Zavodny
a38828651b
esp_lcd: Add function for register on color done callback.
...
(cherry picked from commit 747c5993a8
)
2022-11-10 12:12:18 +01:00
Marius Vikhammer
61990fc8d4
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error
2022-11-10 15:02:03 +08:00
Michael (XIAO Xufeng)
f8d4bc8911
soc: upgrade version printing to vX.Y
2022-11-10 06:21:11 +00:00
Armando
d4725fb34d
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-10 11:26:51 +08:00
Michael (XIAO Xufeng)
5b0448eaed
esp32s3: fixed bug chip v0.0 detected as vX.0
...
A typical value is 2.0.
2022-11-09 18:21:43 +08:00
Ivan Grokhotkov
fc0f640736
console: argtable3: upgrade to v3.2.2
...
Closes https://github.com/espressif/esp-idf/issues/9907
Closes https://github.com/espressif/esp-idf/pull/10016
2022-11-09 10:59:39 +01:00
alex.li
676a3475ed
esp_wifi: Support external coex for C2 & H2.(59313b6c)
2022-11-08 19:20:33 +05:30
alex.li
9bbe6e7fa3
Support external coexist formal code for C2 & S3,
...
and optimize RX category in external coex.
2022-11-08 19:10:38 +05:30
muhaidong
4307be2906
esp_wifi: replace deprecated CONFIGS with their new versions
2022-11-08 19:08:30 +05:30
muhaidong
44366f57d8
esp_wifi: number of WiFi cache TX buffers should not equal 0 when enable SPIRAM
2022-11-08 19:02:51 +05:30
zhangyanjiao
1362b58b58
esp_wifi: report rssi info in wifi event
2022-11-08 18:33:59 +05:30
gauri patankar
78fe8e77e5
Adding check for ies in match security
2022-11-08 18:25:12 +05:30
Kapil Gupta
f8e2c30b32
esp_wifi: Add config option for AP retry count
2022-11-08 18:20:54 +05:30
Omar Chebib
d4070f725c
Bluetooth: fix BSS placement in the linker script generated by ldgen
2022-11-08 14:00:02 +08:00
wangjialiang
f825fcdda0
ble_mesh: stack: Fix can't trans optional info to group address
2022-11-07 15:46:39 +08:00
Darian Leung
2dc3664075
usb_host: Test host library inflight transfer resubmission check
...
This commit updates the USB Host Library unit tests to test that resubmitting
an inflight transfer will return an error.
2022-11-07 13:41:46 +08:00
Darian Leung
9670402e1c
usb_host: Add check to prevent submitting already inflight transfers
...
This commit adds a simple flag/check in the USB Host Library that prevents
users from submitting a transfer that is already inflight.
- A transfer is considered inflight as soon as it is submitted by calling
usb_host_transfer_submit() or usb_host_transfer_submit_control()
- An inflight transfer remains inflight up until right before its callback
is called by one of the USB Host Library handler functions.
Closes https://github.com/espressif/esp-idf/issues/8748
2022-11-07 13:41:41 +08:00
Tomas Rezucha
9e145c5d30
usb_host: Fixed incorrect opening devices from multiple clients
...
1. During USBH device open both queues (idle and pending) must be checked.
2. Don't overwrite already allocated endpoints
2022-11-07 13:41:35 +08:00
Adam Múdry
7ca457b519
sdspi: Allow CS line to be set to GPIO_NUM_NC (-1)
...
Closes https://github.com/espressif/esp-idf/issues/7852
2022-11-03 10:12:29 +08:00
Omar Chebib
4ef2ba26f9
I2C: Fix the reset counter
2022-11-03 02:09:44 +00:00
Eckhard Völlm
1ea5682617
Update i2c.c
...
Fix issue with single bus clear counter but two I2C buses (I2C0, I2C1). The previously implemented single (static) counter would impact the second bus either if one bus has counter expiry.
Merges https://github.com/espressif/esp-idf/pull/7144
2022-11-03 02:09:44 +00:00
Ivan Grokhotkov
a8ebd8ad04
unity: add linux port
...
This allows using unity fixture in Linux host tests
2022-11-02 21:49:15 +01:00
Martin Vychodil
af81bd1b0a
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:49:08 +01:00
KonstantinKondrashov
61d05c0325
esp_hw_support: Fix time jump after reboot
...
Closes https://github.com/espressif/esp-idf/issues/9448
2022-11-02 18:18:38 +08:00
Michael (XIAO Xufeng)
725eacbf16
Merge branch 'feature/usb/voltage_monitoring_backport_v5.0' into 'release/v5.0'
...
tinyusb: TinyUSB in IDF v5.0.0 (backport v5.0)
See merge request espressif/esp-idf!20673
2022-11-02 17:26:22 +08:00
Jiang Jiang Jian
3305987d66
Merge branch 'bugfix/esp32c2_create_sync_lost_v5.0' into 'release/v5.0'
...
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
See merge request espressif/esp-idf!20862
2022-11-02 11:35:00 +08:00
Jiang Jiang Jian
e63724adce
Merge branch 'bugfix/fix_ble_array_access_out_of_bounds_v5.0' into 'release/v5.0'
...
Fixed BLE array access out of bounds (backport v5.0)
See merge request espressif/esp-idf!20875
2022-11-01 21:00:20 +08:00
morris
53075e44ad
Merge branch 'contrib/github_pr_10083_v5.0' into 'release/v5.0'
...
temperature_sensor: fix typo (github PR) (v5.0)
See merge request espressif/esp-idf!20888
2022-11-01 19:23:27 +08:00
Jiang Jiang Jian
79aea89853
Merge branch 'bugfix/add_protection_for_mac_rst_v5.0' into 'release/v5.0'
...
esp_wifi: add protection for mac reset (backport 5.0)
See merge request espressif/esp-idf!20871
2022-11-01 18:45:01 +08:00
Jonas Vanthornhout
bc225c8886
Fixed typo
2022-11-01 14:36:44 +08:00
morris
88482af17a
Merge branch 'bugfix/i2s_tx_auto_clear_not_totally_clean_the_buf_v5.0' into 'release/v5.0'
...
i2s: fix tx incomplete auto clear (v5.0)
See merge request espressif/esp-idf!20570
2022-11-01 10:14:54 +08:00
morris
a6d2c65fdc
Merge branch 'bugfix/2nd_bootloader_uart1_baudrate_issues_v5.0' into 'release/v5.0'
...
esp_rom: fix 2nd bootloader custom uart1 baudrate issue (backport to v5.0)
See merge request espressif/esp-idf!20653
2022-11-01 10:11:28 +08:00
zhiweijian
c35b14bb49
Fixed BLE array access out of bounds
2022-10-31 20:13:26 +08:00
Jiang Jiang Jian
eb71cf38bb
Merge branch 'feature/move_eloop_to_pptask_v5.0' into 'release/v5.0'
...
wpa_supplicant: Run eloop timer in ppTask context (v5.0)
See merge request espressif/esp-idf!20864
2022-10-31 20:11:44 +08:00
liuning
eb61f5835a
esp_wifi: add protection for mac reset (backport 5.0)
2022-10-31 17:55:03 +08:00
Nachiket Kukade
cbee4d4328
esp_wifi: Update wifi libs
...
Fix some SoftAP PMF and espnow key management related issues
2022-10-31 12:49:48 +05:30
Kapil Gupta
34bb7af431
wpa_supplicant: Run eloop timer in ppTask context
...
Currently eloop runs in timer context which may cause some
inconsistent behavior.
Add changes to run eloop in ppTask context
2022-10-31 10:38:01 +05:30
Roshan Bangar
ab2dee9439
Nimble/blufi: Added an API to stop Bluetooth / Blufi
2022-10-31 09:49:13 +05:30
zwl
3bc38b7ff4
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
2022-10-31 12:01:35 +08:00
morris
20949d444f
Merge branch 'bugfix/rtc_function_needs_disable_usj_pads_esp32s3_v5.0' into 'release/v5.0'
...
rtcio: Disable USB Serial JTAG pad when setting pins 19 and 20 as RTC function on ESP32S3 (backport v5.0)
See merge request espressif/esp-idf!20550
2022-10-31 11:57:07 +08:00
morris
b1c856022c
Merge branch 'bugfix/spi2_add_device_cs_more_than_3_v5.0' into 'release/v5.0'
...
spi_master:fix error when use `spi_bus_add_device` more than 3 device(v5.0)
See merge request espressif/esp-idf!20073
2022-10-31 11:46:16 +08:00
Jiang Jiang Jian
2635a18df2
Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_5.0_0821' into 'release/v5.0'
...
Bufix/backport some wifi lwip bugs for 5.0 0821
See merge request espressif/esp-idf!20732
2022-10-28 16:33:50 +08:00
Kapil Gupta
2444d99612
wpa_supplicant: Validate eloop struct before deleting it
2022-10-28 09:44:32 +05:30
Jiang Jiang Jian
a43a6809c7
Merge branch 'feature/esp32c2_optimize_npl_os_freertos_ram_v5.0' into 'release/v5.0'
...
Feature/esp32c2 optimize npl os freertos ram v5.0
See merge request espressif/esp-idf!20776
2022-10-28 11:42:16 +08:00
morris
78773966c3
Merge branch 'feature/rgb_lcd_yuv_converter_v5.0' into 'release/v5.0'
...
RGB-YUV converter (v5.0)
See merge request espressif/esp-idf!20362
2022-10-28 10:07:48 +08:00
morris
8481fbf752
Merge branch 'bugfix/change_clock_name_v5.0' into 'release/v5.0'
...
mcpwm: fix wrong return value in the legacy MCPWM driver (5.0)
See merge request espressif/esp-idf!20693
2022-10-28 10:02:40 +08:00
morris
a13d5ef224
Merge branch 'bugfix/update_duty_on_tez_tep_v5.0' into 'release/v5.0'
...
mcpwm: update compare value on both tep and tez (v5.0)
See merge request espressif/esp-idf!20766
2022-10-28 10:00:36 +08:00
Mahavir Jain
108274f6c0
Merge branch 'bugfix/esp32_hardware_mpi_fix_v5.0' into 'release/v5.0'
...
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain (v5.0)
See merge request espressif/esp-idf!20819
2022-10-27 20:43:11 +08:00
Mahavir Jain
0830a47b60
Merge branch 'bugfix/http_cached_data_in_redirection_v5.0' into 'release/v5.0'
...
esp_http_client: free cached data in case connection gets closed for redirection (v5.0)
See merge request espressif/esp-idf!20791
2022-10-27 20:42:37 +08:00
Mahavir Jain
1af8f48a22
Merge branch 'bugfix/fix_wifi_retry_v5.0' into 'release/v5.0'
...
wifi_provisioning: fix error codes for wifi connect retry (v5.0)
See merge request espressif/esp-idf!20716
2022-10-27 20:42:20 +08:00
Laukik Hase
8becd5a856
protocomm: Increase Bluedroid-BLE maximum buffer size
...
- For the security2 scheme, the payload size is quite larger
than that for security1.
2022-10-27 09:56:10 +05:30
Mahavir Jain
84b0254fbf
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain
...
This fix adds a workaround to disable compiler optimization flag "-ftree-loop-distribute-patterns"
for `mpi_to_mem_block` routine. It was observed that compiler with release configuration was falling
back to `memset` call from ROM library causing an issue in correctly zero initializing MPI peripheral
block.
Please see following linked issue for more discussion and context on this issue.
Closes https://github.com/espressif/esp-idf/issues/8710
Closes https://github.com/espressif/esp-idf/issues/9371
Closes https://github.com/espressif/esp-idf/issues/9256
Closes IDFGH-7102
Closes IDFGH-7842
Closes IDFGH-7714
Closes IDFCI-1452
Closes IDF-6029
2022-10-27 09:54:26 +05:30