Michael (XIAO Xufeng)
5875b03266
Merge branch 'bugfix/fix_bit_error_in_ledc_struct_backport_v4.3' into 'release/v4.3'
...
LEDC: fix bit error in ledc_struct.h(backport v4.3)
See merge request espressif/esp-idf!14162
2021-10-14 17:41:00 +00:00
Jiacheng Guo
0b556de95c
mdns: fix memory free issue when repeating the query in reply
...
The repeated query will be copied in the next event loop while the
memory is freed instantly. Delay the free to fix this issue.
2021-10-14 17:31:01 +02:00
chenjianxing
b4b57a25b8
esp_wifi: backport some wifi fix
...
1.support multi phy init data bin embedded
2.fix not tx 9M rate issue
2021-10-14 21:37:57 +08:00
Cao Sen Miao
ce9e615679
Merge branch 'feature/esp32c3_usbjtagserial_v4.3' into 'release/v4.3'
...
usb_serial_jtag: support usb_serial_jtag on esp32c3(backport v4.3)
See merge request espressif/esp-idf!15319
2021-10-14 10:38:02 +00:00
XieWenxiang
1ea757c0f1
component/bt: Modify the bluetooth device name length limits
2021-10-14 18:24:17 +08:00
fuzhibo
8ab23d4395
Driver(Touch sensor): fix the touch sensor wait cycle after wakeup from sleep
2021-10-14 17:17:45 +08:00
David Čermák
1cddcd010c
Merge branch 'bugfix/fix_cplusplus_miss_in_dhcp_v4.3' into 'release/v4.3'
...
dhcpserver: support cplusplus (backport v4.3)
See merge request espressif/esp-idf!15448
2021-10-14 09:12:02 +00:00
Michael (XIAO Xufeng)
1b75fb5622
Merge branch 'bugfix/spi_master_crash_cache_disabled_v4.3' into 'release/v4.3'
...
spi_master: fix the crash when using interrupt mode when cache is disabled (v4.3)
See merge request espressif/esp-idf!14681
2021-10-14 07:15:54 +00:00
morris
340a4a95ee
Merge branch 'bugfix/i2s_write_failed_in_32bit_slave_mode' into 'release/v4.3'
...
i2s: fix write failure issue in slave mode (backport v4.3)
See merge request espressif/esp-idf!15081
2021-10-14 01:46:57 +00:00
xiewenxiang
594f604e7d
component/bt: fix data length update failed
2021-10-13 19:55:43 +08:00
Song Ruo Jing
75916a8758
Merge branch 'bugfix/cpu_reset_perip_clk_disable_v4.3' into 'release/v4.3'
...
esp_system: Peripheral clocks faulty become disabled during cpu reset
See merge request espressif/esp-idf!15482
2021-10-13 10:04:13 +00:00
morris
faa44d5843
Merge branch 'backport/v4.3/8_16bits_periph_access' into 'release/v4.3'
...
bugfix/driver: fix and cleanup soc/ll stuffs (backport v4.3)
See merge request espressif/esp-idf!15204
2021-10-13 08:30:51 +00:00
Cao Sen Miao
6c01cdc38f
Merge branch 'feature/add_official_support_for_gd_v4.3' into 'release/v4.3'
...
spi_flash(bootloader): adjust unlock patch from rom patch into bootloader, and add support for GD chips (backport v4.3)
See merge request espressif/esp-idf!14605
2021-10-13 08:28:10 +00:00
laokaiyao
07410a1381
i2s: fix write failure issue in slave mode
2021-10-13 10:22:26 +08:00
aleks
33fe673e85
freemodbus: add affinity option for modbus stack tasks
2021-10-12 17:38:39 +08:00
yuanjm
6e182d7ed3
dhcpserver: support cplusplus
...
Closes https://github.com/espressif/esp-idf/issues/7494
Merges https://github.com/espressif/esp-idf/pull/7526
2021-10-12 14:25:38 +08:00
songruojing
023bbe5cb1
esp_system: fix the bug that some peripheral clocks are being disabled during cpu reset for esp32s2, c3, s3
2021-10-12 11:37:17 +08:00
Cao Sen Miao
e226a65a1f
spi_flash: add support for 32Mbit address GD flash, for GD25Q256
2021-10-12 10:53:07 +08:00
suda-morris
91fa868bd6
twai: update register struct file
2021-10-12 10:42:04 +08:00
SalimTerryLi
29accf2533
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
...
Note: on ESP32 UART rxfifo seems to be read as u8 instead of u32 to make it work
2021-10-12 10:42:04 +08:00
Cao Sen Miao
f49d6bf061
usb_serial_jtag: fix the bug that cannot write with usb_jtag
2021-10-11 17:34:24 +08:00
Jeroen Domburg
d6cdb3e0ae
usb_serial_jtag: support usb_serial_jtag on esp32c3
...
USB serial/jtag controller: Add vfs (logging/printf), panic handler, gdb support.
See merge request espressif/esp-idf!12925
2021-10-11 17:34:24 +08:00
Martin Vychodil
e1b9532848
Merge branch 'bugfix/memprot_wrong_fi_check_v4.3' into 'release/v4.3'
...
System/Memprot: Fixed voltage glitching detection logic (v4.3)
See merge request espressif/esp-idf!15412
2021-10-11 03:02:51 +00:00
Cao Sen Miao
ea06ee1ad6
spi_flash: move the unlock patch to bootloader and add support for GD
2021-10-11 10:52:52 +08:00
Cao Sen Miao
a05d4e9e86
Merge branch 'bugfix/bugfix/gpio_cant_hold_v4.3' into 'release/v4.3'
...
gpio: fix issue that gpio cannot hold during deep-sleep on c3 (backport v4.3)
See merge request espressif/esp-idf!15358
2021-10-11 02:30:22 +00:00
Mahavir Jain
c990c8f752
Merge branch 'bugfix/memprot_bad_esp_restart_check_v4.3_3' into 'release/v4.3'
...
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart() (v4.3)
See merge request espressif/esp-idf!15424
2021-10-10 13:01:23 +00:00
Mahavir Jain
d3ec2dc904
Merge branch 'feature/github-7632_v4.3' into 'release/v4.3'
...
esp_crt_bundle: remove EC-ACC certificate (v4.3)
See merge request espressif/esp-idf!15434
2021-10-10 11:25:48 +00:00
Song Ruo Jing
3bcc85d96d
Merge branch 'bugfix/enable_gpio_20_v4.3' into 'release/v4.3'
...
gpio: Enable IO20 on ESP32 (backport v4.3)
See merge request espressif/esp-idf!15022
2021-10-09 08:44:17 +00:00
Li Shuai
0e0e298322
Merge branch 'feature/ledc_use_rtc8m_or_xtal_lightsleep_v4.3' into 'release/v4.3'
...
backport v4.3: support RTC8M and XTAL power domain in light sleep mode
See merge request espressif/esp-idf!15362
2021-10-09 07:28:39 +00:00
Cao Sen Miao
cbfa3eb350
gpio: fix issue that gpio cannot hold during deep-sleep on c3, Closes https://github.com/espressif/esp-idf/issues/7455
2021-10-08 19:56:14 +08:00
Jiang Jiang Jian
e8394e801f
Merge branch 'bugfix/ping_iface_v4.3' into 'release/v4.3'
...
lw ip: Fix ICMP Ping on specific iface (GitHub PR) (v4.3)
See merge request espressif/esp-idf!15145
2021-10-08 06:10:12 +00:00
Wang Meng Yang
166790d354
Merge branch 'bugfix/a2dp_no_audio_transmitted_v4.3' into 'release/v4.3'
...
bugfix/fix wrong clock_id in function `time_now_us` (v4.3)
See merge request espressif/esp-idf!15316
2021-10-08 06:01:22 +00:00
xiewenxiang
5a26d7008d
component/bt: set ext adv param failed when stop ext adv
2021-10-08 11:58:15 +08:00
Victor Morales
caafeff63f
esp_crt_bundle: remove EC-ACC certificate
...
Fixes bug #7631
2021-10-07 13:13:52 +05:30
Martin Vychodil
ec6745a137
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
...
esp_restart()/panic_restart() never resets the Digital system (so far required only by the Memprot feature) as there's a typo in the corresponding #define:
it checks CONFIG_ESP_SYSTEM_CONFIG_MEMPROT_FEATURE instead of CONFIG_ESP_SYSTEM_MEMPROT_FEATURE.
Issue fixed.
IDF-4094
2021-10-05 11:58:31 +02:00
Alex Lisitsyn
86b7acc932
Merge branch 'bugfix/freemodbus_change_max_task_prio_v43' into 'release/v4.3'
...
Bugfix/freemodbus change max task prio (backport v4.3)
See merge request espressif/esp-idf!13732
2021-10-05 07:47:21 +00:00
ivmarkov
98733692c9
lwip: Fix ICMP Ping on specific iface
...
Fix broken parentheses in setsockopt call
Merges https://github.com/espressif/esp-idf/pull/7397
2021-10-05 13:12:01 +08:00
Martin Vychodil
7689a801d4
System/Memprot: fixed voltage glitching detection logic
...
When the application is being debugged it should check the call result (esp_cpu_in_ocd_debug_mode())
is not given volt.glitch attack - so the result is triple-checked by ESP_FAULT_ASSERT macro. In case
the check fails, the system is reset immediately
IDF-4014
2021-10-04 19:25:32 +02:00
David Čermák
3a925002a7
Merge branch 'bugfix/esp_sntp_declare_v4.3' into 'release/v4.3'
...
lw-ip: Fix sntp custom options if sntp_get_system_time used (v4.3)
See merge request espressif/esp-idf!15142
2021-10-04 04:45:08 +00:00
Jiang Jiang Jian
28b768807e
Merge branch 'bugfix/bt_legacy_paring_wrong_pin_code_err_v4.3' into 'release/v4.3'
...
bugfix/fix the crash when using legacy paring with wrong pin code (v4.3)
See merge request espressif/esp-idf!15298
2021-09-30 01:12:54 +00:00
Jiang Jiang Jian
b10888a591
Merge branch 'bugfix/fix_macro_conversion_v4.3' into 'release/v4.3'
...
Nimble: Fix logging level mismatch (v4.3)
See merge request espressif/esp-idf!15331
2021-09-30 01:09:56 +00:00
Jiang Jiang Jian
8aa9103307
Merge branch 'feature/sync_bt_lib_with_hli_v4.3' into 'release/v4.3'
...
components/bt: Sync bt lib with the high level interrupt version
See merge request espressif/esp-idf!15327
2021-09-30 01:07:45 +00:00
Li Shuai
4f71b49aa6
esp_hw_support: keep external 40 MHz xtal related analog circuit power on during sleep
2021-09-28 11:21:33 +08:00
Li Shuai
aac59ed5ec
Power Management: add XTAL power domain to control whether external 40MHz xtal is powered down during sleep
2021-09-28 11:21:31 +08:00
Li Shuai
4f4254537c
esp_hw_support: No voltage drop during light sleep to ensure stable output clock of rtc8m oscillator
2021-09-28 11:20:00 +08:00
Li Shuai
4ef6e37fcb
Power Management: add RTC8M power domain to control whether internal 8m oscillator is powered down during sleep
2021-09-28 11:19:57 +08:00
Mahavir Jain
d2fa3fd234
Merge branch 'feature/local_control_sec1_v4.3' into 'release/v4.3'
...
Added support for security1 in local control (backport v4.3)
See merge request espressif/esp-idf!15281
2021-09-24 08:51:39 +00:00
David Cermak
bb0eecee0e
lwip: Fix sntp custom options if sntp_get_system_time used
2021-09-24 14:49:15 +08:00
David Čermák
0e956b5977
Merge branch 'bugfix/eth_dm9051_not_responding_v4.3' into 'release/v4.3'
...
esp_eth: Fix dm9051 Rx interrupt processing (v4.3)
See merge request espressif/esp-idf!15284
2021-09-24 06:45:49 +00:00
Mahavir Jain
0021be424f
Merge branch 'fix/no_stub_secure_boot_v4.3' into 'release/v4.3'
...
secure_boot: Enable --no-stub if secure boot enabled (v4.3)
See merge request espressif/esp-idf!15320
2021-09-24 04:17:36 +00:00
Mahavir Jain
5ab3dd40ba
Merge branch 'feature/secure_boot_key_check_before_revoke_v4.3' into 'release/v4.3'
...
Check if the running app is signed by a valid key before revocation (v4.3)
See merge request espressif/esp-idf!15293
2021-09-24 04:03:40 +00:00
morris
b36bc02ef1
Merge branch 'bugfix/uart_driver_obj_into_sram_v4.3' into 'release/v4.3'
...
uart: put driver object into sram(v4.3)
See merge request espressif/esp-idf!14745
2021-09-24 03:12:28 +00:00
Supreet Deshpande
9abe6da406
app_update: Check if the running app is signed by a valid key before revocation
2021-09-23 21:06:44 +08:00
Rahul Tank
b49a979a51
Removed Critical debug level from menuconfig, since it internally maps
...
to level Error.
2021-09-23 18:07:25 +05:30
baohongde
0e18b8b4cb
components/bt: Sync bt lib with the high level interrupt version
2021-09-23 16:58:37 +08:00
Rahul Tank
2a359c3ee4
Nimble: Check stack status before executing stack command
2021-09-23 13:02:52 +05:30
Sachin Parekh
1f5473dd1a
secure_boot: Enable --no-stub if secure boot enabled
...
ROM code doesn't allow loader stub to be executed in case secure boot in
enabled. Providing --no-stub flag to esptool allows user to flash new
firmware, given download mode hasn't been disabled
2021-09-23 12:50:45 +05:30
jincheng
2e8f0a47ff
fix wrong clock_id in function time_now_us
...
Close https://github.com/espressif/esp-idf/issues/7561
2021-09-23 10:02:12 +08:00
jincheng
e08f69aaff
bugfix/fix the crash when using legacy paring with wrong pin code
...
Close https://github.com/espressif/esp-idf/issues/7556
2021-09-22 14:55:53 +08:00
morris
73c5a68c6f
uart: support alloc driver object in SRAM
...
If CONFIG_UART_ISR_IN_IRAM is on, which means user hope the uart
interrupt can still be serviced even when cache is diabled (e.g.
writing to flash). In that case, the driver should make sure to
put the all related objects into SRAM, avoid putting them in the PSRAM.
Closes https://github.com/espressif/esp-idf/issues/7044
Closes https://github.com/espressif/esp-idf/pull/7355
2021-09-22 11:46:42 +08:00
morris
f4ccb8e766
uart: format driver code by astyle
2021-09-22 11:46:42 +08:00
Switi Mhaiske
a30195d87b
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack for v4.3
2021-09-21 19:34:13 +05:30
Aditya Patwardhan
05bdb58297
Merge branch 'fix/esp_mbedtls_write_api_v4.3' into 'release/v4.3'
...
Fix esp_mbedtls_write API (v4.3)
See merge request espressif/esp-idf!15214
2021-09-21 12:42:43 +00:00
Mahavir Jain
b8ab11b1c7
Merge branch 'bugfix/http_client_eagain_v4.3' into 'release/v4.3'
...
esp_http_client: Fixed handling of EAGAIN return (backport v4.3)
See merge request espressif/esp-idf!15273
2021-09-21 11:51:05 +00:00
David Cermak
609f5ef9a0
esp_eth: Fix dm9051 Rx interrupt processing
...
* Disable Tx interrupts to fix race condition of missing Rx interrupt
* Check if GPIO interrupt is asserted periodically if the ISR event missed
Closes https://github.com/espressif/esp-idf/issues/6414
2021-09-21 11:10:19 +02:00
Aditya Patwardhan
c62682cd07
Fix esp_mbedtls_write API
...
Fix esp_wolfssl_write API
Closes https://github.com/espressif/esp-idf/issues/7461
2021-09-21 16:31:21 +08:00
Adam Múdry
3926b436b5
vfs/fatfs: fix failed tests by increasing timeout
...
Default 30s timeout is too low for a case when SD card formatting is triggered,
which could lead to tests failure. Timeout of tests is now set to 60s.
JIRA IDFCI-742
2021-09-21 08:53:18 +02:00
Vikram Dattu
9e00034ec7
Added support for security1 in local control
...
1. Added config options to chose from protocom security.
It can be chosen 0/1 or custom.
Possible to set POP as well
2. Added support in `esp_local_ctrl.py` test script for sec_ver selection
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-09-21 09:21:18 +05:30
Vikram Dattu
70db0406fc
esp_http_client: Fixed handling of EAGAIN return
...
For https connection `ESP_TLS_ERR_SSL_WANT_READ` of esp_transport_read was getting treated as error.
Treated this as a timeout to fix connection abort issue!
Also handled http connection EAGAIN with `errno == EAGAIN` check.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-09-20 17:10:44 +05:30
Shivani Tipnis
9e24590d9b
Merge branch 'bugfix/fix_nvstool_readme_v4.3' into 'release/v4.3'
...
Update Readme with supports of multiline strings and comments in the CSV file (v4.3)
See merge request espressif/esp-idf!15223
2021-09-20 10:44:30 +00:00
Mahavir Jain
4ad49c4ae7
Merge branch 'bugfix/coap_with_cxx' into 'release/v4.3'
...
coap : fix for coap implementation with cxx
See merge request espressif/esp-idf!15220
2021-09-20 09:45:21 +00:00
Roland Dobai
956f6c6e3b
Merge branch 'feature/gcov_dump_in_thread_v4.3' into 'release/v4.3'
...
backport/gcov dump in thread to v4.3
See merge request espressif/esp-idf!15205
2021-09-20 09:36:25 +00:00
Mahavir Jain
c33ac6d1a9
Merge branch 'feature/clock_glitch_enable_v4.3' into 'release/v4.3'
...
bootloader: Enable clock glitch detection (v4.3)
See merge request espressif/esp-idf!15225
2021-09-20 09:35:42 +00:00
Shivani Tipnis
4a21a9e341
nvs_tool: Update Readme with supports of multiline strings and comments in the CSV file
...
Closes https://github.com/espressif/esp-idf/issues/7175
2021-09-20 14:12:13 +08:00
Jon Maloney
57042ab56c
esp_http_client: Support client key password for HTTPS connections.
...
Closes https://github.com/espressif/esp-idf/pull/7420
Closes https://github.com/espressif/esp-idf/issues/7418
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-09-19 21:12:35 +08:00
Xie Wen Xiang
75a7abe946
Merge branch 'bugfix/btdm_ble_event_mask_default_value_v4.3' into 'release/v4.3'
...
[BLE] Fixed default LE Event Mask(backport v4.3)
See merge request espressif/esp-idf!15242
2021-09-18 08:27:23 +00:00
Li Shuai
72f87748e8
Merge branch 'bugfix/esp32s3_lightsleep_psram_leakage_current_v4.3' into 'release/v4.3'
...
backport v4.3: fix SPIRAM leakage when its CS pin has no hardware pullup
See merge request espressif/esp-idf!15224
2021-09-18 04:37:56 +00:00
Erhan Kurubas
d6ed894113
esp_ipc: fix race condition in ipc task
2021-09-17 23:19:27 +03:00
Erhan Kurubas
89a6a7fc30
ipc: enable ipc task at single core for gcov dump
2021-09-17 23:19:27 +03:00
Erhan Kurubas
bea97c8e91
gcov: add stub table size entry
2021-09-17 23:19:27 +03:00
Erhan Kurubas
f5b297a654
gcov: add gcov callback into the ipc task
2021-09-17 23:19:27 +03:00
Erhan Kurubas
93259b9508
gcov: dump in a special thread
2021-09-17 23:19:27 +03:00
Erhan Kurubas
81956c63c8
gcov: added dbg stub capabilites and magic number entry to keep backward compatible
2021-09-17 23:19:27 +03:00
xiewenxiang
371e1bb4c9
component/bt: Fixed default LE Event Mask(release v4.3)
2021-09-17 17:53:02 +08:00
morris
be1539f926
Merge branch 'bugfix/rotary_encoder_v4.3' into 'release/v4.3'
...
bugfix:rotary encoder example isr service install(backport v4.3)
See merge request espressif/esp-idf!14351
2021-09-17 08:57:05 +00:00
Li Shuai
3f17cc2ab8
light sleep: fix Flash leakage when its CS pin has no hardware pullup
2021-09-17 16:28:47 +08:00
Li Shuai
acdf49a5ac
light sleep: fix SPIRAM leakage when its CS pin has no hardware pullup
2021-09-17 16:28:47 +08:00
chenjianqiang
42039cde0a
add flash and PSRAM CS IO acquire function
2021-09-17 16:28:47 +08:00
Harshit Malpani
d43bb775a5
coap: Fix coap implentation with cxx
...
Closes https://github.com/espressif/esp-idf/issues/6804
2021-09-17 16:26:29 +08:00
Sachin Parekh
26563474d6
bootloader: Enable clock glitch detection
...
Reset the device when clock glitch detected. Clock glitch detection is
only active in bootloader
2021-09-17 13:32:34 +05:30
Yuriy Shestakov
872c42ecf7
Fixed GLITCH_RTC_RST for esp32-c3 revision 3
...
* Issue: https://github.com/espressif/esp-idf/issues/7082
Signed-off-by: Yuriy Shestakov <yshestakov@gmail.com>
Closes https://github.com/espressif/esp-idf/issues/7082
Closes https://github.com/espressif/esp-idf/pull/7441
2021-09-17 13:32:34 +05:30
Christian Fischerauer
3bd69d296d
esp_eth: adapt ksz8041.c to changes from commit 03a6c49
...
Closes https://github.com/espressif/esp-idf/issues/7570
Merges https://github.com/espressif/esp-idf/pull/7573
2021-09-16 21:39:23 +08:00
Mahavir Jain
316674a096
Merge branch 'feature/hmac_downstream_jtag_v4.3' into 'release/v4.3'
...
hmac: Added Downstream JTAG enable mode for esp32c3 (v4.3)
See merge request espressif/esp-idf!15203
2021-09-16 04:20:14 +00:00
Jiang Jiang Jian
3908360e46
Merge branch 'feature/support_bss_in_psram_for_esp32s2_v4.3' into 'release/v4.3'
...
[system] Allow .bss segment placed in external memory for ESP32-S2 ( backport v4.3)
See merge request espressif/esp-idf!14946
2021-09-15 08:09:42 +00:00
Wu Zheng Hui
4fd6d3deae
Adjust the variable name &
...
Add mapping support for different sizes of spi ram
2021-09-15 16:09:33 +08:00
Jiang Jiang Jian
f83699a67f
Merge branch 'cherry-pick-e8360fe0-4' into 'release/v4.3'
...
wpa_supplicant: clean tls client state machine (backport v4.3)
See merge request espressif/esp-idf!15040
2021-09-15 08:06:00 +00:00
Sachin Parekh
94c9e5299a
esp32s2/hmac: Release HMAC lock in downstream mode incase of failure
2021-09-14 17:05:28 +05:30
Sachin Parekh
c215bb04f6
hmac: Added Downstream JTAG enable mode for esp32c3
...
If JTAG is disabled temporarily by burning SOFT_DIS_JTAG, it can be
re-enabled temporarily through esp_hmac_jtag_enable API
2021-09-14 17:05:01 +05:30
Konstantin Kondrashov
0d16e61d96
efuse: Fix len of SOFT_DIS_JTAG for esp32c3(v4.3)
2021-09-14 13:22:08 +08:00
Omar Chebib
6b0cbe54e6
Merge branch 'bugfix/add_critical_section_in_uart_driver_v4.3' into 'release/v4.3'
...
UART: add missing critical section wrappers around rx_buffered_len (backport v4.3)
See merge request espressif/esp-idf!14774
2021-09-13 15:18:32 +00:00
Omar Chebib
6c363a4075
uart: Add missing critical section wrappers around rx_buffered_len
...
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.
Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com>
Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-09-13 23:18:25 +08:00
Zim Kalinowski
80cfaeb7cc
Merge branch 'bugfix/nvs_host_test_missing_struct' into 'release/v4.3'
...
[nvs] Add page host test to CI (backport 4.3)
See merge request espressif/esp-idf!15010
2021-09-13 13:11:56 +00:00
Omar Chebib
0d0bec6c31
console: fix a bug preventing us from starting a CLI on non-default UART
...
It is now possible to start a REPL CLI on another UART than the default
one.
Closes https://github.com/espressif/esp-idf/issues/6897
2021-09-13 14:10:19 +08:00
Zim Kalinowski
8bb5d87f0c
Merge branch 'bugfix/freertos_ut_suspend_v4.3' into 'release/v4.3'
...
freertos: Increases delta for UT - Test suspend-resume CPU. The number of... (v4.3)
See merge request espressif/esp-idf!14630
2021-09-13 04:14:14 +00:00
Wang Meng Yang
de48a67083
Merge branch 'bugfix/btdm_ble_connection_will_crash_durning_erase_flash_v4.3' into 'release/v4.3'
...
[BLE] Fixed ble conn will crash during erasing flash(backport v4.3)
See merge request espressif/esp-idf!14795
2021-09-13 01:50:09 +00:00
Wang Meng Yang
d5e5f44d36
Merge branch 'bugfix/btdm_fix_some_Document_Description_Error_v4.3' into 'release/v4.3'
...
component/bt: fix some ble document description error(backport v4.3)
See merge request espressif/esp-idf!14823
2021-09-13 01:49:49 +00:00
Wang Meng Yang
2777ff73f4
Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value_v4.3' into 'release/v4.3'
...
component/bt: fix bluedroid host auto update PPCP attribute value(backport v4.3)
See merge request espressif/esp-idf!14748
2021-09-13 01:49:01 +00:00
Zim Kalinowski
e0c2bf1d0a
Merge branch 'feature/regi2c_add_lock_v4.3' into 'release/v4.3'
...
regi2c: add a spinlock for accessing (reg)I2C devices (backport v4.3)
See merge request espressif/esp-idf!13690
2021-09-11 01:07:10 +00:00
Zim Kalinowski
1ab4819b74
Merge branch 'bugfix/esp_event_any_id_unregister_4.3' into 'release/v4.3'
...
ESP Event: fix unregister documentation (backport 4.3)
See merge request espressif/esp-idf!14431
2021-09-10 11:52:44 +00:00
Omar Chebib
173e001680
regi2c: add a spinlock for accessing (reg)I2C devices
...
When not compiling bootloader, a spinlock will be used for reading or writing
I2C internal devices/registers.
When compiling for bootloader, no need to use any lock.
2021-09-10 18:50:16 +08:00
Jakob Hasse
a6371d2a97
[nvs] nvs page host runs in CI, fix build failure
...
* nvs host page unit test now runs in ci
* fixed nvs host page unit test build failure
2021-09-10 13:02:51 +08:00
Zim Kalinowski
55dfd61796
Merge branch 'bugfix/uart_sw_sw_flow_error_typo_v4.3' into 'release/v4.3'
...
uart: fix typo in error message (v4.3)
See merge request espressif/esp-idf!14613
2021-09-10 04:30:37 +00:00
Zim Kalinowski
121910b939
Merge branch 'ci/change_perf_key_v4.3' into 'release/v4.3'
...
ci: update performance test key to db compatible format (v4.3)
See merge request espressif/esp-idf!14654
2021-09-10 04:23:09 +00:00
Zim Kalinowski
1f0d8585ca
Merge branch 'feature/update_efuses_for_esp32s2_v4.3' into 'release/v4.3'
...
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses (v4.3)
See merge request espressif/esp-idf!14770
2021-09-10 04:21:54 +00:00
Jakob Hasse
dfa2a980d7
[esp_event]: fixed and improved docs
...
* Description of unregistering was incorrect
* Made clear that event loop arg mustn't be NULL
* Added parameter check in create function
Closes https://github.com/espressif/esp-idf/issues/6761
Closes IDFGH-4969
2021-09-10 10:12:39 +08:00
Roland Dobai
9805fc85ee
Merge branch 'feature/doc_sbv2_key_not_read_protected_v4.3' into 'release/v4.3'
...
secure_boot_v2(doc): secure_boot_v2 key/s must be readable (v4.3)
See merge request espressif/esp-idf!14671
2021-09-09 19:37:52 +00:00
Ivan Grokhotkov
746f2e2d49
Merge branch 'bugfix/newlib_dirent_decls_4.3' into 'release/v4.3'
...
newlib: add C++ guards to the platform-specific dirent.h (backport 4.3)
See merge request espressif/esp-idf!14621
2021-09-09 18:46:58 +00:00
Mahavir Jain
94667365d3
Merge branch 'esp32c3/override_assert_v4.3' into 'release/v4.3'
...
newlib: Override __assert and __assert_func (v4.3)
See merge request espressif/esp-idf!14685
2021-09-09 13:24:01 +00:00
David Čermák
51f1bc3ced
Merge branch 'bugfix/cmake_compiler_warn_write_string_v4.3' into 'release/v4.3'
...
Build: Fix CMake to pass -Wwrite-string compiler flag if enabled (v4.3)
See merge request espressif/esp-idf!14426
2021-09-09 09:49:33 +00:00
David Čermák
4c400e9311
Merge branch 'bugfix/wifi_ap_handler_docs_v4.3' into 'release/v4.3'
...
wifi/netif: Fix wifi_ap_handlers comments to relate to AP (v4.3)
See merge request espressif/esp-idf!15147
2021-09-09 09:40:32 +00:00
morris
943c9cc560
Merge branch 'bugfix/config_data_interface_early_v4.3' into 'release/v4.3'
...
initialize data interface early (v4.3)
See merge request espressif/esp-idf!15087
2021-09-09 08:45:22 +00:00
morris
eea13b76a1
Merge branch 'bugfix/mcpwm-deadtime-preset-config-backport_v4.3' into 'release/v4.3'
...
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition (backport v4.3)
See merge request espressif/esp-idf!14622
2021-09-09 07:29:11 +00:00
Mahavir Jain
9ac4c49553
Merge branch 'fixes/secure_boot_v4.3' into 'release/v4.3'
...
secure_boot/esp32(s2,c3): Disable read protecting of efuses (v4.3)
See merge request espressif/esp-idf!14960
2021-09-09 07:16:54 +00:00
Mahavir Jain
1d866dc4a0
Merge branch 'bugfix/uninitialized_tasknumber_v4.3' into 'release/v4.3'
...
fix(FreeRTOS): Initialize uxTaskNumber at task initialization (v4.3)
See merge request espressif/esp-idf!14669
2021-09-09 07:01:01 +00:00
Yuan Jian Min
2429a578ad
Merge branch 'bugfix/fix_ping_sock_return_error_v4.3' into 'release/v4.3'
...
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured(backport v4.3)
See merge request espressif/esp-idf!14847
2021-09-09 06:20:56 +00:00
David Cermak
801c3a4c60
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
2021-09-09 07:53:35 +02:00
Mahavir Jain
7fa47e87dd
Merge branch 'bugfix/fix_ws_handle_big_messages_v4.3' into 'release/v4.3'
...
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly(backport v4.3)
See merge request espressif/esp-idf!15015
2021-09-09 04:13:02 +00:00
morris
b76369ddb6
eth: dont warn nego timeout if link is down
2021-09-08 20:52:26 +08:00
morris
b829fcff3e
emac: configure data interface early
2021-09-08 20:52:26 +08:00
Wang Meng Yang
5e7d08d083
Merge branch 'bugfix/build_warning_unused_variable' into 'release/v4.3'
...
bugfix/remove unused variable which caused to build warnings
See merge request espressif/esp-idf!15105
2021-09-08 11:56:04 +00:00
Alex Lisitsyn
3a9a208edc
Merge branch 'bugfix/freemodbus_fix_zero_based_reg_address_in_iterator_v43' into 'release/v4.3'
...
freemodbus: fix mb zero based reg address in the iterator (backport v4.3)
See merge request espressif/esp-idf!14551
2021-09-08 09:48:21 +00:00
Mahavir Jain
a6b632661c
Merge branch 'feature/update_expat_v4.3' into 'release/v4.3'
...
expat: Update library from 2.2.9 to 2.4.1(backport v4.3)
See merge request espressif/esp-idf!15071
2021-09-08 09:17:25 +00:00
Roland Dobai
9032828325
Merge branch 'bugfix/idf_size_wrong_memory_calculations_v4.3' into 'release/v4.3'
...
Tools: Fix memory calculations of idf_size.py (v4.3)
See merge request espressif/esp-idf!14933
2021-09-08 09:11:57 +00:00
Marius Vikhammer
d1ce75b018
Merge branch 'bugfix/ulp_overflow_rtc_mem_v4.3' into 'release/v4.3'
...
ulp: ULP_COPROC_RESERVE_MEM limitation (v4.3)
See merge request espressif/esp-idf!14375
2021-09-08 09:05:46 +00:00
Marius Vikhammer
e741161b2e
Merge branch 'bugfix/renable_unit_tests_v4.3' into 'release/v4.3'
...
ci: enable previously disabled unit tests (v4.3)
See merge request espressif/esp-idf!13775
2021-09-08 09:03:32 +00:00
Mahavir Jain
f5731c832f
Merge branch 'bugfix/rename_newlib_header_v4.3' into 'release/v4.3'
...
esp_rom: remove "newlib.h" header (v4.3)
See merge request espressif/esp-idf!15012
2021-09-08 09:01:30 +00:00
Marius Vikhammer
ab111b7f79
Merge branch 'bugfix/ulp_riscv_cocpu_trap_v4.3' into 'release/v4.3'
...
ulp riscv: force cocpu clock on to prevent spurious cocpu trap resets (v4.3)
See merge request espressif/esp-idf!14317
2021-09-08 08:59:42 +00:00
Marius Vikhammer
0f7dd04a83
Merge branch 'bugfix/crypto_gdma_v4.3' into 'release/v4.3'
...
aes/sha: fixed driver reseting the wrong GDMA channel (v4.3)
See merge request espressif/esp-idf!15002
2021-09-08 08:58:24 +00:00
Sachin Parekh
c2f015ace1
secure_boot/esp32(s2,c3): Disable read protecting of efuses
...
When secure boot is enabled, disable the ability to read protect
efuses that contain the digest.
2021-09-08 16:42:54 +08:00
Roland Dobai
49fcfafed3
Merge branch 'bugfix/core_dump_image_erase_with_encryption_v4.3' into 'release/v4.3'
...
Fix a bug in `core_dump_image_erase` when flash encryption is enabled (backport v4.3)
See merge request espressif/esp-idf!14618
2021-09-08 08:42:44 +00:00
Gautier Seidel
7808bccfb9
fix(FreeRTOS): Initialize uxTaskNumber at task initialization
...
Signed-off-by: Laukik Hase <laukik.hase@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/4025
2021-09-08 16:42:30 +08:00
Roland Dobai
e493a4c30e
Merge branch 'bugfix/xtensa_extra_info_register_values_v4.3' into 'release/v4.3'
...
espcoredump.py: Parse EPS and EPC register values using register index (v4.3)
See merge request espressif/esp-idf!14563
2021-09-08 08:36:09 +00:00
Sachin Parekh
cc9d354ba8
Update tests for assert and abort
...
- Place panic_abort in IRAM
- Added abort, assert test case in case of cache disabled
- Expect assert instead of abort in a freertos_mutex test
2021-09-08 16:32:09 +08:00
Sachin Parekh
659cfcb1f6
newlib: Override __assert and __assert_func
...
Default assert implementation calls fiprintf, which tries to acquire a
lock and fails if it is executing in critical section or ISR
2021-09-08 16:32:09 +08:00
Michael (XIAO Xufeng)
15439631a4
Merge branch 'bugfix/check_spi_master_cmd_test_fail_v4.3' into 'release/v4.3'
...
spi_master: fix cmd test ringbufferReturn issue (4.3)
See merge request espressif/esp-idf!13656
2021-09-08 08:25:56 +00:00
Mahavir Jain
77965b01ca
Merge branch 'feature/update_cjson_submodule_v4.3' into 'release/v4.3'
...
cJSON: Update submodule to v1.7.15 (v4.3)
See merge request espressif/esp-idf!14999
2021-09-08 08:19:50 +00:00
Mahavir Jain
4fe718dd0b
Merge branch 'fix/warning_in_wifi_prov_mgr_v4.3' into 'release/v4.3'
...
provisioning: fix wifi warning in wifi_prov_mgr application (v4.3)
See merge request espressif/esp-idf!14763
2021-09-08 08:19:40 +00:00
Wang Meng Yang
fbd128af6f
Merge branch 'bugfix/spp_memory_leak_v4.3' into 'release/v4.3'
...
Fix spp memory leak(v4.3)
See merge request espressif/esp-idf!14525
2021-09-08 02:47:51 +00:00
Wang Meng Yang
57c4316855
Merge branch 'component_bt/add_spp_faq_v4.3' into 'release/v4.3'
...
Component_bt/Add FAQ in SPP Demo README[backport v4.3]
See merge request espressif/esp-idf!14793
2021-09-08 02:47:28 +00:00
Wang Meng Yang
5eee25aea5
Merge branch 'bugfix/bt_spp_timer_collision_v4.3' into 'release/v4.3'
...
Fix timer collision in role switch(v4.3)
See merge request espressif/esp-idf!14815
2021-09-08 02:46:55 +00:00
Wang Meng Yang
d4a86ab4fe
Merge branch 'bugfix/a2dp_deint_crash_v4.3' into 'release/v4.3'
...
component_bt: fix a2dp deinit crash(v4.3)
See merge request espressif/esp-idf!14416
2021-09-08 02:46:24 +00:00
Wang Meng Yang
5348c30141
Merge branch 'bugfix/hf_disc_acl_no_disc_v4.3' into 'release/v4.3'
...
bugfix/acl can't disconnect when hfp_client disconnect [release/v4.3]
See merge request espressif/esp-idf!15056
2021-09-08 02:46:06 +00:00
Song Ruo Jing
665b221b6b
Merge branch 'docs/spi_max_transfer_sz_limit_v4.3' into 'release/v4.3'
...
spi_docs: Fixed the default value of max_transfer_sz_limit (backport v4.3)
See merge request espressif/esp-idf!14249
2021-09-08 02:34:43 +00:00
jincheng
2845b70f83
remove unused variable which caused to build warning
2021-09-07 19:15:36 +08:00
Liu Han
6ad84919ad
expat: Update library from 2.2.9 to 2.4.1
2021-09-03 19:36:56 +08:00
jincheng
b7a1a53629
fix acl can not disconnect when hf_client disconnenct
2021-09-03 10:56:25 +08:00
He Yin Ling
2e74914051
versions: Update version to 4.3.1
2021-09-02 17:15:36 +08:00
simon.chupin
34ab97f081
Tools: Fix memory calculations of idf_size.py
2021-09-01 16:36:48 +02:00
Shu Chen
706a17bdf1
openthread: enable ot_cli on esp32h2
2021-09-01 16:36:47 +02:00
Michael (XIAO Xufeng)
7716134457
idf_size.py: fixed diram counted twice issue, and improve display
...
Currently static RAM usage are listed under corresponding physical
memory.
ld: fix linker script for C3 and S3
2021-09-01 16:36:47 +02:00
XieWenxiang
508b033cc0
component/bt: fix some ble document description error
2021-09-01 20:42:44 +08:00
Kapil Gupta
c110c31957
Merge branch 'bugfix/eap_client_windows' into 'master'
...
wpa_supplicant: clean tls client state machine
Closes IDFGH-5702, IDFGH-5662, and IDFGH-119
Closes https://github.com/espressif/esp-idf/issues/7422
Closes https://github.com/espressif/esp-idf/issues/1297
See merge request espressif/esp-idf!14968
(cherry picked from commit e8360fe075
)
d3a42d78
wpa_supplicant: clean tls client state machine
2021-09-01 19:17:53 +08:00
Alberto García Hierro
68f8b999bb
Enable IO20 on ESP32
...
Some newer ESP32 variants (like ESP32-PICO-V3 and ESP32-PICO-MINI-02)
do implement this pin and it can be used as a normal GPIO.
Fixes #6016
Fixes #6837
Closes https://github.com/espressif/esp-idf/pull/6918
(cherry picked from commit 6deaefde69
)
2021-08-31 20:11:00 +08:00
yuanjm
f728202ee9
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
...
Closes https://github.com/espressif/esp-idf/issues/7457
2021-08-31 14:08:42 +08:00
yuanjm
3938792732
Revert "Merge branch 'bugfix/fix_ws_handle_big_messages_error_v4.3' into 'release/v4.3'"
...
This reverts commit de8c6aaa8d
, reversing
changes made to ab452839ed
.
2021-08-31 14:07:59 +08:00
Mahavir Jain
4446e2f632
esp_rom: remove "newlib.h" header
...
We found conflict in "sizeof(time_t)" due to inclusion of this
header over toolchain specific "newlib.h".
Moreover, there are no users for this header and implementation
for API is also not available in ROM. Hence removing it.
2021-08-31 10:32:34 +05:30
Marius Vikhammer
d5d126b73e
aes/sha: fixed driver reseting the wrong GDMA channel
...
Driver was using the channel ID from tx when reseting rx.
But since rx and tx is not necessarily from the same pair this could lead
to the driver reseting the wrong DMA channel.
2021-08-30 17:06:13 +08:00
Shubham Kulkarni
7059591d92
cJSON: Update submodule to latest release.
...
This update fixes NULL pointer dereference issues in previous release
Closes https://github.com/espressif/esp-idf/issues/7317
2021-08-30 13:16:55 +05:30
Jiang Jiang Jian
605c1b16f0
Merge branch 'bugfix/fix_esp32c3_auto_adjust_volt_v4.3' into 'release/v4.3'
...
fix_esp32c3_auto_adjust_volt_v4.3
See merge request espressif/esp-idf!14954
2021-08-26 10:07:57 +00:00
Jiang Jiang Jian
0c0b503f04
Merge branch 'bugfix/remove_bt_get_mac_v4.3' into 'release/v4.3'
...
bt: Remove unused function esp_bt_get_mac. (v4.3)
See merge request espressif/esp-idf!14835
2021-08-26 02:50:28 +00:00
sly
517dd5c5d5
fix_esp32c3_auto_adjust_volt
2021-08-25 21:31:07 +08:00
muhaidong
4b95b8a5c4
esp_wifi:fix airkiss and esptouch find channel crash issue(backport v4.3)
2021-08-25 15:55:07 +08:00
KonstantinKondrashov
75e099129e
secure_boot_v2(doc): secure_boot_v2 key/s must be readable
2021-08-23 12:28:32 +05:00
Mahavir Jain
5fa8c0c088
Merge branch 'bugfix/libsodium_build_with_gnu_make_v4.3' into 'release/v4.3'
...
libsodium: fix build issues with GNU Make (v4.3)
See merge request espressif/esp-idf!14757
2021-08-20 09:34:34 +00:00
Mahavir Jain
8787f15a2d
Merge branch 'bugfix/memprot_bypass_v4.3' into 'release/v4.3'
...
System/Security: Memprot bypassing mitigation (v4.3)
See merge request espressif/esp-idf!14607
2021-08-20 09:33:47 +00:00
Jiang Jiang Jian
25ebb55908
Merge branch 'bugfix/esp32c3_check_if_allow_light_sleep_v4.3' into 'release/v4.3'
...
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used(v4.3)
See merge request espressif/esp-idf!14818
2021-08-19 03:32:45 +00:00
xiongweichao
7d0b387bea
Not initialized or in the process of de-initialization, calling API will return ERR
2021-08-19 11:10:31 +08:00
xiongweichao
a5fb684908
fix a2dp deinit crash
2021-08-19 11:10:31 +08:00
David Cermak
7f8d47203e
ci/test: Fix esp_http_client const char* correction
2021-08-18 15:28:08 +02:00
David Cermak
dd1de21216
panic/memprot: Fix minor const string correction on panic print
2021-08-18 19:29:44 +08:00
David Cermak
e7500c711d
rtc: Fix minor const char* correction issue
2021-08-18 19:29:44 +08:00
David Cermak
c805a5cff8
wpa_supplicant: Temporarily disable write-string warning
...
Since some assignment of a string literal to `char *` variables were
added and not caught by the CI.
2021-08-18 19:29:44 +08:00
Harshit Malpani
fb345ecc2e
provisioning: fix wifi warning in wifi_prov_mgr application
...
Scan configuration parameters should not modify in co-existence mode.
2021-08-18 18:30:18 +08:00
yuanjm
25a6744ff7
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured
...
Closes https://github.com/espressif/esp-idf/issues/7363
2021-08-18 11:33:36 +08:00
lly
58b289a22c
ble_mesh: Update the SIG recommendations for CVE issues
2021-08-18 10:57:33 +08:00
Chinmay Chhajed
69845456dc
bt: Remove unused function esp_bt_get_mac.
...
Closes https://github.com/espressif/esp-idf/issues/7410
2021-08-17 18:46:04 +05:30
xiongweichao
dc13a3d161
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
2021-08-17 17:18:33 +08:00
jincheng
30660bd6e0
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-08-17 10:55:25 +08:00
liqigan
fb53ea7d22
add FAQ in SPP demo README
2021-08-16 09:18:12 +08:00
xiewenxiang
82f094669a
component/bt: Fixed ble conn will crash durning erase flash
2021-08-13 18:08:22 +08:00
KonstantinKondrashov
b7237ff0e6
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
2021-08-12 18:25:07 +05:00
Jiang Jiang Jian
48ae2309fd
Merge branch 'bugfix/bugfix/wpa_supplicant_fixes_v4.3' into 'release/v4.3'
...
Merge wpa_supplicant github PRs (V4.3)
See merge request espressif/esp-idf!14751
2021-08-12 09:02:42 +00:00
Jiang Jiang Jian
6a13a9d0c4
Merge branch 'bugfix/pmf_bcast_deauth_fix_v4.3' into 'release/v4.3'
...
Fix some PMF and FTM issues (Backport v4.3)
See merge request espressif/esp-idf!14690
2021-08-12 09:02:09 +00:00
Mahavir Jain
496f749f63
libsodium: fix source directory names to address build issues with Make
2021-08-12 08:43:35 +05:30
Axel Lin
af03dcb037
wpa_supplicant: Trivial typo fix for setting spp_sup.require
...
No functional change since both SPP_AMSDU_CAP_ENABLE and SPP_AMSDU_REQ_ENABLE
are defined as 1.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7366
2021-08-11 16:43:35 +05:30
Axel Lin
3e1b174c53
esp_supplicant: Make esp_rrm_send_neighbor_rep_request return proper error
...
Current code always return 0 even though wpas_rrm_send_neighbor_rep_request()
fails. Return proper error so the caller can know what's wrong.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7233
2021-08-11 16:43:23 +05:30
Axel Lin
c56aa5f34d
wpa_supplicant: Fix clear WLAN_FC_STYPE_ACTION bit in esp_register_action_frame
...
It should clear WLAN_FC_STYPE_ACTION bit intead of WLAN_FC_STYPE_ACTION.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7252
2021-08-11 16:41:21 +05:30
Axel Lin
30d6c8401c
wpa_supplicant: Fix memory leak in esp_issue_scan error paths
...
Fix memory leak when allocate memory for params->ssid / params->bssid fails.
Fixes: 27101f9454
("wpa_supplicant: Add initial roaming support")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7240
2021-08-11 16:40:57 +05:30
XieWenxiang
84cb47d7e0
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-11 17:49:31 +08:00
Yang Zhao
edcb5942ba
The controller may miss the sleep time caculated before. So it will stuck
...
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:07:00 +08:00
Nachiket Kukade
913b31c13f
esp_wifi: Fix PMF and FTM issues
...
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
with certain reason codes
2. Fix FTM not working in connected state and some other FTM bugs
2021-08-09 18:54:07 +05:30
xiewenxiang
032f6d34d1
component/bt: add local irk to controller
2021-08-06 18:19:25 +08:00
Michael (XIAO Xufeng)
e3954297bb
spi_master: fix the crash when using interrupt mode when cache is disabled
...
Closes https://github.com/espressif/esp-idf/issues/6529
Closes https://github.com/espressif/esp-idf/issues/6781
Closes https://github.com/espressif/esp-idf/issues/7368
2021-08-06 12:20:23 +08:00
Fu Hanxi
2231d6b158
ci: update performance test key to db compatible format
2021-08-04 12:22:25 +08:00
KonstantinKondrashov
0cd1bc6753
freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs
2021-08-03 12:50:15 +05:00
Li Hang Fan
7de5c312a3
Update components/hal/include/hal/mcpwm_types.h
2021-08-03 15:20:47 +08:00
SalimTerryLi
f23acef8eb
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition
...
Closes https://github.com/espressif/esp-idf/issues/7321
2021-08-03 14:27:34 +08:00
Ivan Grokhotkov
03109eb013
newlib: add C++ guards to the platform-specific dirent.h
...
Before newlib 3.3.0, <dirent.h> bundled in newlib did not include any
function declarations. Instead, the file included the platform-
specific <sys/dirent.h>. This inclusion was inside a C++ guard block.
ESP-IDF provided sys/dirent.h inside newlib component, and this file
contained all the necessary function and structure declarations.
Since da418955f5
,
common function declarations have been added to <dirent.h> in newlib.
However, the inclusion of sys/dirent.h has been moved out of the C++
guard block. However we didn't notice this change and did not update
sys/dirent.h in ESP-IDF newlib component to and the now-required
C++ guards there.
This commit adds the missing C++ guards to the platform-specific
sys/dirent.h.
The declarations of common dirent.h functions are now present both in
<dirent.h> (provided by newlib) and in sys/dirent.h (provided by IDF).
We keep the declarations in sys/dirent.h for compatibility, since some
ESP-IDF files and applications may include <sys/dirent.h> directly,
rather than <dirent.h>.
Closes https://github.com/espressif/esp-idf/issues/7204
2021-08-03 13:53:34 +08:00
Omar Chebib
c8e5b0611a
coredump: simplify the implementation of esp_core_dump_image_erase
function
...
Closes https://github.com/espressif/esp-idf/pull/6949
2021-08-03 11:48:39 +08:00
0xFEEDC0DE64
035c1ac901
Fixed esp_core_dump_image_erase() for flash encryption with 16byte long write buffer
2021-08-03 11:48:39 +08:00
Marius Vikhammer
f550724055
uart: fix typo in error message
...
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:27:10 +08:00
Martin Vychodil
b04705cfe2
system/security: Memprot bypassing mitigation
...
Check Memprot lock bit(s) during the system startup, abort/reset on any Memprot parts found locked during this phase.
There is no legal reason to disallow the Memprot configuration by the system, so it's either a critical bug in the
application or an malicious attempt to bypass the system security.
Error message is printed before digital system reset.
Closes IDF-2700
2021-08-02 12:18:46 +02:00
muhaidong
1fd8fdcf7d
bugfix fix some wifi bugs for 4.3
...
1. sync idf menuconfig nvs status to lib
2. disable ampdu+amsdu bit
3. fix 80211 tx crash issue
4. supoort config 80211 tx rate
2021-07-31 21:46:14 +08:00
Marius Vikhammer
78392f0e84
ULP: reduce max possible memory reserved for ULP coprocessor
...
Some RTC slow memory is reserved by IDF, reduce CONFIG_TARGET_ULP_COPROC_RESERVE_MEM
range to reflect this.
Closes https://github.com/espressif/esp-idf/issues/7073
2021-07-31 14:10:57 +08:00
Marius Vikhammer
ee54dbfaab
bootloader: fix verify_load_addresses wrongly reporting "bad load address range"
...
verify_load_addresses would check if load_end was in a certain member range,
but should verify (load_end - 1) which is the actual last byte.
2021-07-31 14:10:57 +08:00
Jiang Jiang Jian
135b46a078
Merge branch 'mesh/non_mesh_connections_access_v4.3' into 'release/v4.3'
...
esp_wifi_mesh: add non mesh connections access(backport_v4.3)
See merge request espressif/esp-idf!14241
2021-07-31 02:52:11 +00:00
Wang Meng Yang
1537cff293
Merge branch 'bugfix/btdm_esp32_ble_white_list_connection_fail_v4.3' into 'release/v4.3'
...
Fixed ESP32 BLE can't resolve the peer address when enable white list(release v4.3)
See merge request espressif/esp-idf!14558
2021-07-30 23:58:22 +00:00
Wang Meng Yang
353f493f22
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.3' into 'release/v4.3'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13888
2021-07-30 07:39:50 +00:00
Shubham Patil
68095b46c4
espcoredump.py: Parse EPS and EPC register values using register index
2021-07-30 15:35:02 +08:00
xiewenxiang
192aa18c31
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-07-30 15:09:00 +08:00
shenjun
217c023a44
esp_wifi_mesh: add non mesh connections access
2021-07-30 14:32:48 +08:00
Michael (XIAO Xufeng)
95c572c0d2
Merge branch 'bugfix/fix_uart_reset_issue_on_esp32c3_backport_v4.3' into 'release/v4.3'
...
bugfix(uart): reset uart0 core before uart apb reset(backport v4.3)
See merge request espressif/esp-idf!14462
2021-07-30 06:27:22 +00:00
Gustavo Henrique Nihei
de1a4f0c0d
spi: Fix wrong target register for interrupt disable
2021-07-30 13:55:08 +08:00
Ivan Grokhotkov
953e9a78e2
Merge branch 'bugfix/panic_handler_disable_wdts_early_v4.3' into 'release/v4.3'
...
esp_system: Reconfigure the WDTs at the start of the panic handler (v4.3)
See merge request espressif/esp-idf!14225
2021-07-30 03:03:09 +00:00
Ivan Grokhotkov
716efae251
Merge branch 'bugfix/esp32s2_disable_bss_extram_v4.3' into 'release/v4.3'
...
esp32s2: disable bss extram option, clean up spiram init code a bit (v4.3)
See merge request espressif/esp-idf!13733
2021-07-30 03:01:57 +00:00
Renz Bagaporo
b07276265a
esp32s2: reset systimer clk on startup
2021-07-30 10:13:46 +08:00
Renz Bagaporo
cebab7fa7f
newlib: init microseconds offset
2021-07-30 10:13:41 +08:00
Jiang Jiang Jian
d33824ac4d
Merge branch 'bugfix/fix_connect_fail_cause_by_sleep_v4.3' into 'release/v4.3'
...
Fix connection failure caused by sleep (backport v4.3)
See merge request espressif/esp-idf!14272
2021-07-29 12:38:48 +00:00
aleks
002e6b8cec
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-07-29 14:27:04 +08:00
Marius Vikhammer
00c304535f
system: enable C3 light sleep related example tests
2021-07-29 09:29:29 +08:00
Marius Vikhammer
0b8ed8d76e
ci: enable previously disabled unit tests
2021-07-29 09:29:29 +08:00
Ivan Grokhotkov
617da9f403
Merge branch 'bugfix/twai_low_speed_bit_rates_v4.3' into 'release/v4.3'
...
TWAI: Fix incorrect configuration initializers for low speed bit rates (backport v4.3)
See merge request espressif/esp-idf!14412
2021-07-28 11:23:08 +00:00
Ivan Grokhotkov
0e6f4ba2cf
Merge branch 'bugfix/uart_race_condition_v4.3' into 'release/v4.3'
...
Fix couple of UART issues (backport v4.3)
See merge request espressif/esp-idf!14207
2021-07-28 11:22:18 +00:00
Marius Vikhammer
b667770cc6
ulp riscv: force cocpu clock on to prevent spurious cocpu trap resets
...
Closes https://github.com/espressif/esp-idf/issues/7224
2021-07-28 18:15:38 +08:00
aleks
0d0f4adbf8
freemodbus: fix mb zero based reg address in the iterator
...
Fixes https://github.com/espressif/esp-idf/issues/6571
2021-07-28 11:34:19 +02:00
Mahavir Jain
47b96db12d
Merge branch 'feature/prov_mgr_reset_state_v4.3' into 'release/v4.3'
...
wifi_provisioning: Add API to erase credentials and reset provisioning state (v4.3)
See merge request espressif/esp-idf!14531
2021-07-28 08:46:32 +00:00
Mahavir Jain
82b868a4b2
Merge branch 'bugfix/esp32c3_wrong_iram_alignment_v4.3_2' into 'release/v4.3'
...
System/memprot: ESP32C3 IRAM section alignment fix (v4.3)
See merge request espressif/esp-idf!14506
2021-07-28 03:34:08 +00:00
Shubham Kulkarni
7793f58e71
wifi_provisioning: Add check for WIFI_REASON_MIC_FAILURE error code in wifi_prov_mgr_event_handler_internal
2021-07-27 15:11:26 +05:30
Shubham Kulkarni
f93fdda2ff
wifi_provisioning: Add API to reset state if provisioning fails
2021-07-27 15:09:51 +05:30
Jiang Jiang Jian
59af9606e6
Merge branch 'bugfix/fix_scan_timeout_mr_4.3' into 'release/v4.3'
...
Fix the scan timeout report
See merge request espressif/esp-idf!14445
2021-07-27 07:42:37 +00:00
xiongweichao
a60a2892fb
components/bt: fix spp memory leak
...
Closes https://github.com/espressif/esp-idf/issues/7238
2021-07-27 14:26:22 +08:00
Andrey Starodubtsev
b5b629c584
Fix couple of UART issues
...
- there was a small race in `uart_pattern_link_free`:
`rx_pattern_pos.data` was accessed for reading outside spinlock
- `uart_flush_input` enabled
`UART_INTR_RXFIFO_FULL|UART_INTR_RXFIFO_TOUT` intr mask on exit even
if these flags weren't set when function was called
Closes https://github.com/espressif/esp-idf/pull/7023
2021-07-27 10:50:05 +08:00
Armando
96de941a6e
spi_master: fix cmd test ci failure
2021-07-27 10:28:13 +08:00
Ivan Grokhotkov
7dc2e5e545
Merge branch 'bugfix/rtos_systick_cycle_time_error_dfs_v4.3' into 'release/v4.3'
...
backport v4.3: fix RTOS SysTick cycle time error caused by DFS
See merge request espressif/esp-idf!14494
2021-07-26 21:38:16 +00:00
David Čermák
4fd1479dc6
Merge branch 'bugfix/remove_unstable_network_tests_v4.3' into 'release/v4.3'
...
CI: Move mqtt publish tests from regular pipeline to weekend tests (v4.3)
See merge request espressif/esp-idf!14425
2021-07-26 17:02:51 +00:00
David Čermák
ebf1d15e54
Merge branch 'bugfix/esp_netif_dhcps_state_v4.3' into 'release/v4.3'
...
esp_netif: Fix dhcps state transitions (v4.3)
See merge request espressif/esp-idf!14423
2021-07-26 17:00:43 +00:00
Mahavir Jain
27e3447eea
Merge branch 'bugfix/read_ota_partition_required_output_arg_v4.3' into 'release/v4.3'
...
otatool: Fixes read_ota_partition cmd, required output arg (v4.3)
See merge request espressif/esp-idf!13672
2021-07-26 11:34:19 +00:00
Martin Vychodil
e9dc39730f
System/memprot: ESP32C3 IRAM section alignment fix (LD)
...
IRAM section didn't contain sufficient padding for possible CPU instruction prefetch,
ie instruction fetch could happen in DRAM section which is prohibited by the Memprot module.
This is fixed by adding 16B to the end of IRAM section in LD script (C3 CPU prefetch buffer depth is 4 words)
Closes IDF-3554
2021-07-25 12:39:48 +02:00
Alex Henrie
0cb48f2f2e
Fix memory leak on error path in register_select
...
And remove dead error handling code from unregister_select.
Closes https://github.com/espressif/esp-idf/pull/7296
2021-07-25 07:42:15 +05:30
Alex Henrie
afd3fc6d16
Fix memory leak on error path in http_header_set_format
2021-07-25 07:42:14 +05:30