yuanjm
fc8668a739
esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error
...
Closes https://github.com/espressif/esp-idf/issues/7361
2021-08-17 19:53:47 +08:00
lly
f6c3b51b13
ble_mesh: Update the SIG recommendations for CVE issues
2021-08-17 19:43:47 +08:00
David Cermak
9f17f586f4
esp_netif: Set default netif with lwip_netif
...
Make use of lwip_netif pointer for setting the default interface in lwip,
since the is a generic pointer used in I/O functions wheras the former is always the type.
More importantly the netif_handle could be set to another context ptr
used in I/O functions, as as for the SLIP netif.
This change fixes the issue of incorrect settings of a default interface
if any SLIP netif is involved.
Closes https://github.com/espressif/esp-idf/issues/7246
2021-08-17 19:10:49 +08:00
David Cermak
fc7e2d9e90
mdns: Add host test using linux target
2021-08-17 18:39:40 +08:00
David Cermak
09f10f326a
esp_netif: Add support for linux target as header only library
2021-08-17 18:39:40 +08:00
David Cermak
73dfe84bf2
mdns: Implement mdns_networking using BSD sockets
...
And use only if configured. By default we still use lwip raw (low-level) API
2021-08-17 18:39:40 +08:00
Chinmay Chhajed
f167a2a3d1
bt: Remove unused function esp_bt_get_mac.
...
Closes https://github.com/espressif/esp-idf/issues/7410
2021-08-17 15:07:51 +05:30
Ondrej Kosta
c0032dc9a6
Merge branch 'feature/LAN87xx_registers' into 'master'
...
phy_lan87xx: Extended Vendor Specific Registers definition
Closes IDFGH-5544
See merge request espressif/esp-idf!14679
2021-08-17 09:01:31 +00:00
David Čermák
367c7bc307
Merge branch 'bugfix/fix_ping_sock_return_error' into 'master'
...
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured
Closes IDFGH-5642
See merge request espressif/esp-idf!14664
2021-08-17 08:55:11 +00:00
Jiacheng Guo
986603cf07
mdns: add notification callback for async APIs
2021-08-17 16:53:37 +08:00
Jakob Hasse
b3271a51af
Merge branch 'bugfix/common_components_linux' into 'master'
...
[build system]: Fixed common requirement for Linux target
Closes IDF-3638
See merge request espressif/esp-idf!14743
2021-08-17 08:48:38 +00:00
Zim Kalinowski
ff56848a0e
revert dependency
...
integrating changes from upstream
2021-08-17 16:10:45 +08:00
Mahavir Jain
012c9e26a4
Merge branch 'fixes/secure_boot' into 'master'
...
secure_boot/esp32(s2,c3): Disable read protecting of efuses
See merge request espressif/esp-idf!14769
2021-08-17 05:05:00 +00:00
Jiang Jiang Jian
75a1942d5c
Merge branch 'bugfix/dual_core_pm_lock_issue' into 'master'
...
fix pm lock issue in dual core mode
Closes WIFI-3905
See merge request espressif/esp-idf!14552
2021-08-17 05:00:52 +00:00
Guo Jia Cheng
9b3b89017f
Merge branch 'bugfix/select-close-return' into 'master'
...
vfs: fix select return value when non-permanent fd closed
Closes IDFCI-612
See merge request espressif/esp-idf!14684
2021-08-17 02:58:20 +00:00
Wang Meng Yang
a77aaf296a
Merge branch 'bugfix/bt_spp_timer_collision' into 'master'
...
Fix timer collision in role switch
Closes IDFGH-5464
See merge request espressif/esp-idf!14575
2021-08-17 02:10:44 +00:00
Omar Chebib
32067f9b6b
Merge branch 'feature/freertos_snapshot_extraction' into 'master'
...
freertos: take tasks snapshot out of tasks.c source code
Closes IDF-3334
See merge request espressif/esp-idf!14675
2021-08-16 11:04:51 +00:00
xiongweichao
ba7252d2ea
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
2021-08-16 16:51:54 +08:00
Wang Meng Yang
bdd4b45f6a
Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value' into 'master'
...
component/bt: fix bluedroid host auto update PPCP attribute value
See merge request espressif/esp-idf!14746
2021-08-16 07:25:50 +00:00
Wang Meng Yang
3e4f147c26
Merge branch 'bugfix/btdm_ble_connection_will_crash_durning_erase_flash' into 'master'
...
component/bt: Fixed ble conn will crash durning erase flash
See merge request espressif/esp-idf!14794
2021-08-16 07:00:50 +00:00
Jiacheng Guo
f20fb57871
vfs: fix select return value when non-permanent fd closed
2021-08-16 10:49:31 +08:00
Omar Chebib
83c9e1b223
freertos: take tasks snapshot out of tasks.c source code
2021-08-16 10:29:36 +08:00
jincheng
a523dd3ede
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-08-16 08:54:37 +08:00
Michael (XIAO Xufeng)
a0d2efe1be
Merge branch 'bugfix/xmc_overerase' into 'master'
...
bootloader: add xmc spi_flash startup flow to improve reliability
See merge request espressif/esp-idf!13895
2021-08-13 15:27:48 +00:00
Alex Lisitsyn
5944433424
Merge branch 'bugfix/modbus_allow_master_slave_work_simultaneously' into 'master'
...
freemodbus: fix issues when modbus master and slave work simultaneously
fix slave destroy bug when master and slave init simultaneously
add additional timer group options for master (https://github.com/espressif/esp-idf/issues/4699 )
Closes IDF-3012 and IDFGH-2619
See merge request espressif/esp-idf!12961
2021-08-13 14:46:17 +00:00
Alex Lisitsyn
9693ef4918
freemodbus: fix issues when modbus master and slave work simultaneously
...
fix slave destroy bug when master and slave init simultaneously
add additional timer group options for master
fix master and slave use the same timer group index (https://github.com/espressif/esp-idf/issues/4699 )
2021-08-13 22:46:09 +08:00
xiewenxiang
2e5f44afa3
component/bt: Fixed ble conn will crash durning erase flash
2021-08-13 17:57:33 +08:00
Jakob Hasse
7029f0537e
[build system]: Fixed common requirement for Linux
2021-08-13 16:50:29 +08:00
Marius Vikhammer
53975c444c
Merge branch 'update_copyright_notice_esp_hw_support_5' into 'master'
...
esp_hw_support: update copyright notice 5
See merge request espressif/esp-idf!14729
2021-08-13 08:40:47 +00:00
Marius Vikhammer
465830312b
Merge branch 'update_copyright_notice_esp_hw_support_4' into 'master'
...
esp_hw_support: update copyright notice 4
See merge request espressif/esp-idf!14728
2021-08-13 08:40:15 +00:00
Sachin Parekh
f430e86c0f
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-08-13 13:41:59 +05:30
Jakob Hasse
8750034c19
Merge branch 'feature/hmac_s3' into 'master'
...
[esp_hw_support]: HMAC upstream support for S3
See merge request espressif/esp-idf!14629
2021-08-13 06:44:49 +00:00
Konstantin Kondrashov
92ce4a8054
Merge branch 'bugfix/unicore_systimer_generate_rtos_tick' into 'master'
...
freertos: Fix settings of systimer for SysTicks in case Unicore
Closes IDF-3692
See merge request espressif/esp-idf!14735
2021-08-13 04:12:28 +00:00
Jakob Hasse
1c3be690ed
[esp_hw_support]: HMAC upstream support for S3
2021-08-13 12:01:06 +08:00
Alex Lisitsyn
a20df743f1
Merge branch 'bugfix/modbus_fix_compiler_err_when_tcp_is_disabled' into 'master'
...
Bugfix/modbus fix compiler err when tcp is disabled
Closes IDFGH-5019 and IDFGH-5376
See merge request espressif/esp-idf!13010
2021-08-12 14:39:26 +00:00
Alex Lisitsyn
1aa7f27468
add compile time checks for MB_MASTER_TCP_ENABLED
...
Signed-off-by: AshUK <github.AshUK@outlook.com>
2021-08-12 22:39:21 +08:00
Alex Lisitsyn
5981aa9cc2
Merge branch 'bugfix/modbus_fix_invalid_error_handling_for_duplicate_param_key' into 'master'
...
freemodbus: fix invalid error handling for duplicate param_key
Closes IDFGH-5641
See merge request espressif/esp-idf!14715
2021-08-12 13:01:26 +00:00
Mahavir Jain
c511f23254
Merge branch 'fix/warning_in_wifi_prov_mgr' into 'master'
...
provisioning: fix wifi warning in wifi_prov_mgr application
Closes IDF-3682
See merge request espressif/esp-idf!14720
2021-08-12 12:05:28 +00:00
Roland Dobai
26bc4971ac
Merge branch 'bugfix/idf_size_wrong_memory_calculations' into 'master'
...
Tools: Fix memory calculations of idf_size.py
Closes IDF-3246 and IDF-2434
See merge request espressif/esp-idf!14347
2021-08-12 11:36:36 +00:00
Michael (XIAO Xufeng)
dd40123129
bootloader: add xmc spi_flash startup flow to improve reliability
2021-08-12 17:22:42 +08:00
Jiang Jiang Jian
eb1a66e7c9
Merge branch 'bugfix/pmf_bcast_deauth_fix' into 'master'
...
Fix some PMF and FTM issues
Closes WIFI-3987
See merge request espressif/esp-idf!14611
2021-08-12 09:00:27 +00:00
KonstantinKondrashov
263c10cee1
freertos: Fix settings of systimer for SysTicks in case Unicore
...
systimer was stopped because the option SYSTIMER_TIMER_UNIT1_CORE1_STALL_EN is set by default 1, it blocks counting.
For Unicore should be:
SYSTIMER_TIMER_UNIT1_CORE0_STALL_EN 1
SYSTIMER_TIMER_UNIT1_CORE1_STALL_EN 0
2021-08-12 12:30:52 +05:00
Omar Chebib
4e3f5573c4
uart: cleaner way of handling error in a critical section
...
Some critical sections have also been added, making the code more
symetric accross the similar functions.
Closes https://github.com/espressif/esp-idf/pull/6396
2021-08-12 10:52:16 +08:00
Luca Burelli
e41e67f2f1
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-08-12 10:52:16 +08:00
simon.chupin
294f9783fc
Tools: Fix memory calculations of idf_size.py
2021-08-11 17:51:51 +02:00
Shu Chen
48b98214ae
openthread: enable ot_cli on esp32h2
2021-08-11 17:51:50 +02:00
Michael (XIAO Xufeng)
064f12cb90
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-08-11 17:51:50 +02:00
Wang Meng Yang
6dbe0da178
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_master' into 'master'
...
Bugfix/fix deep sleep miss bug mr master
See merge request espressif/esp-idf!14734
2021-08-11 11:46:08 +00:00
Nachiket Kukade
09ab053ea1
esp_wifi: Fix some 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 bugs
2021-08-11 17:02:29 +05:30
Jiacheng Guo
76ec76c12c
mdns: add more mdns result attributes
2021-08-11 19:02:05 +08:00
Jiang Jiang Jian
b1c3ee71c5
Merge branch 'bugfix/wpa_supplicant_fixes' into 'master'
...
Merge wpa_supplicant github PRs
Closes IDFGH-5524, IDFGH-5510, IDFGH-5503, and IDFGH-5644
See merge request espressif/esp-idf!14636
2021-08-11 10:51:41 +00:00
Li Shuai
d3b5f97573
system: fix pm lock issue in dual core mode
2021-08-11 16:00:07 +08:00
Zim Kalinowski
32ee0bdb29
Merge branch 'refactor/move_mocks_to_tools' into 'master'
...
[mocks]: move mocks dir to tools/
Closes IDF-3675
See merge request espressif/esp-idf!14719
2021-08-11 06:27:19 +00:00
Yang Zhao
931da79804
1.Update the esp32 bt lib.The last update is still the old one,so update it again.
...
2.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:05:45 +08:00
Marius Vikhammer
85b107bf54
Merge branch 'bugfix/rename_ext_mem_bss_section' into 'master'
...
ld: rename .ext_ram.noinit to .ext_ram_noinit
See merge request espressif/esp-idf!14717
2021-08-11 05:51:00 +00:00
Chen Yi Qun
fbd25c3837
I2C: add conf_update for esp32c3 i2c
2021-08-11 13:39:07 +08:00
Cao Sen Miao
2f5c0355fe
I2C: Fix i2c write fake timeout and WDT triggered
2021-08-11 13:39:07 +08:00
Axel Lin
20d0891e1e
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 13:07:31 +08:00
Axel Lin
cd68b93e3b
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 13:07:31 +08:00
Axel Lin
2a5d5c02b4
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 13:07:31 +08:00
Axel Lin
e144a60206
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 13:07:31 +08:00
Harshit Malpani
baa2faa94b
provisioning: fix wifi warning in wifi_prov_mgr application
...
Scan configuration parameters should not modify in co-existence mode.
2021-08-11 09:54:37 +05:30
Li Shuai
de28280fd3
Merge branch 'bugfix/sleep_rtc_bus_isolate_issue' into 'master'
...
fix rtc register read error and add workaround for rtc bus isolate issue
Closes WIFI-3896
See merge request espressif/esp-idf!14721
2021-08-11 02:13:40 +00:00
Ondrej Kosta
a37e4b18c6
phy_lan87xx: extended Vendor Specific Registers definition
...
Extended Vendor Specific Registers definition to include definitions for LAN8740A/LAN8741A/LAN8742A
Closes https://github.com/espressif/esp-idf/pull/7269
2021-08-10 15:54:32 +02:00
morris
6fdc5877cd
lcd: support i80 LCD on esp32/s2/s3
2021-08-10 21:06:59 +08:00
morris
3bcd9278fa
i2s: expose resource object to other component
2021-08-10 21:06:59 +08:00
morris
1656cee69d
i2s: correct soc info
...
1. remove non-exist I2S instance
2. update soc_caps.h, i2s_ll.h
2021-08-10 21:06:59 +08:00
Jan Brudný
5195b6a237
esp_hw_support: update copyright notice 5
2021-08-10 13:32:08 +02:00
Jan Brudný
f51e20d814
esp_hw_support: update copyright notice 4
2021-08-10 13:31:53 +02:00
Jan Brudný
7f50818a99
esp_hw_support: update copyright notice 3
2021-08-10 13:30:57 +02:00
Wang Meng Yang
189ccc5493
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_master' into 'master'
...
Fixed missing the sleep time
See merge request espressif/esp-idf!14550
2021-08-10 11:15:55 +00:00
Michael (XIAO Xufeng)
e37873f285
Merge branch 'bugfix/uart_driver_obj_into_sram' into 'master'
...
uart: put driver object into sram
Closes IDFGH-5281 and IDFGH-5634
See merge request espressif/esp-idf!13606
2021-08-10 09:35:36 +00:00
morris
56760c9669
pcnt: refactor hal driver
2021-08-10 17:19:21 +08:00
suda-morris
9920271c21
pcnt: update pcnt soc data for all targets
2021-08-10 17:19:21 +08:00
XieWenxiang
30ccfdb3b9
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-10 17:18:49 +08:00
Jakob Hasse
88eb4fa6a6
[mocks]: moved mocks dir to tools/
2021-08-10 14:45:42 +08:00
Li Shuai
a82f33c9b5
fix rtc register read error and add workaround for rtc bus isolate issue
2021-08-10 12:01:29 +08:00
Marius Vikhammer
6a2f7b6f88
ld: rename .ext_ram.noinit to .ext_ram_noinit
...
Older versions of the coredump utility tool do not correctly
handle this nameing scheme. Rename to keep forward compatibility.
2021-08-10 11:13:54 +08:00
Zim Kalinowski
afc77dbc5a
freertos: Sync safe changes from Amazon SMP branch
2021-08-10 05:13:43 +08:00
aleks
60ac95a6b2
freemodbus: fix invalid error handling for duplicate param_key
2021-08-09 14:32:22 +02:00
Roland Dobai
03b361c5a6
Merge branch 'update_copyright_notice_esp_hw_support_2' into 'master'
...
esp_hw_support: update copyright notice 2
See merge request espressif/esp-idf!14678
2021-08-09 07:50:26 +00:00
Wang Meng Yang
8652b1d576
Merge branch 'bugfix/btdm_esp32_ble_white_list_connection_fail' into 'master'
...
Fixed ESP32 BLE can't resolve the peer address when enable white list
See merge request espressif/esp-idf!14348
2021-08-09 06:46:08 +00:00
Yang Zhao
d1f4b74812
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-09 13:13:51 +08:00
Jakob Hasse
69ea35ffac
Merge branch 'feature/freertos_mock' into 'master'
...
[freertos] Freertos mock
See merge request espressif/esp-idf!14493
2021-08-09 02:52:55 +00:00
Marius Vikhammer
4b07fcca65
Merge branch 'bugfix/crypto_gdma_transfer_ability' into 'master'
...
aes/sha: change gdma transfer ability for sram to be 1 byte aligned
Closes IDF-3676
See merge request espressif/esp-idf!14665
2021-08-09 01:15:36 +00:00
Ivan Grokhotkov
95699a9260
Merge branch 'bugfix/libsodium_build_with_gnu_make' into 'master'
...
libsodium: fix build issues with GNU Make
Closes IDF-3673
See merge request espressif/esp-idf!14661
2021-08-08 07:20:02 +00:00
Mahavir Jain
83956ebbae
Merge branch 'feature/update_efuses_for_esp32s2' into 'master'
...
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
Closes IDF-3263
See merge request espressif/esp-idf!13644
2021-08-06 14:24:20 +00:00
Jiang Jiang Jian
6e1f8a68b9
Merge branch 'feature/support_esp32s3_wifi_lightsleep' into 'master'
...
support esp32s3 wifi lightsleep
Closes IDF-1781
See merge request espressif/esp-idf!14569
2021-08-06 12:51:46 +00:00
Roland Dobai
7384149780
Merge branch 'update_copyright_notice_esp32s2_esp32s3' into 'master'
...
esp32s2, esp32s3: update copyright notice
See merge request espressif/esp-idf!13831
2021-08-06 10:36:07 +00:00
Jakob Hasse
84d184bdb0
Merge branch 'bugfix/nvs_corrupted_storage_crashes_app' into 'master'
...
[NVS]: fix crashes from entry state 1
See merge request espressif/esp-idf!14548
2021-08-06 09:14:21 +00:00
Jakob Hasse
c9984faaef
[mocks]: freertos mock
...
[esp_event]: added preliminary host-based tests
2021-08-06 17:08:21 +08:00
Wang Fang
59aa60d52a
Merge branch 'docs/provide_apb_clock_frequency_in_api-reference_timers' into 'master'
...
docs: provide APB clock frequency in api-reference/timers
Closes DOC-1689
See merge request espressif/esp-idf!14593
2021-08-06 06:50:26 +00:00
Roland Dobai
9c934e87f3
Merge branch 'update_copyright_notice_esp_hw_support_1' into 'master'
...
esp_hw_support: update copyright notice
See merge request espressif/esp-idf!14677
2021-08-06 06:17:37 +00:00
morris
dbeb4bdb84
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-08-06 13:37:40 +08:00
morris
62d9109eb5
uart: format driver code by astyle
2021-08-06 13:36:57 +08:00
KonstantinKondrashov
3cf4fbc150
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
2021-08-06 13:14:54 +08:00
Mahavir Jain
7b5f731cce
Merge branch 'esp32c3/override_assert' into 'master'
...
newlib: Override __assert and __assert_func
Closes IDF-3196 and IDFGH-5473
See merge request espressif/esp-idf!13740
2021-08-06 05:02:00 +00:00
Michael (XIAO Xufeng)
18e681ce2f
Merge branch 'bugfix/spi_master_crash_cache_disabled' into 'master'
...
spi_master: fix the crash when using interrupt mode when cache is disabled
Closes IDFGH-4992
See merge request espressif/esp-idf!14660
2021-08-06 03:37:26 +00:00
Wang Fang
0ba73ee7e2
docs: provide APB clock frequency in api-reference/timers
2021-08-06 11:05:32 +08:00
Wang Meng Yang
8fc30ece07
Merge branch 'component_bt/add_spp_faq' into 'master'
...
Component_bt/Add FAQ in SPP Demo README
Closes FCS-611
See merge request espressif/esp-idf!12586
2021-08-06 02:28:14 +00:00
Jan Brudný
83bd078eb4
esp_hw_support: update copyright notice
2021-08-05 17:38:43 +02:00
Jan Brudný
db41f2efdd
esp_hw_support: update copyright notice
2021-08-05 16:30:10 +02:00
Jan Brudný
7fa88a49d4
esp32s2: update copyright notice in signature test
2021-08-05 15:01:26 +02:00
Jan Brudný
562ce4d009
esp32s2, esp32s3: update copyright notice
2021-08-05 15:01:26 +02:00
SalimTerryLi
e5ddc12a08
MCPWM/capture: API workflow optimization
...
deprecate isr_register to introduce new callback based API, with framework managed interrupt routine
new HC-SR04 example
2021-08-05 19:12:58 +08:00
xiewenxiang
95c35288bc
component/bt: add local irk to controller
2021-08-05 17:32:08 +08:00
Jakob Hasse
9bb2fc2afd
Merge branch 'feature/esp_common_linux_in_host_tests' into 'master'
...
[nvs]: use real esp_common on host tests
See merge request espressif/esp-idf!14408
2021-08-05 08:31:21 +00:00
Sachin Parekh
6582f7070e
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-08-05 11:09:22 +05:30
Sachin Parekh
41973b761e
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-08-05 11:09:22 +05:30
Konstantin Kondrashov
1e8d1344a1
Merge branch 'feature/doc_sbv2_key_not_read_protected' into 'master'
...
secure_boot_v2(doc): secure_boot_v2 key/s must be readable
See merge request espressif/esp-idf!14619
2021-08-05 05:20:36 +00:00
Mahavir Jain
a2111ce2b5
libsodium: fix source directory names to address build issues with Make
2021-08-05 12:28:09 +08:00
Michael (XIAO Xufeng)
947980ecac
Merge branch 'bugfix/uart_set_pin_use_iomux' into 'master'
...
uart: uart_set_pin function will now use IOMUX whenever possible
Closes IDF-3183
See merge request espressif/esp-idf!14318
2021-08-05 04:17:29 +00:00
Michael (XIAO Xufeng)
de0f24e373
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-05 12:04:39 +08:00
Marius Vikhammer
bf21cf0c99
aes/sha: change gdma transfer ability for sram to be 1 byte aligned
...
Previously GDMA transfer ability was set to 4 bytes, but buffers might
be not fulfill these requirements
2021-08-05 11:02:17 +08:00
yuanjm
e9dab3203e
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-05 10:38:38 +08:00
xiewenxiang
1cc0f6aac5
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-08-04 22:00:38 +08:00
Li Shuai
df93733e56
light sleep: wifi sleep parameter optimize for esp32s3
2021-08-04 21:58:35 +08:00
Li Shuai
d73a09cd8b
light sleep: add wifi mac sleep support for esp32s3
2021-08-04 21:58:33 +08:00
Li Shuai
366d0a724a
light sleep: set wifi light sleep clock source to rtc slow clock
2021-08-04 21:31:47 +08:00
Li Shuai
e3c13f8770
light sleep: diable phy tsens for esp32s3
2021-08-04 21:31:47 +08:00
liqigan
d8023ba09c
add FAQ in SPP demo README
2021-08-04 20:49:51 +08:00
Zim Kalinowski
1fd56e0b87
Merge branch 'feature/systimer_generate_rtos_tick' into 'master'
...
freertos(esp32s3): SysTick uses systimer
Closes IDF-2613
See merge request espressif/esp-idf!12246
2021-08-04 12:33:52 +00:00
Konstantin Kondrashov
29f581fc70
freertos(esp32s3): SysTick uses systimer
2021-08-04 20:33:44 +08:00
Mahavir Jain
77900888f7
Merge branch 'bugfix/uninitialized_tasknumber' into 'master'
...
fix(FreeRTOS): Initialize uxTaskNumber at task initialization
Closes IDFGH-1815
See merge request espressif/esp-idf!14620
2021-08-04 12:12:08 +00:00
KonstantinKondrashov
93512edc7a
secure_boot_v2(doc): secure_boot_v2 key/s must be readable
2021-08-04 15:39:48 +05:00
Mahavir Jain
0b655470c3
Merge branch 'feature/add_http_event_error' into 'master'
...
esp_http_client: Support HTTP_EVENT_ERROR event
Closes IDFGH-5557
See merge request espressif/esp-idf!14491
2021-08-04 09:12:57 +00:00
Konstantin Kondrashov
f00c204fbc
Merge branch 'feature/adds_custom_mac_address' into 'master'
...
efuse: Add CUSTOM_MAC address for ESP32-C3/-S2/-S3/-H2
Closes IDF-1326
See merge request espressif/esp-idf!14417
2021-08-04 06:35:29 +00:00
Kevin (Lao Kaiyao)
8131d6f46d
Merge branch 'feature/esp32s3_i2s_support' into 'master'
...
Feature(I2S): Support esp32s3 & esp32c3 I2S driver
Closes IDF-1769, IDF-2098, IDF-3271, IDF-2337, and IDF-3463
See merge request espressif/esp-idf!10655
2021-08-04 06:08:09 +00:00
Omar Chebib
779e7400b0
uart: uart_set_pin function will now use IOMUX whenever possible
...
By using IOMUX instead of GPIO Matrix for UART, it is now possible
on ESP32 boards to use the UART as a wake up source even if it is
not used as a console.
For other boards where this issue was not present, using IOMUX has
the advantage to be faster than using GPIO matrix, so a highest
baudrate can be used
2021-08-04 12:48:30 +08:00
Armando (Dou Yiwen)
03fb3973a2
Merge branch 'feature/support_quad_flash_octal_psram_on_esp32s3' into 'master'
...
mspi: support up-to-80MHz quad flash & up-to-80MHz octal psram on esp32s3
Closes IDF-3603
See merge request espressif/esp-idf!14346
2021-08-04 03:57:16 +00:00
laokaiyao
f863998e90
driver/i2s: support mclk
2021-08-04 10:20:03 +08:00
laokaiyao
3c57a6ac36
driver/i2s: refactor ll and hal
2021-08-04 10:20:03 +08:00
laokaiyao
d51b85989b
doc/i2s: update i2s programming guide on s3 & c3
2021-08-04 10:20:03 +08:00
laokaiyao
f7f8c9c11f
driver/i2s: support i2s on c3 and s3
...
1. Support i2s on esp32c3 and esp32s3
2. Refactor i2s_config_t to avoid breaking change
2. Fix a bug that receiving unavailable values from message queue when dma queue has been re-allocted
4. Support i2s unit test on esp32c3 and esp32s3
2021-08-04 10:20:03 +08:00
houwenxiang
2f1247e1c4
driver: support I2S on ESP32-S3 & ESP32-C3
...
1. refactor I2S driver.
2. support TDM mode for esp2s3 & esp32c3.
2021-08-04 10:20:03 +08:00
Jakob Hasse
0b86f81847
[nvs]: use real esp_common on host tests
2021-08-03 19:47:17 +08:00
Zim Kalinowski
b5f9149399
Merge branch 'feature/rom_linux' into 'master'
...
[rom] linux implementation for major utility functions
See merge request espressif/esp-idf!13902
2021-08-03 10:58:38 +00:00
Armando
2b52f7f696
mspi: fix no buffer reset before each psram read issue
...
In psram timing tuning driver, we rely on psram read and write functions
defined in `spi_timing_config.c`. If we don't do buffer reset (clear to
0), the function may untouch the buffer, which will keep last time value
(since we reuse the buffer). Therefore, if the first read is expected,
but next few reads didn't modify the buffer content, we will still see
the expected data.
These functions relies on `esp_rom_opiflash_exec_cmd`.
2021-08-03 16:54:01 +08:00
Armando
3cbf202267
mspi: cancel oct flash 40m dtr, oct flash 80m str, oct psram 40m tuning
2021-08-03 16:54:01 +08:00
Armando
038b7b1fa9
mspi: update 80MHz DTR tuning algorithm and Oct PSRAM 80M DTR tuning parameters
2021-08-03 16:54:00 +08:00
Armando
0f91a01a46
mspi: support up-to-80MHz quad flash & up-to-80MHz octal psram on esp32s3
2021-08-03 16:54:00 +08:00
Zim Kalinowski
72769c8323
Merge branch 'feature/ipc_using_isr_call' into 'master'
...
esp_ipc: Add API for IPC to run small pieces of code on the other CPU
Closes IDF-450 and IDF-2261
See merge request espressif/esp-idf!6705
2021-08-03 06:35:38 +00:00
Konstantin Kondrashov
4972605b16
esp_common: Add API for IPC to run small pieces of code on the other CPU, in the context of the level 4 interrupt
2021-08-03 14:35:29 +08:00
Gautier Seidel
5a5e710225
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-08-03 10:42:09 +05:30
morris
5f318e902d
Merge branch 'bugfix/mcpwm-deadtime-preset-config' into 'master'
...
bugfix/mcpwm: fix deadtime module preset config (AHC, ALC, AH, AL)
Closes IDFGH-5600
See merge request espressif/esp-idf!14594
2021-08-03 04:22:20 +00:00
Jakob Hasse
4dd88329c1
[esp_rom]: Partially buildable for linux
...
The following files have been ported:
* esp_rom_crc.h
* esp_rom_sys.h
* esp_rom_efuse.h (mostly no-ops)
* esp_rom_md5.h
Integrated Linux-based rom implementation into log
and NVS component.
Added brief host tests for ROM to ensure basic
consistency on Linux.
Added ROM printf host unit tests.
Temporarily added reset reason for Linux in ROM.
2021-08-03 12:03:24 +08:00
Guo Jia Cheng
b8c2825b21
Merge branch 'bugfix/mdns-null-hostname' into 'master'
...
mdns: fix crash when adding services without hostname set
Closes WIFI-3964
See merge request espressif/esp-idf!14519
2021-08-03 02:47:36 +00:00
SalimTerryLi
32ca6ab65d
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition
...
Closes https://github.com/espressif/esp-idf/issues/7321
2021-08-03 10:12:42 +08:00
Marius Vikhammer
baf0b7cdf5
uart: fix typo in error message
...
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:18:21 +08:00
KonstantinKondrashov
40c360a096
efuse: Add CUSTOM_MAC address for ESP32-C3/-S2/-S3/-H2
2021-08-02 14:43:27 +05:00
Song Ruo Jing
5d82d7c6ee
Merge branch 'typo_fix/fix-length-typo' into 'master'
...
docs: Fix length typo
Closes IDFGH-5272
See merge request espressif/esp-idf!14371
2021-08-02 09:35:15 +00:00
Shubham Kulkarni
3244f9b894
Merge branch 'feature/get_partition_count' into 'master'
...
app_update: Expose API to get OTA partition count
Closes IDFGH-5591
See merge request espressif/esp-idf!14596
2021-08-02 09:12:58 +00:00
Marius Vikhammer
a0c548ccd4
Merge branch 'bugfix/coredump_elf_py_section' into 'master'
...
coredump: fix section name parsing in python utility
See merge request espressif/esp-idf!14597
2021-08-02 07:26:47 +00:00
yuanjm
981287900e
esp_http_client: Support HTTP_EVENT_ERROR event
...
Closes https://github.com/espressif/esp-idf/issues/7280
2021-08-02 14:33:50 +08:00
Marius Vikhammer
8b259d15f6
coredump: fix section name parsing in python utility
...
elf.py assumed every section header name had its own string in
shstrtab, but multiple sections may reuse the same substring with
different offsets.
2021-08-02 13:15:30 +08:00
Shubham Kulkarni
c7361327be
app_update: Expose get_ota_partition_count in header file
...
Closes: https://github.com/espressif/esp-idf/issues/7313
2021-08-02 10:12:46 +05:30
Cao Sen Miao
247866261f
Merge branch 'feature/flash_support_on_esp32s3' into 'master'
...
esp_flash: bringup ext flash chip on ESP32-S3
Closes IDF-2021 and IDF-3230
See merge request espressif/esp-idf!14523
2021-08-02 03:59:14 +00:00
Zim Kalinowski
a5a131825f
Merge branch 'bugfix/btdm_ble_delete_unused_variables' into 'master'
...
Remove unused 'yy' variables
Closes IDFGH-5586
See merge request espressif/esp-idf!14582
2021-08-02 00:46:17 +00:00
Emil Muratov
34be62665c
lwip: menuconfig option to enable ntp servers option request via DHCP
...
This could be toggled on/off, off is the default.
SNTP debug option. Example update for ntp via DHCP
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-08-02 01:21:35 +03:00
Michael (XIAO Xufeng)
f7a7cc1014
Merge branch 'fix/sdio_slave_recv_intr_unhandled' into 'master'
...
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled
See merge request espressif/esp-idf!11399
2021-08-01 07:37:56 +00:00
Jiang Jiang Jian
5578909ffb
Merge branch 'bugfix/fix_80211_tx_issue' into 'master'
...
esp_wifi: support config 80211 tx rate
Closes IDFGH-5526
See merge request espressif/esp-idf!14340
2021-07-31 13:12:37 +00:00
Cao Sen Miao
5083ff5922
Merge branch 'feature/usb_serial_jtag_support_s3' into 'master'
...
usb_serial_jtag: enable blocking implementation on esp32s3(console)
Closes IDF-3635
See merge request espressif/esp-idf!14581
2021-07-31 11:27:09 +00:00
ChenJianxing
9e7d75cb95
esp_wifi: fix some wifi bugs
...
1. support config 80211 tx rate
2. fix 80211 tx crash issue
3. disable ampdu+amsdu bit
2021-07-31 18:02:20 +08:00
Armando (Dou Yiwen)
0dad76329f
Merge branch 'feature/support_noinit_section_in_psram_on_esp32' into 'master'
...
memory: support noinit section in psram on esp32
Closes IDFGH-2621
See merge request espressif/esp-idf!14088
2021-07-31 09:58:59 +00:00
Michael (XIAO Xufeng)
f26006a3bc
Merge branch 'feature/ledc_fade_callback' into 'master'
...
ledc: Add a callback for LEDC fade end
Closes IDF-2475 and IDF-3222
See merge request espressif/esp-idf!14302
2021-07-31 08:52:00 +00:00
Cao Sen Miao
24529a6aec
usb_serial_jtag: enable blocking implementation on esp32s3
2021-07-31 16:32:09 +08:00
Cao Sen Miao
992de2750e
spi_flash: add support for ext flash
2021-07-31 14:11:35 +08:00
Wu Zheng Hui
fb7894382b
Merge branch 'bugfix/fix_c3_bootloader_ld_addr_err' into 'master'
...
update c3 bootloader ld rom addr info
See merge request espressif/esp-idf!14168
2021-07-31 05:43:58 +00:00
Armando (Dou Yiwen)
ed741a5d96
Merge branch 'bugfix/fix_adc_single_with_pm_lock_build_bug' into 'master'
...
adc: make adc single api only build pm lock on s2
See merge request espressif/esp-idf!14567
2021-07-31 05:32:34 +00:00
morris
9506819df0
Merge branch 'feature/mcpwm_expose_low_level_api' into 'master'
...
mcpwm: expose API for accessing timer resolution
Closes IDFGH-2398
See merge request espressif/esp-idf!14444
2021-07-31 04:12:08 +00:00
Armando
65aa737b15
esp_common: add a case to test EXT_RAM_ATTR attribute
2021-07-31 11:02:13 +08:00
Jiang Jiang Jian
aebdaf08a6
Merge branch 'bugfix/esp32s3_app_core_clock_gate_invalid_issue' into 'master'
...
fix app cpu core clock gate invalid issue
Closes WIFI-3899
See merge request espressif/esp-idf!14518
2021-07-31 03:00:58 +00:00
Jiang Jiang Jian
72b7932e12
Merge branch 'mesh/non_mesh_connections_access' into 'master'
...
esp_wifi_mesh: add non mesh connections access
See merge request espressif/esp-idf!11779
2021-07-31 02:51:47 +00:00
shenjun
42a1be10db
esp_wifi_mesh: add non mesh connections access
2021-07-30 22:17:30 +08:00
SalimTerryLi
f4314af913
MCPWM: expose API to set timer resolution
...
Closes https://github.com/espressif/esp-idf/issues/1101
2021-07-30 18:52:17 +08:00
Jakob Hasse
de6b54de66
[nvs_flash]: Entries with state == 1 don't crash
2021-07-30 18:33:27 +08:00
morris
36cd038526
Merge branch 'feature/rgb_lcd_fb_in_psram' into 'master'
...
RGB_LCD: support frame buffer in PSRAM
Closes IDF-3565
See merge request espressif/esp-idf!14555
2021-07-30 09:09:32 +00:00
Shubham Kulkarni
1871b35df0
Merge branch 'feature/get_cookie_helpers' into 'master'
...
esp_http_server: Add function to get Cookie value from request
Closes IDFGH-5548
See merge request espressif/esp-idf!14406
2021-07-30 08:00:06 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
b421ce2b00
Remove unused 'yy' variables
2021-07-30 15:59:06 +08:00
Patryk Krzywdziński
f43e9cdaa7
http: Function to get Cookie value from request.
...
Closes https://github.com/espressif/esp-idf/pull/7273
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-07-30 13:23:25 +08:00
morris
dc1d14a37f
lcd: support putting RGB frame buffer in PSRAM
2021-07-30 11:23:26 +08:00
morris
21067a0455
spiram: add getter function to check psram initialization state
2021-07-30 11:23:26 +08:00
morris
6352a7ee07
lcd_cam: new csv header file
2021-07-30 11:23:26 +08:00
muhaidong
b54c2732fc
esp_wifi: fix nvs init status issue
2021-07-30 11:13:27 +08:00
Armando
23eb723daf
adc: make adc single api only build pm lock on s2
...
Since ADC single read API only uses polling mode, we don't need to add
pm lock in it.
2021-07-30 10:16:24 +08:00
morris
befe40000c
Merge branch 'bugfix/uart_ll_update' into 'master'
...
uart: update ll layer with new register
See merge request espressif/esp-idf!14576
2021-07-29 12:45:58 +00:00
morris
f907009056
Merge branch 'refactor/cleanup_mcpwm_examples' into 'master'
...
mcpwm: more clean up (example + LL + doc)
Closes IDF-3295
See merge request espressif/esp-idf!12798
2021-07-29 10:41:07 +00:00
Cao Sen Miao
26c808610c
uart: update ll layer with new register
2021-07-29 18:01:48 +08:00
songruojing
9d098cc9bd
ledc: Add a callback for LEDC fade end
...
This commit adds a feature where users can register a callback that is
called when an LEDC fade completes.
2021-07-29 17:56:22 +08:00
Armando (Dou Yiwen)
3c3e802048
Merge branch 'feature/essp_spi_driver' into 'master'
...
spi: essl spi driver and spi_slv_hd append mode example
Closes IDF-1698, IDF-2279, and IDF-2932
See merge request espressif/esp-idf!12104
2021-07-29 09:53:10 +00:00
Alex Lisitsyn
ea40a59d31
Merge branch 'bugfix/freemodbus_fix_pvs_studio_auto_merge_issues' into 'master'
...
freemodbus: PVS-studio fix potential loss of significant bits and auto merge issues
Closes IDF-2732
See merge request espressif/esp-idf!12334
2021-07-29 08:00:24 +00:00
Cao Sen Miao
4fda093c00
Merge branch 'feature/add_official_support_for_gd' into 'master'
...
spi_flash(bootloader): adjust unlock patch from rom patch into bootloader, and add support for GD chips
Closes IDF-3124
See merge request espressif/esp-idf!13467
2021-07-29 07:42:21 +00:00
Michael (XIAO Xufeng)
5569dedd7f
Merge branch 'bugfix/i2c_example_esp32s3' into 'master'
...
i2c: bringup on ESP32-S3
Closes IDF-3232 and IDF-3292
See merge request espressif/esp-idf!13985
2021-07-29 07:01:38 +00:00
Ato Araki
aea865b360
Fix length typo
...
Closes https://github.com/espressif/esp-idf/pull/7037
2021-07-29 14:44:43 +08:00
aleks
9457555173
freemodbus: potential loss of significant bits and auto merge issues
2021-07-29 13:33:42 +08:00
Mahavir Jain
8a51fb0361
Merge branch 'feature/mbedtls_guomi' into 'master'
...
mbedtls: Provision for GM/T SSL 1.1 support under config option
Closes IDF-2977
See merge request espressif/esp-idf!12532
2021-07-29 04:49:08 +00:00
Armando (Dou Yiwen)
30056c0116
Merge branch 'bugfix/spi_master_clear_error_fifo_status' into 'master'
...
spi_master: clear error fifo status before transaction starts
Closes IDF-3457 and IDF-3501
See merge request espressif/esp-idf!14210
2021-07-29 04:03:19 +00:00
Mahavir Jain
111cb10e54
Merge branch 'bugfix/freertos_function_name_typo' into 'master'
...
doc: freertos: fix function name typo
Closes IDFGH-5539
See merge request espressif/esp-idf!14538
2021-07-29 04:00:15 +00:00
Cao Sen Miao
c29b3e2e36
spi_flash: move the unlock patch to bootloader and add support for GD
2021-07-29 10:46:33 +08:00
Jiacheng Guo
5e98772eaf
mdns: fix crash when adding services without hostname set
2021-07-29 10:45:10 +08:00