Armando
fe0643ca40
esp_adc: support adc calibration on esp32c2
2023-02-20 10:34:34 +08:00
Armando
70d62f5c85
efuse: added adc calibration efuse fields on esp32c2
2023-02-20 10:34:34 +08:00
Armando
d9992320c8
efuse: remove PVT_LOW field on esp32c2
...
PVT_LOW doesn't exist on ESP32C2
2023-02-20 10:34:33 +08:00
zlq
bd7bcbb03b
1.add ldo parameters in efuse table; 2.set ldo dbias based on pvt-efuse; 3.add pll cali stop function; 4. add efuse_ocode
2023-02-20 10:33:25 +08:00
Mahavir Jain
b289b7a1f1
Merge branch 'feature/mbedtls-3.3.0_v5.0' into 'release/v5.0'
...
mbedtls: Update to v3.3.0 (v5.0)
See merge request espressif/esp-idf!22121
2023-02-19 14:41:06 +08:00
Mahavir Jain
a823a4907f
Merge branch 'bugfix/fix_return_value_in_httpd_socket_apis_v5.0' into 'release/v5.0'
...
esp_http_server: fix return values for `httpd_socket_send()` and `httpd_socket_recv()` APIs (v5.0)
See merge request espressif/esp-idf!22307
2023-02-19 12:10:36 +08:00
Mahavir Jain
c71f9a3e1e
Merge branch 'fix/stack-dram-memory-protection_v5.0' into 'release/v5.0'
...
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled (backport v5.0)
See merge request espressif/esp-idf!22170
2023-02-19 11:57:54 +08:00
Mahavir Jain
ca7045d904
protocomm: Fix test-app build for esp32c2 & esp32c6
...
- AES context has a breaking change, rather than storing
round keys directly, it stores the offset at which the keys
are present in the context buffer
2023-02-19 03:53:02 +00:00
Laukik Hase
db99f311fc
mbedtls: Fix build with dynamic buffers feature
2023-02-19 03:53:02 +00:00
Laukik Hase
6384299167
wpa_supplicant: Update deprecated API (mbedtls_pkcs5_pbkdf2_hmac
)
...
- The newer alternative does not require HMAC context for its
operation
2023-02-19 03:53:02 +00:00
Laukik Hase
8b5ab6820f
mbedtls: Update config options as per v3.3.0 release
2023-02-19 03:53:02 +00:00
Laukik Hase
88aa45ff17
mbedtls: Update to v3.3.0
2023-02-19 03:53:02 +00:00
Mahavir Jain
e532de9aa5
partition_table: add tests for checking secure boot part size
2023-02-19 03:50:03 +00:00
Mahavir Jain
33568182d4
gen_esp32part: allow secure boot v2 based app partition size 4K aligned
...
For Secure Boot v2 case, unsigned image is first padded to next 64K
aligned boundary and then a signature block of 4K gets appended. Thus
an app partition whose size is 4K aligned should be allowed here.
For Secure Boot v1 case, app partition size must be 64K aligned as the
signature block lies at the very end of 64K boundary.
Relevant:
57b601ab7f
2023-02-19 03:50:03 +00:00
Mahavir Jain
dcae357500
Merge branch 'fix/hardware_ecc_port_v5.0' into 'release/v5.0'
...
mbedtls/ecp: Fix incorrect ECP parameter value
See merge request espressif/esp-idf!22112
2023-02-19 11:49:14 +08:00
Mahavir Jain
395b682aa3
Merge branch 'fix/mbedtls_port_sanity_checks_and_return_values_v5.0' into 'release/v5.0'
...
mbedtls/port: refactor sanity checks and their return values (v5.0)
See merge request espressif/esp-idf!22127
2023-02-19 11:47:47 +08:00
morris
ce0316df99
lcd: support PLL240M as i80 clock source on esp32s3
2023-02-18 15:14:12 +08:00
morris
f603aa7d76
Merge branch 'bugfix/i2s_update_regs_before_start_v5.0' into 'release/v5.0'
...
i2s: fixed rx update stuck bug (v5.0)
See merge request espressif/esp-idf!21776
2023-02-18 15:07:05 +08:00
morris
db8b56c9ac
Merge branch 'bugfix/fix_micro_error_SPI_HOST_MAX_v5.0' into 'release/v5.0'
...
spi: fix micro SPI_HOST_MAX error (v5.0)
See merge request espressif/esp-idf!22147
2023-02-18 15:06:35 +08:00
morris
3f68b61f3e
Merge branch 'feature/mcpwm_non_varg_version_api_v5.0' into 'release/v5.0'
...
mcpwm: support non-vararg version of generator functions (v5.0)
See merge request espressif/esp-idf!21951
2023-02-18 15:04:17 +08:00
morris
15471b450d
Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit_v5.0' into 'release/v5.0'
...
mcpwm: support not reset GPIO config at exit (v5.0)
See merge request espressif/esp-idf!22023
2023-02-18 15:03:13 +08:00
morris
27ca6549d5
Merge branch 'bugfix/gdma_uhci_id_5.0' into 'release/v5.0'
...
gdma: correct the dma trigger of UHCI && fix async memcpy conflict with peripheral DMA (v5.0)
See merge request espressif/esp-idf!22006
2023-02-18 15:02:32 +08:00
morris
10dd0cc4a1
Merge branch 'feature/rmt_no_light_sleep_lock_v5.0' into 'release/v5.0'
...
rmt: avoid auto light sleep when use xtal as the clock source (v5.0)
See merge request espressif/esp-idf!22053
2023-02-18 15:00:56 +08:00
morris
92b1f4fa27
Merge branch 'bugfix/gptimer_pm_lock_xtal_5.0' into 'release/v5.0'
...
gptimer: acquire pm lock for xtal clock source (v5.0)
See merge request espressif/esp-idf!22281
2023-02-18 15:00:24 +08:00
morris
9fb838c0b5
Merge branch 'bugfix/mcpwm_config_name_v5.0' into 'release/v5.0'
...
mcpwm: modify wrong config name (v5.0)
See merge request espressif/esp-idf!22385
2023-02-18 14:58:00 +08:00
Konstantin Kondrashov
8a6fb6df19
Merge branch 'feature/secure_features_are_enabled_correctly_v5.0' into 'release/v5.0'
...
security: Adds new APIs to check that all eFuse security features are enabled correctly (v5.0)
See merge request espressif/esp-idf!22116
2023-02-17 21:40:42 +08:00
Konstantin Kondrashov
08283c213b
Merge branch 'feature/mac_crc_v5.0' into 'release/v5.0'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort (v5.0)
See merge request espressif/esp-idf!22114
2023-02-17 21:36:59 +08:00
Saurabh Kumar Bansal
75b7202d71
Merge branch 'bugfix/usb_host_hub_enumeration_string_handling_v5.0' into 'release/v5.0'
...
USB Host: Fix string descriptor handling by the hub driver during enumeration (backport v5.0)
See merge request espressif/esp-idf!22324
2023-02-17 21:22:59 +08:00
Darian
6a86124ff5
Merge branch 'feature/usb_host_feature_and_refactor_backports_v5.0' into 'release/v5.0'
...
USB Host: Backport multiple feature and refactors to v5.0
See merge request espressif/esp-idf!21584
2023-02-17 20:49:46 +08:00
Darian
e68bc99347
Merge branch 'bugfix/esp_pm_and_sleep_build_errors_v5.0' into 'release/v5.0'
...
esp_system: Fix various PM and sleep build errors (v5.0)
See merge request espressif/esp-idf!21781
2023-02-17 20:49:22 +08:00
Ivan Grokhotkov
69dd34dfb6
Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32_v5.0' into 'release/v5.0'
...
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32 (v5.0)
See merge request espressif/esp-idf!21821
2023-02-17 19:47:58 +08:00
Aditya Patwardhan
b559e2ccb6
Merge branch 'fix/esp_local_ctrl_header_incl_v5.0' into 'release/v5.0'
...
esp_local_ctrl: Fix header inclusion (v5.0)
See merge request espressif/esp-idf!22134
2023-02-17 19:42:25 +08:00
Ivan Grokhotkov
e5f975c5cf
Merge branch 'fix/revert-sdio-slave-gcc11-workaround_v5.0' into 'release/v5.0'
...
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv() (v5.0)
See merge request espressif/esp-idf!22404
2023-02-17 19:41:53 +08:00
Ivan Grokhotkov
66f5a4a497
Merge branch 'fix/fix_incorrectly_defined_coredump_chip_ver' into 'release/v5.0'
...
espcoredump: fix incorrectly defined coredump chip version (v5.0)
See merge request espressif/esp-idf!21967
2023-02-17 19:41:07 +08:00
Aditya Patwardhan
78638641a7
Merge branch 'contrib/github_pr_10378_v5.0' into 'release/v5.0'
...
Stop WiFi provisioning in the esp_event thread instead of creating new thread (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22244
2023-02-17 19:36:06 +08:00
Ivan Grokhotkov
0033b02ce5
Merge branch 'fix/efuse-function-declaration_v5.0' into 'release/v5.0'
...
efuse: fix esp_efuse_utility_write_reg() declaration (v5.0)
See merge request espressif/esp-idf!22086
2023-02-17 19:33:22 +08:00
Aditya Patwardhan
3e5ea5a941
Merge branch 'contrib/github_pr_10391_v5.0' into 'release/v5.0'
...
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification (GitHub PR) (v5.0)
See merge request espressif/esp-idf!21767
2023-02-17 19:30:58 +08:00
Aditya Patwardhan
4fc89f445c
Merge branch 'fix/protocomm_kconfig_flag_v5.0' into 'release/v5.0'
...
protocomm: Fix Kconfig flag dependency on wifi_provisioning component (v5.0)
See merge request espressif/esp-idf!22135
2023-02-17 19:26:12 +08:00
Aditya Patwardhan
38917a36b5
Merge branch 'feature/add_bootloader_sector_pad_option_v5.0' into 'release/v5.0'
...
esptool_py: Added a --pad-to-size flag to align the bootloader image (v5.0)
See merge request espressif/esp-idf!21916
2023-02-17 19:02:52 +08:00
Omar Chebib
18125ff7b7
coredump: add support for stacks in external RAM
...
Tasks having their stacks in SPIRAM can now be part of the coredump written to flash
2023-02-17 10:39:07 +08:00
Omar Chebib
886e98a2c1
Merge branch 'bugfix/support_coredump_stack_xtensa_v5.0' into 'release/v5.0'
...
coredump: custom core dump stack is now supported on Xtensa targets (backport v5.0)
See merge request espressif/esp-idf!21804
2023-02-17 10:35:35 +08:00
Alexey Lapshin
7db42d3a40
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()
...
This happened because of passing sdio_slave_hal_send_desc_t** to function
sdio_ringbuf_recv() which is declared to have char** as input parameter
2023-02-16 13:48:58 +07:00
Alexey Lapshin
4005886b8a
Revert "sdio_slave: workaround the sdio_slave crash issue with release config + GCC11"
...
This reverts commit 19add3fb05
.
2023-02-16 13:48:58 +07:00
jingli
ac47b093f6
esp32c2/rtc: fix 8md256 as rtc slow clk not work properly during deep sleep
2023-02-16 10:55:50 +08:00
jingli
eb27e688fb
UT/esp32c2: reenable pm and sleep related UT
2023-02-16 10:54:11 +08:00
jingli
2da8497358
UT/esp32c2: reenable rtc clk calibration compensation UT
2023-02-16 10:52:59 +08:00
jingli
e109c5f998
esp32c2: support rtc time feature depend on rtc memory, since c2 does not have rtc memory
2023-02-16 10:52:59 +08:00
Aditya Patwardhan
a4afa44435
versions: Update version to 5.0.1
2023-02-15 12:30:03 +00:00
Darian Leung
912c82fc5a
freertos: Expand CONFIG_FREERTOS_SMP description
...
This commit adds more details to the CONFIG_FREERTOS_SMP option's description.
2023-02-15 20:16:55 +08:00
Cao Sen Miao
256dd53120
mcpwm: modify wrong config name
2023-02-15 17:55:55 +08:00
chenjianhua
58851cd5cd
bluedroid: support ble privacy by controller
2023-02-14 11:24:02 +08:00
chenjianhua
a13b89a043
bluedroid: add params in GATT connect event
2023-02-14 11:23:50 +08:00
chenjianhua
78437f48ae
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-02-14 11:23:01 +08:00
Saurabh Kumar Bansal
2b665ee327
usb_host: Hub driver skips fetching string descriptors if their index is 0
...
When a USB does not support a particular string dsecriptor (e.g.,
manufacturer, product, and serial number), the string descriptors corresponding
index will be set to 0 in the device descriptor (e.g., iManufacturer, iProduct,
iString).
Previously, the Hub driver would always attempt to fetch the all three string
descriptors, thus leading an error in CHECK_SHORT_SER_STR_DESC if the device
did not support the descriptor.
This commit fixes the Hub drvier by skipping the enumeration stages of a
particular descriptor if its index is 0 (i.e., not supported by the device).
2023-02-13 17:05:11 +05:30
Darian Leung
6e9500ad13
usb_host: Fix error when fetching LANGID table
...
USB devices may support string descriptors in multiple languages. The supported
languages are stored in a LANGID table, which itself is a string descriptor at
index 0.
When fetching the LANGID table itself, the USB 2.0 specification does not
specify what LANGID to use, thus the Hub driver would use the default LANGID
"ENUM_LANGID". However, this would cause some devices to stall.
This commit fixes the issue by always requesting the LANGID table itself using
a LANGID of 0.
2023-02-13 17:04:46 +05:30
Tomas Rezucha
3f1cff699d
usb_host: Fix interface descriptor parsing
...
Previously the USB host driver did not accept interface number greater or equal bNumInterfaces, even though these are valid interface numbers
2023-02-13 17:03:59 +05:30
Jin Cheng
2db423c62b
Fixed build errors when sniff subrating is enabled.
2023-02-13 17:26:35 +08:00
Guillaume Souchere
6e35b1eba3
heap: Fix priority in shex() bit shift
2023-02-13 09:03:32 +01:00
Chip Weinberger
6ed2371bd1
[Logs] print size and caps when malloc fails
2023-02-13 09:02:59 +01:00
Harshit Malpani
935661ba4a
esp_http_server: fix return values for httpd_socket_send()
and httpd_socket_recv()
APIs
...
Closes https://github.com/espressif/esp-idf/issues/10658
2023-02-10 10:57:05 +05:30
jingli
7f15980de9
sleep: fix gpio wakeup not working properly in some cases
...
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-09 17:32:13 +08:00
jingli
50feb8f75b
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-09 17:29:40 +08:00
Steve Jothen
60f678b736
Use correct recursive mutex for env and regular mutex for tz
2023-02-09 16:02:50 +08:00
zhangwenxu
bddbd66e13
esp_phy: fix phy init when SW restart
2023-02-09 15:11:44 +08:00
morris
de8409fa88
gptimer: acquire pm lock for xtal clock source
2023-02-09 14:10:15 +08:00
Sachin Parekh
f136f16f72
wpa_supplicant: Enable ECC test case
2023-02-08 21:35:49 +05:30
Sachin Parekh
131faba944
mbedtls/ecp: Fix incorrect ECP parameter value
...
- Add sanity checks in mbedtls port
- Add ECP test cases covering shorter scalar values
2023-02-08 21:35:49 +05:30
wangyuanze
5de3f74f5e
touch_sensor: fix touch_sensor_v1 filter issue
2023-02-08 14:32:36 +08:00
wangyuanze
9892fb760b
touch: move unit tests to test_app
2023-02-08 12:26:27 +08:00
wangyuanze
e51845d04c
touch: update touch-related code to compile without -Wno-format flag
2023-02-08 12:23:40 +08:00
Barabas Raffai
c9ce87a1a9
Clean up wifi provisioning in the esp_event thread
...
Signed-off-by: Laukik Hase <laukik.hase@espressif.com>
2023-02-06 18:31:11 +05:30
Shen Weilong
699dde8a38
Fixed the bluedroid hci crash due insufficient memory on ESP32C2
2023-02-03 20:41:23 +08:00
AlbertWDev
a16896af68
bt: fix SDP event status overwritten by handle
2023-02-02 20:13:52 +08:00
Michael (XIAO Xufeng)
885e501d99
Merge branch 'feature/remove_80m_ddr_warning_v5.0' into 'release/v5.0'
...
mspi: remove mspi 80m ddr mode warning regarding to timing tuning (v5.0)
See merge request espressif/esp-idf!21904
2023-02-01 18:24:11 +08:00
jgujarathi
f6e8a4ea90
wpa_supplicant : Prevent h2e config overwrite
...
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.
Add one preventative condition to take care of this.
2023-02-01 12:51:12 +05:30
jgujarathi
a36991d7a9
wpa_supplicant : fix invalid de-init of last_scan_res_used
...
During the wifi deinit last_scan_res_used is not set to 0 which will cause it be used directly after reinit.
Added changes which will set it to 0 during init and deinit.
2023-02-01 12:39:23 +05:30
jgujarathi
0ec506961e
wpa_supplicant : Correct scan results for GCMP RSN
...
Fixed a typo which was causing scan results for GCMP not showing correctly
2023-02-01 12:39:11 +05:30
morris
6b8d4dfe14
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-02-01 11:06:48 +08:00
morris
ac05d033b9
gdma: correct the dma trigger of uart
...
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-02-01 11:02:24 +08:00
Guillaume Souchere
41fd87fd89
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled
...
If memory protection is enabled on esp32c3 and esp32s3, we don't want to the heap component to see
the startup stack memory as D/IRAM but as DRAM only. Introduce a new type to make this possible in
the same fashion the regular D/IRAM regions are handled.
2023-01-31 07:40:20 +01:00
wanlei
9fd62d547c
spi_flash: fix flash function arg_check with spi host_id
2023-01-30 10:33:17 +08:00
wanlei
d51f4583a4
spi: fix micro SPI_HOST_MAX error
...
Closes https://github.com/espressif/esp-idf/issues/10349
2023-01-29 16:24:59 +08:00
Laukik Hase
e60d82463b
protocomm: Fix Kconfig dependency on wifi_provisioning
component config
...
- `protocomm` depends on a config option `CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION`
from `wifi_provisioning`; however, a lower layer component (`protocomm`) should
not have any `#ifdef` guard dependent on an upper layer component (`wifi_provisioning`).
- Added a new `ble_link_encryption` flag in `protocomm_ble_config_t` to manage the same
Closes https://github.com/espressif/esp-idf/issues/9443
2023-01-26 12:57:19 +05:30
Laukik Hase
09c0b58b97
esp_local_ctrl: Fix header inclusion
...
- Included `sdkconfig.h` and HTTP/S server based headers
explicitly
2023-01-26 12:53:02 +05:30
harshal.patil
3ca447956c
mbedtls: fix null pointer dereference of variable iv_off
...
iv_off gets dereferenced before being check for NULL
2023-01-25 15:32:56 +05:30
harshal.patil
79fb21952e
mbedtls/port: refactor sanity checks and their return values
...
Refactored and returned correct error codes for sanity checks
present in port layer esp_aes.c and esp_aes_gcm.c
2023-01-25 15:30:20 +05:30
harshal.patil
7e00b1f356
mbedtls/port: added stream_block parameter sanity check
2023-01-25 15:30:20 +05:30
KonstantinKondrashov
e8fcb93d0f
bootloader_support(esp32c2): Fix esp_secure_boot_cfg_verify_release_mode API
...
When FE and SB keys are set then:
- 128 low bits are read protected
- 128 hi bits are readable
2023-01-24 18:21:37 +08:00
KonstantinKondrashov
1cb0472520
bootloader_support(esp32c2): Fix WR_DIS_RD_DIS burn for secure boot key
...
SB key is left readable, the corresponding bit in RD_DIS is unset.
We set write-protection for RD_DIS to ensure that the SB key is always readable.
2023-01-23 21:35:31 +08:00
KonstantinKondrashov
5d37e26d35
security: Adds new APIs to check that all eFuse security features are enabled correctly
2023-01-23 21:02:55 +08:00
KonstantinKondrashov
7a23bf19be
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then esp_efuse_mac_get_default returns INVALID_CRC instead of abort
...
Closes https://github.com/espressif/esp-idf/issues/10401
2023-01-23 20:02:16 +08:00
wangmengyang
ebb7650e63
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3 and ESP32-C2
2023-01-20 10:47:58 +08:00
Alexey Lapshin
fa46e1b491
efuse: fix esp_efuse_utility_write_reg() declaration
2023-01-19 14:29:26 +07:00
morris
c41bb46d92
Merge branch 'bugfix/ledc_glb_clk_compiler_warning_v5.0' into 'release/v5.0'
...
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on ESP32 (v5.0)
See merge request espressif/esp-idf!21941
2023-01-17 10:30:11 +08:00
morris
5aa55ffc34
mcpwm: support not reset GPIO config at exit
...
By default, the driver will reset the GPIO used by the MCPWM capture
channel at exit. But in some special use cases, the same gpio may also
be used by another device, which shares the same gpio configuration,
resetting the gpio is not expected.
Closes https://github.com/espressif/esp-idf/issues/10327
2023-01-16 11:22:58 +08:00
morris
1884442a80
rmt: no auto light sleep if xtal is working as the clock source
2023-01-16 10:20:40 +08:00
Shyamal Khachane
e4f5fe72d0
esp_wifi: Fix missing disconnected callback
2023-01-13 13:27:32 +05:30
Jiang Jiang Jian
fbeedbc238
Merge branch 'bugfix/prevent_open_auth_sae' into 'release/v5.0'
...
Fix SAE open auth and PMK issues (Backport v5.0)
See merge request espressif/esp-idf!21852
2023-01-13 15:51:56 +08:00
Shreyas Sheth
86aa89c532
esp_wifi: Add check for wps start state
2023-01-12 17:01:58 +05:30
Jiang Jiang Jian
179a2717c0
Merge branch 'bugfix/esp_netif_ip_reconnect_v5.0' into 'release/v5.0'
...
esp_netif: Post IP event for PPP netifs unconditionally (v5.0)
See merge request espressif/esp-idf!21670
2023-01-12 16:21:26 +08:00
Jiang Jiang Jian
42bf734139
Merge branch 'bugfix/esp32s3_int_wdt_v5.0' into 'release/v5.0'
...
system: disable interrupts in esp_restart_noos_dig to fix infinite int_wdt on ESP32-S3 (v5.0)
See merge request espressif/esp-idf!21769
2023-01-12 16:19:27 +08:00
Jiang Jiang Jian
96db537020
Merge branch 'feature/apply_new_version_logic_v5.0' into 'release/v5.0'
...
all: Apply new version logic (major * 100 + minor) (v5.0)
See merge request espressif/esp-idf!20941
2023-01-12 16:18:23 +08:00
Mahavir Jain
6988e82430
Merge branch 'feature/esp_http_server_esp_events_v5.0' into 'release/v5.0'
...
esp_http_server: Added support for esp_events (v5.0)
See merge request espressif/esp-idf!21844
2023-01-12 12:40:12 +08:00
Mahavir Jain
00d5130b65
Merge branch 'fix/wifi_prov_scan_method_v5.0' into 'release/v5.0'
...
Changed wifi provisioning scan method (v5.0)
See merge request espressif/esp-idf!21854
2023-01-12 12:39:20 +08:00
Mahavir Jain
ef5465b3d9
Merge branch 'feature/gcm_operation_using_ctr_based_calculation_v5.0' into 'release/v5.0'
...
GCM operation optimisation (v5.0)
See merge request espressif/esp-idf!21856
2023-01-12 12:38:42 +08:00
Mahavir Jain
31f239c22f
Merge branch 'bugfix/esp_tls_timeout_v5.0' into 'release/v5.0'
...
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t (v5.0)
See merge request espressif/esp-idf!21743
2023-01-12 12:37:58 +08:00
Mahavir Jain
bc918310c2
Merge branch 'esp_local_ctrl/fix_https_server_dep_v5.0' into 'release/v5.0'
...
esp_local_ctrl: Add support for insecure HTTP server transport (v5.0)
See merge request espressif/esp-idf!21815
2023-01-12 12:37:26 +08:00
Armando
870f4efa0d
adc: make adc_channel.h macros work with ng driver
...
Closes https://github.com/espressif/esp-idf/issues/10508
2023-01-12 11:15:57 +08:00
Shyamal Khachane
18e6fa945e
wpa_supplicant: Set PMK from PMKSA incase of caching
2023-01-11 11:17:02 +05:30
Shyamal Khachane
677c813137
esp_wifi: Fix open auth issue after commit message exchange
2023-01-11 11:16:13 +05:30
Kapil Gupta
1db1a5f17e
Removed sha384 hash for certs > 2k
2023-01-10 13:14:21 +00:00
LiPeng
3c1ac62969
mbedtls: GCM implementation is replaced with CTR-based calculation
...
- GCM operation in mbedtls used ECB, which calculated only 16 bytes of data each time.
- Therefore, when processing a large amount of data, it is necessary to frequently set hardware acceleration calculations,
- which could not make good use of the AES DMA function to improve efficiency.
- Hence, GCM implementation is replaced with CTR-based calculation which utilizes AES DMA to improve efficiency.
2023-01-09 18:37:07 +05:30
harshal.patil
f111ed2d9a
mbedtls: fix esp_aes_gcm_update_ad()
API implementation
...
Closes IDFGH-10467
2023-01-09 18:35:25 +05:30
Aleksei Apaseev
065e121451
espcoredump: fix incorrectly defined coredump chip version
2023-01-09 19:54:01 +08:00
Darian Leung
cc159dfc5b
usb: Fix incorrect bmRequestType direction flag in USB Host Library
...
usb_host_transfer_submit_control() uses the incorrect bmRequestType direction
flag. Therefore, when doing a transfer check, all transfers were mistakenly
treated as OUT transfers (only affects transfer check and not actual transfer).
2023-01-09 17:56:06 +08:00
Darian Leung
ff4e4f4c80
hal: Fix USB DWC HAL host channel halt race condition
...
This commit fixes a race condtion bug with usb_dwc_hal_chan_request_halt()
where a channel the channel is halted if it has just completed a transfer
(i.e., finished processing a QTD with the "HOC" flag set) but the channel is
still pending interrupt handling. In this case...
- usb_dwc_hal_chan_request_halt() would simply read the channel's underlying
register, determine it is not active, not set the "halt_requested" flag, and
simply return true.
- The caller assumes of usb_dwc_hal_chan_request_halt() will assume that the
channel has halted, and may proceed to reconfigure the pipe/port
- When usb_dwc_hal_chan_decode_intr() comes to process the pending interrupt
it will simply return USB_DWC_HAL_CHAN_EVENT_CPLT not knowing a halt has been
requested.
This commit updates the implementation of usb_dwc_hal_chan_request_halt() so
that a halt is properly requested even if the underlying channel has already
physically halted.
2023-01-09 17:55:48 +08:00
Tomas Rezucha
05f30c1052
usb: Refactor USB Host tests
...
* USB tests migrated to pytest
* Error messages improved
* Configurable for different mock devices
2023-01-09 17:55:20 +08:00
Darian Leung
8d85a76a74
usb_host: Rename struct/ll/hal symbols to use "usb_dwc" prefix
...
Following the file renaming to use the "usb_dwc" prefix, this commit
updates the symbol names of those files to use the "usb_dwc" as well.
Some LL functions were also renamed so that the register name is
mentioned.
2023-01-09 17:48:09 +08:00
Darian Leung
da91dbccfa
usb_host: Rename struct/ll/hal files to use "usb_dwc" prefix
...
This commit updates the DWC_OTG based struct/ll/hal file names to
use the prefix "usb_dwc". This naming scheme reduces ambiguity if
another USB controller implementation is added.
As a result, "hcd.c" has been renamed to "hcd_dwc.c"
2023-01-09 17:47:42 +08:00
morris
ae7c8de4a7
mcpwm: support non-varg version of generator functions
...
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-09 15:09:40 +08:00
Song Ruo Jing
e8386ed732
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on specific kconfig options selected
...
Closes https://github.com/espressif/esp-idf/pull/9025
Closes https://github.com/espressif/esp-idf/issues/10322
2023-01-07 17:29:45 +08:00
Michael (XIAO Xufeng)
ac068eed34
esp32c2: fixed chip revision of ECO2
2023-01-06 02:00:52 +08:00
KonstantinKondrashov
9538f9c5ff
ci: Fix environment variable IDF_CI_BUILD is not set
2023-01-06 02:00:52 +08:00
KonstantinKondrashov
d130b5b6ba
esp_hw_support: Removes esp32c2 eco2 support
2023-01-06 02:00:52 +08:00
KonstantinKondrashov
df9e24a8ca
bootloader_support: Fix iram_loader_seg overflow for ESP32-S2 when -O0
2023-01-06 02:00:52 +08:00
Michael (XIAO Xufeng)
bb0c26c233
esp32c2: put v2.0 back to development stage
2023-01-06 02:00:52 +08:00
KonstantinKondrashov
823024c10c
all: Apply new version logic (major * 100 + minor)
2023-01-06 02:00:52 +08:00
harshal.patil
536825dda1
esptool_py: Added a sector-pad option for bootloader image
...
When SECURE BOOT V2 is enabled and CONFIG_SECURE_BOOT_SIGNED_BINARIES
is not set, sector-pad the bootloader image, which is required for an
external PKCS#11 interface to generate a signature.
2023-01-05 13:39:57 +05:30
jiangguangming
d9efa662c8
esp_hw_support: support riscv call
2023-01-05 15:58:37 +08:00
jiangguangming
8e6dfb8af4
soc: H2(beta) support SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY
2023-01-05 15:56:20 +08:00
jiangguangming
7585e86a05
esp_rom: update H2 and C2 rom rtc.h
2023-01-05 15:52:49 +08:00
Armando
698be13236
mspi: remove mspi 80m ddr mode warning regarding to timing tuning
2023-01-05 11:50:57 +08:00
zhaoweiliang
a68fad98ed
Fixed task watchdog trigger issue when closed hci uart
2023-01-04 15:30:32 +08:00
Guillaume Souchere
249fde21e5
esp_hw_support: allow writing in IRAM when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set for esp32C2
...
when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set, the PMP rule for esp32c2 shoud allow write access.
Fix esp_cpu_configure_region_protection() in cpu.c accordingly.
2023-01-04 07:51:46 +01:00
Jin Cheng
4c6aad37f6
Fixed crash caused by accessing nullptr in btm_acl_disconnected
2023-01-04 11:46:04 +08:00
zhaoweiliang
6b0a64d722
Fixed hci uart flow ctrl error on ESP32-C2 and ESP32-H4
2023-01-04 09:59:32 +08:00
Guillaume Souchere
327bf0d608
heap: RE-enable ESP32C2 test in test_apps
2023-01-03 09:52:33 +01:00
Guillaume Souchere
4175dd7a56
newlib: Update the esp32c2 config default to avoid RTC related test to not run on esp32c2
...
Set CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT to enable to force CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER to disable
and hence prevent the following tests from being executed:
- Timestamp after abort is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have - big error
2023-01-03 08:37:28 +01:00
Guillaume Souchere
3711a032ff
esp-hw-support: fix interrupt allocation tests on esp32c2
...
A part of the test 'Can allocate IRAM int only with an IRAM handler' was to
allocate an intr with the handler in RTC memory which is not supported by esp32c2.
A condition was added to prevent this part of the test to execute on esp32c2 targets.
2023-01-03 07:52:07 +01:00
Sudeep Mohanty
f244a8b209
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
...
This commit fixes an issue where in the ULP RISC-V I2C example causes
a spurious wakeup of the main CPU because of a Trap signal when the ULP
core does not meet the wakeup threshold values. This was due to the fact
that the RTC_CNTL_COCPU_DONE signal was being set before the
RTC_CNTL_COCPU_SHUT_RESET_EN signal which was causing the the ULP RISC-V
core to not reset properly on each cycle.
Closes https://github.com/espressif/esp-idf/issues/10301
2023-01-02 14:21:24 +01:00
harshal.patil
40f2caa950
mbedtls: fix esp_aes_crypt_ctr writing to null stream block
2023-01-02 12:02:47 +05:30
harshal.patil
ea07ce9367
mbedtls: added SOC_AES_SUPPORT_AES_192 check in esp_aes_gcm_setkey()
2023-01-02 12:02:47 +05:30
harshal.patil
d1d273bece
test_aes_gcm: fix output_size paramter in mbedtls_get_update()
...
mbedtls_get_update() returned MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL,
as 0 used to get passed in the output_size paramter.
2023-01-02 12:02:47 +05:30
harshal.patil
1c0e11efc0
mbedtls: populate mbedtls_gcm_update() output_length paramater
2023-01-02 12:02:47 +05:30
sanket.wadekar
9067214f33
Changed wifi provisioning scan method
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com>
2022-12-31 18:09:45 +05:30
Harshit Malpani
1a39a17777
esp_http_server: Added support for esp_events
2022-12-29 18:08:38 +05:30
cje
524f1195bf
sleep: fix sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
...
Related to: https://github.com/espressif/esp-idf/issues/6687
2022-12-28 15:33:20 +08:00
Laukik Hase
7279244f8c
esp_local_ctrl: Add support for insecure HTTP server transport
2022-12-28 11:17:10 +05:30
Rahul Tank
72e637750e
Nimble: Removes global min/max definition causing problems with other libraries
2022-12-28 10:17:10 +05:30
Omar Chebib
eb66430793
coredump: custom core dump stack is now supported on Xtensa targets
2022-12-26 12:07:58 +01:00
Darian Leung
bedfc5063d
esp_pm: Fix string formatting type errors
...
This commit fixes a string formatting error in esp_pm with CONFIG_PM_PROFILING
is enabled.
Closes https://github.com/espressif/esp-idf/issues/10347
2022-12-23 15:04:13 +08:00
Darian Leung
4be58114dc
esp_pm: Fix build error when CONFIG_PM_PROFILING is enabled
2022-12-23 15:04:08 +08:00
laokaiyao
d93b7246b0
i2s: fixed rx update stuck bug
2022-12-23 10:45:51 +08:00
gauri patankar
002e21bda4
esp_wifi:Update wifi libs
...
1. Avoid ftm initiator mode on softap
2. Fix home channel issue in ftm for apsta mode
3. Fix int overflow for T1-T4 counter variable
2022-12-22 16:10:28 +05:30
Ivan Grokhotkov
acb2397341
gdb stub: re-enable for ESP32-C2
2022-12-22 11:39:02 +01:00
Ivan Grokhotkov
35135d7b29
system: disable interrupts in esp_restart_noos_dig
2022-12-22 11:34:38 +01:00
Chip Weinberger
caf794ad26
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification
2022-12-22 15:41:30 +05:30
Jiang Jiang Jian
490216a2ac
Merge branch 'bugfix/fix_httpd_req_cleanup_v5.0' into 'release/v5.0'
...
esp_http_server: fix wrong context pointer in httpd_req_cleanup function (v5.0)
See merge request espressif/esp-idf!21731
2022-12-22 10:22:06 +08:00
Jiang Jiang Jian
d64e8f5caf
Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue_v5.0' into 'release/v5.0'
...
esp_phy: add country code 01 to country code map type table(Backport v5.0)
See merge request espressif/esp-idf!21749
2022-12-22 09:35:25 +08:00
Jiang Jiang Jian
9fa8329148
Merge branch 'feature/emac_buff_v5.0' into 'release/v5.0'
...
esp_eth: receive buffer allocation optimization (v5.0)
See merge request espressif/esp-idf!21547
2022-12-21 23:35:30 +08:00
Aditya Patwardhan
e6b3038cbd
Merge branch 'docs/update_esp_https_ota_docs_for_esp_events_v5.0' into 'release/v5.0'
...
docs: Update esp_https_ota docs to have information about OTA events (v5.0)
See merge request espressif/esp-idf!21733
2022-12-21 20:59:41 +08:00
muhaidong
94d2040ba7
esp_phy: add country code 01 to country code map type table
2022-12-21 20:00:36 +08:00
Ivan Grokhotkov
205ca920bf
Merge branch 'contrib/github_pr_10199_v5.0' into 'release/v5.0'
...
Removed the 'configASSERT( xInheritanceOccurred == pdFALSE )' assertion from xQueueSemaphoreTake (GitHub PR)(v5.0)
See merge request espressif/esp-idf!21500
2022-12-21 19:56:13 +08:00
Jiang Jiang Jian
4a0708fe61
Merge branch 'fix/clear_cur_pmksa_v5.0' into 'release/v5.0'
...
Clear current pmksa before generating RSN IE (Backport v5.0)
See merge request espressif/esp-idf!21690
2022-12-21 19:06:07 +08:00
Jiang Jiang Jian
c541b9082e
Merge branch 'contrib/github_pr_10027_v5.0' into 'release/v5.0'
...
[Panic] also print to secondary USB Serial/JTAG Console (GitHub PR) (v5.0)
See merge request espressif/esp-idf!21021
2022-12-21 17:15:04 +08:00
Laukik Hase
081e2ac97e
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-21 14:42:33 +05:30
Ivan Grokhotkov
20d4335d60
Merge branch 'fix/sdspi_no_cs_v5.0' into 'release/v5.0'
...
sdspi: Allow CS line to be set to GPIO_NUM_NC (-1) (v5.0)
See merge request espressif/esp-idf!20915
2022-12-21 16:37:25 +08:00
Harshit Malpani
83896d877a
docs: Update esp_https_ota docs to have information about OTA events
2022-12-21 10:39:35 +05:30
Harshit Malpani
a5ee1504f8
esp_http_server: fix wrong context pointer in httpd_req_cleanup function
...
Added example which fails without the fix
Closes https://github.com/espressif/esp-idf/issues/10265
2022-12-21 10:32:34 +05:30
Shyamal Khachane
823b6c8f56
wpa_supplicant: Clear current pmksa before generating RSN IE
...
Also update wifi libs with below changes -
- Fix reason codes for Invalid PMKID
- Fix handling of Assoc Resp status codes for Station
2022-12-21 11:51:48 +08:00
Jiang Jiang Jian
25eb1f0c6e
Merge branch 'bugfix/some_wifi_fixes_v5.0' into 'release/v5.0'
...
esp_wifi: update wifi lib to latest master for v5.0
See merge request espressif/esp-idf!21680
2022-12-21 10:50:49 +08:00
Jiang Jiang Jian
594dd810f1
Merge branch 'bugfix/esp_lcd_modify_bounce_buffer_index_v5.0' into 'release/v5.0'
...
RGB LCD: support multi frame buffer in bounce buffer mode (v5.0)
See merge request espressif/esp-idf!21660
2022-12-21 10:48:18 +08:00
Zim Kalinowski
6972b61ea5
Merge branch 'staging/esp_static_assert_v5.0' into 'release/v5.0'
...
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT (backport v5.0)
See merge request espressif/esp-idf!21695
2022-12-20 20:53:02 +08:00
Zim Kalinowski
83e2cf1a68
Merge branch 'staging/riscv_wrapper_freertos_tasks_v5.0' into 'release/v5.0'
...
RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning (backport v5.0)
See merge request espressif/esp-idf!21202
2022-12-20 16:34:13 +08:00
timoxd7
39cadc7e46
Queue Send fix
...
Fixes rare deadlock on heavy loaded multicore-systems.
2022-12-20 08:30:53 +00:00
Aditya Patwardhan
a0c6c1ff34
Merge branch 'bugfix/update_docs_for_secure_dl_mode_v5.0' into 'release/v5.0'
...
docs: Fix Secure DL mode documentation about flash read being unsupported (v5.0)
See merge request espressif/esp-idf!21653
2022-12-20 13:56:59 +08:00
Jiang Jiang Jian
c173845ff3
Merge branch 'feature/tlsf-dynamic-control-size_v5.0' into 'release/v5.0'
...
heap: Update to the new tlsf implementation of dynamic metadata size (backport v5.0)
See merge request espressif/esp-idf!20774
2022-12-20 13:51:07 +08:00
Jiang Jiang Jian
133184b59f
Merge branch 'bugfix/flush_pmksa_entry_after_disconnect_v5.0' into 'release/v5.0'
...
Fix PMK caching related regression (Backport v5.0)
See merge request espressif/esp-idf!21698
2022-12-20 13:47:37 +08:00
Jiang Jiang Jian
7dae4181a8
Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!21682
2022-12-20 11:14:48 +08:00
Jiang Jiang Jian
cf88b7a743
Merge branch 'bugfix/fix_ble_some_bugs_20221219' into 'release/v5.0'
...
backport some BLE bugs 20221219 (backport v5.0)
See merge request espressif/esp-idf!21697
2022-12-20 10:52:53 +08:00
Jiang Jiang Jian
368ede2eb4
Merge branch 'bugfix/spp_vfs_memory_leak_v5.0' into 'release/v5.0'
...
Component_bt/fix esp_spp_vfs_register memory leak(v5.0)
See merge request espressif/esp-idf!21678
2022-12-20 10:37:10 +08:00
Omar Chebib
0714847552
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-12-19 15:06:15 +01:00
Shyamal Khachane
6203254900
wpa_supplicant: Fix PMK caching related regression
...
Fixed regression caused by commit e566e0b5
2022-12-19 19:10:11 +05:30
zwj
0733694f1f
Update bt lib for ESP32
...
- 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-19 20:26:17 +08:00
zwj
e7ee437bcf
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-19 20:24:26 +08:00
chenjianhua
e95d7202ce
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-19 20:23:34 +08:00
zwj
c656e7ec07
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
2022-12-19 20:22:58 +08:00
chenjianhua
0b8f0e5456
update bt-lib for ESP32
...
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-19 20:19:59 +08:00
zwj
5fff471b50
Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-19 20:19:28 +08:00
chenjianhua
938d912daa
bluedroid: fix ble connection update with same params
2022-12-19 20:17:00 +08:00
chenjianhua
c97df72bb2
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-19 20:17:00 +08:00
chenjianhua
4b7702c0a4
bluedroid: correct the length of att read by type pdu
2022-12-19 20:17:00 +08:00
Jiang Jiang Jian
dfa9a81233
Merge branch 'feature/add_periodic_helper_macros_v5.0' into 'release/v5.0'
...
Nimble: Add helper macros to set interval min / max for periodic adv (v5.0)
See merge request espressif/esp-idf!21620
2022-12-19 19:33:27 +08:00
Jiang Jiang Jian
4ace4e6bec
Merge branch 'bugfix/skip_sae_during_wps_v5.0' into 'release/v5.0'
...
esp_wifi: Add changes to skip SAE handshake during WPS connection
See merge request espressif/esp-idf!21677
2022-12-19 19:33:04 +08:00
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