wangyuanze
b0c38d5392
spi_flash: fix hpm dummy error when using 80m flash and psram
2022-09-29 17:17:38 +08:00
Cao Sen Miao
b0ceb22bef
spi_flash: remove xmc hpm support, because there is some compatible issue with ROM,
...
Closes https://github.com/espressif/esp-idf/issues/8560
2022-09-29 16:37:29 +08:00
Cao Sen Miao
4074221540
spi_flash: Fix bug that in bootloader dummy is 0 when mosi is 0
2022-09-29 16:37:29 +08:00
Cao Sen Miao
6c9c1f72bd
spi_flash: Building a framework to enable HPM when flash works under high speed mode
2022-09-29 16:37:29 +08:00
Mahavir Jain
e85c5822a2
Merge branch 'bugfix/add_so_linger_to_httpd_config_v4.4' into 'release/v4.4'
...
esp_http_server: Add struct linger in httpd_config_t (v4.4)
See merge request espressif/esp-idf!20359
2022-09-29 16:04:06 +08:00
Mahavir Jain
b62b197cd3
esptool: (re)populate the secure boot signing key path
...
For project with reduced component list, secure boot signing key
path was not getting correctly. This change sets the secure boot
signing key path explicitly based on the relevant config option.
Closes https://github.com/espressif/esp-idf/issues/9578
Close IDFGH-8075
2022-09-29 10:09:32 +05:30
Jiang Jiang Jian
3911a1b8e7
Merge branch 'feature/support_7.2.8_soc/pvt_dig_v4.4' into 'release/v4.4'
...
ESP32S3:support auto adjust LDO voltage based on pvt-dig(backport 4.4)
See merge request espressif/esp-idf!20249
2022-09-29 11:07:55 +08:00
zlq
b44530f188
1.add ldo parameters in efuse table; 2.set ldo based on pvt-efuse; 3.ldo voltage is changed based on cpu freq
2022-09-29 03:16:49 +08:00
muhaidong
7f2d6e96b4
esp_wifi: fix deinit return wrong value
...
1. Deinit does not return ESP_ERR_WIFI_NOT_INIT if the wifi driver is no longer initialized.
2. Fix get wrong channel value use esp_wifi_get_config.
3. Fix bug of missing unlock when wifi stop.
4. Fix annotation error of api esp_wifi_connect.
2022-09-28 18:09:56 +08:00
liuning
2c8f83ec72
esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2
...
esp_wifi: sync peripheral device reg base
2022-09-28 18:09:03 +08:00
Michael (XIAO Xufeng)
268718b7b4
Merge branch 'bugfix/fix_uart_fake_tx_done_v4.4' into 'release/v4.4'
...
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done() (backport v4.4)
See merge request espressif/esp-idf!20314
2022-09-28 16:45:03 +08:00
Jiang Jiang Jian
cc841ae9c0
Merge branch 'bugfix/fast_scan_profile_issue_v4.4' into 'release/v4.4'
...
Fix repeated scans causing bss overwrite in connect process (Backport v4.4)
See merge request espressif/esp-idf!19858
2022-09-28 16:35:39 +08:00
Jiang Jiang Jian
e53ea6c776
Merge branch 'bugfix/acl_buf_ocf_and_conn_fail_v4.4' into 'release/v4.4'
...
bugfix/fixed the exhaustion of ACL buffer and duplicated connection requests (v4.4)
See merge request espressif/esp-idf!20384
2022-09-28 16:31:38 +08:00
Jiang Jiang Jian
12ee73b16a
Merge branch 'bugfix/fix_ble_disconnect_due_to_channel_map_instant_passed_v4.4' into 'release/v4.4'
...
Fixed BLE disconnection issue when channel map update failed due to bad channels(backport v4.4)
See merge request espressif/esp-idf!20376
2022-09-28 16:24:58 +08:00
morris
5eadda3a35
Merge branch 'feature/optimize_rgb_lcd_draw_bitmap_v4.4' into 'release/v4.4'
...
rgb_lcd: optimise rgb_panel_draw_bitmap (v4.4)
See merge request espressif/esp-idf!20361
2022-09-28 14:55:50 +08:00
Mahavir Jain
5e2c14b40b
Merge branch 'bugfix/wifi_prov_device_name_v4.4' into 'release/v4.4'
...
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0' (v4.4)
See merge request espressif/esp-idf!20374
2022-09-28 13:42:24 +08:00
morris
b992d3b4f8
Merge branch 'doc/usj_sw_reset_alive_bbpll_doc_v4.4' into 'release/v4.4'
...
usb_serial_jtag: fixed the docs that we can use usj in sleep modes (v4.4)
See merge request espressif/esp-idf!20288
2022-09-28 11:49:47 +08:00
Jin Cheng
339eca61ad
fixed the exhaustion of ACL buffer
...
fixed the duplication of connection request from the same device
2022-09-28 10:12:29 +08:00
cjin
403bff2a2b
fix err using rpa for confirmation calculation
2022-09-27 19:32:26 +08:00
cjin
b063151c4b
fix on data len change cmd malfunction
2022-09-27 19:32:11 +08:00
zwj
358a03e844
Fixed extend adv tx power range error
2022-09-27 19:30:06 +08:00
zwj
cac46cb107
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-27 19:24:58 +08:00
Isha Pardikar
a78a36e7b9
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0', at the end, to ensure we adhere to the max name length as per spec.
2022-09-27 16:09:11 +05:30
morris
741d35d528
rgb_lcd: added yuv converter LL driver
2022-09-27 13:42:56 +08:00
morris
e66a72b452
rgb_lcd: workaround pclk polarity bug by setting mo>=2
2022-09-27 13:22:18 +08:00
morris
72a25862a1
rgb_lcd: support PLL240MHz clock source
2022-09-27 13:20:51 +08:00
Harshit Malpani
efed5ee33f
esp_http_server: Add linger in httpd_config_t
...
Closes: https://github.com/espressif/esp-idf/issues/9514
2022-09-27 10:10:16 +05:30
TDA2030
30ab6a9246
rgb_lcd: optimise rgb_panel_draw_bitmap
...
by using memcpy instead of coping in a nested for loop
2022-09-27 10:36:41 +08:00
morris
3a6831b1b4
rgb_lcd: support fractional clock divisor
2022-09-27 10:27:36 +08:00
Nachiket Kukade
eb5f70b6fb
esp_wifi: Update wifi libs
...
Fix scan causing bss overwrite in connect process
2022-09-26 18:52:57 +05:30
Yuan Jian Min
c1429bbeeb
esp-tls: socket will be set to -1 and will not be closed
2022-09-26 19:23:32 +08:00
Jiang Jiang Jian
ae263f1bc8
Merge branch 'feature/sink_support_mono_v4.4' into 'release/v4.4'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.4)
See merge request espressif/esp-idf!20077
2022-09-26 17:47:31 +08:00
Jiang Jiang Jian
d1113747e7
Merge branch 'bugfix/fix_set_country_code_before_wifi_start_issue_v4.4' into 'release/v4.4'
...
Bugfix/fix set country code before wifi start issue v4.4(Backport v4.4)
See merge request espressif/esp-idf!20095
2022-09-23 17:49:55 +08:00
Song Ruo Jing
5a969b91a8
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
Introduced in 4e09d147b11ed8a094b5858642c9f60d658ef656
2022-09-23 16:10:53 +08:00
morris
60d6ad326e
Merge branch 'bugfix/spi2_add_device_cs_more_than_3_v4.4' into 'release/v4.4'
...
spi_master:fix error when use `spi_bus_add_device` more than 3 device(v4.4)
See merge request espressif/esp-idf!20126
2022-09-23 11:20:17 +08:00
morris
e833fb0c30
Merge branch 'bugfix/tinyusb_corrected_typo_naming_of_acm_v4.4' into 'release/v4.4'
...
tinyusb: fix typo naming of ACM (backport v4.4)
See merge request espressif/esp-idf!20299
2022-09-23 09:30:45 +08:00
Michael (XIAO Xufeng)
7d4b99984d
Merge branch 'bugfix/twai_isr_iram_v4.4' into 'release/v4.4'
...
hal: fix CONFIG_TWAI_ISR_IN_IRAM for C3, hide TWAI menu for C2 (v4.4)
See merge request espressif/esp-idf!20092
2022-09-23 02:25:26 +08:00
David Čermák
9aa7c83e19
Merge branch 'bugfix/mqtt_enqueue' into 'release/v4.4'
...
[mqtt] Fix esp_mqtt_client_enqueue for len=0 (v4.4)
See merge request espressif/esp-idf!20230
2022-09-22 21:49:46 +08:00
jiangguangming
36d973a5e5
tinyusb: fix typo naming of ACM
2022-09-22 20:33:31 +08:00
radim.karnis
f40364e2f3
feat(esptool): Update to v3.3.2
2022-09-22 10:26:09 +02:00
Michael (XIAO Xufeng)
06a52bf770
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
...
Related to: https://github.com/espressif/esp-idf/issues/8507 , https://github.com/espressif/esp-idf/issues/8884
2022-09-22 15:37:32 +08:00
morris
c407e69246
Merge branch 'refactor/add_description_to_touch_pad_set_meas_time_v4.4' into 'release/v4.4'
...
touch_sensor: add description to distinguish the API on different target (v4.4)
See merge request espressif/esp-idf!20242
2022-09-22 14:51:41 +08:00
Island
3ea96f0e22
Merge branch 'bugfix/relay_friend_cred_message_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix friend relay lpn message when relay disable(v4.4)
See merge request espressif/esp-idf!20204
2022-09-22 14:17:25 +08:00
morris
3247fa9374
Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue_v4.4' into 'release/v4.4'
...
spi_bus_lock: fix a concurrency issue (v4.4)
See merge request espressif/esp-idf!20138
2022-09-22 13:33:31 +08:00
laokaiyao
5c57f9c884
touch_sensor: add description to distinguish the API on different target
...
Closes https://github.com/espressif/esp-idf/issues/9067
2022-09-22 10:31:08 +08:00
morris
08fa67fe92
Merge branch 'bugfix/i2s_receive_data_lost_v4.4' into 'release/v4.4'
...
i2s: fix message queue overflow condition (v4.4)
See merge request espressif/esp-idf!20209
2022-09-21 22:01:12 +08:00
Euripedes Rocha
2f23432c00
[mqtt] Fix esp_mqtt_client_enqueue for len=0
...
Detailed description of the changes:
* [Backport] mqtt_client: fix esp_mqtt_client_enqueue for len=0
- See merge request espressif/esp-mqtt!144
- mqtt_client: fix esp_mqtt_client_enqueue for len=0
(espressif/esp-mqtt@e918742 )
Closes https://github.com/espressif/esp-idf/issues/9719
2022-09-21 13:42:32 +02:00
Ivan Grokhotkov
17214c2db6
hal: fix CONFIG_TWAI_ISR_IN_IRAM not taking effect for C3/H2
2022-09-21 08:35:54 +00:00
jingli
9a61a07fd8
esp_hw_support/clk_cali: remove redundant check for cali value
2022-09-21 15:13:22 +08:00
jingli
13984c0a79
esp_hw_support/clk_cali: fix xtal32k error detect
2022-09-21 15:11:04 +08:00
Island
7d4d75c507
Merge branch 'doc/support_micro_def' into 'release/v4.4'
...
Support of Micro definition in header file
See merge request espressif/esp-idf!20071
2022-09-21 13:53:53 +08:00
Zim Kalinowski
d805d2ad5a
Merge branch 'bugfix/clobbering_freertos_base_priority_v4.4' into 'release/v4.4'
...
spi_flash: fix issue linked with raising of task priority while priority is already raised (v4.4)
See merge request espressif/esp-idf!20026
2022-09-21 13:11:35 +08:00
Michael (XIAO Xufeng)
0f630acf43
Merge branch 'bugfix/spi_hd_quad_issue_4.4' into 'release/v4.4'
...
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h(backport v4.4)
See merge request espressif/esp-idf!19816
2022-09-21 12:06:40 +08:00
morris
af62cfc8a2
Merge branch 'bugfix/fix_ledc_timer_update_usage_v4.4' into 'release/v4.4'
...
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst (backport v4.4)
See merge request espressif/esp-idf!20241
2022-09-21 11:40:27 +08:00
wangjialiang
bf9b44f7fc
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-21 03:39:56 +00:00
Island
4b8915d7af
Merge branch 'bugfix/lpn_not_recv_message_to_all_node_4.4' into 'release/v4.4'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes(v4.4)
See merge request espressif/esp-idf!20264
2022-09-21 11:31:55 +08:00
wangjialiang
e4df3e2ad7
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-20 20:30:08 +08:00
songruojing
4bee8a84e2
gpio: fix USB D+ pin cannot disable pullup
...
Internally, disable usb serial jtag DP pin's pullup when calling gpio_ll_pullup_dis and rtcio_ll_pullup_disable
At usb serial jtag setup/install, re-enable DP pin's pullup
Closes https://github.com/espressif/esp-idf/issues/9495
2022-09-20 15:23:01 +08:00
Guillaume Souchere
a1ca11551f
Revert "tlsf control's structure should remain opaque"
...
This reverts commit 7010314c4a
.
2022-09-20 08:58:04 +02:00
Philippe
6dae07d137
add host test with multiple heap size
2022-09-20 07:55:24 +02:00
satish.solanke
bb6f2ca740
Support of Micro defination in header file
2022-09-20 11:07:06 +05:30
KonstantinKondrashov
9c830297b9
freertos: Adds new APIs to set/get and restore base priority
...
Closes https://github.com/espressif/esp-idf/issues/7580
2022-09-20 05:00:13 +00:00
Song Ruo Jing
9bd20fc2ca
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
...
ledc_ls_timer_update is required only when CLK_DIV and DUTY_RES bits are changed.
Calling ledc_timer_rst while re-configure PWM frequency through ledc_set_freq can cause glitch in the signal
2022-09-20 11:52:57 +08:00
Philippe
ffcc115e8b
clarify parameter usage in tslf_create
2022-09-19 14:31:47 +02:00
Philippe
7010314c4a
tlsf control's structure should remain opaque
2022-09-19 14:31:05 +02:00
Philippe
8325aff3c9
dynamic control block per heap
2022-09-19 14:28:11 +02:00
Marius Vikhammer
1d9f539f22
Merge branch 'bugfix/light_sleep_deadlock_v4.4' into 'release/v4.4'
...
esp_hw_support: Fix light sleep deadlock (v4.4)
See merge request espressif/esp-idf!19516
2022-09-19 16:33:19 +08:00
muhaidong
2a72036337
esp_wifi: add small UT for country code
2022-09-19 15:22:57 +08:00
muhaidong
2dff79510d
esp_wifi: fix disconnect after set country issue
2022-09-19 15:20:29 +08:00
laokaiyao
2da3035b52
doc: add application notes for i2s
2022-09-19 12:03:08 +08:00
laokaiyao
190502bfec
i2s: fix the wrong condition of event queue
2022-09-19 10:18:34 +08:00
muhaidong
5b24356ab5
wpa_supplicant: try install gtk before send 2 of 2
2022-09-17 19:02:53 +08:00
Darian Leung
baa28b54a2
esp_hw_support: Fix esp_light_sleep_start() deadlock
...
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU,
will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will
result in a deadlock.
This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU.
2022-09-16 17:02:38 +08:00
Darian Leung
9ea9192efb
esp_hw_support: esp_clk should use spinlock instead of mutex
...
esp_clk used to be protected using _lock_t (i.e., a FreeRTOS Mutex). However, esp_clk API is current called from
from critical sections, thus mutex should not be used (as they can be blocking).
This commit updates esp_clk to use spinlocks for critical sections instead.
Note: Added a small fix to exclude esp_clk.c from bootloader builds in the
legacy build system (this is already the case in CMake).
2022-09-16 17:02:38 +08:00
Jiang Jiang Jian
e80057035a
Merge branch 'bugfix/adapt_new_btc_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v4.4)
See merge request espressif/esp-idf!20166
2022-09-16 10:53:55 +08:00
Jiang Jiang Jian
d6522044d3
Merge branch 'bugfix/change_log_level_for_print_v4.4' into 'release/v4.4'
...
Nimble : updated debug level for a print to avoid unwanted console log. (v4.4)
See merge request espressif/esp-idf!20111
2022-09-16 10:52:31 +08:00
Anton Maklakov
ecf84354b2
Merge branch 'feature/ulp_binutils_multi_target_v4.4' into 'release/v4.4'
...
ulp: support the new multi-target ULP-FSM binutils (v4.4)
See merge request espressif/esp-idf!20147
2022-09-16 10:01:00 +08:00
Alexey Lapshin
a8e81f88f1
tools: update esp32ulp-elf to v2.35_20220830
...
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-15 23:41:56 +04:00
David Čermák
4b46e85b0a
Merge branch 'bugfix/transport_foundation_intialization_v4.4' into 'release/v4.4'
...
tcp_transport: Fix initialition of transport (v4.4)
See merge request espressif/esp-idf!20047
2022-09-16 00:13:48 +08:00
Roshan Bangar
d2b1ea9ac1
Nimble : updated debug level for a print to avoid unwanted console log.
2022-09-15 15:24:53 +05:30
wangjialiang
87921558fd
ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed
2022-09-15 09:14:39 +00:00
Jiang Jiang Jian
481d00be93
Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v4.4' into 'release/v4.4'
...
Nimble: Fixed memory corruption introduced in reconnection attempt code (v4.4)
See merge request espressif/esp-idf!19745
2022-09-14 16:34:22 +08:00
Armando
163a4b6b02
SPI_BUS_LOCK: fix a concurrency issue
...
define: lock_bits = (lock->status & LOCK_MASK) >> LOCK_SHIFT; This `lock_bits` is the Bit 29-20 of the lock->status
1. spi_hdl_1:
acquire_end_core():
uint32_t status = lock_status_clear(lock, dev_handle->mask & LOCK_MASK);
Becuase this is the first `spi_hdl_1`, so after this , lock_bits == 0`b0. status == 0
2. spi_hdl_2:
acquire_core:
uint32_t status = lock_status_fetch_set(lock, dev_handle->mask & LOCK_MASK);
Then here status is 0`b0, but lock_bits == 0`b10. Because this is the `spi_hdl_2`
3. spi_hdl_2:
`acquire_core` return true, because status == 0. `spi_bus_lock_acquire_start(spi_hdl_2)` then won't block.
4. spi_hdl_2:
spi_device_polling_end(spi_hdl_2).
5. spi_hdl_1:
acquire_end_core:
status is 0, so it cleas the lock->acquiring_dev
6. spi_hdl_2:
spi_device_polling_end:
assert(handle == get_acquiring_dev(host)); Fail
Closes https://github.com/espressif/esp-idf/issues/8179
2022-09-14 12:11:29 +08:00
wanlei
27470afb7c
spi_master:fix error when use spi_bus_add_device
more than 3 device
...
update gpio_sig at `spics_out` array in each spi_periph.c of chips later than s2
then `spi_bus_add_device` can correctly distribute gpio_signals for cs_signal
Closes https://github.com/espressif/esp-idf/issues/8876
2022-09-14 11:20:47 +08:00
Zim Kalinowski
6c3267e8a9
Merge branch 'feature/s2_s3_support_ext_mem_stack_v4.4' into 'release/v4.4'
...
soc: support placing task stacks in external memory for S2 and S3 (v4.4)
See merge request espressif/esp-idf!20001
2022-09-13 21:24:02 +08:00
Zim Kalinowski
a29f770c7a
Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning-v4.4' into 'release/v4.4'
...
heap: Provide memory corruption check when poisoning is active (V4.4)
See merge request espressif/esp-idf!19778
2022-09-13 20:41:48 +08:00
Zim Kalinowski
5224045d17
Merge branch 'doc/nvs_max_num_namespaces_4.4' into 'release/v4.4'
...
doc (nvs): added note about maximum possible namespaces (backport 4.4)
See merge request espressif/esp-idf!19980
2022-09-13 17:33:19 +08:00
Armando
2488281d17
test: added adc wifi test thresh for esp32, s2, c3, s3 on v4.4
...
Due to unit test, we can't specify runners, for adc related tests.
Whereas adc tests are easily influenced by board hw condition, e.g.
pullup/down value.
This commit increases the thresh to 200mV.
2022-09-13 11:56:37 +08:00
Anton Maklakov
da0cfb806a
system: add missing header
...
Because we got rid of the including core-isa.h in newlib's config.h (8a3197a2a9a42dd99605cf8cc1e0f2d3c976c58c)
2022-09-12 19:26:42 +07:00
Euripedes Rocha
faa368a612
[tcp_transport] Fix initialition of transport
...
- Foundation was initialized only for SSL.
- Removed base from list.
- Changed SSL and TCP initialition.
- Clean of state data structures.
2022-09-12 11:49:25 +02:00
Michael (XIAO Xufeng)
12369a5faf
Merge branch 'bugfix/reserve_dma_ram_in_segments_v4.4' into 'release/v4.4'
...
psram: reserve dma pool in the step of heap max block (v4.4)
See merge request espressif/esp-idf!18858
2022-09-11 02:49:39 +08:00
Michael (XIAO Xufeng)
f9a630b967
Merge branch 'bugfix/calib_i2c_clk_v4.4' into 'release/v4.4'
...
I2C: Make I2C clock frequency accurate(backport v4.4)
See merge request espressif/esp-idf!19069
2022-09-11 02:44:26 +08:00
Wang Meng Yang
224871784b
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v4.4' into 'release/v4.4'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting (backport v4.4)
See merge request espressif/esp-idf!20042
2022-09-09 21:05:52 +08:00
Wang Meng Yang
8e6af17ee5
Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_and_esp32s3_v4.4' into 'release/v4.4'
...
Fixed some BLE controller bugs on ESP32-C3 and ESP32-S3 (backport v4.4)
See merge request espressif/esp-idf!19988
2022-09-09 19:39:57 +08:00
David Čermák
ef5a87ea20
Merge branch 'bugfix/mdns_add_service_fail_if_nohostname' into 'release/v4.4'
...
mdns: Fix add_service() to report error if no-hostname
See merge request espressif/esp-idf!19679
2022-09-09 18:38:31 +08:00
xiongweichao
4c4799ac49
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:31:04 +08:00
satish.solanke
a44071ab14
updating doc for the issue doc_3566
2022-09-09 10:40:44 +05:30
zhiweijian
c0c1485dc4
Add QA test Functions
2022-09-08 17:55:54 +08:00
zwj
4bf2eb3f48
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-08 17:54:43 +08:00
morris
67ff43c2c7
Merge branch 'bugfix/wrong_bpp_for_rgb666_v4.4' into 'release/v4.4'
...
lcd: fix wrong bpp size of rgb666 format (v4.4)
See merge request espressif/esp-idf!20032
2022-09-08 17:34:40 +08:00
Jiang Jiang Jian
de1e58118d
Merge branch 'bugfix/fix_init_memory_leak_issue_v4.4' into 'release/v4.4'
...
esp_wifi: done beacon monitor timer when call pm deattach.(Backport v4.4)
See merge request espressif/esp-idf!19937
2022-09-08 17:02:33 +08:00
morris
151b957238
lcd: fix wrong bpp size of rgb666 format
...
Closes https://github.com/espressif/esp-idf/issues/9729
2022-09-08 13:22:16 +08:00
gaoxu
ce1e8350b4
SPI: Fixed Quad SPI wrong dummy cycle issue on ESP32C3/ESP32S3 and put get-command/dummy-bits functions in spi_ll.h
2022-09-07 18:55:38 +08:00
zwj
c1e54ac0fa
Update ESP32-C3 and ESP32-S3 BLE lib
...
- Fixed the performance issue of BLE sync scan in coexistence scenario when PLL track is enabledFixed the usage of PLL track related baseband IRQs
- Fixed connect failed due to error sync found signal
- Fixed BLE disconnect failed due to terminate_ind have sent but no ACK is received
- Added ADV mode error check in ADV rx isr handler function
- Fixed BLE RAL_UNDERRUN and TX_CRYPT_ERR assert
- Disable scan continue
- Fixed scan forever if scan continue is disable
2022-09-07 12:33:33 +08:00
Wang Meng Yang
6e6c8135d5
Merge branch 'bugfix/remove_bt_dft_init_semicolon_v4.4' into 'release/v4.4'
...
bt: Remove trailing semicolon from bt dft initializer(v4.4)
See merge request espressif/esp-idf!19914
2022-09-07 12:00:32 +08:00
Wang Meng Yang
2c8d6a4954
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v4.4' into 'release/v4.4'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v4.4)
See merge request espressif/esp-idf!19951
2022-09-07 11:55:15 +08:00
Marius Vikhammer
16459d0d42
soc: support placing task stacks in external memory for S2 and S3
2022-09-07 11:46:56 +08:00
Mahavir Jain
6c4400132e
Merge branch 'update_expat_R_2_4_8' into 'release/v4.4'
...
expat: Update expat library to R_2_4_8 release
See merge request espressif/esp-idf!19962
2022-09-06 22:50:06 +08:00
morris
e3c1fde6c4
Merge branch 'bugfix/driver_rs485_fix_test_sync_issues_v44' into 'release/v4.4'
...
driver: uart rs485 fix test sync issues and fail threshold (backport v4.4)
See merge request espressif/esp-idf!19610
2022-09-06 17:23:46 +08:00
Alex Lisitsyn
7d8636ce0a
driver: uart rs485 fix test sync issues and fail threshold (backport v4.4)
2022-09-06 17:23:46 +08:00
Harshit Malpani
bb0a13944f
expat: Update expat library to R_2_4_8 release
...
Detailed changelog: https://github.com/libexpat/libexpat/blob/R_2_4_8/expat/Changes
2022-09-06 14:00:01 +05:30
Jakob Hasse
87ff108235
doc (nvs): added note about maximum possible namespaces
2022-09-06 10:17:58 +02:00
Marius Vikhammer
78d7844b01
system: fix SET_STACK macro crashing in windowoverflow8 exception
...
If a windowoverflow8 happened after changing the SP, the exception handler would look for
the extra save area by looking at the previous frame's SP. This SP would be a garbage value
and could cause the windowoverflow exception to write to invalid memory ares.
2022-09-06 15:54:57 +08:00
Zim Kalinowski
6d7877fcb8
Merge branch 'bugfix/remove_redef_s3_cpu_macro' into 'release/v4.4'
...
soc: delete obsolete soc/cpu.h for S3 (v4.4)
See merge request espressif/esp-idf!19900
2022-09-05 16:26:33 +08:00
morris
55039da3e5
Merge branch 'bugfix/bootloader_assert_v4.4' into 'release/v4.4'
...
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set (v4.4)
See merge request espressif/esp-idf!19943
2022-09-05 15:47:15 +08:00
xiongweichao
d0c19a0e74
Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
...
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-05 14:23:16 +08:00
Marius Vikhammer
518af54ded
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set
...
Closes https://github.com/espressif/esp-idf/pull/7518
2022-09-05 12:31:31 +08:00
Song Ruo Jing
9c7046375f
gpio: Fix ESP32S3 GPIO48 does not support hold function bug
...
GPIO_HOLD_MASK array was missing the last item
2022-09-05 03:47:43 +00:00
muhaidong
db00e4a8c2
esp_wifi: done beacon monitor timer when call pm deattach.
...
1. done beacon monitor timer when call pm deattach.
2. fix pairwise cipher tkip pmf compability issue.
2022-09-03 21:10:46 +08:00
Harshit Malpani
42756f7eff
esp_https_ota: fix bug where http_client_init_cb
is called after esp_http_client_perform()
instead of before.
...
Closes https://github.com/espressif/esp-idf/issues/9581
2022-09-02 16:15:50 +05:30
Cao Sen Miao
f2ac141ebf
temperature_sensor: Fix issue that value is not accurate on ESP32-S3
2022-09-02 16:03:39 +08:00
morris
d0ba3fd63e
Merge branch 'bugfix/propogate_isr_allocation_failure_v4.4' into 'release/v4.4'
...
Fix MCPWM multiplication overflow (v4.4)
See merge request espressif/esp-idf!19891
2022-09-02 10:00:00 +08:00
Marius Vikhammer
c16eb81c5f
Merge branch 'bugfix/miniz_header_doc_v4.4' into 'release/v4.4'
...
esp-rom: fixed error in miniz header documention for tdefl_init (v4.4)
See merge request espressif/esp-idf!19910
2022-09-02 09:54:24 +08:00
Pedro
a1e6041777
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-01 20:33:36 +08:00
Marius Vikhammer
92d018f4f1
esp-rom: fixed error in miniz header documention for tdefl_init
...
Closes https://github.com/espressif/esp-idf/issues/8435
2022-09-01 18:14:24 +08:00
Marius Vikhammer
f8bea48cad
soc: delete obsolete soc/cpu.h for S3
...
This file has been moved to esp_hw_support/, but it seems like we forgot to
delete the old one in soc/ for ESP32S3.
2022-09-01 15:09:16 +08:00
Marius Vikhammer
b6248014b9
heap: remove misleading info about malloc being equivalent to heap_caps_malloc(p, MALLOC_CAP_8BIT)
...
The actual memory allocated for malloc() depends on a lot of factors, see heap_caps_malloc_default()
Closes https://github.com/espressif/esp-idf/issues/7659
2022-09-01 14:33:03 +08:00
morris
ca831bbd63
mcpwm: fix multiplication overflow in converting us to compare ticks
...
Closes https://github.com/espressif/esp-idf/issues/9648
2022-09-01 05:11:23 +00:00
morris
645d5641dd
timer: propagate isr register failure
...
Closes https://github.com/espressif/esp-idf/issues/9651
2022-09-01 05:11:23 +00:00
Wang Meng Yang
836f9875b1
Merge branch 'bugfix/ble_disconnect_enable_light_sleep_and_bb_pd_v4.4' into 'release/v4.4'
...
bt: Fixed bluetooth disconnection issue when light sleep and baseband power down are enabled (v4.4)
See merge request espressif/esp-idf!19803
2022-09-01 11:33:22 +08:00
Cao Sen Miao
22b222b762
I2C: Make I2C clock frequency accurate
2022-08-29 09:07:30 +00:00
Jan Procházka
bff89fd71b
added missing call to set hold register bit
...
This commit fixes gpio_hold_en(pin) function for ESP32, where after wakeup from deep sleep, the pin gets reset to default state and stop holding the pin level.
2022-08-29 10:18:09 +08:00
xiongweichao
5852e93eba
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-26 16:03:57 +08:00
Guillaume Souchere
55a2b55bdb
heap: Add test to check that the corruption of free memory is detected
...
This commit extends the heap test set by adding a test to check corruption
detection in free memory block.
For each byte of the free block memory, the test changes the value of the byte,
call multi_heap_check(), make sure that the function returns 'corruption detected'
only when comprehensive poisoning is set, restore the good value of the byte, calls
multi_heap_check() again and make sure that it returns 'OK'.
2022-08-26 07:51:29 +02:00
Guillaume Souchere
6536e51a32
heap: Provide tlsf_check_hook() mechanism to check for memory corruption
...
Add a call to tlsf_check_hook() in tlsf_check() that calls
multi_heap_internal_check_block_poisoning() and check the memory
of every free blocks when heap poisoning is active.
2022-08-26 07:51:22 +02:00
Roland Dobai
e6fda46a02
Merge branch 's3_sysview_irq_names_v4.4' into 'release/v4.4'
...
Fix ESP32-S3 interrupt names used by SystemView (v4.4)
See merge request espressif/esp-idf!19676
2022-08-25 18:53:04 +08:00
Jiang Jiang Jian
41839b69bd
Merge branch 'bugfix/fix_ble_sch_arb_assert_v4.4' into 'release/v4.4'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3(backport v4.4)
See merge request espressif/esp-idf!19733
2022-08-25 13:44:20 +08:00
Rahul Tank
696760668a
Nimble: Fixed memory corruption introduced in reconnection attempt code
2022-08-25 04:54:02 +00:00
Wang Meng Yang
134170a6fc
Merge branch 'contrib/github_pr_9529_mr_v4.4' into 'release/v4.4'
...
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v4.4)
See merge request espressif/esp-idf!19692
2022-08-25 10:44:43 +08:00
Zim Kalinowski
5927bc2227
Merge branch 'bugfix/freertos_eventgroup_test_flakiness_v4.4' into 'release/v4.4'
...
freertos: Fix flakey event group unit tests (v4.4)
See merge request espressif/esp-idf!19528
2022-08-24 19:08:55 +08:00
Zim Kalinowski
5b1bedec2a
Merge branch 'bugfix/remove_remaining_rom_time_t_dependencies_v4.4' into 'release/v4.4'
...
Newlib: Add workaround for ROM Newlib stdio functions using 32-bit time_t callpath (v4.4)
See merge request espressif/esp-idf!19684
2022-08-24 17:07:46 +08:00
Zim Kalinowski
72313054ad
Merge branch 'bugfix/nvs_part_ptr_wrong_init_4.4' into 'release/v4.4'
...
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr (backport v4.4)
See merge request espressif/esp-idf!18672
2022-08-24 17:06:53 +08:00
Jiang Jiang Jian
954299a063
Merge branch 'bugfix/wps_connection_issue_v4.4' into 'release/v4.4'
...
wpa_supplicant: Fix WPS connection issue after WPS done (v4.4)
See merge request espressif/esp-idf!19720
2022-08-24 14:07:27 +08:00
Marius Vikhammer
228737d978
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only
...
ESP_SLEEP_WAKEUP_GPIO is also a valid deep sleep wakeup cause on targets
with SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP
Closes https://github.com/espressif/esp-idf/issues/9567
2022-08-24 10:50:59 +08:00
Ivan Grokhotkov
300a4a16a5
Merge branch 'bugfix/add_signature_in_image_len_v4.4' into 'release/v4.4'
...
bootloader_support: consider signature sector in image length validation (v4.4)
See merge request espressif/esp-idf!19484
2022-08-23 20:19:52 +08:00
zwj
ad510c5099
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-23 19:49:50 +08:00
zwj
fc4ffd144a
fix extend adv set remove failed
2022-08-23 19:49:40 +08:00
Aditya Patwardhan
606ada809a
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data when it is given directory from flash
2022-08-23 13:27:03 +05:30
Kapil Gupta
4d9c4fd7e1
wpa_supplicant: Fix WPS connection issue after WPS done
...
esp_wifi_disconnect is needed to clear the wifi state and enable
station to connect to new SSID. Add changes to call it after
WPS is done.
2022-08-23 13:09:32 +05:30
morris
23d5a582cb
Merge branch 'bugfix/fix_rtc_clock_freq_value_macro_v4.4' into 'release/v4.4'
...
rtc_clk: Fix wrong RC_FAST and RC_SLOW clock frequency values on ESP32C3 and ESP32S3
See merge request espressif/esp-idf!19665
2022-08-22 15:54:32 +08:00
tgotic
810667fc1e
update code to use osi_free()
2022-08-22 15:40:48 +08:00
tgotic
879466e0cb
local copy of btc_msg_t
...
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-22 15:40:42 +08:00
Darian Leung
a45fcce631
newlib: Add workaround for printf functions using 32-bit time_t on first call
...
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d18
).
However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).
Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.
This results in cantwrite() always returning false, thus the callpath described
above never being reached.
Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-22 11:56:51 +08:00
morris
2bce0a19f6
Merge branch 'bugfix/fix_esp32_psram_cs_hold_time_issue_when_under_80m_v4.4' into 'release/v4.4'
...
esp_psram: fix esp32 psram cs hold time issue when under 40m (v4.4)
See merge request espressif/esp-idf!19648
2022-08-21 15:10:57 +08:00
Zim Kalinowski
f3ddf105a4
Merge branch 'bugfix/fix_disassembler_interpreting_padding_v4.4' into 'release/v4.4'
...
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file (backport v4.4)
See merge request espressif/esp-idf!19609
2022-08-20 03:49:58 +08:00
David Cermak
bd0ec74c2e
mdns: Fix add_service() to report error if no-hostname
2022-08-19 18:41:38 +02:00
ioio
350dd3798e
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr
...
Added unit test case.
Closes https://github.com/espressif/esp-idf/pull/8755
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2022-08-19 16:13:10 +02:00
Zim Kalinowski
0b0ca31386
Merge branch 'contrib/github_pr_9497_v4.4' into 'release/v4.4'
...
Move xSemaphoreGive out of configASSERT (GitHub PR) (v4.4)
See merge request espressif/esp-idf!19536
2022-08-19 21:06:43 +08:00
Erhan Kurubas
0784fd086a
esp32s3: fix interrupt names used by SystemView
2022-08-19 14:42:45 +02:00
Erhan Kurubas
5245c53d7a
replace CAN with TWAI in the esp_isr_names table
2022-08-19 14:39:37 +02:00
Guillaume Souchere
c6aa0928ab
freertos: Update the docuementation of the ulBitsToClearOnEntry parameter in xTaskGenericNotifyWait() function.
...
Closes https://github.com/espressif/esp-idf/issues/7207
The description of how the xTaskGenericNotifyWait parameter is handled in the
xTaskGenericNotifyWait() function was inaccurate.
In this commit, the description was updated to match the implementation of xTaskGenericNotifyWait().
2022-08-19 08:04:12 +02:00
Song Ruo Jing
b2f4fc022a
rtc_clk: Fix wrong RC_FAST and RC_SLOW clock frequency values on ESP32C3 and ESP32S3
2022-08-19 12:21:11 +08:00
Armando
d08be42a53
esp_psram: fixed 40mhz cs signal glitch issue
2022-08-18 20:33:12 +08:00
Shreyas Sheth
756b46ca96
esp_wifi: WPA3 SAE H2E support for station
...
Mandate sta threshold wpa3 for ssid after receiving transition disable
bit from AP
2022-08-18 02:55:51 +05:30
Omar Chebib
3154abc66e
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file
...
Adding prop and lit sections to the ELF will let the debugger and the disassembler
have more info about data bytes present in the middle of the Xtensa
instructions, usually used for padding.
2022-08-17 14:58:36 +08:00
Sudeep Mohanty
6dcb5bd1d3
rtci2c: Corrected the register base addr reference for RTC I2C on esp32s3
...
This commit corrects the register base address reference for RTC I2C on
esp32s3.
2022-08-15 14:50:14 +02:00
tgotic
047d75eee5
rename xHoldSemaphore to result
2022-08-12 17:54:34 +08:00
tgotic
d96121221d
Move xSemaphoreGive out of configASSERT
...
xSemaphoreGive won't be executed in configASSERT and semaphore will stay locked if NDEBUG (idf v5) or CONFIG_FREERTOS_ASSERT_DISABLE (idf v3, v4) are defined.
2022-08-12 17:54:29 +08:00
Darian Leung
b867b52770
freertos: Fix flakey event group unit tests
...
The event group unit tests would previously use a single call bit (the
"BIT_CALL" macro) to unblock all the test tasks. However, if one or more tasks
were delayed in calling xEventGroupWaitBits(), the other tasks would clear the
test bits, leading to the test deadlocking.
This commit updates the bits used so that each task gets their own CALL and
RESPONSE bits.
2022-08-12 16:54:59 +08:00
Jiang Jiang Jian
9d97b7ba50
Merge branch 'bugfix/bt_invalid_workqueue_num_v4.4' into 'release/v4.4'
...
Bluetooth:fixed the invalid workqueue number for BTU thread in Bluedroid(backport v4.4)
See merge request espressif/esp-idf!19510
2022-08-12 14:02:20 +08:00
Jiang Jiang Jian
34fbb676c7
Merge branch 'feature/optimize_chips_memory_allocation_backport_v4.4' into 'release/v4.4'
...
system: Optimize chips bootloader and heap memory allocation(backport v4.4)
See merge request espressif/esp-idf!19472
2022-08-12 11:19:06 +08:00
Jiang Jiang Jian
805b6af65d
Merge branch 'bugfix/wifi_bt_use_same_clock_source_v4.4' into 'release/v4.4'
...
Fix Wi-Fi does not know that Bluetooth has modified the lpclk source(v4.4)
See merge request espressif/esp-idf!19408
2022-08-12 11:05:43 +08:00
Jiang Jiang Jian
59fed9597d
Merge branch 'bugfix/remove_repeated_kconfig_for_h2' into 'release/v4.4'
...
esp32h2/kconfig: remove repeated kconfig
See merge request espressif/esp-idf!19507
2022-08-11 20:16:22 +08:00
wangmengyang
9aa32bc499
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-11 16:17:17 +08:00
jingli
6368633102
esp32h2/kconfig: remove repeated kconfig
2022-08-11 15:05:12 +08:00
wangjialiang
a426f4727d
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:14:02 +08:00
wangjialiang
3413b3d469
ble_mesh: stack: Add a check if the appkey is bound to the model.
...
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-11 14:13:56 +08:00
wangjialiang
89bc1bc7e3
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-11 14:13:49 +08:00
wangjialiang
246ed6232f
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-11 14:13:42 +08:00
wangjialiang
104ce885cb
ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
...
For case MESH/PVNR/PROV/BV-04-C
2022-08-11 14:13:35 +08:00
wangjialiang
28e4ceb7e1
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-11 14:13:27 +08:00
wangjialiang
f12c79c3ca
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-11 14:11:32 +08:00
wangjialiang
d31337c095
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-11 14:11:16 +08:00
Jiang Jiang Jian
4bf8f462a2
Merge branch 'opt/bluedroid_adv_report_datapath_v4.4' into 'release/v4.4'
...
Bluetooth/Bluedroid: optimize BLE adv report datapath and adv report flow control mechanism(backport v4.4)
See merge request espressif/esp-idf!19381
2022-08-11 11:20:42 +08:00
Jiang Jiang Jian
32e7672926
Merge branch 'contrib/github_pr_9498_backport4_4' into 'release/v4.4'
...
Bluetooth/Bluedroid: fix member typo(backport v4.4)
See merge request espressif/esp-idf!19458
2022-08-11 10:54:45 +08:00
Marius Vikhammer
6c2afe05cf
Merge branch 'bugfix/disable_rom_lgo_v4.4' into 'release/v4.4'
...
system: moved placement of disable rom log efuse in startup flow (v4.4)
See merge request espressif/esp-idf!19482
2022-08-11 09:18:50 +08:00
Ivan Grokhotkov
80d6e39edc
Merge branch 'staging/fix_heap_fail_callback_v4.4' into 'release/v4.4'
...
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback (backport v4.4)
See merge request espressif/esp-idf!19481
2022-08-11 06:28:03 +08:00
Island
4fb74a808b
Merge branch 'bugfix/friend_and_lpn_issues_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix friend and lpn issues(v4.4)
See merge request espressif/esp-idf!19475
2022-08-10 13:50:52 +08:00
Mahavir Jain
58d93a89af
bootloader_support: consider signature sector in image length validation
...
For secure boot enabled cases, bootloader and firmware images have signature
appended and size is variable based on scheme being used. This appended data
must be considered while verifying image length against allocated partition
size to avoid any possibilities of going beyond reserved size.
Closes IDF-5617
2022-08-10 10:38:15 +05:30
Marius Vikhammer
a421e30cf2
system: moved placement of disable rom log efuse in startup flow
...
Functions used for burning this efuse would log, but at this point
esp_log is not initialized. Moved to a later point in the startup process.
Closes https://github.com/espressif/esp-idf/issues/9457
2022-08-10 12:17:51 +08:00
Omar Chebib
6906c34319
heap: add a unit test for malloc(0) and slightly optimize heap_caps_malloc_prefer
2022-08-10 11:41:01 +08:00
tgotic
b43e777e0a
fix malloc(0) and heap_caps_alloc_failed()
...
Don't call heap_caps_alloc_failed() for malloc(0) and calloc(0), because it is not an error.
Improve handling of malloc(0) and calloc(0).
Merges https://github.com/espressif/esp-idf/pull/9517
2022-08-10 11:40:53 +08:00
Omar Chebib
05575cc246
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback
...
heap_caps_*_prefer functions will now only call heaps_caps_alloc_failed
callback if all attempts to allocation memory fail (and not after each attempt
anymore).
* Closes https://github.com/espressif/esp-idf/issues/9086
2022-08-10 11:40:32 +08:00
morris
56a89b920d
Merge branch 'bugfix/i2s_slot_sequence_v4.4' into 'release/v4.4'
...
i2s: fixed pdm rx sample rate doubled issue
See merge request espressif/esp-idf!19415
2022-08-10 11:10:37 +08:00
wangjialiang
2eb28028ed
ble_mesh: stack: Fix add continuously secure update into friend queue.
...
For MESH/NODE/FRND/FN/BV-20-C
2022-08-09 21:48:37 +08:00
wangjialiang
d21a87f60c
ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
...
For MESH/NODE/FRND/FN/BV-23-C
2022-08-09 21:48:22 +08:00
wuzhenghui
1fb1d6ecde
bugfix: malloc retention buffer with MALLOC_CAP_RETENTION caps
2022-08-09 20:56:59 +08:00
wuzhenghui
e3979eb14b
bugfix: DCache data memory is dma accessible but not retention dma accessible
2022-08-09 20:56:51 +08:00
wuzhenghui
decb47bb5d
use enum and designated initializers in soc_memory_type define
2022-08-09 20:54:01 +08:00
wuzhenghui
103b952525
ci: fix ci
2022-08-09 20:34:25 +08:00
wuzhenghui
9b7bed2243
Clean IRAM and DRAM address space conversion macros
2022-08-09 20:33:26 +08:00
Roland Dobai
f935c17a95
Tools: Fix Python style warnings
2022-08-09 14:30:52 +02:00
wuzhenghui
41bbc39669
stack/dram is also IRAM0 accessible
2022-08-09 20:28:29 +08:00
wuzhenghui
45a79bc135
update bootloader.ld rom_boot ram usage info
2022-08-09 20:28:04 +08:00
wuzhenghui
62ac5364e0
Use the entire sharedbuffer space as the heap of the D/IRAM attribute
2022-08-09 20:27:38 +08:00
wuzhenghui
d8432af3ab
update bootloader memory allocation
2022-08-09 20:02:46 +08:00
laokaiyao
53a5d51aea
i2s: fix PDM TX stereo mode for c3 and s3
2022-08-09 18:28:09 +08:00
laokaiyao
76cdab5f42
i2s: fixed pdm rx sample rate doubled issue
...
Closes: https://github.com/espressif/esp-idf/issues/8660
2022-08-09 18:28:09 +08:00
laokaiyao
482a37612d
i2s: fix 16bit slot sequence on esp32
2022-08-09 18:28:09 +08:00
linruihao
fdf7029078
Fixed union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-09 15:25:44 +08:00
tgotic
4c6d2e0da7
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-09 15:25:24 +08:00
Marius Vikhammer
f8729d905e
Merge branch 'feature/ulp_riscv_adc_v4.4' into 'release/v4.4'
...
ulp-riscv: add support for using ADC as well as an example show-casing it. (v4.4)
See merge request espressif/esp-idf!19058
2022-08-09 15:00:50 +08:00
morris
22b847fc5f
Merge branch 'bugfix/memory_region_define_rtc_fast_v4.4' into 'release/v4.4'
...
backport v4.4: substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
See merge request espressif/esp-idf!19423
2022-08-09 14:38:40 +08:00
Marius Vikhammer
a968442603
Merge branch 'bugfix/ringbuf_iram_fix_v4.4' into 'release/v4.4'
...
esp_ringbuf: placement in flash is no longer controlled by... (v4.4)
See merge request espressif/esp-idf!19165
2022-08-09 11:01:52 +08:00
Marius Vikhammer
f8f93d936e
ulp-riscv: add support for using ADC as well as an example show-casing it.
2022-08-09 09:21:15 +08:00
Marius Vikhammer
a940064748
esp_ringbuf: placement in flash is no longer controlled by CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
...
esp-ringbuf funtion placement is now controlled by its own configs:
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH and CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH
Closes https://github.com/espressif/esp-idf/issues/9198
2022-08-08 07:15:00 +00:00
Omar Chebib
cb411a81a2
I2C: Fix a bug making the I2C task wait too long on an event
...
The I2C ISR will now notify the task waiting on an event. Thus, the task can stop waiting on the event queue as soon as possible.
2022-08-08 06:10:31 +00:00
Li Shuai
12db32642c
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
2022-08-08 11:27:10 +08:00
Li Shuai
11ac122c53
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-05 12:57:47 +08:00
Li Shuai
970420a923
Power Management: fix the issue of sleeping time error beacause external 32kHz xtal does not exist
2022-08-05 11:30:36 +08:00
xiongweichao
8f0c559c03
make bluetooth and wifi use the same low power clock
2022-08-05 11:22:22 +08:00
xiongweichao
cf9309c8a2
ESP32S3:bluetooth support use main XTAL in light sleep mode
2022-08-05 11:21:59 +08:00
xiongweichao
9332413407
ESP32C3:bluetooth support use main XTAL in light sleep mode
2022-08-05 11:21:58 +08:00
Jiang Jiang Jian
d16797b447
Merge branch 'bugfix/further_fix_for_mspi_current_leakage_backport_v4.4' into 'release/v4.4'
...
system/sleep: further fix spi flash/ram current leakage(backport v4.4)
See merge request espressif/esp-idf!19212
2022-08-04 14:46:56 +08:00
Jiang Jiang Jian
68dd89971e
Merge branch 'bugfix/backtrace_formatting_add_missing_space_v4.4' into 'release/v4.4'
...
Reverts Backtrace: format to what it used to be (v4.4)
See merge request espressif/esp-idf!19123
2022-08-04 14:46:31 +08:00
Jiang Jiang Jian
46f5c59cc2
Merge branch 'bugfix/set_ipv6_dns_error_v4.4' into 'release/v4.4'
...
lw ip: Fixed that ipv6 dns cannot work (v4.4)
See merge request espressif/esp-idf!19062
2022-08-04 14:45:58 +08:00
Jiang Jiang Jian
905b3b1718
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues_v4.4' into 'release/v4.4'
...
Fix some bluedroid issues(backport v4.4)
See merge request espressif/esp-idf!19130
2022-08-04 14:45:44 +08:00
Jiang Jiang Jian
0544069689
Merge branch 'bugfix/put_sempher_and_queue_used_in_isr_into_DRAM_v4.4' into 'release/v4.4'
...
Make sure semphr/queue used in interrupt is in DRAM
See merge request espressif/esp-idf!18988
2022-08-04 14:44:56 +08:00
Jiang Jiang Jian
d3eeebf8f8
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow_v4.4' into 'release/v4.4'
...
Fixed bluedroid host memory overflow for v4.4
See merge request espressif/esp-idf!19060
2022-08-04 14:44:40 +08:00
Jiang Jiang Jian
869abf8a3f
Merge branch 'bugfix/freertos_event_group_unblock_race_condition_v4.4' into 'release/v4.4'
...
FreeRTOS: Fix event group task list race condition (v4.4)
See merge request espressif/esp-idf!19103
2022-08-04 14:43:45 +08:00
Jiang Jiang Jian
9f9021a221
Merge branch 'bugfix/multiple_adc_bugfix_v4.4' into 'release/v4.4'
...
adc: fix multiple bugs (v4.4)
See merge request espressif/esp-idf!19142
2022-08-04 14:42:53 +08:00
Jiang Jiang Jian
bfb88338bb
Merge branch 'bugfix/memory_debug_not_work_v4.4' into 'release/v4.4'
...
bugfix/fix the dependency error of macro for memory debug (v4.4)
See merge request espressif/esp-idf!19237
2022-08-04 14:42:12 +08:00
Jiang Jiang Jian
79a8ad665a
Merge branch 'bugfix/memory_copy_bugs_in_bluedroid_4.4' into 'release/v4.4'
...
components_bt/bluedroid: Fix Memory Copy Build Err [backport v4.4]
See merge request espressif/esp-idf!19311
2022-08-04 14:41:58 +08:00
Jiang Jiang Jian
66a1de0843
Merge branch 'bugfix/fix_legacy_pair_not_send_link_key_host_v4.4' into 'release/v4.4'
...
component_bt: fix legacy pair controller does not send the link key to the host (v4.4)
See merge request espressif/esp-idf!19320
2022-08-04 14:41:45 +08:00
Jiang Jiang Jian
aa81e5bbbe
Merge branch 'bugfix/fix_bt_sphinx_warnings_4.4' into 'release/v4.4'
...
components_bt: fix unstandard typedefs [backport v4.4]
See merge request espressif/esp-idf!19338
2022-08-04 14:41:28 +08:00
Jiang Jiang Jian
40a8214314
Merge branch 'feature/esp_lcd_spi_rx_v4.4' into 'release/v4.4'
...
Add support SPI rx into LCD component (backport v4.4)
See merge request espressif/esp-idf!19122
2022-08-04 14:41:03 +08:00
Li Shuai
e4c5e5a701
sleep: beacon loss and noise check timer optimize for wifi power save
2022-08-04 12:11:39 +08:00
Mahavir Jain
c0d04787ca
Merge branch 'feature/rainmaker_BT_configurable_v4.4' into 'release/v4.4'
...
Wifi_prov_mgr: Made BT configurable after provisioning is completed (v4.4)
See merge request espressif/esp-idf!19263
2022-08-04 11:49:36 +08:00
Mahavir Jain
6854841267
Merge branch 'contrib/github_pr_9446_v4.4' into 'release/v4.4'
...
Add missing comma (GitHub PR) (v4.4)
See merge request espressif/esp-idf!19307
2022-08-04 11:47:02 +08:00
Roland Dobai
b2770bd18e
Merge branch 'tools/mfg_fix_blank_lines_csv_v4.4' into 'release/v4.4'
...
tools: Introduce support for blank lines in config and value files for mfg utility (v4.4)
See merge request espressif/esp-idf!19253
2022-08-03 22:49:14 +08:00
Roland Dobai
575d28e56c
Merge branch 'contrib/github_pr_9408_v4.4' into 'release/v4.4'
...
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2 (GitHub PR) (v4.4)
See merge request espressif/esp-idf!19306
2022-08-03 22:49:02 +08:00
Karl Wang
e5a96aaca6
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-03 21:55:08 +08:00
wangmengyang
c6c4a23098
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-03 21:55:07 +08:00
Karl Wang
6c0c837378
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-03 21:55:06 +08:00
wangmengyang
aaf1d3909d
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-03 21:55:05 +08:00
wangmengyang
c3f5b85032
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-03 21:55:04 +08:00
wangmengyang
b735c46ba7
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-03 21:55:03 +08:00
wangmengyang
2ef0627c2c
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-03 21:55:02 +08:00
wangmengyang
dcf173c95a
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-03 21:55:01 +08:00
wangmengyang
c9ebba2ddf
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
...
# Conflicts:
# components/bt/host/bluedroid/hci/hci_hal_h4.c
2022-08-03 21:54:52 +08:00
wangmengyang
71c072cc8c
component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling
2022-08-03 21:50:38 +08:00
wangmengyang
88af2c548f
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-03 21:50:37 +08:00
wangmengyang
ceb4096287
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-03 21:50:36 +08:00
wangmengyang
93d4306aff
component/bt: add new OSI utility "fixed_pkt_queue", which has same functionality with "fixed_queue"
2022-08-03 21:50:35 +08:00
Karl Wang
96cbdee383
component/bt: add new OSI utility "pkt_queue" which acts as a mutex-protected linked list, to be used as data queue between tasks
2022-08-03 21:50:34 +08:00
wangmengyang
6edcab3885
component/bt: add new OSI utility "osi_event" to support the scenario that event need only to be handle once.
2022-08-03 21:50:33 +08:00
wangmengyang
1e06076c3c
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-03 21:50:32 +08:00
wangmengyang
d635d8f361
component/bt: modify the implementation of osi_thread using freeRTOS queue
2022-08-03 21:50:31 +08:00
Roland Dobai
1b16ef6cfc
versions: Update version to 4.4.2
2022-08-02 14:06:15 +02:00
weitianhua
72fd3bc1e6
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-08-02 13:39:36 +08:00
xiongweichao
c4491c352d
fix legacy pair controller does not send the link key to the host
...
Closes https://github.com/espressif/esp-idf/issues/5850
2022-08-01 19:07:16 +08:00
weitianhua
5b648b8452
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 14:27:56 +08:00
FanhuaCloud
dc626195f0
Add missing comma
...
Add missing comma when CONFIG_ESP32S3_DATA_CACHE_16KB is enabled
2022-08-01 09:17:40 +05:30
Angus Gratton
b765963c7c
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2
...
As documented, the limit for NVS format v2 is 4000 bytes for a string.
2022-08-01 09:12:39 +05:30
Jiang Jiang Jian
6d85d53cee
Merge branch 'bugfix/qatest_spp_crash_v4.4' into 'release/v4.4'
...
bugfix/qatest spp crash (v4.4)
See merge request espressif/esp-idf!19238
2022-07-28 16:06:56 +08:00
jingli
236bd27134
further fix spi flash/ram current leakage
...
Currently, we pull up cs io for spi flash/ram to reduce current leakage during
light sleep. But some kind of spi flash/ram chip need all io pull up. Otherwise,
current leakage will still exist.
2022-07-28 13:11:55 +08:00
jingli
5f2855882b
kconfig: fix kconfig help of power down flash
2022-07-28 13:10:55 +08:00
jingli
23d934429c
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep
...
Since cpu retention dma use rc fast as clk source, so rc_fast_digi
will be enabled when we config to pd cpu. And cpu retention does not
need rc fast keep on during light sleep. So, if we use rc_fast_digi
to determine whether rc fast can be powered down, then cpu and and
rc fast cannot pd at the same time.
2022-07-28 11:24:40 +08:00
wanlei
92abac1fd8
psram: fixed heap pool reservation for DMA/internal usage fail issue
...
As heap block may be allocated into multiple non-continuous chunks, to
reserve enough memory for dma/internal usage, we do the malloc in the
step of max available block.
2022-07-28 10:12:17 +08:00
jincheng
a066de7fec
1. add protect for bt_util_buf_env buffers when multi-access
...
2. ignore assert_err in em_bt_clkoff1_setf
2022-07-27 18:01:12 +08:00
Isha Pardikar
eb490dc18e
Merge branch 'feature/rainmaker_BT_configurable' into 'release/v4.4'
...
Doc: Made bluetooth configurable after wifi provisioning is completed
See merge request espressif/esp-idf!19263
2022-07-27 12:24:50 +05:30
Djordje Nedic
b654c14d0e
tools: Introduce support for blank lines in config and value files for mfg utility
...
Some users have requested this feature.
In order to avoid complete refactoring or introducing more code complexity, a design choice to create temporary files without blank lines is made.
Additionally, an extension check is added and there are multiple smaller code style and structure improvements.
Closes https://github.com/espressif/esp-idf/issues/8421
2022-07-26 23:17:33 +02:00
Jiang Jiang Jian
14903a46d1
Merge branch 'bugfix/optimize_beacon_timeout_issue_4.4' into 'release/v4.4'
...
esp_wifi:bugfix optimize beacon timeout issue(4.4)
See merge request espressif/esp-idf!19157
2022-07-25 15:48:57 +08:00
baohongde
aadd18514c
components/coex: Make sure sempher and queue used in isr is in DRAM
...
Closes https://github.com/espressif/esp-idf/issues/9032
Closes https://github.com/espressif/esp-idf/issues/8928
Closes https://github.com/espressif/esp-idf/issues/9129
2022-07-25 11:10:28 +08:00
baohongde
c5db1591cf
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-25 11:08:13 +08:00
Jiang Jiang Jian
47b6a8c85a
Merge branch 'bugfix/phy_init_failed_when_wifi_deinit_4.4' into 'release/v4.4'
...
esp_wifi:bugfix for phy init failed when wifi deinit(4.4)
See merge request espressif/esp-idf!19137
2022-07-25 10:52:28 +08:00
jincheng
9892ce6a53
fix the dependency error of macro for memory debug
2022-07-22 16:17:14 +08:00
Vilem Zavodny
d072873d5e
esp_lcd: Add RX into SPI lcd panel.
2022-07-21 09:18:28 +02:00
xueyunfei
91dc99a3ce
esp_wifi:bugfix optimize beacon timeout issue
2022-07-21 10:57:20 +08:00
Kapil Gupta
f42fd4236c
WiFi: Do not disconnect in WPS disable incase WPS is done/scanning
...
Closes https://github.com/espressif/esp-idf/issues/9341
2022-07-20 18:17:45 +05:30
Armando
cb62457f6d
adc: fix esp32 continuous mode sampling freq issue
2022-07-20 16:43:38 +08:00
Armando
ad8862fa19
adc: fix esp32s2 continuous mode converted bytes issue
...
When working in continuous mode, hardware will continuously trigger
ADC to do conversions. On esp32s2, 2 bytes will be generated per
conversion. Prior to this commit, driver assumes 4 bytes per conversion
(on s2). This commit fixed this issue.
2022-07-20 16:43:38 +08:00
xueyunfei
1a17610895
bugfix for phy init failed when wifi deinit
2022-07-20 15:14:34 +08:00
Armando
ce465c0574
adc: fix esp32s3 continuous mode output bits issue
...
Prior to this change, esp32s3 ADC continuous mode output resolution is 13 bits.
This commit correct the `adc_digi_output_data_t` on esp32s3. Correct
output bits should be 12 bits. Corresponding definition in `soc_caps.h`
is also updated.
2022-07-20 15:01:57 +08:00
xiewenxiang
ffebc3d93f
component/bt: Modify the bluetooth device name length limits
2022-07-20 09:22:47 +08:00
xiewenxiang
a840c77d4e
component/bt: set ext adv param failed when stop ext adv
2022-07-20 09:09:17 +08:00
Mitch Bradley
5728fe325e
Reverts Backtrace: format to what it used to be
...
Was: Backtrace: N:M N:M N:M ...
Now: Backtrace:N:MN:M N:M ...
The problem with the new format is that it is hard to parse and
breaks the parser that is used by PlatformIO. The old format
is much more reasonable. I do not see how the pattern in IDFDUT.py
can work with the new format, due to the missing space after the :
2022-07-19 11:55:32 +02:00
Vilem Zavodny
28954a635d
esp_lcd: Fix code style.
...
(cherry picked from commit 18f46959e4c83d6dd01db53d26388d5d3b4e3d99)
2022-07-19 09:40:01 +02:00
Slamy
197f916383
fixed misaligned data transfer for ssd1306
...
(cherry picked from commit 46a2bf8ac9
)
(cherry picked from commit b95304829af55174c0c8ac1b9c561e0319896d5b)
2022-07-19 09:39:50 +02:00
Darian Leung
b1574fef2d
freertos: Fix flakey event group unit test
...
The "FreeRTOS Event Groups" main task will only wait a single tick for the created
tasks to set their response bits. This short delay may not be sufficent if the tick
frequency is high.
This commit updates the test so that
- the main task waits indefinitely for all the response bits to be set.
- created tasks are cleand up by the main task
2022-07-19 12:03:04 +08:00
Darian Leung
d465316f0b
freertos: Fix event group task list race condition
...
FreeRTOS synchronization primitives (e.g., queues, eventgroups) use various event lists (i.e., task lists) to track what
tasks are blocked on a current primitive. Usually these event lists are accessed via one of the event lists functions
(such as vTask[PlaceOn|RemoveFrom]UnorderedEventList()), which in turn ensure that the global task list spinlock
(xTaskQueueMutex) is taken when accessing these lists.
However, some functions in event_groups.c manually traverse their event lists. Thus if a tick interrupt occurs on
another core during traversal and that tick interrupt unblocks a task on the event list being traversed, the event list
will be corrupted.
This commit modifies the following event_groups.c functions so that they take the global task list lock before
traversing their event list.
- xEventGroupSetBits()
- vEventGroupDelete()
2022-07-19 12:03:04 +08:00
Chen Wu
4bb12517f5
lwip: Fixed that ipv6 dns cannot work
2022-07-15 16:18:01 +08:00
zhiweijian@espressif.com
85da506ec0
Fixed bluedroid host memory overflow
2022-07-15 14:47:28 +08:00
Jiang Jiang Jian
ee2029c38a
Merge branch 'update_v4.4/mbedtls_v2.28.1' into 'release/v4.4'
...
mbedtls: Update to release v2.28.1 (v4.4)
See merge request espressif/esp-idf!19041
2022-07-14 22:51:26 +08:00
morris
dee1bd1a24
rgb_lcd: fix error in rgb_panel_set_gap
...
Closes https://github.com/espressif/esp-idf/issues/9279
2022-07-14 16:52:55 +08:00
Laukik Hase
f7c20f3718
mbedtls: Update to release v2.28.1
...
- Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.1
2022-07-14 10:01:39 +05:30
Jiang Jiang Jian
d446c4a18f
Merge branch 'bugfix/fix_beacon_timeout_timer_assert_issue_v4.4' into 'release/v4.4'
...
esp_wifi: fix sta reset beacon timeout timer issue(Backport v4.4)
See merge request espressif/esp-idf!19035
2022-07-14 11:25:14 +08:00
Jiang Jiang Jian
c074da530b
Merge branch 'feature/temp_sensor_v4.4' into 'release/v4.4'
...
temperature sensor: Add support on ESP32-S3 (backport v4.4)
See merge request espressif/esp-idf!18718
2022-07-14 10:51:43 +08:00
muhaidong
9f0532bdf3
esp_wifi: fix sta reset beacon timeout timer issue
2022-07-13 20:37:38 +08:00
Cao Sen Miao
daceb3516d
temperature sensor: Add support on ESP32-S3,
...
Closes https://github.com/espressif/esp-idf/issues/8086
2022-07-13 17:22:59 +08:00
Cao Sen Miao
8538153616
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled,
...
Closes https://github.com/espressif/esp-idf/issues/9244 ,
Closes https://github.com/espressif/esp-idf/issues/9287
2022-07-13 17:20:38 +08:00
Jiang Jiang Jian
322a2240f1
Merge branch 'bugfix/eapol_drop_issue_v4.4' into 'release/v4.4'
...
esp_wifi: clear old keys before going for new connection(backport v4.4)
See merge request espressif/esp-idf!18996
2022-07-13 15:40:11 +08:00
Jiang Jiang Jian
b68fd2b88f
Merge branch 'bugfix/fix_memory_leak_in_hidh_v4.4' into 'release/v4.4'
...
Fix memory leak in bt_hidh.c[backport 4.4]
See merge request espressif/esp-idf!19007
2022-07-13 14:03:32 +08:00
Jiang Jiang Jian
dfb75aa230
Merge branch 'feature/uart_get_free_tx_buffer_size_v4.4' into 'release/v4.4'
...
uart: Add a new API to get the free space size of tx buffer (backport v4.4)
See merge request espressif/esp-idf!18977
2022-07-13 10:56:44 +08:00
Jiang Jiang Jian
bd7269411a
Merge branch 'bugfix/wifi_sta_and_ble_disconnect_BCI-303_v4.4' into 'release/v4.4'
...
component_bt: Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected(v4.4)
See merge request espressif/esp-idf!18999
2022-07-13 00:13:03 +08:00
Jiang Jiang Jian
327624b04c
Merge branch 'bugfix/correct_blecmd_for_rf_path_v4.4' into 'release/v4.4'
...
Bluedroid: Fixed compilation error due to incorrect macro name (v4.4)
See merge request espressif/esp-idf!18994
2022-07-12 20:32:02 +08:00
Jiang Jiang Jian
692ba818fe
Merge branch 'bugfix/fix_esp32_ke_mem_c_assert_v4.4' into 'release/v4.4'
...
fix esp32 BLE ke_mem.c assert for v4.4
See merge request espressif/esp-idf!19000
2022-07-12 20:30:32 +08:00
Jiang Jiang Jian
4e6f8b362d
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data_v4.4' into 'release/v4.4'
...
components/bt: Fix ble sync periodic adv report will lost data(backport release/v4.4)
See merge request espressif/esp-idf!18958
2022-07-12 17:30:04 +08:00
Jiang Jiang Jian
9f5b700c9a
Merge branch 'bugfix/fix_esp32c3_s3_adv_report_duplicate_check_v4.4' into 'release/v4.4'
...
Fix esp32c3/s3 adv report duplicate check for v4.4
See merge request espressif/esp-idf!18962
2022-07-12 17:29:35 +08:00
liqigan
c2f9a0ad87
fix memory leak in esp_bt_hidh_dev_report_write and esp_bt_hidh_dev_set_report in bt_hidh.c
...
Closes https://github.com/espressif/esp-idf/issues/9323
2022-07-12 15:57:23 +08:00
zwj
f39df9a9c0
fix esp32 BLE ke_mem.c assert
2022-07-12 14:40:21 +08:00
xiongweichao
c85f71aee3
Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
2022-07-12 14:35:32 +08:00
Kapil Gupta
522e0a6b06
esp_wifi: clear old keys before going for new connection
2022-07-12 10:43:34 +05:30
Rahul Tank
b5522f5709
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-12 09:42:27 +05:30
Jiang Jiang Jian
cd13a62952
Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_4.4_0711' into 'release/v4.4'
...
Backport some wifi&lwip bugs for 4.4 0711
See merge request espressif/esp-idf!18984
2022-07-12 11:36:25 +08:00
Jiang Jiang Jian
2476d5d837
Merge branch 'fix/usb_cdc_reconnection' into 'release/v4.4'
...
tinyusb: Fix lost packet after reconnection
See merge request espressif/esp-idf!18952
2022-07-12 10:32:31 +08:00
Jiang Jiang Jian
b3e8d0f7bf
Merge branch 'bugfix/tinyusb_prs_v4.4' into 'release/v4.4'
...
Fix tinyusb_driver_install (dangling pointer) and ESP32S3 USB external PHY pinout (backport v4.4)
See merge request espressif/esp-idf!18978
2022-07-12 10:31:14 +08:00
Tomas Rezucha
4b4289ebba
tinyusb: Fix lost packet after reconnection
2022-07-11 17:06:33 +02:00
muhaidong
c3f077397a
esp_wifi: reset beacon timeout timer when keep alive null works or hw drop beacon
2022-07-11 21:29:34 +08:00
xueyunfei
f8a4504bc5
Icmp: get tos parameter in icmp reply
...
bugfix for add ttl for ping socket
2022-07-11 20:24:18 +08:00
Jeff H
101762718a
add option to route LWIP logs through ESP_LOG interface
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/8785
Closes https://github.com/espressif/esp-idf/issues/8361
2022-07-11 19:26:41 +08:00
xueyunfei
4a3875c4c7
wifi:bugfix for wrong configuration of static txbuf
...
wifi:bugfix fix qos null update ba ssn
2022-07-11 19:16:11 +08:00
lsita
88361bddf2
USB external PHY pinout set as in Reference Manual Figure 29-3.
...
(cherry picked from commit 9ceff23c6d
)
2022-07-11 17:26:45 +08:00
lsita
41f78c1347
Fix tinyusb_driver_install (dangling pointer)
...
(cherry picked from commit db90b512a1
)
2022-07-11 17:20:57 +08:00
songruojing
f4d33d2739
uart: Add a new API to get the free space size of tx buffer
...
Closes https://github.com/espressif/esp-idf/issues/8932
Closes https://github.com/espressif/esp-idf/issues/3078
(cherry picked from commit 9d73475e44
)
2022-07-11 17:04:11 +08:00
xiewenxiang
3838e3da4a
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:50:30 +08:00
Jiang Jiang Jian
b9a1020fcf
Merge branch 'bugfix/reset_ble_hw_on_inititalization_v4.4' into 'release/v4.4'
...
[Bluetooth] Reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3(release/v4.4)
See merge request espressif/esp-idf!18964
2022-07-11 16:28:53 +08:00
Jiang Jiang Jian
65becd2edf
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg_v4.4' into 'release/v4.4'
...
bugfix/fix the issue of functions not defined when enable memory debug (v4.4)
See merge request espressif/esp-idf!18815
2022-07-11 16:28:27 +08:00
wangmengyang
eb15c547f2
fix licence copyright for header file syscon_reg.h on ESP32C3 and ESP32S3
2022-07-11 11:09:06 +08:00
wangmengyang
4d5aa82cea
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
...
1. Rename MACROs SYSTEM_WIFI_RST_EN register bit fields to be more recognizable
2. reset Bluetooth baseband and MAC bits to fix the issue of task watchdog triggered during controller initialization due to invalid hardware state
2022-07-11 11:06:11 +08:00
chenjianhua
1595e008f0
fix esp32c3/s3 adv report duplicate check
2022-07-11 10:53:53 +08:00
Jiang Jiang Jian
3ab8c3fff4
Merge branch 'doc/ble_deinit_v4.4' into 'release/v4.4'
...
doc(bt): Add description for de-initialize bt controller(backport release/v4.4)
See merge request espressif/esp-idf!18928
2022-07-10 15:37:50 +08:00
Jiang Jiang Jian
e26594d8f4
Merge branch 'bugfix/fix_wrong_params_in_hidd_v4.4' into 'release/v4.4'
...
Fix wrong parameter of get_report_by_id_and_type in bt_hidd.c[backport 4.4]
See merge request espressif/esp-idf!18930
2022-07-10 15:36:28 +08:00
Jiang Jiang Jian
4a2a974257
Merge branch 'bugfix/main_task_on_cpu1_startup_failure_v4.4' into 'release/v4.4'
...
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config (v4.4)
See merge request espressif/esp-idf!18935
2022-07-10 15:36:05 +08:00
Linda
bc4338625c
docs:add chiptype and link to gpio.h
2022-07-08 16:29:11 +08:00
Jiang Jiang Jian
603be06120
Merge branch 'fix/tls-size-esp32c2_esp32c3_esp32h2_v4.4' into 'release/v4.4'
...
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
See merge request espressif/esp-idf!18810
2022-07-08 11:14:34 +08:00
Mahavir Jain
5ebc86354a
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config
...
Idle tick hook that indicates completion of scheduler init must be launched
on other core than the one where main task runs. Earlier it was assumed that
main task shall always run on PRO cpu but that behavior can be changed with
ESP_MAIN_TASK_AFFINITY_CPU1 and hence this fix.
Closes https://github.com/espressif/esp-idf/issues/9247
Closes IDFGH-7705
2022-07-08 08:36:19 +05:30
jincheng
875915a822
fix the issue of functions not defined when enable memory debug
2022-07-08 11:03:07 +08:00
xiewenxiang
fe1fb25078
doc(bt): Add description for de-initialize bt controller
2022-07-08 11:02:01 +08:00
liqigan
7b305f9f56
fix wrong params of get_report_by_id_and_type in bt_hidd.c
2022-07-08 10:11:17 +08:00
Jiang Jiang Jian
afc6f7f932
Merge branch 'docs/update_wifi_api_doc_v4.4' into 'release/v4.4'
...
DOC: update wifi api docs ( backport v4.4)
See merge request espressif/esp-idf!18076
2022-07-07 10:57:36 +08:00
Jiang Jiang Jian
6e63caa4fa
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid_v4.4' into 'release/v4.4'
...
bugfix/resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h (v4.4)
See merge request espressif/esp-idf!18824
2022-07-07 10:56:04 +08:00
Jiang Jiang Jian
ed7d2d3f0d
Merge branch 'bugfix/fix_ble_ke_mem_c_assert_on_c3_s3_v4.4' into 'release/v4.4'
...
Fixed BLE ke_mem.c assert for v4.4
See merge request espressif/esp-idf!18878
2022-07-07 10:55:49 +08:00
zhiweijian@espressif.com
363b8b2973
Fixed bluedroid host memory overflow
2022-07-06 21:21:30 +08:00
Jiang Jiang Jian
d949df8dcb
Merge branch 'bugfix/ext_adv_param_check_v4.4' into 'release/v4.4'
...
Bluedroid: fix channel map of ext adv params check for v4.4
See merge request espressif/esp-idf!18890
2022-07-06 17:21:27 +08:00
Jiang Jiang Jian
bdaeab5de7
Merge branch 'bugfix/xtensa_sol_frame_saves_extra_registers_v4.4' into 'release/v4.4'
...
freertos: Xtensa solicited stack frame should save threadptr register (v4.4)
See merge request espressif/esp-idf!18853
2022-07-06 17:19:32 +08:00
Jiang Jiang Jian
8546527213
Merge branch 'bugfix/restore_edr_en_and_protect_for_vhci_env_v4.4' into 'release/v4.4'
...
bugfix/restore edr_en and add protect for vhci_env (v4.4)
See merge request espressif/esp-idf!18811
2022-07-06 17:15:54 +08:00
Jiang Jiang Jian
a3f72a9310
Merge branch 'feature/esp_docs_1.0.0_v4.4' into 'release/v4.4'
...
docs: update esp-docs to 1.0.0 (v4.4)
See merge request espressif/esp-idf!18210
2022-07-06 17:14:03 +08:00
chenjianhua
9113f72078
Bluedroid: fix channel map of ext adv params check
2022-07-05 19:44:12 +08:00
zwj
3e6cc4892b
fix BLE ke_mem.c assert
2022-07-05 16:12:57 +08:00
Marius Vikhammer
90e58c3721
docs: fix all doxygen warnings
...
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-07-05 11:14:40 +08:00
Jiang Jiang Jian
690f802b1c
Merge branch 'bugfix/not_use_malloc_in_bluedroid_v4.4' into 'release/v4.4'
...
component/bt: use osi_malloc instead of malloc in bluedroid
See merge request espressif/esp-idf!18843
2022-07-04 20:05:46 +08:00
Jiang Jiang Jian
977a040301
Merge branch 'bugfix/fix_sink_wrong_sniff_params_v4.4' into 'release/v4.4'
...
Fix A2DP Sink Wrong Sniff Parameters which Caused by HID Porting[backport 4.4]
See merge request espressif/esp-idf!18801
2022-07-04 19:57:53 +08:00
Darian Leung
c26d2ad132
freertos: Xtensa FreeRTOS saves threadptr in solicited stack frame
...
The Xtensa FreeRTOS port does not save the threadptr register when
doing a voluntary yield. This can result in a crash when multiple
tasks used the threadptr register and call "taskYIELD()".
This commit adds the threadptr register to the solicited stack frame.
2022-07-04 18:27:57 +08:00
baohongde
65ed4b5339
component/bt: use osi_malloc instead of malloc in bluedroid
2022-07-04 16:10:25 +08:00
Marius Vikhammer
27cd55dca1
docs: fix broken links
2022-07-04 11:05:49 +08:00
jincheng
f3917d1706
restore edr_en which wrongly cleared by rsw
...
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features
2022-07-01 19:28:36 +08:00
jincheng
59b50180a0
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-07-01 19:21:37 +08:00
Alexey Lapshin
09289fe451
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
...
The change fixes thread-local-storage size by removing .srodata section
from it. It initially was included in TLS section by mistake.
The issue was found when stack size increased after building applications
with GCC-11.1 compiler. Stack size became bigger because some new data
appeared in .srodata. See more details here:
adce62f53d
2022-07-01 15:19:21 +04:00
zhangyanjiao
53c186af26
esp_wifi: backport some wifi fix
...
1.Update wifi doc for espnow/LR/fix rate/disable 11b/multiple antennas
2.Optimization example of wifi station
3.Optimize the null pointer judgment of eb
4.Bugfix for close sniffer mode when wifi stop
5.Fix deep sleep can't reconnect to ap when pmf enable.
6.Fix some ap will ignore auth when rx deauth for a while.
7.Fixed espnow recv unencrypted packets issue
8.Fix not update phy according to country code.
9.Update regdomain max channel according to country info from nvs and or AP.
10.Channel 14 is allowed only 11b mode.
11.Remove csa when switch channel from/to 14 channel.
12.Update phy mode nvs when softap channel from 14 to other.
13.Fix the bug that check whether channel parameter is valid.
2022-07-01 17:39:53 +08:00
xueyunfei
d9a278827c
optimize the null pointer judgment of eb
2022-07-01 17:39:53 +08:00
Jessy Chen
31035183da
esp_wifi: update esp_wifi_internal_set_fix_rate usage
2022-07-01 17:39:53 +08:00
Jessy Chen
29432233f8
esp_wifi: update noise floor unit
2022-07-01 17:39:53 +08:00
xueyunfei
05770a1f52
Doc:update wifi api docs
...
* Add documents related to espnow config rate
* Optimization set dns server api description
2022-07-01 17:39:53 +08:00
zhangyanjiao
254ec47ae4
update wifi api docs
2022-07-01 17:39:53 +08:00
Jiang Jiang Jian
c9140caf8c
Merge branch 'bugfix/no_proxy_beacon_send_after_deinit_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh(v4.4)
See merge request espressif/esp-idf!18791
2022-07-01 17:17:39 +08:00
Jiang Jiang Jian
9616ef8ee8
Merge branch 'bugfix/wifi_condition_linker_mapping_v4.4' into 'release/v4.4'
...
esp_wifi: Fix linking of WiFi functions dependent on PM_ENABLE (v4.4)
See merge request espressif/esp-idf!18796
2022-07-01 17:17:21 +08:00
liqigan
4f598d2ec3
fix sink wrong sniff params which caused by HID porting
2022-07-01 14:49:54 +08:00
Jiang Jiang Jian
597ff180d8
Merge branch 'bugfix/fix_stale_pmf_config_v4.4' into 'release/v4.4'
...
Fix stale PMF config in NVS issue (Backport v4.4)
See merge request espressif/esp-idf!18662
2022-07-01 13:54:42 +08:00
Darian Leung
41b9e66082
wifi: Fix linking of WiFi functions dependent on PM_ENABLE
...
The following functions are only defined when CONFIG_PM_ENABLE is defined:
- wifi_apb80m_request()
- wifi_apb80m_release()
This commit makes their linker script mapping statements also dependent on CONFIG_PM_ENABLE
thus fixing some linker errors when CONFIG_PM_ENABLE is disabled.
2022-07-01 12:29:35 +08:00
wangjialiang
23e482feeb
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
2022-07-01 11:42:07 +08:00
Jiang Jiang Jian
69951819a0
Merge branch 'bugfix/s3_increase_static_alloc_size_v4.4' into 'release/v4.4'
...
bootloader, esp_system: increase static allocation space for esp32s3 (v4.4)
See merge request espressif/esp-idf!18685
2022-07-01 10:54:25 +08:00
Jiang Jiang Jian
b9e018aa53
Merge branch 'bugfix/ledc_auto_clk_refactor_v4.4' into 'release/v4.4'
...
LEDC: improved support for ESP32-C3 and refactored divisor calculation (v4.4)
See merge request espressif/esp-idf!17101
2022-07-01 10:52:00 +08:00
Jiang Jiang Jian
cb012683ff
Merge branch 'bugfix/spiffs_readdir_errno_v4.4_2' into 'release/v4.4'
...
spiffs: update submodule to fix SPIFFS_readdir errno issue (v4.4)
See merge request espressif/esp-idf!18637
2022-07-01 10:51:45 +08:00
Jiang Jiang Jian
1bd2e3f9df
Merge branch 'feature/s3_ulp_support_v4.4' into 'release/v4.4'
...
ulp: Added ULP support for esp32s3 (v4.4)
See merge request espressif/esp-idf!18621
2022-07-01 10:51:18 +08:00
Jiang Jiang Jian
cd2f38a7bb
Merge branch 'feature/efuse_rst_is_treated_as_poweron_rst_v4.4' into 'release/v4.4'
...
reset_reasons: EFUSE_RST is treated as POWERON_RST + checks errors of eFuse BLOCK0 (v4.4)
See merge request espressif/esp-idf!17871
2022-07-01 10:43:40 +08:00
Jiang Jiang Jian
e8c7364fa3
Merge branch 'bugfix/mbedtls_free_keypair_v4.4' into 'release/v4.4'
...
Nimble: Fixed memory leak while generating keypair using embedtls v4.4
See merge request espressif/esp-idf!18775
2022-07-01 10:43:19 +08:00
muhaidong
52c78344c1
esp_wifi: clear phy calibrated flag when phy pd memory deinit
2022-06-30 17:12:05 +08:00
Nachiket Kukade
279638a39b
esp_wifi: Update wifi lib
...
Fix issue where set_config API uses stale NVS config if PMF disable
API was used before
2022-06-30 14:28:32 +05:30
Jiang Jiang Jian
d5ed8f9db6
Merge branch 'feat/revert_touch_s3_v4.4' into 'release/v4.4'
...
touch: Added support for using touch in sleep modes back on ESP32-S3 (v4.4)
See merge request espressif/esp-idf!18691
2022-06-30 16:55:23 +08:00
Jiang Jiang Jian
7804d1c4db
Merge branch 'bugfix/esp32s2_startup_garbled_output_v4.4' into 'release/v4.4'
...
esp_system: fix garbled UART output on startup on esp32s2 (v4.4)
See merge request espressif/esp-idf!18750
2022-06-30 16:52:11 +08:00
Rahul Tank
ec6155dff1
Nimble: Fixed memory leak while generating keypair using embedtls
2022-06-30 14:21:54 +05:30
Jiang Jiang Jian
f015bcdaed
Merge branch 'bugfix/a_small_fix_for_multi_heap_backport_v4.4' into 'release/v4.4'
...
Heap: fix param passed to assert_valid_block, should be block not ptr(backport v4.4)
See merge request espressif/esp-idf!18673
2022-06-30 16:51:28 +08:00
Jiang Jiang Jian
d1ae2b8ffd
Merge branch 'bugfix/app_trace_iram_v4.4' into 'release/v4.4'
...
apptrace: move all apptrace related functions to IRAM (v4.4)
See merge request espressif/esp-idf!18728
2022-06-30 16:50:55 +08:00
Jiang Jiang Jian
7c28a05c69
Merge branch 'bugfix/configure_link_encryption_for_charac_v4.4' into 'release/v4.4'
...
WifiProv: Add configuration support for forcing link encryption (v4.4)
See merge request espressif/esp-idf!18660
2022-06-30 16:49:26 +08:00
Jiang Jiang Jian
55773f878d
Merge branch 'bugfix/mbedtls_custom_cert_ut_v4.4' into 'release/v4.4'
...
ci: Fix `custom certificate bundle` UT failure for S3 (v4.4)
See merge request espressif/esp-idf!18658
2022-06-30 16:48:45 +08:00
Jiang Jiang Jian
46cff3cd1c
Merge branch 'feature/add_filter_seq_auth_config_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Add filter old seq_auth packet menuconfig(v4.4)
See merge request espressif/esp-idf!18649
2022-06-30 16:48:01 +08:00
Jiang Jiang Jian
d76d3580c6
Merge branch 'wifi_prov_mgr/wpa3_psk_v4.4' into 'release/v4.4'
...
wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs (v4.4)
See merge request espressif/esp-idf!18601
2022-06-30 16:46:53 +08:00
Jiang Jiang Jian
93d8cf3eb6
Merge branch 'bugfix/sync_host_nocp_cmd_v4.4' into 'release/v4.4'
...
Nimble: Sync sending Host Number of Completed Packets command
See merge request espressif/esp-idf!18607
2022-06-30 16:39:58 +08:00
Jiang Jiang Jian
1b17711caa
Merge branch 'bugfix/dirent-definition_v4.4' into 'release/v4.4'
...
newlib: dirent d_ino type fix (v4.4)
See merge request espressif/esp-idf!18611
2022-06-30 16:39:39 +08:00
Jiang Jiang Jian
b784b1c239
Merge branch 'feature/update_hfp_ag_version_v4.4' into 'release/v4.4'
...
component_bt: update hfp_ag version to 1.7.2(v4.4)
See merge request espressif/esp-idf!18603
2022-06-30 16:37:14 +08:00
Jiang Jiang Jian
e8ea685214
Merge branch 'bugfix/sap_mode_change_crash_issue_v4.4' into 'release/v4.4'
...
Fixes for SAP mode change and PMF issues (Backport v4.4)
See merge request espressif/esp-idf!18590
2022-06-30 16:33:58 +08:00
Ivan Grokhotkov
74e9376022
esp_system: fix garbled UART output on startup on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/9168
2022-06-29 12:33:05 +02:00
Marius Vikhammer
3c358dd074
ulp: only enable relevant wakeup sources for ULP
...
Do not enable co-processor trap wakeup source when running ULP FSM, as this
could cause spurious wake-ups.
2022-06-29 11:57:05 +08:00
Sudeep Mohanty
a0e3d488da
ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
...
This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
2022-06-29 11:57:02 +08:00
intern
74d745a80b
docs: update cn trans for upl docs
2022-06-29 11:56:59 +08:00
Marius Vikhammer
dafcb9a883
apptrace: move all apptrace related functions to IRAM
...
Closes: https://github.com/espressif/esp-idf/issues/9131
2022-06-29 10:17:48 +08:00
Michael (XIAO Xufeng)
d424b93192
Revert "touch: add protection for touch sleep case"
...
This reverts commit 974ac3b4b8
.
2022-06-27 14:33:09 +08:00
Michael (XIAO Xufeng)
c3c802d9b8
Revert "touch_sensor: forbid from using touch sensor with sleep on ESP32-S3"
...
This reverts commit a84faa3cef
.
2022-06-27 14:33:09 +08:00
Ivan Grokhotkov
6e6b9ec5a6
bootloader, esp_system: increase static allocation space for esp32s3
...
The previously used splits between memory allocated for ROM code,
2nd stage bootloader and the app were somewhat safe and conservative.
This resulted in some space being unavailable for static allocation
in the app.
This commit increases the space available for static allocation to the
maximum possible amount.
1. Some of the ROM code static allocation is only used in UART/USB/SPI
download modes. This region ("shared buffers") has been placed at
the lower end of ROM memory area, to be reusable in flash boot
mode. The 2nd stage bootloader linker script is modified to "pack"
all sections exactly up to the end but with roughly 8K margin between
startup stacks.
2. Instead of calculating the sections placement and hardcoding the
addresses in the LD script again, rewrite it to calculate the
start address of each memory region automatically based on the
logic above.
3. Adjust the app memory layout (SRAM_IRAM_END) accordingly,
increasing the space available for static allocation.
Overall these changes increase the space available for static
allocation by about 78kB.
The downside of these changes is that the 2nd stage bootloader .data
segment is now directly adjacent to the startup stack on the PRO CPU.
Previously, there was effectively about 78kB of extra stack space for
the PRO CPU, before the stack would run into the data segment.
2022-06-27 09:22:01 +05:30
jingli
41a0757bcc
fix param passed to assert_valid_block, should be block not ptr
2022-06-23 21:43:53 +08:00
Rahul Tank
7a01fe7a71
WifiProv: Extended support for configuring if link encryption is needed
...
when attempting to read / write characteristic to bluedroid stack
2022-06-23 17:44:38 +05:30
Laukik Hase
9e2369cb79
ci: Enable custom certificate bundle
test for ESP32-S3
...
- Increase leakage limit for `test performance RSA key operations`
UT by 64 bytes
2022-06-23 16:32:26 +05:30
Laukik Hase
e114850dda
mbedtls: Acquire lock before enabling MPI (RSA) hardware
...
- For ESP32-S3
2022-06-23 16:32:26 +05:30
wangjialiang
b82782f109
ble_mesh: stack: Add filter old seq_auth packet menuconfig
2022-06-23 16:17:20 +08:00
Martin Vychodil
1736fdf256
spiffs: update submodule to fix SPIFFS_readdir errno issue
...
See https://github.com/pellepl/spiffs/pull/288 for the description of the issue.
Reported in https://github.com/esp-rs/rust/issues/117#issuecomment-1142159661
2022-06-22 17:52:17 +02:00
KonstantinKondrashov
c563d799fe
efuse: Checks errors of 4x coding scheme for BLOCK0 if so then abort
2022-06-22 17:16:26 +08:00
KonstantinKondrashov
dcc706280d
reset_reasons: EFUSE_RST is treated as POWERON_RST
...
ESP32 does not have the EFUSE_RST, the rest chips has this reset reason.
2022-06-22 16:39:02 +08:00
Sudeep Mohanty
b72f987c5c
ulp: Added ULP RISC-V support for esp32s3
...
This commit adds support for ULP RISC-V for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-06-22 13:33:14 +08:00
Scott Mabin
e6964819b4
newlib: dirent d_ino type fix
...
As per the posix spec, `d_ino` should be defined as `ino_t`. See the
reference:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/dirent.h.html .
2022-06-21 14:40:13 +01:00
Rahul Tank
9ddf575e42
Nimble: Sync sending Host Number of Completed Packets command
2022-06-21 16:40:59 +05:30
xiongweichao
5020faf559
update hfp_ag version to 1.7.2
2022-06-21 14:41:19 +08:00
Laukik Hase
279ab23244
wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs
2022-06-21 11:17:09 +05:30
Jiang Jiang Jian
6c5fb29c2c
Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday_v4.4' into 'release/v4.4'
...
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday (v4.4)
See merge request espressif/esp-idf!18413
2022-06-21 01:27:33 +08:00
Jiang Jiang Jian
746df6107c
Merge branch 'bugfix/bond_not_saved_for_pairing_again' into 'release/v4.4'
...
Bugfix/bond not saved properly after re-pairing
See merge request espressif/esp-idf!18235
2022-06-21 00:21:13 +08:00
KonstantinKondrashov
b0a15716ee
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
...
The esp_timer was not advanced correctly.
2022-06-20 16:17:00 +00:00
Nachiket Kukade
586d9a2ef1
esp_wifi: Update wifi libs
...
Update wifi libs with below fixes -
1. Fix issues caused during SoftAP mode change
2. Error handling and cleanup related to STA PMF
2022-06-20 10:09:45 +00:00
Jiang Jiang Jian
582f9548d6
Merge branch 'nvs/remove_asserts_v4.4' into 'release/v4.4'
...
change: NVS assertions as runtime errorcodes (v4.4)
See merge request espressif/esp-idf!18460
2022-06-20 16:50:36 +08:00
Jiang Jiang Jian
b085cd2821
Merge branch 'refactor/improve_flash_power_down_logic_backport_v4.4' into 'release/v4.4'
...
system/sleep: improve flash power down logic(backport v4.4)
See merge request espressif/esp-idf!18587
2022-06-20 15:36:46 +08:00
Jiang Jiang Jian
d273837a51
Merge branch 'feature/modbus_update_for_other_targets_v44' into 'release/v4.4'
...
modbus: update to support other targets (Backport v4.4)
See merge request espressif/esp-idf!17385
2022-06-20 15:34:06 +08:00
Alex Lisitsyn
76bde2df72
modbus: update to support other targets (Backport v4.4)
2022-06-20 15:34:06 +08:00
jingli
4cc873dfd9
improve flash power down logic
2022-06-20 11:32:20 +08:00
Jiang Jiang Jian
076c6764d9
Merge branch 'bugfix/update_gpio_intr_enable_note_v4.4' into 'release/v4.4'
...
Update the note of the gpio_intr_enable function(v4.4)
See merge request espressif/esp-idf!18541
2022-06-20 01:24:50 +08:00
Jiang Jiang Jian
a77509a140
Merge branch 'feature/btdm_add_link_role_param_for_gatt_disconnection_event_v4.4' into 'release/v4.4'
...
component/bt: add link role param for gatt disconnection event(backport v4.4)
See merge request espressif/esp-idf!15948
2022-06-20 00:42:33 +08:00
Jiang Jiang Jian
439c808555
Merge branch 'bugfix/avdtp_genreal_reject_format_error_v4.4' into 'release/v4.4'
...
component_bt: Fix AVDTP general reject format error(v4.4)
See merge request espressif/esp-idf!18556
2022-06-20 00:09:01 +08:00
Jiang Jiang Jian
57dcaf6ee7
Merge branch 'bugfix/adds_iram_attr_for_efuse_apis_v4.4' into 'release/v4.4'
...
bootloader_efuse: Adds IRAM_ATTR for efuse API (v4.4)
See merge request espressif/esp-idf!18561
2022-06-20 00:08:43 +08:00
Jiang Jiang Jian
b7d5e8160f
Merge branch 'bugfix/fix_some_memory_leak_in_phy_v4.4' into 'release/v4.4'
...
Bugfix/fix some memory leak in phy v4.4
See merge request espressif/esp-idf!18551
2022-06-19 23:50:54 +08:00
Jiang Jiang Jian
1133b0ef10
Merge branch 'bugfix/touch_wait_circle_after_wakeup_from_sleep_on_s3_v4.4' into 'release/v4.4'
...
touch: fix the touch sensor wait cycle on s3 (v4.4)
See merge request espressif/esp-idf!17424
2022-06-19 22:49:08 +08:00
Jiang Jiang Jian
646b52f26e
Merge branch 'bugfix/uart_isr_followup' into 'release/v4.4'
...
UART: Fix custom ISR registration function
See merge request espressif/esp-idf!17359
2022-06-19 22:48:17 +08:00
xiewenxiang
3176c707da
component/bt: add link role param for gatt disconnection event(backport v4.4)
2022-06-19 14:41:55 +00:00
Jiang Jiang Jian
469e2e540b
Merge branch 'feature/adds_check_32k_xtal_stopped_v4.4' into 'release/v4.4'
...
esp_hw_support: Adds a msg when 32k xtal was stopped (v4.4)
See merge request espressif/esp-idf!18411
2022-06-19 22:41:20 +08:00
Jiang Jiang Jian
93bf6be8bd
Merge branch 'bugfix/ipc_blocking_v4.4' into 'release/v4.4'
...
esp_ipc: Fix a case when ipc_task() can wake up blocking task early (v4.4)
See merge request espressif/esp-idf!18415
2022-06-19 22:39:54 +08:00
Jiang Jiang Jian
44976afe6f
Merge branch 'bugfix/fatfs_mtime_dst_v4.4' into 'release/v4.4'
...
fatfs: fix incorrect mtime returned for files created during DST (v4.4)
See merge request espressif/esp-idf!18458
2022-06-19 22:36:25 +08:00
Matus Fabo
ac4d9888e0
add: Kconfig assert or errorcode option
...
add: private include header
add: macro encapsulation for assertion or error check
add: ESP_FAIL return code documentation in public headers
change: replaced all assertions by NVS_ASSERT_OR_RETURN macro
change: few internal function return values from void to esp_err_t
change: ESP_ERR_NVS_VALUE_TOO_LONG macro comment
2022-06-19 14:35:42 +00:00
xiongweichao
dc0650503b
Update the note of the gpio_intr_enable function
2022-06-19 14:33:13 +00:00
Jack
09b8af7398
fix the bug that some memory leaked in phy after wifi/ble deinit
2022-06-19 14:33:00 +00:00
Jack
af493beb76
deinit BB MAC back memory when they are not used
2022-06-19 14:33:00 +00:00
xiongweichao
8164030575
Fix AVDTP general reject format error.
2022-06-19 14:32:43 +00:00
KonstantinKondrashov
c9bec434aa
bootloader_efuse: Adds IRAM_ATTR for efuse API
...
Fixes startup of app for case:
bootloader with 40Mhz and app with 80Mhz (ESPTOOLPY_FLASHFREQ)
Closes https://github.com/espressif/esp-idf/issues/9156
2022-06-19 14:32:15 +00:00
Djordje Nedic
367dff055d
tools: overhaul csv handling for mfg_gen and nvs_partition_gen
...
This fixes the issue where multiline strings and strings with delimiters inside the nvs input csv file were incorrectly parsed, and adds back the ability to add comment lines anywhere in the CSV file.
The issue stems from the move away from the python built in csv module to manual parsing, which was made after moving away from using the csv module to parse mfg data.
This reverts back to using the csv module for parsing and writing csv data in both mfg_gen and nvs_partition_gen, fixes the original issue in mfg_gen and improves code quality which makes the code more readable and maintainable.
Closes https://github.com/espressif/esp-idf/issues/7175
2022-06-17 13:50:09 +00:00
yuanjm
7db0dcf72b
fix(websocket): Support handler deal with PING and CLOSE frame
2022-06-16 05:39:19 +00:00
Jiang Jiang Jian
71c176d587
Merge branch 'bugfix/freertos_stack_tcb_alloc_order_v4.4' into 'release/v4.4'
...
freertos: fix allocation order for stack and TCB per portSTACK_GROWTH (v4.4)
See merge request espressif/esp-idf!18455
2022-06-15 10:55:51 +08:00
Jiang Jiang Jian
b38ba40d4b
Merge branch 'bugfix/psram_startup_crash_v4.4' into 'release/v4.4'
...
psram: Fix startup crash when `CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0` (v4.4)
See merge request espressif/esp-idf!18500
2022-06-15 10:54:53 +08:00
Jiang Jiang Jian
1081d9ef7f
Merge branch 'bugfix/spi_bus_flag_check_v4.4' into 'release/v4.4'
...
driver(spi): fix flag check in bus initialization (v4.4)
See merge request espressif/esp-idf!18463
2022-06-15 10:54:25 +08:00
Jiang Jiang Jian
c1ee8ceda8
Merge branch 'bugfix/esp_crt_bundle_build_issue_v4.4' into 'release/v4.4'
...
esp_crt_bundle: Fix build problems if MBEDTLS_CERTIFICATE_BUNDLE is disabled (v4.4)
See merge request espressif/esp-idf!18464
2022-06-15 10:53:46 +08:00
Jiang Jiang Jian
65c85e34b1
Merge branch 'bugfix/cpu_cycle_count_not_iram_v4.4' into 'release/v4.4'
...
HAL: place cpu_ll_get_cycle_count in IRAM (v4.4)
See merge request espressif/esp-idf!18293
2022-06-15 10:52:48 +08:00
Jiang Jiang Jian
aa95c6545b
Merge branch 'fix/usb/buffer_sizes_backport_v4.4' into 'release/v4.4'
...
usb: TinyUSB buffer sizes (backport v4.4)
See merge request espressif/esp-idf!18502
2022-06-15 10:51:27 +08:00
Jiang Jiang Jian
4aada814cc
Merge branch 'feature/remove_back_compatible_with_s3beta_rom_v4.4' into 'release/v4.4'
...
spi_flash: remove back-compatible with caller function of S3Beta ROM(backport v4.4)
See merge request espressif/esp-idf!18504
2022-06-15 10:50:53 +08:00
Jiang Jiang Jian
08643e5184
Merge branch 'bugfix/rmt_register_file' into 'release/v4.4'
...
rmt: fix error in rmt register file (v4.4)
See merge request espressif/esp-idf!18511
2022-06-15 10:50:34 +08:00
Jiang Jiang Jian
4908c4e27d
Merge branch 'bugfix/eap_method_selection_release_v4.4' into 'release/v4.4'
...
esp_wifi: Fix the negotiation of method with eap server.
See merge request espressif/esp-idf!18507
2022-06-15 10:50:03 +08:00
Jiang Jiang Jian
18c02b7a24
Merge branch 'bugfix/wlan_fixes_backports' into 'release/v4.4'
...
esp_wifi: Backport some WLAN fixes(v4.4)
See merge request espressif/esp-idf!18495
2022-06-15 10:48:51 +08:00
morris
1ba0bf31b6
rmt: fix error in rmt register file
...
Closes https://github.com/espressif/esp-idf/issues/9100
2022-06-14 22:10:00 +08:00
jiangguangming
7706cc8daf
spi_flash: remove back-compatible with caller function of S3Beta ROM
2022-06-14 19:30:59 +08:00
Tomas Rezucha
3806e36807
usb: Fixed RX buffer min size
2022-06-14 12:49:42 +02:00
morris
2b001daa78
Merge branch 'docs/i2c_thread_safety_backport_v4.4' into 'release/v4.4'
...
docs: Fix I2C thread-safety (backport v4.4)
See merge request espressif/esp-idf!18186
2022-06-14 18:45:07 +08:00
Hrudaynath Dhabe
7543b94b38
esp_wifi: Fix the negotiation of method with eap server.
2022-06-14 15:10:14 +05:30
Kapil Gupta
d7b5381fd2
esp_wifi: Remove group cipher check for PMF connection
2022-06-14 14:49:51 +05:30
Kapil Gupta
9fb3ad9946
wpa_supplicant: Unicast key renew in TKIP mic failure
...
Currently we always request group key renew for during
TKIP mic failure. Add support for unicast/multicast
key renew as per packet.
2022-06-14 14:49:51 +05:30
Kapil Gupta
f05d741c03
esp_wifi: Add APIs to check BTM and RRM support of connected AP
2022-06-14 14:49:51 +05:30
Kapil Gupta
972aa9a9a9
esp_wifi: Changes to not use pmkid caching when SSID is changed
2022-06-14 14:49:51 +05:30
Kapil Gupta
e4df46011c
wpa_supplicant: Fix issues reported by coverity
2022-06-14 14:49:51 +05:30
Jiang Jiang Jian
a40641e3b1
Merge branch 'bugfix/wifi_backport_v4.4_0613' into 'release/v4.4'
...
esp_wifi: backport some wifi fix(v4.4)
See merge request espressif/esp-idf!18486
2022-06-14 17:12:26 +08:00
Laukik Hase
ed439cc7f3
freertos: Indicate completed initialization for APP CPU with idle task hook
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2022-06-14 14:19:01 +05:30
Jiang Jiang Jian
288929eb3a
Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection_v4.4' into 'release/v4.4'
...
component/bt: check the ble ext adv parameters (backport release/v4.4)
See merge request espressif/esp-idf!18489
2022-06-14 16:35:25 +08:00
xiewenxiang
49baddf113
component/bt: check the ble ext adv parameters
2022-06-14 11:30:13 +08:00
Jiang Jiang Jian
6bbdcbef1e
Merge branch 'bugfix/pm_enabled_bt_build_fail_v4.4' into 'release/v4.4'
...
Bluetooth build fail when power management is enabled(v4.4)
See merge request espressif/esp-idf!18375
2022-06-14 11:22:40 +08:00
Jiang Jiang Jian
6297fa4039
Merge branch 'feature/vfs_spiffs_(f)truncate_support_v4.4' into 'release/v4.4'
...
spiffs: Add vfs (f)truncate api support (v4.4)
See merge request espressif/esp-idf!17968
2022-06-14 11:22:08 +08:00
chenjianxing
e88621532e
esp_wifi: backport some wifi fix
...
1. add ht40 support for espnow & 80211_tx
2. fix smartconfig v2 bssid is zero issue
3. Optimize phy calibration time for C3 and S3
2022-06-14 10:57:47 +08:00
Mahavir Jain
660b876465
esp_crt_bundle: Fix build problems if MBEDTLS_CERTIFICATE_BUNDLE is disabled
...
Exclude source and include file from build list if certificate bundle feature
is disabled.
Closes https://github.com/espressif/esp-idf/issues/8714
Closes IDFGH-7106
2022-06-12 09:29:12 +05:30
Mahavir Jain
f41a8df4cc
Merge branch 'feature/esp-tls_optimize_memory_v4.4' into 'release/v4.4'
...
esp-tls: add api to free client session(backport v4.4)
See merge request espressif/esp-idf!18410
2022-06-10 20:22:00 +08:00
David Čermák
e75f4e5a1a
Merge branch 'bugfix/mqtt_read_neg_and_ping_v4.4' into 'release/v4.4'
...
mqtt: Fix incorrect reads on error (v4.4)
See merge request espressif/esp-idf!18177
2022-06-10 18:25:06 +08:00
David Cermak
61b5285cff
mqtt: Fix incorrect reads on error (idf_v4.x)
...
* Update submodule: git log --oneline 985078affa8a2d2b56b87c8e6455252850f895c6..27eb4726067465c5c67d4ecdca5ddccd26f02580
Detailed description of the changes:
* MQTT: Fix signature matching for integer values (Backport to idf_v4.x)
- See merge request espressif/esp-mqtt!133
- Closes https://github.com/espressif/esp-idf/issues/8482
- MQTT: Fix signature matching for integer values (espressif/esp-mqtt@f162002 )
* ci: Deploy idf_v4.x branch to GitHub (espressif/esp-mqtt@ee5ecad )
2022-06-10 09:12:27 +02:00
Yannis Huber
8878b75a27
driver(spi): fix flag check in bus initialization
...
The current flag check in the SPI bus initialization is wrong and
causes exceptions when using certain SPI hosts in quad transfert mode.
2022-06-10 10:55:21 +08:00
Ivan Grokhotkov
507e273e1d
fatfs: fix incorrect mtime returned for files created during DST
...
mktime function uses tm_isdst member as an indicator whether the time
stamp is expected to be in daylight saving time (1) or not (0).
FAT filesystem uses local time as mtime, so no information about DST
is available from the filesystem.
According to mktime documentation, tm_isdst can be set to -1, in which
case the C library will try to determine if DST was or wasn't in
effect at that time, and will set UTC time accordingly.
Note that the conversion from UTC to local time and then back to UTC
(time_t -> localtime_r -> FAT timestamp -> mktime -> time_t) does not
always recover the same UTC time. In particular, the local time in the
hour before DST comes into effect can be interpreted as "before DST"
or "after DST", which would correspond to different UTC values. In
this case which option the C library chooses is undefined.
Closes https://github.com/espressif/esp-idf/issues/9039
Originally reported in https://github.com/espressif/arduino-esp32/issues/6786
2022-06-09 22:02:46 +02:00
Mahavir Jain
5b6d9d87a3
freertos: add return value to API vTaskGetSnapshot
...
`vTaskGetSnapshot` is being used in coredump module to collect diagnostic information.
It is possible that input arguments are invalid and `assert` in this situation is not
correct.
This commit modifies API signature to return pdTRUE in case of success, and pdFALSE
otherwise. Caller can verify return value and then take appropriate decision.
2022-06-09 21:13:23 +05:30
Mahavir Jain
4a59036ab1
freertos: fix allocation order for stack and TCB per portSTACK_GROWTH
...
This is as per FreeRTOS recommendation and allows to protect task TCB
in case task stack has overflowed.
2022-06-09 20:49:27 +05:30
KonstantinKondrashov
871af8c5a5
esp_hw_support: Adds a msg when 32k xtal was stopped
2022-06-09 22:45:31 +08:00
Jiang Jiang Jian
62b46a0e92
Merge branch 'bugfix/s3_psram_spinlock_v4.4' into 'release/v4.4'
...
spinlock: fixed spinlocks not working on S3 if placed in PSRAM (v4.4)
See merge request espressif/esp-idf!18439
2022-06-09 17:18:18 +08:00
Jiang Jiang Jian
3a5e9d5ce1
Merge branch 'feature/add_mld6_flag_for_eth_v4.4' into 'release/v4.4'
...
feat(netif): Add NETIF_FLAG_MLD6 flag for eth netif (backport v4.4)
See merge request espressif/esp-idf!18266
2022-06-09 10:59:21 +08:00
Jiang Jiang Jian
efdca9431c
Merge branch 'bugfix/c3_efuse_fail_bits_v4.4' into 'release/v4.4'
...
soc: Fix efuse fail bits (v4.4)
See merge request espressif/esp-idf!18417
2022-06-09 10:53:31 +08:00
Jiang Jiang Jian
7905f0d3f8
Merge branch 'feature/adds_efuses_to_table_v4.4' into 'release/v4.4'
...
efuse: Adds ERR_RST_ENABLE efuse for C3 (v4.4)
See merge request espressif/esp-idf!18419
2022-06-09 10:53:16 +08:00
Marius Vikhammer
957505136b
spinlock: fixed spinlocks not working on S3 if placed in PSRAM
...
The compare and set instruction (S32C1I) cannot be used when
lock is not in internal memory.
Closes https://github.com/espressif/esp-idf/issues/9120
2022-06-09 10:39:19 +08:00
Vamshi Gajjela
75491fe216
spiffs: Add vfs (f)truncate api support
...
Unit test cases added to verify truncate.
Closes https://github.com/espressif/esp-idf/issues/2234
2022-06-08 12:52:25 +00:00
Mahavir Jain
f1318fe7cb
Merge branch 'bugfix/mbedtls_dynamic_memory_crash_on_rsa_ciphers_v4.4' into 'release/v4.4'
...
mbedtls: fix ssl server crash when enable mbedtls dynamic buffer(backport v4.4)
See merge request espressif/esp-idf!18426
2022-06-08 19:46:43 +08:00
Jiang Jiang Jian
270fadaee2
Merge branch 'bugfix/uninitialized-element_v4.4' into 'release/v4.4'
...
component_bt:initialize all elements of esp_bt_controller_config_t(v4.4)
See merge request espressif/esp-idf!18404
2022-06-08 15:24:39 +08:00
Li Jingyi
4896d0c8f3
mbedtls: fix ssl server crash when enable mbedtls dynamic buffer
...
Not free keycert until MBEDTLS_SSL_CLIENT_KEY_EXCHANGE for rsa key exchange methods, because keycert will be used to parse client key exchange.
2022-06-08 14:27:41 +08:00
Michael (XIAO Xufeng)
f86be6141b
Merge branch 'bugfix/i2c_timeout_issue_v4.4' into 'release/v4.4'
...
I2C: patch for solving watchdog timeout issue(backport v4.4)
See merge request espressif/esp-idf!18130
2022-06-08 14:12:37 +08:00
Michael (XIAO Xufeng)
f20d229390
Merge branch 'refactor/flash_qio_overidable_v4.4' into 'release/v4.4'
...
spi_flash: refact that flash qio can be overidable(backport v4.4)
See merge request espressif/esp-idf!18036
2022-06-08 12:37:55 +08:00
Jiang Jiang Jian
e41a7d64b5
Merge branch 'bugfix/do_not_allow_unauthenticated_encrypted_key_data_release_v4.4' into 'release/v4.4'
...
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix
See merge request espressif/esp-idf!18314
2022-06-08 10:51:57 +08:00
KonstantinKondrashov
1979c68e82
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
...
Closes https://github.com/espressif/esp-idf/issues/8357
2022-06-07 22:06:45 +08:00
KonstantinKondrashov
02fe424e48
soc: Fix description of efuse fail bits
2022-06-07 21:42:33 +08:00
KonstantinKondrashov
e5d55fe1b1
esp_ipc: Fix a case when ipc_task() can wake up blocking task early
...
Closes https://github.com/espressif/esp-idf/issues/8559
2022-06-07 21:20:08 +08:00
Mahavir Jain
f47023f8c2
Merge branch 'update/protobuf_v4.4' into 'release/v4.4'
...
protobuf: Updated to v1.4.0 (v4.4)
See merge request espressif/esp-idf!18406
2022-06-07 20:37:47 +08:00
Li Jingyi
4be609a471
esp-tls: add api to free client session
...
Free session with mbedtls api to avoid mem-leak
2022-06-07 19:22:36 +08:00
Mahavir Jain
a7664ecb27
Merge branch 'fix/menuconfig_option_esp_cryptoauthlib_v4.4' into 'release/v4.4'
...
esp_tls_mbedtls.c: Fix esp-idf integration of esp-cryptoauthlib (v4.4)
See merge request espressif/esp-idf!18400
2022-06-07 18:56:00 +08:00
Mahavir Jain
fbf35a4874
esp_local_ctrl: Regenerated proto-c and python with protobuf compiler v3.21.0
...
$protoc --version
libprotoc 3.21.0
$ protoc-c --version
protobuf-c 1.4.0
2022-06-07 15:59:41 +05:30
Laukik Hase
0ca9ad5249
wifi_provisioning: Regenerated proto-c and python with protobuf compiler v3.21.0
2022-06-07 15:59:40 +05:30
Laukik Hase
509a423f83
protocomm: Regenerated proto-c and python with protobuf compiler v3.21.0
2022-06-07 15:59:40 +05:30
Laukik Hase
0b05f1708d
protobuf-c: Update submodule to v1.4.0
2022-06-07 15:59:39 +05:30
Michael (XIAO Xufeng)
d02db62bc3
Merge branch 'test/rtc_8m_d256_v4.4' into 'release/v4.4'
...
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32 (v4.4)
See merge request espressif/esp-idf!18105
2022-06-07 18:21:12 +08:00
xiongweichao
f2048b2d15
initialize all elements of esp_bt_controller_config_t
...
Closes https://github.com/espressif/esp-idf/pull/9073
2022-06-07 17:30:48 +08:00
Aditya Patwardhan
b306517641
esp_tls_mbedtls.c: Fix esp-idf integration of esp-cryptoauthlib
...
menuconfig option
2022-06-07 14:45:40 +05:30
Marius Vikhammer
e595ae88d4
HAL: place cpu_ll_get_cycle_count in IRAM
...
Closes https://github.com/espressif/esp-idf/issues/9008
2022-06-07 06:30:46 +00:00
Mahavir Jain
57082d14a5
Merge branch 'feature/semihosting_call_number_change_v4.4' into 'release/v4.4'
...
Semihosting V2 (v4.4)
See merge request espressif/esp-idf!18332
2022-06-06 20:31:19 +08:00
morris
5accbaebab
Merge branch 'bugfix/i2c_port_check_v4.4' into 'release/v4.4'
...
I2C: Fix I2C ports check in each function of the API implementation
See merge request espressif/esp-idf!18257
2022-06-06 14:56:36 +08:00
morris
5addf329d8
Merge branch 'bugfix/i2c_incorrect_speed_v4.4' into 'release/v4.4'
...
I2C: Fix SCL period timings on ESP targets (backport v4.4)
See merge request espressif/esp-idf!18271
2022-06-06 12:32:32 +08:00
xiongweichao
2ee9fc6aff
Bluetooth build fail when power management is enabled
...
Closes https://github.com/espressif/esp-idf/issues/9081
2022-06-06 11:42:45 +08:00
Michael (XIAO Xufeng)
93d27565ac
test_rtc: add test_app to test power consumption
2022-06-06 00:51:38 +08:00
Michael (XIAO Xufeng)
c61db5e9c9
soc_caps: add SOC_PM_SUPPORT_RTC_PERIPH_PD
...
Partially pick 6336f8191e
2022-06-06 00:17:39 +08:00
Michael (XIAO Xufeng)
deea85b848
pm: add test for RTC using 8MD256 as clock source
2022-06-06 00:16:03 +08:00
chaijie
2a1002b4a4
modify voltage param to fit all mode of S3
2022-06-05 02:33:51 +08:00
Michael (XIAO Xufeng)
a2e1b6756e
esp32s3: fixed dangerous power parameters in sleep modes
2022-06-05 02:33:51 +08:00
Michael (XIAO Xufeng)
f46bd50884
pm: putting dbias and pd_cur code into same function
2022-06-05 02:33:51 +08:00
Michael (XIAO Xufeng)
254870c3c4
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
...
Sync configuration from other chips
Closes: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
2022-06-05 02:33:50 +08:00
Mahavir Jain
5e6cffbb14
Merge branch 'bugfix/backport_certificate_bundle_fixes_v4.4' into 'release/v4.4'
...
Certificate bundle fixes (v4.4)
See merge request espressif/esp-idf!18352
2022-06-03 16:27:47 +08:00
Ivan Grokhotkov
f1abc863a2
Merge branch 'bugfix/console_fixes_4.4' into 'release/v4.4'
...
console: various fixes and example improvements (backport v4.4)
See merge request espressif/esp-idf!18161
2022-06-03 03:54:30 +08:00
Erhan Kurubas
c55db5e688
semihosting: drop absolute path support
2022-06-02 11:14:18 +02:00
Espressif BOT
2d91698324
Update esp_crt_bundle certificates
2022-06-02 11:03:24 +05:30
Anton Maklakov
279ec3eb35
i2c: fix 'comparision is always true' warning
2022-06-02 13:28:21 +08:00
Jiang Jiang Jian
487df7cb61
Merge branch 'bugfix/add_bda_to_read_rmt_name_param_v4.4' into 'release/v4.4'
...
Bugfix/add bda to read rmt name param v4.4
See merge request espressif/esp-idf!18280
2022-06-02 11:46:07 +08:00
Ivan Grokhotkov
cd21a31416
vfs: usb_serial_jtag: consider O_NONBLOCK flag when reading via driver
...
Closes https://github.com/espressif/esp-idf/issues/8839
2022-06-01 16:32:28 +02:00
Ivan Grokhotkov
129cdcc08c
console: linenoiseProbe: check if response is valid
...
Previously linenoiseProbe would accept any 4 byte response, even one
that isn't expected. This adds a check that the first byte of the
response is ESC.
Suggested in https://github.com/espressif/esp-idf/issues/8839 .
2022-06-01 16:32:28 +02:00
Erhan Kurubas
c0df348156
semihosting: version 2
2022-06-01 14:49:03 +02:00
morris
c0dcebc41c
Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup_v4.4' into 'release/v4.4'
...
example/deep_sleep: add example of EXT0 and using internal pullups (v4.4)
See merge request espressif/esp-idf!18119
2022-06-01 19:56:17 +08:00
Aditya Patwardhan
a1d5a9b971
esp_crt_bundle: Add bounds checking for the "esp_crt_bundle_set" API.
...
Closes https://github.com/espressif/esp-idf/issues/8397
2022-06-01 15:09:50 +05:30
Mahavir Jain
ec0f7850a0
mbedtls: move locally managed root certificates to separate file
...
Purpose:
This will allow for easily automating periodic updates to
"cacrt_all.pem" file.
Note:
For now newly created "cacrt_local.pem" contains single "DST Root CA X3"
which we are keeping to manage compatibility with endpoints like
"howsmyssl.com". Please note this Root CA is expired and is not part of
Mozilla’s NSS root certificate store.
2022-06-01 15:07:31 +05:30
Laukik Hase
43d3cb37a0
esp_crt_bundle: Fix build error
...
- When `esp_crt_bundle.h` is included before any config,
a build error (`esp_err_t` not defined) is observed
Closes https://github.com/espressif/esp-idf/issues/8606
2022-06-01 15:06:59 +05:30
Jiang Jiang Jian
ae0e3e2e2a
Merge branch 'feature/add_spiffs_check_v4.4_2' into 'release/v4.4'
...
spiffs: Add esp_spiffs_check() function (v4.4)
See merge request espressif/esp-idf!18189
2022-05-31 10:28:03 +08:00
Onkar
d5151ac1f7
Bugfix/bond not saved properly after re-pairing
2022-05-30 22:39:58 +05:30
yuanjm
ad176653a0
fix(Kconfig): Fix lw-ip Kconfig display garbled characters
2022-05-30 16:21:09 +08:00
Hrudaynath Dhabe
26ad146077
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix
...
handling of key RSC.
Closes https://github.com/espressif/esp-idf/issues/8401
2022-05-30 12:15:44 +05:30
Jiang Jiang Jian
fc30369909
Merge branch 'bugfix/update_efuse_name_v4.4' into 'release/v4.4'
...
efuse: update efuse name (backport v4.4)
See merge request espressif/esp-idf!18195
2022-05-30 11:15:16 +08:00
Wu Zheng Hui
2e4784611d
efuse: update efuse name (backport v4.4)
2022-05-30 11:15:16 +08:00
morris
0340c2f2bc
Merge branch 'bugfix/keep_rtc8m_in_lightsleep_v4.4' into 'release/v4.4'
...
pm: fixed RTC8M domain power down issue when used as RTC source (v4.4)
See merge request espressif/esp-idf!18075
2022-05-30 09:54:39 +08:00
keymoon
22cf1d0d58
assign value to uninitialized bt_addr
field
2022-05-29 18:08:56 -07:00
keymoon
35fd2cee7c
add address field to read_rmt_name_param
2022-05-29 18:08:41 -07:00
Adam Múdry
12dfcdd1d9
spiffs: Add esp_spiffs_check() function
...
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-05-27 21:14:33 +00:00
Omar Chebib
8ac3d392a2
I2C: Fix SCL period timings on ESP targets
...
The output frequency is now more accurate as the SCL period timings have been fixed.
This fix applies for ESP32, ESP32S3, ESP32C3 and ESP32H2
2022-05-27 11:17:40 +08:00
yuanjm
8215bd6670
feat(netif): Add NETIF_FLAG_MLD6 flag for eth netif
2022-05-26 16:07:50 +08:00
Omar Chebib
308f84972c
I2C: Fix I2C ports check in each function of the API implementation
...
* Closes https://github.com/espressif/esp-idf/issues/9009
2022-05-26 12:44:46 +08:00
Darian Leung
906bb0e4a3
hal: Fix systimer counter value bit field
...
This commit fixes the systimer_counter_value_t by adding a resreved field so that the
type fills 64-bits.
Without the reserved field, when compiling with -O0 optimization, the unoccupied high
bits would not be initalized by the compiler, leading to systimer_hal_get_counter_value()
returning a garbage value.
2022-05-26 01:47:33 +08:00
Jiang Jiang Jian
7e20435a54
Merge branch 'bugfix/fix_cannot_lslp_again_after_ulp_wakeup_backport_v4.4' into 'release/v4.4'
...
sleep: fix cannot lightsleep again after a wakeup from ULP(backport v4.4)
See merge request espressif/esp-idf!18180
2022-05-25 16:52:36 +08:00
Mahavir Jain
ff4875bc9b
Merge branch 'bugfix/setup_defines_for_correct_mutex_usage' into 'release/v4.4'
...
coap_config_posix.h: Set up defines for correct mutex usage
See merge request espressif/esp-idf!18232
2022-05-25 13:55:44 +08:00
morris
3e7f721d33
Merge branch 'bugfix/i2s_write_timeout_when_setting_clock_v4.4' into 'release/v4.4'
...
i2s: fixed write timeout while setting the clock (v4.4)
See merge request espressif/esp-idf!18220
2022-05-25 13:34:28 +08:00
morris
1a6c817c27
Merge branch 'bugfix/s3_spi_pre_v4.4' into 'release/v4.4'
...
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config (v4.4)
See merge request espressif/esp-idf!18237
2022-05-25 11:29:34 +08:00
Nicholas Palmer
cca9f93067
usbh_print_intf_desc prints wrong value for tbInterfaceClass (IDFGH-9000)
2022-05-24 14:28:54 +02:00
Gustavo Henrique Nihei
7a9daa3cd3
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-24 08:51:16 -03:00
Jon Shallow
993267d745
coap_config_posix.h: Set up defines for correct mutex usage
...
if COAP_CONSTRAINED_STACK is defined (is for esp-idf), the mutexes set up
to protect the critical sections were not working as expected and were just
dummy entries.
Use the pthread_ version of the mutex instead by defining HAVE_PTHREAD_H
and HAVE_PTHREAD_MUTEX_LOCK.
2022-05-24 14:43:02 +05:30
laokaiyao
9b0f7b657b
i2s: fixed write timeout while setting the clock (v4.4)
2022-05-24 10:14:44 +08:00
Ivan Grokhotkov
064148212b
Merge branch 'bugfix/read_eof_no_vfs_4.4' into 'release/v4.4'
...
newlib: fix return value of no-VFS _read_r if nothing received (v4.4)
See merge request espressif/esp-idf!18160
2022-05-23 17:53:47 +08:00
Mahavir Jain
9d2238d6e4
Merge branch 'bugfix/mbedtls_dynamic_buffer_crash_on_ssl_server_v4.4' into 'release/v4.4'
...
fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer function(backport v4.4)
See merge request espressif/esp-idf!18166
2022-05-23 11:20:30 +08:00
David Čermák
fc8ef9d1c2
Merge branch 'bugfix/mdsn_fuzzer_extend_v4.4' into 'release/v4.4'
...
mdns: ~~Extend fuzzing and~~ Fix various petty issues (v4.4)
See merge request espressif/esp-idf!18056
2022-05-20 16:58:13 +08:00
Tomas Rezucha
11cf565834
docs: Fix I2C thread-safety
2022-05-20 08:34:04 +02:00
jingli
bef5b2ac6e
remove wrong function rtc_cntl_ll_ulp_wakeup_enable for esp32s2 and esp32s3
2022-05-19 23:27:32 +08:00
jingli
25c49588f9
esp_hw_support/sleep: fix cannot lightsleep again after a wakeup from ULP
...
Since ulp wakeup signal are connected to ulp int raw(except esp32), we
need to clear ulp int raw before sleep when ulp wakeup enabled. Otherwise,
if the ulp int raw is already set, chip will not sleep properly.
Closes https://github.com/espressif/esp-idf/issues/6229
2022-05-19 23:13:42 +08:00
David Cermak
f974099b42
vfs: Fix potential select() race if both sock and other-fd trigger
...
This fixes a potential race condition in select() if both a socket-fd
and non-socket fd trigger simultaneously to unblock this select.
In case of both fds, we use lwip's local thread semaphore, so we only
have to try return it (if it was taken/triggered more than once) when
we exit select().
Closes https://github.com/espressif/esp-idf/issues/8896
2022-05-19 16:57:39 +02:00
Michael (XIAO Xufeng)
ae6c52e9f9
Merge branch 'bugfix/fix_memory_miss_bug_v4.4' into 'release/v4.4'
...
esp32c3/esp32s3: Fix cpu crash bug when wakeup from lightsleep for memory data miss (backport v4.4)
See merge request espressif/esp-idf!17826
2022-05-19 13:47:20 +08:00
Jiang Jiang Jian
5d95cd58b2
Merge branch 'bugfix/fix_wifi_pm_state_v4.4' into 'release/v4.4'
...
esp_wifi: fix no null data after WiFi waking up. (backport v4.4)
See merge request espressif/esp-idf!18142
2022-05-19 10:51:59 +08:00
Jiang Jiang Jian
416d01db7a
Merge branch 'bugfix/wifi_provisioning_arduino_v4.4' into 'release/v4.4'
...
provisioning: replace <lwip/inet.h> by <lwip/ip4_addr.h> in wifi_provisioning/wifi_config.h (v4.4)
See merge request espressif/esp-idf!18162
2022-05-19 10:45:38 +08:00
Jiang Jiang Jian
9ce3973f19
Merge branch 'bugfix/errno_overlap_v4.4' into 'release/v4.4'
...
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value (v4.4)
See merge request espressif/esp-idf!18164
2022-05-19 10:44:12 +08:00
Li Jingyi
81c195fed2
fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer function
2022-05-19 10:41:40 +08:00
Jiang Jiang Jian
c5deb7a971
Merge branch 'bugfix/disable_bt_pll_track_v4.4' into 'release/v4.4'
...
Bluetooth: disable PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues(bacport v4.4)
See merge request espressif/esp-idf!18139
2022-05-19 10:41:27 +08:00
Jiang Jiang Jian
74dd39d8b0
Merge branch 'bugfix/Fix_ios_ble_adv_rsp_v4.4' into 'release/v4.4'
...
Fix iOS advertisement response and simplify (v4.4)
See merge request espressif/esp-idf!18038
2022-05-19 10:40:57 +08:00
Jiang Jiang Jian
7a72f8e852
Merge branch 'bugfix/driver_uart_fix_tx_bytes_rts_assert_failure_v44' into 'release/v4.4'
...
driver: fixes context switch while sending cause rts reset before send (backport v4.4)
See merge request espressif/esp-idf!17929
2022-05-19 10:40:34 +08:00
Alex Lisitsyn
6bf650c159
driver: fixes context switch while sending cause rts reset before send (backport v4.4)
2022-05-19 10:40:34 +08:00
Jiang Jiang Jian
0bbdd67231
Merge branch 'bugfix/fix_s3_bbpll_calibrate_fail_bug_v4.4' into 'release/v4.4'
...
ESP32S3: fix bbpll calibrate fail bug in high temperature (backport v4.4)
See merge request espressif/esp-idf!17896
2022-05-19 10:39:52 +08:00
Jiang Jiang Jian
6382b51bfb
Merge branch 'feature/check_block_after_burn_v4.4' into 'release/v4.4'
...
efuse: Validates data after burning and re-burnes it if necessary (v4.4)
See merge request espressif/esp-idf!17702
2022-05-19 10:39:17 +08:00
Jiang Jiang Jian
80c516e6ad
Merge branch 'bugfix/vfs_fat_(p)write_on_diskfull_v4.4' into 'release/v4.4'
...
vfs: bugfix vfs_fat_write/pwrite upon disk-full (v4.4)
See merge request espressif/esp-idf!17649
2022-05-19 10:39:01 +08:00
Ivan Grokhotkov
b02cf33bfa
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
2022-05-18 19:52:15 +02:00
Rodrigo Garcia
9359c61fea
provisioning: Fix include for Arduino INADDR_NONE
2022-05-18 19:44:05 +02:00
Ivan Grokhotkov
134b5153e3
newlib: fix return value of no-VFS _read_r if nothing received
...
'read' function should return 0 when encountering an end of file. When
newlib calls read and sees EOF returned, it assumes that this
condition is permanent and never calls 'read' for this file again
(unless the read pointer is moved using fseek).
The correct behavior in case no characters were received over UART is
to return -1. In this case newlib will retry reading from file on next
call to fread, fgetc or another function which calls __srefill_r.
2022-05-18 19:33:10 +02:00
chaijie
d222adbeeb
solve memory error bug when in lightsleep mode
2022-05-18 17:43:13 +08:00
liuning
d6f51a5cab
esp_wifi: fix no null data after WiFi waking up (backport v4.4).
2022-05-17 23:12:33 +08:00
Karl Wang
5c24b7f75f
components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
2022-05-17 20:54:51 +08:00
Cao Sen Miao
04f7c342f0
I2C: patch for solving watchdog timeout issue
2022-05-17 16:36:40 +08:00
Michael (XIAO Xufeng)
4efab0d0ff
soc/esp32s3: merge gpio caps into soc_caps.h
2022-05-16 22:01:11 +08:00
Gustavo Henrique Nihei
477d11e9c1
bootloader: Create option for enabling memory region protection
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-16 09:39:51 -03:00
yuanjm
a706a482c6
feat(wifi_provisioning): Optimize memory for wifi scan ap number
2022-05-16 14:07:19 +08:00
Michael (XIAO Xufeng)
e119d6cb06
pm: add powerdown for int_8m on ESP32-H2
...
Also move the xtal fpu logic to sleep_modes.c
2022-05-16 00:59:36 +08:00
Omar Chebib
caa5444c93
RISC-V: Fix vectors.S assembly file indentation and macro usage
...
The file is now more consistent as the macros have been fixed, more comments
have been added and the indentation is now using spaces only.
2022-05-13 12:54:21 +03:00
Alexey Gerenkov
9017ff235b
riscv: Use semihosting to set breakpoint and watchpoint when running under debugger
2022-05-13 12:54:21 +03:00
Alexey Gerenkov
46a98fb8d1
riscv: Adds support for returning from exception handler
2022-05-13 12:52:06 +03:00
Alexey Gerenkov
300d67411a
riscv: Fixes GDB backtrace end function to point to prvTaskExitError
2022-05-13 12:52:06 +03:00
Alexey Gerenkov
44bfddd784
riscv: Fixes GDB backtrace of interrupted threads
...
Save missed SP value on stack
2022-05-13 12:52:06 +03:00
Jiang Jiang Jian
80ea94dd36
Merge branch 'bufix/esp32c3_s3_build_err_v4.4' into 'release/v4.4'
...
component_bt: Fix ESP32C3/S3 build error after enable light sleep(v4.4)
See merge request espressif/esp-idf!17995
2022-05-13 15:39:38 +08:00
Zim Kalinowski
832c199c25
Merge branch 'bugfix/fix_heap_free_memory_v4.4' into 'release/v4.4'
...
Heap: fix free bytes calculation for TLSF heap (backport v4.4)
See merge request espressif/esp-idf!17688
2022-05-12 16:20:32 +08:00
Michael (XIAO Xufeng)
17b9cc6b4a
pm: fixed RTC8M domain power issues
...
introduced in e44ead5356
1. The int8M power domain config by default is PD. While LEDC is using
RTC8M as clock source, this power domain will be kept on.
But when 8MD256 is used as RTC clock source, the power domain should
also be kept on.
On ESP32, there was protection for it, but broken by commit
e44ead5356
. Currently the power domain
will be forced on when LEDC is using RTC8M as clock source &&
!int8m_pd_en (user enable ESP_PDP_DOMAIN_RTC8M in lightsleep). Otherwise
the power domain will be powered off, regardless of RTC clock source.
In other words, int8M domain will be forced off (even when 8MD256
used as RTC clock source) if LEDC not using RTC8M as clock source, user
doesn't enable ESP_PDP_DOMAIN_RTC8M, or in deep sleep.
On later chips, there's no such protection, so 8MD256 could't be used as
RTC clock source in sleep modes.
This commit adds protection of 8MD256 clock to other chips. Fixes the
incorrect protection logic overriding on ESP32. Now the power domain
will be determiend by the logic below (order by priority):
1. When RTC clock source uses 8MD256, power up
2. When LEDC uses RTC8M clock source, power up
3. In deepsleep, power down
4. Otherwise determined by user config of ESP_PDP_DOMAIN_RTC8M,
power down by default. (This is preferred to have highest
priority, but it's kept as is because of current code structure.)
2. Before, after the macro `RTC_SLEEP_CONFIG_DEFAULT` decides dbias, the
protection above may force the int8m PU. This may cause the inconsistent
of dbias and the int8m PU status.
This commit lifts the logic of pd int8m/xtal fpu logic to upper layer
(sleep_modes.c).
Related: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
temp
2022-05-12 15:57:09 +08:00
Omar Chebib
18fb3d60b8
Apply 1 suggestion(s) to 1 file(s)
2022-05-12 07:49:28 +00:00
KonstantinKondrashov
06aeeff54e
efuse: fix
2022-05-12 07:49:28 +00:00
KonstantinKondrashov
8c063a326e
efuse: Fix 3/4 coding scheme UTs
2022-05-12 07:49:28 +00:00
KonstantinKondrashov
ce148dd7b8
efuse: Improve messages during burn operation
2022-05-12 07:49:28 +00:00
KonstantinKondrashov
24af86071d
efuse: Burn func can return an error
...
esp_efuse_utility_burn_chip()
2022-05-12 07:49:28 +00:00
KonstantinKondrashov
114608142a
efuse: Validates data after burning and re-burnes it if necessary
...
It checks the content of the written data and encoding errors.
2022-05-12 07:49:28 +00:00
morris
009e66e625
Merge branch 'feature/esp_lcd_read_i2c_v4.4' into 'release/v4.4'
...
Feature/esp lcd read i2c (backport v4.4)
See merge request espressif/esp-idf!18066
2022-05-11 22:33:41 +08:00
Zim Kalinowski
9f2d407105
Merge branch 'bugfix/i2c_too_short_panics_v4.4' into 'release/v4.4'
...
I2C: Read transactions, without a STOP, won't panic anymore (backport v4.4)
See merge request espressif/esp-idf!17954
2022-05-11 14:04:46 +08:00
David Cermak
0bd2c55413
mdns: Fix potential read behind parsed packet
2022-05-10 16:45:43 +02:00
David Cermak
d6ad597b0f
mdns: Fix memleak when adding delegated host
2022-05-10 16:45:43 +02:00
David Cermak
c8874b0d85
mdns: Fix null-service issue when parsing packets
...
Closes https://github.com/espressif/esp-idf/issues/8307
2022-05-10 16:45:43 +02:00
Vilem Zavodny
c9b0be6ef7
esp_lcd: Add support for rx_param on I2C transport.
...
(cherry picked from commit 4a2766d906
)
2022-05-10 15:03:53 +02:00
lorenzo.consolaro
c9d5c14451
Fix iOS advertisement response and simplify
2022-05-09 10:09:06 +05:30
Cao Sen Miao
ea4b3fdfe5
spi_flash: refact that flash qio can be overidable
2022-05-09 11:08:53 +08:00
morris
f33720a263
rmt_legacy: fix undetermined idle level
...
Closes https://github.com/espressif/esp-idf/issues/8864
2022-05-08 07:20:30 +00:00
Michael (XIAO Xufeng)
4222e93351
Merge branch 'flash/opi_12345G_support_v4.4' into 'release/v4.4'
...
opi_flash: Add new 16MB opi flash (MX25UW12345G) support.(backport v4.4)
See merge request espressif/esp-idf!17782
2022-05-08 12:23:18 +08:00
laokaiyao
cdaa440d98
i2s: fix only right case v4.4
2022-05-07 13:43:01 +00:00
xiongweichao
39c63420ba
Fix ESP32C3/S3 build error after enable light sleep
2022-05-07 06:19:33 +00:00
Jiang Jiang Jian
123288c1c6
Merge branch 'bugfix/default_ssid_not_set_v4.4' into 'release/v4.4'
...
esp_wifi: Fix for default ap ssid not set.(v4.4)
See merge request espressif/esp-idf!18005
2022-05-07 12:36:41 +08:00
Jiang Jiang Jian
d72ba54138
Merge branch 'bugfix/fix_websocket_server_v4.4' into 'release/v4.4'
...
fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame (backport v4.4)
See merge request espressif/esp-idf!18018
2022-05-07 10:17:59 +08:00
morris
97caa51152
Merge branch 'bugfix/spi_slave_intr_iram_v4.4' into 'release/v4.4'
...
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is (v4.4)
See merge request espressif/esp-idf!17831
2022-05-06 22:23:13 +08:00
yuanjm
e759fa4697
fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame
2022-05-06 17:55:14 +08:00
aditi_lonkar
88f79ca9ca
esp_wifi: Fix for default ap ssid not set.
...
Closes https://github.com/espressif/esp-idf/issues/8744
2022-05-05 14:04:49 +05:30
Ivan Grokhotkov
a6a245f75f
Merge branch 'feature/ftruncate_vfs_fatfs_support_v4.4' into 'release/v4.4'
...
fatfs: Implement ftruncate function in VFS and FAT VFS (v4.4)
See merge request espressif/esp-idf!17864
2022-05-04 08:14:46 +08:00
Ivan Grokhotkov
a615fccd01
Merge branch 'bugfix/spiffs_check_part_alignment_v4.4' into 'release/v4.4'
...
spiffs: add init checks for partition alignment and data types (v4.4)
See merge request espressif/esp-idf!17835
2022-05-03 17:01:50 +08:00
Jiang Jiang Jian
b6f4629e11
Merge branch 'bugfix/_rtc_slow_length_incorrectly_optimized_backport_v4.4' into 'release/v4.4'
...
sleep_power_domain: fix _rtc_slow_length being incorrectly optimized by compiler(backport v4.4)
See merge request espressif/esp-idf!17974
2022-05-03 15:04:09 +08:00
Vamshi Gajjela
ebb9cc3670
fatfs: Add ftruncate api support for VFS and FAT-VFS
...
Unit test cases added to verify ftruncate within fatfs tests.
Closes https://github.com/espressif/esp-idf/issues/8279
2022-05-02 04:37:56 +00:00
jingli
a2f141807f
fix rtc mem load err(since the voltage of rtc regulator is too low)
2022-05-01 23:29:12 +08:00
jingli
74399f5b44
fix _rtc_slow_length being incorrectly optimized by compiler
2022-05-01 23:14:18 +08:00
Jiang Jiang Jian
8efd164e7f
Merge branch 'bugfix/fix_esp32c3_brownout_bug_after_deepsleep_v4.4' into 'release/v4.4'
...
rtc: fix c3 brownout bug after deepsleep (backport v4.4)
See merge request espressif/esp-idf!17957
2022-05-01 17:29:33 +08:00
David Čermák
8c8f700c1d
Merge branch 'update/mqtt_refs_v4.4' into 'release/v4.4'
...
mqtt: Fix sending log data; dup flag after queue (v4.4)
See merge request espressif/esp-idf!17402
2022-04-28 22:45:59 +08:00
chaijie
fe83802d65
fix c3 brownout bug after deepsleep
2022-04-28 18:23:28 +08:00
Jiang Jiang Jian
dcc77b0bed
Merge branch 'bugfix/idle_task_skipped_light_sleep_backport_v4.4' into 'release/v4.4'
...
pm_impl: fix neither enter light sleep nor enter waiti state in idle task(backport v4.4)
See merge request espressif/esp-idf!17837
2022-04-28 16:12:23 +08:00
David Cermak
198dfc92dd
mqtt: Fix sending log data; dup flag after queue
...
* Fix sending mqtt message longer than Tx buffer size
* Fix enqueue API to send data with correct dup flag
* Update submodule: git log --oneline b86d42c130ac64a916ce6cf299d99f9756692394..985078affa8a2d2b56b87c8e6455252850f895c6
Detailed description of the changes:
* Isolate IDF env for v4.4 and v5.0(master)
- See merge request espressif/esp-mqtt!111
- ci: Isolate IDF env for v4.4 and v5.0(master) (espressif/esp-mqtt@4c5a65c )
* Client: Remove usage of legacy FreeRTOS types
- See merge request espressif/esp-mqtt!120
- ci: Fix build issues with IDF-4.4 against master (espressif/esp-mqtt@c28a56d )
- See commit https://github.com/espressif/esp-mqtt/commit/6ef98d6
* mqtt_client: Fix mqtt send long data error
- See merge request espressif/esp-mqtt!117
- Closes https://github.com/espressif/esp-mqtt/issues/214
- See commit https://github.com/espressif/esp-mqtt/commit/372b323
* Client: Fix use esp_mqtt_client_enqueue API to send data, data dup flag will be set 1
- See merge request espressif/esp-mqtt!116
- See commit https://github.com/espressif/esp-mqtt/commit/df8dc92
2022-04-28 07:55:25 +00:00
Omar Chebib
0da60f7b83
I2C: Read transactions, without a STOP, won't panic anymore
...
* Closes https://github.com/espressif/esp-idf/issues/8548
2022-04-28 14:05:22 +08:00
Omar Chebib
751c546a68
Heap: fix typos in test and component
2022-04-28 05:59:31 +00:00
Omar Chebib
bf8fd5f42c
Heap: fix free bytes calculation for TLSF heap
...
* Closes https://github.com/espressif/esp-idf/issues/8270
2022-04-28 05:59:31 +00:00
Michael (XIAO Xufeng)
4178cdaa4f
Merge branch 'bugfix/wrong_gpio_is_deep_sleep_wakeup_valid_gpio_v4.4' into 'release/v4.4'
...
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro (backport v4.4)
See merge request espressif/esp-idf!17807
2022-04-28 11:19:20 +08:00
Jiang Jiang Jian
4fedbdd264
Merge branch 'bugfix/spp_crash_after_call_spp_deinit_v4.4' into 'release/v4.4'
...
Component_bt/Fix spp crash after call esp_spp_deinit(v4.4)
See merge request espressif/esp-idf!17930
2022-04-28 01:26:06 +08:00
Jiang Jiang Jian
9ae38aa873
Merge branch 'bugfix/fix_disable_bt_log_ci_fail_v4.4' into 'release/v4.4'
...
component_bt: Fix CI failure when disable bluetooth debug log(v4.4)
See merge request espressif/esp-idf!17899
2022-04-27 18:20:41 +08:00
Jiang Jiang Jian
ef7ce17dbd
Merge branch 'bugfix/fix_build_warring_v4.4' into 'release/v4.4'
...
esp_phy: fix build warning(v4.4)
See merge request espressif/esp-idf!17840
2022-04-27 18:19:27 +08:00
xiongweichao
6232753804
Fix spp initialization failure without free mutex
2022-04-27 14:19:59 +08:00
xiongweichao
eb8a4d3423
Fix spp crash after calling esp_spp_deinit
2022-04-27 14:19:50 +08:00
Krzysztof Lewandowski
e0d6398a99
esp_wifi: fix clearing default wifi netif procedure
...
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-26 22:50:40 -04:00
Island
c41208550a
Merge branch 'bugfix/oversized_SegN_as_valid_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Bugfix for oversized SegN as valid(v4.4)
See merge request espressif/esp-idf!17772
2022-04-26 20:11:35 +08:00
Jiang Jiang Jian
75e50e97f8
Merge branch 'bugfix/scan_mixed_keymgmt_issue_v4.4' into 'release/v4.4'
...
Combined fix for scan issue and PMF disable API (Backport v4.4)
See merge request espressif/esp-idf!17743
2022-04-26 19:24:12 +08:00
Jessy Chen
e57697aef2
esp_phy: fix tx power limit for esp32s2/s3/c3
2022-04-26 03:36:47 -04:00
Jessy Chen
e97720131d
esp_phy: fix build warning
2022-04-26 03:36:47 -04:00
Jiang Jiang Jian
36823b45cc
Merge branch 'bugfix/rrm_dpp_task_delete_v4.4' into 'release/v4.4'
...
wpa_supplicant: backport WLAN fixes (release v4.4)
See merge request espressif/esp-idf!17655
2022-04-26 12:38:04 +08:00
xiongweichao
1ce01c6f76
Fix CI failure when disable bluetooth debug log
2022-04-26 11:28:01 +08:00
chaijie
a86cad6afe
fix s3 bbpll calibrate fail bug in high temperature
2022-04-25 18:21:10 +08:00
wangjialiang
7a34692e6f
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:49:50 +08:00
Michael (XIAO Xufeng)
69a3bdacb0
Merge branch 'bugfix/adc2_cal_assert_arbiter_failed_v4.4' into 'release/v4.4'
...
adc_cal: fixed the assertion failure or returning wrong error code when ADC2 failed the arbitration (v4.4)
See merge request espressif/esp-idf!17586
2022-04-25 10:14:12 +08:00
morris
3419823c46
Merge branch 'bugfix/add_spinlock_for_dma_channel' into 'release/v4.4'
...
gdma: add spin lock for gdma channel (v4.4)
See merge request espressif/esp-idf!17855
2022-04-24 18:16:58 +08:00
Michael (XIAO Xufeng)
127d187743
Merge branch 'bugfix/i2c_iram_placement_fix_v4.4' into 'release/v4.4'
...
i2c: Correct hal functions iram placement and remove IRAM_ATTR for i2c_hw_fsm_reset (backport v4.4)
See merge request espressif/esp-idf!17808
2022-04-21 18:28:59 +08:00
morris
5e49369a2c
lcd: spi lcd support transmit lsb first
...
Closes https://github.com/espressif/esp-idf/issues/8790
2022-04-21 10:11:20 +00:00
morris
2f1393ad53
gdma: add spin lock for gdma channel
...
... because we allow several control functions to be runable under ISR
context
2022-04-21 10:11:20 +00:00
Michael (XIAO Xufeng)
7071506033
Merge branch 'feature/esp32c3_eco4_v4.4' into 'release/v4.4'
...
esp32c3: Adds ECO4 revision (v4.4)
See merge request espressif/esp-idf!17717
2022-04-21 18:06:41 +08:00
Michael (XIAO Xufeng)
86b39a5042
Merge branch 'bugfix/spi_free_crash_uninitialized_v4.4' into 'release/v4.4'
...
spi: fixed crash when calling spi_bus_free when not initialized (v4.4)
See merge request espressif/esp-idf!17608
2022-04-21 15:47:13 +08:00
Omar Chebib
e365f0782e
UART: Fix custom ISR registration function
...
* Closes https://github.com/espressif/esp-idf/issues/8491
2022-04-21 03:05:01 +00:00
Jiang Jiang Jian
7bf3277692
Merge branch 'update/c3_s3_phy_lib_20220419_v4.4' into 'release/v4.4'
...
Update esp c3/s3 phy lib aa05aec (backport v4.4)
See merge request espressif/esp-idf!17815
2022-04-21 11:01:00 +08:00
Ivan Grokhotkov
be2bd983f4
Merge branch 'feature/vfs_semihosting_c3_v4.4' into 'release/v4.4'
...
vfs: add support for semihosting on ESP32-C3 (v4.4)
See merge request espressif/esp-idf!17527
2022-04-21 04:43:02 +08:00
Martin Vychodil
fccd450304
fatfs: Fix putc_bfd compilation warning
...
Fixed FatFs\ff.c: warning: argument of type "TCHAR **" is incompatible with parameter of type "const TCHAR **"
Closes https://github.com/espressif/esp-idf/issues/5870
2022-04-20 16:38:28 +00:00