NikLeberg
416b3b9465
allow for minimal scope of wifi_init_config_t
...
With this change one can use the default config as a variable with minimal scope: esp_wifi_init(&(wifi_init_config_t)WIFI_INIT_CONFIG_DEFAULT())
2021-12-14 12:46:37 +08:00
Shang Zhou
c42db9308f
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2021-12-14 12:46:11 +08:00
muhaidong
094b3dba33
esp_wifi: fix fragment issue and PMF compatible for faulty APs
...
1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn
2. pmf allow keyindex in big endian format to workaround faulty APs
3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
4. allow for minimal scope of wifi_init_config_t
2021-12-14 12:42:25 +08:00
Jiang Jiang Jian
f23dcd3555
Merge branch 'bugfix/fix_phy_enable_watchdog_timeout_issue_4.4' into 'release/v4.4'
...
Fix the ble task watchdog timeout issue
See merge request espressif/esp-idf!16287
2021-12-09 08:32:34 +00:00
Marius Vikhammer
d730c84038
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure
...
"can set sleep wake stub from stack in RTC RAM" would randomly fail on S3 due to stack overflow.
Fixed wrong usage of stack size and slightly increased it.
2021-12-09 13:59:30 +08:00
Jiang Jiang Jian
e104dd7f27
Merge branch 'bugfix/fix_wifi_bugs_v4.4' into 'release/v4.4'
...
esp_wifi: fix wifi bugs (Backport v4.4)
See merge request espressif/esp-idf!16278
2021-12-08 15:46:40 +00:00
Jiang Jiang Jian
bd650062ca
Merge branch 'feature/update_rtc_memory_heap_caps' into 'release/v4.4'
...
heap: update RTC memory heap caps (backport v4.4)
See merge request espressif/esp-idf!15941
2021-12-08 13:35:18 +00:00
Jiang Jiang Jian
141c1cd004
Merge branch 'bugfix/crypto_allocate_lldesc_v4.4' into 'release/v4.4'
...
crypto: dont create DMA descriptors on the stack (v4.4)
See merge request espressif/esp-idf!16323
2021-12-08 13:31:41 +00:00
Mahavir Jain
c190ab1830
Merge branch 'fix/remove_warning_when_disabling_rom_dl_mode_v4.4' into 'release/v4.4'
...
secure_boot: Fix warning when UART ROM DL mode is disabled (v4.4)
See merge request espressif/esp-idf!16228
2021-12-08 11:56:15 +00:00
Yang Zhao
9c686ff341
Update esp32c3 and esp32s3 phy lib and bb lib
...
Fix the ble task watchdog timeout issue caused by phy enable when exit modem sleep.
2021-12-08 19:16:28 +08:00
Jiang Jiang Jian
fe5ee1041c
Merge branch 'bugfix/minimal_stacksize_watchpoint_aware_4.4' into 'release/v4.4'
...
[freertos]: Changed minimal stack size to regard watchpoint usage (backport v4.4)
See merge request espressif/esp-idf!16303
2021-12-08 10:28:05 +00:00
Jiang Jiang Jian
f2db4c7520
Merge branch 'bugfix/ringbuf_send_semaphore_release_order_v4.4' into 'release/v4.4'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend (v4.4)
See merge request espressif/esp-idf!16229
2021-12-08 10:26:12 +00:00
Jiang Jiang Jian
a6e31652b8
Merge branch 'feature/mbedtls_dynamic_memory_v4.4' into 'release/v4.4'
...
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost(backport v4.4)
See merge request espressif/esp-idf!16275
2021-12-08 10:21:04 +00:00
Jiang Jiang Jian
a89ff2677b
Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac_v4.4' into 'release/v4.4'
...
efuse_table_gen: Fixes wrong joining fields with omitted names (v4.4)
See merge request espressif/esp-idf!15735
2021-12-08 10:12:25 +00:00
Jiang Jiang Jian
67fcfc2e02
Merge branch 'feature/freertos_try_enter_critical_v4.4' into 'release/v4.4'
...
freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions (v4.4)
See merge request espressif/esp-idf!16040
2021-12-08 10:10:17 +00:00
Mahavir Jain
ff3922d217
Merge branch 'bugfix/fix_select_timeout_v4.4' into 'release/v4.4'
...
VFS: `select` function's timeout is now POSIX compliant (and fix eventfd example) (backport v4.4)
See merge request espressif/esp-idf!16189
2021-12-08 08:32:42 +00:00
Aditya Patwardhan
2a2d8f5cbc
efuse_example_test: Fix the example test
...
*Unify the log messages when UART ROM Download mode is kept enabled
2021-12-08 16:11:59 +08:00
Aditya Patwardhan
2c0081b286
secure_boot: Fix warning when UART ROM DL mode is disabled
...
*Additionally use updated calls to enable rom secure download mode
2021-12-08 16:11:59 +08:00
Marius Vikhammer
a1ee43fe9d
crypto: also apply cache writeback/invalidate for SPIRAM_USE_MEMMAP
...
Closes https://github.com/espressif/esp-idf/issues/7944
2021-12-08 16:10:19 +08:00
Marius Vikhammer
3b3826b61c
crypto: allocate all DMA descriptors to DMA capable memory.
...
These were previously placed on the stack, but the stack could be placed in
RTC RAM which is not DMA capable.
2021-12-08 16:10:18 +08:00
Jiang Jiang Jian
36e1d1c180
Merge branch 'bugfix/wifi_netif_on_off_cycle_race_v4.4' into 'release/v4.4'
...
wifi: Fix race conditon invoking invalid callback on deinit (v4.4)
See merge request espressif/esp-idf!16309
2021-12-08 07:31:13 +00:00
Jiang Jiang Jian
feee6a2f36
Merge branch 'bugfix/eth_emac_reset_dma_desc_v4.4' into 'release/v4.4'
...
esp-eth: emac: Reset Tx DMA channel owner on init (v4.4)
See merge request espressif/esp-idf!16008
2021-12-08 07:18:42 +00:00
Michael (XIAO Xufeng)
f4e5948102
Merge branch 'bugfix/lcd_rgb_pclk_default_to_low_v4.4' into 'release/v4.4'
...
lcd: rgb pclk idle default to low && RMT IR protocol example for esp32s3 (v4.4)
See merge request espressif/esp-idf!16211
2021-12-08 07:01:08 +00:00
David Cermak
1b7cc59b10
wifi: Fix race conditon invoking invalid callback on deinit
...
Closes https://github.com/espressif/esp-idf/issues/7579
2021-12-08 07:14:08 +01:00
Jakob Hasse
32077601c4
bugfix (freertos): Changed minimal stack size to regard watchpoint usage
2021-12-08 11:29:09 +08:00
Nachiket Kukade
d7599a53b8
esp_wifi: Update wifi lib
...
1. Fix FTM failures after repeated operations
2. Update Mexico channel refer to FCC
3. Mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
4. Decouple softap and 8684 support
2021-12-06 17:45:57 +08:00
Zhang Jun Hao
f490adf800
esp_wifi: support station only mode for code size down
2021-12-06 17:34:56 +08:00
Li Jingyi
03b7ffdf4a
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
2021-12-06 17:07:11 +08:00
Jiang Jiang Jian
220a91ae30
Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback_v4.4' into 'release/v4.4'
...
bootloader_support: Adds fault injection protection for check_anti_rollback (v4.4)
See merge request espressif/esp-idf!16179
2021-12-06 04:03:11 +00:00
Jiang Jiang Jian
6affb3da3c
Merge branch 'bugfix/scheduler_state_query_thread_safety_v4.4' into 'release/v4.4'
...
freertos: fix thread safety for checking scheduler state (v4.4)
See merge request espressif/esp-idf!16126
2021-12-06 04:02:53 +00:00
Jiang Jiang Jian
3211346669
Merge branch 'bugfix/hardware_mpi_fallback_issue_v4.4' into 'release/v4.4'
...
mbedtls: fix hardware MPI (bignum) related regression (v4.4)
See merge request espressif/esp-idf!16236
2021-12-06 04:00:36 +00:00
Jiang Jiang Jian
0c8391acb1
Merge branch 'reduce_bootup_time_when_using_usb-serial-jtag_v4.4' into 'release/v4.4'
...
rtc_clk: reduce bootup time when using usb-serial-jtag(backport v4.4)
See merge request espressif/esp-idf!16260
2021-12-06 04:00:01 +00:00
Jiang Jiang Jian
b458a60791
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr_4.4' into 'release/v4.4'
...
fix can not find mac addr error
See merge request espressif/esp-idf!16145
2021-12-06 03:37:24 +00:00
Jiang Jiang Jian
5e9c085ae9
Merge branch 'bugfix/xStreamBufferReset_crashing_v4.4' into 'release/v4.4'
...
FreeRTOS: Fix xStreamBufferReset function always crashing (backport v4.4)
See merge request espressif/esp-idf!16170
2021-12-06 03:36:51 +00:00
morris
e311554554
lcd: rgb pclk idle default to low
2021-12-06 10:02:55 +08:00
jingli
1d6c95000b
reduce bootup time when using usb-serial-jtag
2021-12-03 20:50:22 +08:00
yuanjm
3ebb1a2a00
lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
...
Closes https://github.com/espressif/esp-idf/issues/7742
2021-12-03 17:23:35 +08:00
Mahavir Jain
a28e0bf064
mbedtls: remove wrap from component.mk as well
...
Note: This was not required in original MR, as master branch does
not support GNU Make.
2021-12-02 17:13:31 +05:30
Mahavir Jain
7fe9d41e33
esp_bignum: move check for supported MPI bits at start of API
...
This can allow hardware MPI API to return as soon as it identifies
that it can handle require bitlength operation.
2021-12-02 15:07:08 +05:30
Mahavir Jain
9cb4948a23
mbedtls: update mbedtls submodule pointer for MPI API change
2021-12-02 15:07:08 +05:30
Mahavir Jain
99c9637e9b
mbedtls: fix hardware MPI (bignum) related regression
...
In commit de22f3a4e5
, combination of
hardware and software MPI (bignum) related approach was used to
work around chip (e.g. ESP32-C3) limitation of max 3072 bits support.
This was done using linker "--wrap" flag but since the relevant API is
being used in same translation (compilation unit), hardware mode was not
getting used in some cases (e.g., RSA key generation).
This commit modified internal mbedTLS API and makes software+hardware
combination deterministic.
2021-12-02 15:07:08 +05:30
Mahavir Jain
e0e6523c09
mbedtls: update kconfig help to correct on supported MPI bits
2021-12-02 15:07:07 +05:30
David Čermák
b98a2a41e0
Merge branch 'bugfix/ksz8081_loopback' into 'release/v4.4'
...
KSZ8081 Loopback Callback Fix
See merge request espressif/esp-idf!16081
2021-12-02 07:29:31 +00:00
David Čermák
d5c607c54a
Merge branch 'bugfix/dm9051_tx_throughput_rate_optimization_v4.4' into 'release/v4.4'
...
esp_eth: optimize dm9051 Tx throughput(v4.4)
See merge request espressif/esp-idf!15885
2021-12-02 06:51:22 +00:00
RichFalk
92829f66c8
esp_ringbuf: Fix assertion xQueueGenericSend queue.c:818
...
The release of the semaphore indicating the item was successfully sent must be the last semaphore released. The receiver may be in another task and may delete the Ringbuffer (such as with a return code across tasks design pattern) if they are through with the Ringbuffer.
The function xRingbufferSendAcquire followed by xRingbufferSendComplete had the semaphores released in the proper order and that same pattern should have been used in xRingbufferSend and xRingbufferSendFromISR. This commit fixes this order.
Issue (IDFGH-6030) #7716 describes the problem in more detail.
Closes IDFGH-6030, https://github.com/espressif/esp-idf/issues/7716
Closes IDFGH-6036, https://github.com/espressif/esp-idf/pull/7721
2021-12-02 10:25:06 +05:30
Zim Kalinowski
aa96a98c0c
Merge branch 'bugfix/riscv_fix_vector_mcause_v4.4' into 'release/v4.4'
...
RISC-V: fix usage of special register when interrupts are enabled (backport v4.4)
See merge request espressif/esp-idf!16187
2021-12-01 04:20:54 +00:00
Zim Kalinowski
66c547e5ab
Merge branch 'bugfix/ringbuf_read_pointer_wrap_v4.4' into 'release/v4.4'
...
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers (v4.4)
See merge request espressif/esp-idf!15881
2021-12-01 04:18:48 +00:00
xutao
5c08cd3fe1
esp_http_client: add a get HTTP client session errno API for esp_http_client(backport v4.4)
2021-11-30 15:26:48 +08:00
Yang Zhao
a96b8e151d
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:24:52 +08:00
Jiang Jiang Jian
51e295b5c2
Merge branch 'bugfix/vfs-select-lock-latency-4.4' into 'release/v4.4'
...
vfs: reduce lock in vfs_select (v4.4)
See merge request espressif/esp-idf!16172
2021-11-30 03:56:08 +00:00