morris
be36c9ae36
tinyusb: const in_buf of tinyusb_cdcacm_write_queue
2021-08-25 14:43:46 +08:00
Guo Jia Cheng
e5766eb3d3
Merge branch 'feature/mdns-async-callback' into 'master'
...
mdns: add notification callback for async APIs
See merge request espressif/esp-idf!14760
2021-08-25 03:34:00 +00:00
wuzhenghui
6ab495b4dc
esp32h2: chip env support
...
brownout init fixed
2021-08-25 11:02:47 +08:00
Marius Vikhammer
3907634d20
aes: fix potential unaligned access of buffers
...
https://github.com/espressif/esp-idf/issues/7236
2021-08-25 10:48:26 +08:00
David Cermak
e54523708d
Merge branch 'master' into feature/lwip_sntp_max_servers
2021-08-24 18:16:07 +02:00
Darian Leung
accbaee57c
Add USB Host Library
...
This commit adds the preliminary version of the USB Host Library. This commit contains:
- USBH (USB Host Driver)
- Hub Driver that only supports a single device and device enumeration
- USB Host Library (asychronous API)
- Test cases for USB Host Library asychronous API
The following changes were made to the existing HCD:
- Removed HCD_PIPE_STATE_INVALID. Pipes are no longer invalidated
- Changed pipe commands to halt, flush, and clear. Pipes need to be manually
halted, flush, and cleared.
- Halting and flushing a pipe will execute the pipe callback if it causes a
HCD_PIPE_EVENT_URB_DONE event
2021-08-24 23:28:00 +08:00
Ondrej Kosta
ef30384902
esp_eth: add support for multiple Ethernets modules at a time
...
Ethernet driver events properly bounded with ESP NETIF actions to support multiple Ethernet modules used at a time.
Components using Ethernet updated to conform with new API.
Closes https://github.com/espressif/esp-idf/issues/7318
2021-08-24 17:10:36 +02:00
Dmitry
fdb9edd8c6
Bugfix enable console RX UART for gdbstub for runtime mode only.
2021-08-24 12:19:21 +03:00
Cao Sen Miao
da12db2904
Merge branch 'bugfix/c3_i2c_timeout' into 'master'
...
I2C: Fix i2c write randomly timeout and WDT triggered
See merge request espressif/esp-idf!14722
2021-08-24 08:59:22 +00:00
morris
0dbe872542
mcpwm: bldc hall example
2021-08-24 15:38:46 +08:00
morris
3bfd8f5d5f
mcpwm: update register file according to TRM
2021-08-24 15:38:46 +08:00
Konstantin Kondrashov
fb7b40b2c2
Merge branch 'bugfix/update_espefuse_fixes_execute_scripts' into 'master'
...
esptool/espefuse: Fixes execute_scripts, it should call BURN once at the end
See merge request espressif/esp-idf!14904
2021-08-24 07:33:59 +00:00
Li Shuai
15fc449793
light sleep: separate sleep retention function
2021-08-24 11:54:47 +08:00
liaowenhao
124169a7dd
bugfix acl doesn't disconnect when hfp_client disconnect
2021-08-24 10:53:25 +08:00
Marius Vikhammer
f38875cbd1
Merge branch 'bugfix/race_condition_in_ipc_task' into 'master'
...
bugfix/race condition in ipc task
See merge request espressif/esp-idf!14914
2021-08-24 00:14:47 +00:00
Ivan Grokhotkov
9a3f99949f
Merge branch 'bugfix/strict_data_partition_alignment' into 'master'
...
partition_table: warn if data partition offset is not 4kB aligned
Closes IDFGH-5572 and IDFGH-5630
See merge request espressif/esp-idf!14902
2021-08-23 17:31:57 +00:00
David Čermák
756cc4f8dc
Merge branch 'bugfix/esp_sntp_declare' into 'master'
...
lw-ip: Fix sntp custom options if sntp_get_system_time used
Closes FCS-710
See merge request espressif/esp-idf!14556
2021-08-23 15:11:26 +00:00
Erhan Kurubas
b3c3791152
esp_ipc: fix race condition in ipc task
2021-08-23 17:17:19 +03:00
David Cermak
457d837b40
lwip: Fix sntp custom options if sntp_get_system_time used
2021-08-23 11:47:44 +02:00
Guo Jia Cheng
139bf4af64
Merge branch 'feature/add-mdns-result-attributes' into 'master'
...
mdns: add more mdns result attributes
See merge request espressif/esp-idf!14674
2021-08-23 09:28:19 +00:00
Ivan Grokhotkov
6cf25ce43f
Merge branch 'doc/size_opt_vfs' into 'master'
...
docs: describe code size optimizations possible in VFS component
See merge request espressif/esp-idf!14783
2021-08-23 07:32:14 +00:00
David Cermak
3c6efbe5a5
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
2021-08-23 09:20:12 +02:00
KonstantinKondrashov
03baf4f8be
espefuse: Fixes execute_scripts, it should call BURN once at the end
2021-08-23 12:19:32 +05:00
Mahavir Jain
b2c1f6c719
Merge branch 'bugfix/fix_disable_https_client_build_error' into 'master'
...
esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error
Closes IDFGH-5640
See merge request espressif/esp-idf!14833
2021-08-23 06:30:46 +00:00
Ivan Grokhotkov
b56c9aafe4
partition_table: warn if data partition offset is not 4kB aligned
...
If a partition offset is not aligned to 4 kB, erase operations will
fail, even if they are aligned to 4 kB relative to the partition
start. This is because the underlying esp_flash_erase_range function
only works when the address is aligned to 4 kB.
Not making this an error for now, since applications might be using
read-only non-4kB aligned partitions, which still work fine.
Will change this behavior in IDF 5.0, requiring 4 kB alignment for all
partitions.
Closes https://github.com/espressif/esp-idf/issues/7295
Closes https://github.com/espressif/esp-idf/issues/7350
2021-08-23 08:09:28 +02:00
Ivan Grokhotkov
54595887f6
partition_table: gen_esp32part.py --secure applies to app partitions
...
...only. Previously this check was done for both app and data
partitions. While checking that data partition size is aligned is
a _good thing_, the check would only occur when secure boot was on.
2021-08-23 08:04:53 +02:00
Ivan Grokhotkov
2e83ac5a99
partition_table: don't print warnings to stdout
2021-08-23 08:01:41 +02:00
Ivan Grokhotkov
b7a4df9031
vfs: list IO functions which can be used with VFS_SUPPORT_IO disabled
2021-08-23 07:02:19 +02:00
Ivan Grokhotkov
a005e9bfbc
docs: move VFS documentation into the component directory
...
These files were added into the component directory back when we
didn't have the documentation directory, and weren't moved once the
documentation directory was created.
2021-08-23 07:02:19 +02:00
morris
0c41837b06
Merge branch 'refactor/timer_group-reg_file-update' into 'master'
...
refactor/timer_group update reg headers for c3 and s2
Closes IDF-3690
See merge request espressif/esp-idf!14761
2021-08-23 04:30:59 +00:00
Li Shuai
90a0a83c0f
light sleep: separate sleep wifi/bt mac bb function
2021-08-23 10:25:04 +08:00
Li Shuai
b0757dfcfa
light sleep: separate sleep gpio function
2021-08-23 10:22:12 +08:00
David Čermák
ab077df865
Merge branch 'feature/lwip_fstat' into 'master'
...
lw-ip: Add partial fstat vfs support to set st_mode
Closes IDFGH-5459
See merge request espressif/esp-idf!14854
2021-08-20 13:41:09 +00:00
Roland Dobai
98a6538877
Merge branch 'feature/gcov_dump_in_thread' into 'master'
...
gcov dump in a special thread
Closes OCD-216 and IDF-1034
See merge request espressif/esp-idf!13328
2021-08-20 10:22:58 +00:00
Shubham Kulkarni
13acc2a440
Merge branch 'bugfix/esp_https_ota_log' into 'master'
...
Fix log level in esp_https_ota (GitHub PR)
Closes IDFGH-5653
See merge request espressif/esp-idf!14860
2021-08-20 10:02:38 +00:00
Armando (Dou Yiwen)
3e172289b0
Merge branch 'feature/support_octal_flash_120m_str_mode_on_esp32s3' into 'master'
...
mspi: support octal flash 120MHz STR mode on esp32s3
Closes IDF-3146
See merge request espressif/esp-idf!14668
2021-08-20 08:40:02 +00:00
Erhan Kurubas
8fe5cdf646
ipc: enable ipc task at single core for gcov dump
2021-08-20 15:00:55 +08:00
Erhan Kurubas
2a5d0a041e
gcov: add stub table size entry
2021-08-20 15:00:55 +08:00
Erhan Kurubas
ca88b269ed
gcov: add gcov callback into the ipc task
2021-08-20 15:00:55 +08:00
Erhan Kurubas
984d1b401e
gcov: dump in a special thread
2021-08-20 15:00:55 +08:00
Erhan Kurubas
bbf919709f
gcov: added dbg stub capabilites and magic number entry to keep backward compatible
2021-08-20 15:00:55 +08:00
Mahavir Jain
85e1258178
Merge branch 'esp32s3/secure_boot' into 'master'
...
bootloader: Enable Secure boot V2 for ESP32-S3
Closes IDF-1787
See merge request espressif/esp-idf!14873
2021-08-20 06:44:19 +00:00
Alberto García Hierro
6deaefde69
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
2021-08-20 14:05:38 +08:00
morris
bb87fd8f08
Merge branch 'refactor/pcnt_driver_esp32s3' into 'master'
...
pcnt: soc update and hal refactor
See merge request espressif/esp-idf!14698
2021-08-20 04:23:15 +00:00
hiproz
69eb190310
esp_https_ota: change logs
...
1. add paired log for line393; 2. change log level to debug
Closes https://github.com/espressif/esp-idf/pull/7375
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-08-20 09:35:40 +05:30
David Cermak
07612b0854
vfs: Add initial lwip vfs test
...
to test fstat() implementation
2021-08-19 17:29:34 +02:00
David Cermak
d55ed5c11b
lwip: Add partial fstat vfs support to set st_mode
...
Closes https://github.com/espressif/esp-idf/issues/7198
2021-08-19 17:29:29 +02:00
Konstantin Kondrashov
c480afa70a
Merge branch 'bugfix/select_boot_app' into 'master'
...
partition_table: Fix case when a few similar to otadata partitions in the table
Closes IDFGH-5282
See merge request espressif/esp-idf!13953
2021-08-19 14:33:48 +00:00
Michael (XIAO Xufeng)
e5e36c899d
Merge branch 'bugfix/spi_flash_rom_corruption_execute_flash_cmd' into 'master'
...
spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command
See merge request espressif/esp-idf!14855
2021-08-19 13:48:10 +00:00
morris
29e7456f37
Merge branch 'feature/spi_master_support_8-line_mode' into 'master'
...
spi_master: support 8-line mode
Closes IDF-3354 and IDFGH-4553
See merge request espressif/esp-idf!14397
2021-08-19 13:19:34 +00:00
SalimTerryLi
443845fd54
timer_group: update reg headers for c3&s2&h2 and fix direct 8/16bit reg access
2021-08-19 18:56:32 +08:00
Michael (XIAO Xufeng)
7649db9712
draft: another patch..
2021-08-19 17:02:58 +08:00
morris
71d475149d
lcd: update doc unit test and example to support 8-line spi
2021-08-19 16:40:22 +08:00
bizhuangyang
8143832041
spi_master:support octal mode for esp32s2 and esp32s3
...
Add support for 8-line spi for lcd on esp32s2 and esp32s3
Closes https://github.com/espressif/esp-idf/issues/6371
2021-08-19 16:40:22 +08:00
Sachin Parekh
2d82560ed5
bootloader: Enable Secure boot V2 for ESP32-S3
2021-08-19 14:08:12 +05:30
ivmarkov
ee531c748a
lwip: Fix ICMP Ping on specific iface
...
Fix broken parentheses in setsockopt call
Merges https://github.com/espressif/esp-idf/pull/7397
2021-08-19 09:55:26 +02:00
Jakob Hasse
c81d45280e
Merge branch 'feature/change_spi_flash_mock_impl' into 'master'
...
Added spi_flash mocks
See merge request espressif/esp-idf!14235
2021-08-19 07:06:38 +00:00
Zim Kalinowski
dcff1baab5
Merge branch 'bugfix/fix_esp32s2_deep_sleep_timer_wake_up_fail' into 'master'
...
rtc: fix esp32s2 fall into sleep forever when deep-sleep time is set to 0
Closes IDF-2712
See merge request espressif/esp-idf!12438
2021-08-19 03:20:15 +00:00
Armando
d325f4d557
mspi: support octal flash 120M STR mode on esp32s3
2021-08-19 10:44:30 +08:00
Wang Meng Yang
29754cf8c0
Merge branch 'bugfix/esp32c3_check_if_allow_light_sleep' into 'master'
...
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
Closes BT-1877
See merge request espressif/esp-idf!14723
2021-08-19 00:18:53 +00:00
Wang Meng Yang
7df2a22faa
Merge branch 'bugfix/spp_memory_leak' into 'master'
...
Fix spp memory leak
Closes IDFGH-5508
See merge request espressif/esp-idf!14319
2021-08-19 00:12:51 +00:00
Michael (XIAO Xufeng)
8dcfa1b384
spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command
...
The user register, especially dummy related ones, needs to be restored, otherwise the ROM function will not work.
Introduced in dd40123129
.
2021-08-18 23:55:39 +08:00
xueyunfei
0d07569fff
optimization config option LWIP_TCPIP_CORE_LOCKING
2021-08-18 21:32:13 +08:00
morris
f40bbb01f2
Merge branch 'feature/i80_lcd_support_esp32s2' into 'master'
...
esp_lcd: lcd driver for esp32/esp32s2/esp32s3
Closes IDF-3144, IDF-3314, IDF-3315, and IDF-3316
See merge request espressif/esp-idf!13679
2021-08-18 07:55:06 +00:00
KonstantinKondrashov
9b654db032
partition_table: Fix case when a few similar to otadata partitions in the table
...
It was when in the partition table there is a partition with type="data" and suptype=""(empty),
in this case type=1, suptype=0. It is similar to otadata partition.
This commit fixes it, now it will handle it as type=1, suptype=6 (ESP_PARTITION_SUBTYPE_DATA_UNDEFINED).
2021-08-18 09:23:17 +05:00
Jakob Hasse
46e59e7194
[mocks]: moved already added spi_flash mocks
...
[nvs]: page test works with new overriden mock
[spi_flash]: Removed mocking code from CMake
* Renamed nvs test to be consistent with other
host test
2021-08-18 11:05:51 +08:00
liulinyan
f5a12f4900
Merge branch 'bugfix/ble_mesh_cve_recommendation' into 'master'
...
ble_mesh: Update the SIG recommendations for CVE issues
See merge request espressif/esp-idf!14832
2021-08-18 02:46:38 +00:00
David Čermák
d2fe8bfd15
Merge branch 'experimental/mdns_with_sockets' into 'master'
...
mdns: Add optional networking layer on BSD socket
Closes IDF-1849
See merge request espressif/esp-idf!9857
2021-08-17 14:12:30 +00:00
David Čermák
ca03e1f71a
Merge branch 'bugfix/esp_netif_set_default_lwip_handle' into 'master'
...
esp_netif: Set default netif with lwip_netif
Closes IDFGH-5517
See merge request espressif/esp-idf!14511
2021-08-17 13:23:30 +00:00
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
wuzhenghui
f913a10a22
update reset reason for c3/s3/h2
2021-08-13 17:45:53 +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
Armando
ad8e1a395c
memory: port SPIRAM noinit segment support to master
2021-07-29 10:28:39 +08:00
Devan Lai
a542f1b67d
esp32/test: add spiram noinit test case
2021-07-29 10:28:39 +08:00
Devan Lai
b85011c15f
esp32: Add support for noinit variables in SPIRAM
...
Add Kconfig option SPIRAM_ALLOW_NOINIT_EXTERNAL_MEMORY
When enabled, a new linker script rule (from esp32.extram.noinit.ld)
places any variables in the .ext_ram.noinit section in SPIRAM.
This section is exempted from the startup SPIRAM memory test and is
not zero-initialized or added to the malloc pool, making it usable
for noinit variables that persist across reset.
The EXT_RAM_NOINIT_ATTR macro places variables in this section.
2021-07-29 10:28:38 +08:00
Armando (Dou Yiwen)
47e1b41563
Merge branch 'bugfix/adc2_single_read0_with_wifi_on' into 'master'
...
ADC: support ADC2 single read while WifI is on
Closes IDFCI-353 and IDF-3454
See merge request espressif/esp-idf!14152
2021-07-29 02:25:36 +00:00
Ondrej Kosta
bf7b1689de
Merge branch 'feature/lan87xx_support' into 'master'
...
Feature/lan87xx support
Closes IDFGH-5345
See merge request espressif/esp-idf!14142
2021-07-28 16:27:58 +00:00
Roland Dobai
fb78f131cd
Merge branch 'feature/esptool_fpga_slow_boot_flag' into 'master'
...
Propagate FPGA env var to esptool
See merge request espressif/esp-idf!14516
2021-07-28 15:30:53 +00:00
Jiang Jiang Jian
97507ebe49
Merge branch 'feature/support_esp32s3_lightsleep' into 'master'
...
support esp32s3 normal lightsleep
See merge request espressif/esp-idf!14369
2021-07-28 15:09:37 +00:00
Michael (XIAO Xufeng)
58022f8599
Merge branch 'bugfix/esp_flash_erase_0' into 'master'
...
esp_flash: fix esp_flash_erase_region over-erase with 0 length (Github PR)
Closes IDFGH-5592
See merge request espressif/esp-idf!14498
2021-07-28 15:09:08 +00:00
Li Jingyi
b8892137f5
mbedtls: Add CONFIG_MBEDTLS_SSL_PROTO_GMTSSL1_1 for support GMSSL component
...
The configure will be enabled for GMSSL component and disabled as default because of it doesn't provide by IDF project.
2021-07-28 19:54:58 +08:00
Ondrej Kosta
404905d5f1
esp_eth: Add support to LAN87xx family
...
Merges/Related-to https://github.com/espressif/esp-idf/pull/7097
2021-07-28 19:34:05 +08:00
radim.karnis
702c075d93
Propagate FPGA env var to esptool
2021-07-28 19:07:37 +08:00
Craig Kewley
99e2f970c3
doc: freertos: fix function name typo
...
Closes https://github.com/espressif/esp-idf/pull/7265
Closes IDFGH-5539
2021-07-28 19:04:15 +08:00
Armando
99c30d32c7
essl: use esp_check in essp spi driver
2021-07-28 18:36:13 +08:00
Armando
aca2bd5fcf
essl: add essl spi support to communicate with spi slave hd mode
2021-07-28 18:36:13 +08:00
Armando
9063a7b7e3
test: add an SPI dual board test for master FD DMA single directions test
2021-07-28 17:51:25 +08:00
Armando
fd6173b9b7
spi_master: correctly reset spi afifos before DMA transaction starts
2021-07-28 17:51:25 +08:00
Armando
c4cc3bb895
adc: temporarily disable adc2 wifi test pending on s3 adc calibration
2021-07-28 17:50:15 +08:00
Armando
eab252456f
adc: refactor adc2 single read with wifi test
2021-07-28 17:50:14 +08:00
Armando
3ce2d85e9e
adc: support adc2 working with WiFi
2021-07-28 17:50:14 +08:00
Ivan Grokhotkov
69deaf528f
Merge branch 'bugfix/fix_espcoredump_test' into 'master'
...
espcoredump: Update expected output to fix test failures
See merge request espressif/esp-idf!14536
2021-07-28 08:40:20 +00:00
morris
a2ae856b4e
Merge branch 'refactor/esp_lcd_use_static_i2c_cmd_link' into 'master'
...
esp_lcd: use one-time allocated buffer for i2c cmd link
Closes IDF-3542
See merge request espressif/esp-idf!14320
2021-07-28 08:13:31 +00:00
Li Shuai
3c30099327
light sleep: add esp_timer light sleep test case
2021-07-28 15:44:02 +08:00
Li Shuai
d9aba74c0d
light sleep: certain peripherals are powered up in sleep
2021-07-28 15:41:52 +08:00
Li Shuai
5a3d2b1874
light sleep: modify some sleep params for esp32s3
2021-07-28 15:41:47 +08:00
SalimTerryLi
91a2074dd5
esp_lcd: one-time allcoated buffer for i2c_cmd_link_create_static & reduce duplicated code
2021-07-28 12:23:34 +08:00
Shubham Patil
2d2b066c01
espcoredump: Update expected output to fix test failures
2021-07-28 09:41:07 +05:30
Li Shuai
8a10ba4179
system: fix app cpu core clock gate invalid issue
2021-07-28 11:34:29 +08:00
He Yin Ling
2849f3bf44
Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
...
Test: add ethernet iperf example test case
Closes TCI-463
See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d
test: add ethernet iperf example test case
2021-07-28 09:39:02 +08:00
Emil Muratov
80810971c8
lwip menuconfig option for max number of SNTP servers
...
LWIP has two definess for setting max number of sntp servers:
- Total number of handled servers
- max number of sntp's picked via DHCP
by default both values are equal to 1, but could be set separately
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-07-27 22:38:36 +03:00
Shubham Patil
3e84e5e668
Merge branch 'bugfix/xtensa_extra_info_register_values' into 'master'
...
espcoredump.py: Parse EPS and EPC register values using register index
See merge request espressif/esp-idf!14448
2021-07-27 10:22:41 +00:00
Jiang Jiang Jian
4d7f356f04
Merge branch 'bugfix/bypass_supplicant_from_sonar' into 'master'
...
wpa_supplicant: bypass sonar checks for upstream code
See merge request espressif/esp-idf!13472
2021-07-27 06:14:17 +00:00
Michael (XIAO Xufeng)
18bee2380a
Merge branch 'refactor/usb_device_driver' into 'master'
...
tiny_usb: support on esp32-s3
Closes IDF-3234
See merge request espressif/esp-idf!14293
2021-07-26 16:21:55 +00:00
morris
88c87bfe56
mcpwm: update hal and soc naming
2021-07-26 22:32:45 +08:00
Mahavir Jain
0ad7d93122
Merge branch 'bugfix/esp32c3_wrong_iram_alignment' into 'master'
...
System/memprot: ESP32C3 IRAM section alignment fix (LD)
Closes IDF-3554
See merge request espressif/esp-idf!14393
2021-07-26 10:57:53 +00:00
Aditya Patwardhan
c69f0ec329
Merge branch 'fix/memory_leaks_identified_by_cppcheck' into 'master'
...
Fix/memory leaks identified by cppcheck
Closes IDFGH-5573
See merge request espressif/esp-idf!14497
2021-07-25 01:53:44 +00:00
Michael (XIAO Xufeng)
4d2bb1e7ec
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled
2021-07-24 22:29:15 +08:00
Ivan Grokhotkov
7534c4467f
rom, spi_flash: add a patch for esp_flash_erase_region for C3, S3, H2
2021-07-24 13:28:25 +02:00
Martin Vychodil
ce28af2dd4
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
* fix
2021-07-23 17:11:12 +02:00
Alex Henrie
d4ff9ab266
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-23 17:49:34 +05:30
Alex Henrie
5242e048d4
Fix memory leak on error path in http_header_set_format
2021-07-23 17:48:45 +05:30
Alex Henrie
b07ad7a08d
Fix memory leak on error path in md5_printf
2021-07-23 17:48:45 +05:30
Alex Henrie
f88a2f10c2
Fix memory leak on error path in esp_ds_start_sign
2021-07-23 17:48:45 +05:30
Ivan Grokhotkov
118fafef07
spi_flash: add test case for esp_flash_erase_region with 0 size
2021-07-23 14:14:57 +02:00
Li Hang Fan
61f79cbf9c
Merge branch 'refactor/move_ldscript_to_soc' into 'master'
...
refactor/soc: Move peripheral linker scripts out of target component
Closes IDF-3580
See merge request espressif/esp-idf!14474
2021-07-23 11:54:56 +00:00
Ivan Grokhotkov
32d4829fed
Merge branch 'bugfix/rtos_systick_cycle_time_error_dfs' into 'master'
...
fix RTOS SysTick cycle time error caused by DFS
See merge request espressif/esp-idf!14486
2021-07-23 10:59:50 +00:00
negativekelvin
8e6700c156
esp_flash_api fixes
2021-07-23 02:35:27 -07:00
Yuan Jian Min
30e9242f90
Merge branch 'bugfix/fix_http_client_fetch_header_error' into 'master'
...
esp_http_client: Fix when receive FIN, close the connection in internal.
Closes IDFGH-5271
See merge request espressif/esp-idf!14240
2021-07-23 08:59:37 +00:00
Hrishikesh Dhayagude
ab970ac0cf
Merge branch 'bugfix/bluedriod_esp32c3' into 'master'
...
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack
See merge request espressif/esp-idf!14124
2021-07-23 08:33:22 +00:00
yuanjm
02367b44ef
esp_http_client: Fix when receive FIN, close the connection in internal.
...
Closes https://github.com/espressif/esp-idf/issues/7036
2021-07-23 12:16:17 +08:00
Li Shuai
c460905fd9
fix RTOS SysTick cycle time error caused by DFS
2021-07-22 21:48:56 +08:00
Alex Lisitsyn
a573e9d3c8
Merge branch 'bugfix/modbus_add_task_affinity_and_callbacks' into 'master'
...
freemodbus: add affinity option for modbus stack tasks
freemodbus: change the default value of `FMB_TIMER_PORT_ENABLED` to disabled
Closes IDFGH-4907
See merge request espressif/esp-idf!12767
2021-07-22 09:12:56 +00:00
Konstantin Kondrashov
76a4340bf7
Merge branch 'bugfix/efuse_table_for_c3' into 'master'
...
efuse: Fix len of SOFT_DIS_JTAG for esp32c3 and esp32h2
Closes IDF-3577
See merge request espressif/esp-idf!14389
2021-07-22 08:47:34 +00:00
Li Shuai
ead49c7acf
Merge branch 'feature/support_esp32s3_gpio_sleep_iso' into 'master'
...
light sleep: add gpio isolate function at slept status for esp32s3
See merge request espressif/esp-idf!14370
2021-07-22 07:52:55 +00:00
Switi Mhaiske
99cce49299
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack
2021-07-22 15:37:46 +08:00
Michael (XIAO Xufeng)
fbb6b1b11a
Merge branch 'bugfix/fix_uart_reset_issue_on_esp32c3' into 'master'
...
bugfix(uart): reset uart0 core before uart apb reset
Closes IDF-3362
See merge request espressif/esp-idf!12749
2021-07-22 07:20:58 +00:00
morris
3277393670
Merge branch 'bugfix/s3_uart_reg_update' into 'master'
...
uart: S3 7.2.8 bringup
Closes IDF-3227 and IDF-3304
See merge request espressif/esp-idf!14009
2021-07-22 07:11:31 +00:00
Kapil Gupta
e667d1af2e
wpa_supplicant: bypass sonar checks for upstream code
2021-07-22 14:12:22 +08:00
aleks
dfcc434910
freemodbus: add affinity option for modbus stack tasks
...
Closes https://github.com/espressif/esp-idf/issues/6700
2021-07-22 13:15:24 +08:00
SalimTerryLi
2347e68e6b
soc: move peripheral linker scripts out of target component
2021-07-22 12:55:01 +08:00
Fu Hanxi
69650e0c18
Merge branch 'feature/espcoredump_test_refactor' into 'master'
...
Feature: espcoredump test refactor
See merge request espressif/esp-idf!13092
2021-07-22 04:35:58 +00:00
Marius Vikhammer
a29a6ceef0
uart: update register headers and examples for S3
2021-07-22 12:05:49 +08:00
Omar Chebib
74d939fd71
Merge branch 'feature/spi_keep_cs_low' into 'master'
...
SPI: chip select can now be kept active if the bus has been acquired
Closes IDF-3125
See merge request espressif/esp-idf!13546
2021-07-22 03:57:58 +00:00
morris
81448dcae8
tiny_usb: rename Kconfig name
...
1. Renamed Kconfig file of tinyusb (distinguish tinyusb stack from usb
peripheral)
2. bugfix/typofix/doc update of tinyusb
2021-07-22 10:43:10 +08:00
morris
2218204aa7
doc: update tinyusb document to support esp32s3
...
1. Renamed SOC_USB_SUPPORTED to SOC_USB_OTG_SUPPORTED for the reason of
another USB related peripheral: USB_JTAG_SERIAL
2. correct related document
2021-07-22 10:43:10 +08:00
morris
42f3bca5a1
usb: update LL to support PHY selection
...
ESP32-S3 has two USB peripheral, one is USB_OTG, another is
USB_JTAG_SERIAL
A new mux has been introduced to select internal/external PHY interface.
2021-07-22 10:40:08 +08:00
Fu Hanxi
12f0b55ca9
test(coredump): refactor coredump test and add esp32s2/esp32c3 tests
2021-07-22 10:17:59 +08:00
Alexey Gerenkov
a9db7831b0
Merge branch 'bugfix/sysview_timestamp' into 'master'
...
sysview: fix tiemrgroup as sv timestamp
See merge request espressif/esp-idf!14374
2021-07-21 19:15:45 +00:00
Shubham Patil
df12f22e37
espcoredump.py: Parse EPS and EPC register values using register index
2021-07-21 20:24:47 +05:30
Cao Sen Miao
38633699f1
Merge branch 'refact/cleanup_tempreture_sensor_driver' into 'master'
...
temp_sensor: Add check to the temp_sensor api
Closes IDF-2532 and IDF-2780
See merge request espressif/esp-idf!13456
2021-07-21 12:26:24 +00:00
Konstantin Kondrashov
1b29a4aa5e
Merge branch 'bugfix/sync_rtc_and_esp_timer_before_reboot' into 'master'
...
esp_system: Adds sync of FRC & RTC counters in esp_restart
Closes ESPCS-509 and IDFGH-4548
See merge request espressif/esp-idf!11841
2021-07-21 12:22:03 +00:00
KonstantinKondrashov
92448e7bd7
secure_boot: Whole 3 bits are set for SOFT_DIS_JTAG eFuse
2021-07-21 17:19:01 +05:00
Shu Chen
80f03f4820
Merge branch 'feature/otbr-1.3' into 'master'
...
openthread: support 1.3 border routing features
See merge request espressif/esp-idf!14407
2021-07-21 08:01:26 +00:00
KonstantinKondrashov
b8dd163149
efuse: Fix len of SOFT_DIS_JTAG for esp32c3 and esp32h2
2021-07-21 12:10:09 +05:00
Konstantin Kondrashov
9c870b74bb
Merge branch 'bugfix/freertos_ut_suspend' into 'master'
...
freertos: Increases delta for UT - Test suspend-resume CPU. The number of...
Closes IDFCI-688
See merge request espressif/esp-idf!14403
2021-07-21 06:07:34 +00:00
Cao Sen Miao
69ad24c943
temp_sensor: add docs for esp32c3
2021-07-21 13:34:52 +08:00
KonstantinKondrashov
c19b37d2a9
esp_system: Adds sync of FRC & RTC counters in esp_restart
...
In case when FRC and RTC counters are very different then
the need to sync them before to restart the ESP
to get the correct system time after reboot.
2021-07-21 10:23:24 +05:00
Shu Chen
dadaf30d17
Merge branch 'feature/add_eui64_for_esp32h2_efuse' into 'master'
...
efuse: add mac extension address for esp32h2
See merge request espressif/esp-idf!14363
2021-07-21 03:46:58 +00:00
Chen Yi Qun
6317f5b481
add uart core reset in uart_module_enable()
2021-07-21 11:41:04 +08:00
Wangjialin
2b986fbd49
For esp_restart API, reset uart0 core first, then reset uart0 apb side, so as to prevent uart output garbage after cpu reset. (UART0 RST bits will be cleared in ROM)
...
Add UART0/1 core reset on esp32c3, in case uart driver would also reset uart hardwares.
2021-07-21 11:41:04 +08:00
Cao Sen Miao
24356cf7f7
temp_sensor: add check to temp_sensor api
2021-07-21 11:24:37 +08:00
Omar Chebib
b8c6c5334f
i2c: modify examples to work out of the box on ESP32S3
...
On ESP32S3, the default I2C pins of the examples are already used by USB.
This commit changes the default pins.
2021-07-21 11:04:16 +08:00
Jiacheng Guo
a74bbde9c5
openthread: support 1.3 border routing features
...
- Support ICMPv6 auto config
- Support SRP service delegation
- Publish _meshcop._mdns service
2021-07-21 10:44:10 +08:00
Omar Chebib
a6e14c37b2
SPI: chip select can now be kept active if the bus has been acquired
...
The user can now request the chip select to remain active after the current
transfer. In order to do so, he MUST acquire the bus first with `spi_device_acquire_bus()`
function, else, an error is returned.
2021-07-21 10:39:45 +08:00
Michael (XIAO Xufeng)
a1b5c38218
Merge branch 'bugfix/fix_modbus_rs485_rts_en_fail' into 'master'
...
freemodbus: fix modbus rs485 rts enable fail after some time
Closes IDFGH-1987
See merge request espressif/esp-idf!11548
2021-07-21 02:07:52 +00:00
Alex Lisitsyn
c801b3a182
freemodbus: fix uart_wait_tx_done() reenable tx_done interrupt
...
fixes the issue with uart_wait_tx_done() when the task is suspended and transmission is done right before reenable tx_done interrupt
2021-07-21 10:07:44 +08:00
Michael (XIAO Xufeng)
7357d777e3
Merge branch 'feature/touch_sense_test_case' into 'master'
...
touch_element: add unit test for touch element lib
Closes IDF-2667
See merge request espressif/esp-idf!11825
2021-07-20 17:28:53 +00:00
Roland Dobai
b37ef24bd7
Merge branch 'bugfix/fix_memory_layout_h_ci_issue' into 'master'
...
host tests: add missing header files for compiling host tests
See merge request espressif/esp-idf!14430
2021-07-20 12:37:00 +00:00
Ivan Grokhotkov
88e28a57f2
Merge branch 'bugfix/gdbstub_rt_callx0' into 'master'
...
Fix problem on Esp32S3 with dangerous relocation for gdbstub.
See merge request espressif/esp-idf!14145
2021-07-20 09:56:20 +00:00
Omar Chebib
bd96484f7b
host tests: add missing header files for compiling host tests
2021-07-20 17:44:20 +08:00
Ivan Grokhotkov
c28612cd2b
Merge branch 'bugfix/freertos_coproc_save_area_alignment' into 'master'
...
freertos: Apply upstream stack masking fix for xtensa/port.c (Github PR)
Closes IDFGH-5549
See merge request espressif/esp-idf!14379
2021-07-20 09:00:04 +00:00
Wang Meng Yang
226c6ab6de
Merge branch 'bugfix/fix_scan_timeout_mr_master' into 'master'
...
Fix the scan timeout report
See merge request espressif/esp-idf!14325
2021-07-20 07:53:52 +00:00
Jakob Hasse
ecb437f8fd
Merge branch 'bugfix/esp_event_any_id_unregister' into 'master'
...
ESP Event: fix unregister documentation
Closes IDFGH-4969
See merge request espressif/esp-idf!14184
2021-07-20 07:33:57 +00:00
zhangwenxu
d5b9078e23
efuse: add mac extension address for esp32h2
2021-07-20 12:03:17 +08:00
Li Shuai
512800891e
light sleep: add uart new final state machine support for esp32s3
2021-07-20 11:27:14 +08:00
Jiang Jiang Jian
af9cb85e00
Merge branch 'feature/support_esp32s3_rtc_hw_support' into 'master'
...
esp_hw_support: add rtc module support for esp32s3
See merge request espressif/esp-idf!14368
2021-07-20 03:23:10 +00:00
Wang Meng Yang
d48dee8027
Merge branch 'bugfix/a2dp_deint_crash_master' into 'master'
...
component_bt: fix a2dp deinit crash
Closes BT-1722
See merge request espressif/esp-idf!14360
2021-07-20 03:02:03 +00:00
Anton Maklakov
be8ef09a59
Merge branch 'feature/exception_emergency_pool_test_ci' into 'master'
...
[cxx]: Activate emergency exception memory pool test in CI
Closes IDF-1610
See merge request espressif/esp-idf!14143
2021-07-20 02:22:32 +00:00
Ivan Grokhotkov
7b922bb8c6
Merge branch 'bugfix/emac_default_cfg' into 'master'
...
Fix invalid ETH_MAC_DEFAULT_CONFIG macro in C++
Closes IDF-3592
See merge request espressif/esp-idf!14409
2021-07-19 14:59:58 +00:00
xiongweichao
7960110729
components/bt: fix spp memory leak
...
closes https://github.com/espressif/esp-idf/issues/7238
2021-07-19 21:19:49 +08:00
Yang Zhao
6aa44a8a89
This is to fix the hardware bug. The device may report scan event
...
timeout when scaning.If check this error,then reset the rwble core.
2021-07-19 20:56:30 +08:00
Darian
a7468b519d
Merge branch 'bugfix/twai_low_speed_bit_rates' into 'master'
...
TWAI: Fix incorrect configuration initializers for low speed bit rates
Closes IDF-3585
See merge request espressif/esp-idf!14388
2021-07-19 12:32:45 +00:00
Marius Vikhammer
03545feaea
Merge branch 'feature/s3_flash_enc' into 'master'
...
S3 Flash encryption bringup
Closes IDF-1786 and IDF-2576
See merge request espressif/esp-idf!14259
2021-07-19 08:56:50 +00:00
Dmitry
883617d51f
Change call0 to callx0 because on Esp32S3 it make error.
2021-07-19 11:19:54 +03:00
Ondrej Kosta
02a432b8d3
Fix invalid ETH_MAC_DEFAULT_CONFIG macro in C++
2021-07-19 09:56:07 +02:00
Chen Yi Qun
835c0ca32c
fix esp32s2 fall into sleep forever when deep-sleep time is set to 0
2021-07-19 14:43:47 +08:00
Darian Leung
d604bf05af
TWAI: Fix incorrect configuration initializers for low speed bit rates
...
This commit fixes the timing configuration initializers for the
1K, 5K, and 10K bit rates.
2021-07-19 14:27:39 +08:00
Omar Chebib
a7b6ec85b8
Merge branch 'feature/move_memory_layout_to_heap' into 'master'
...
G0: Memory layouts are now part of heap components
Closes IDF-1264
See merge request espressif/esp-idf!14028
2021-07-19 06:23:19 +00:00
Zim Kalinowski
da9e5ca38a
Merge branch 'bugfix/usb_device_struct_cleanup' into 'master'
...
Cleanup USB device struct
Closes IDFGH-5223
See merge request espressif/esp-idf!13473
2021-07-19 04:23:20 +00:00
sly
d6762a9fb7
esp_hw_support: add rtc module support for esp32s3
2021-07-19 11:17:48 +08:00
xiongweichao
b1bceb6b42
Not initialized or in the process of de-initialization, calling API will return ERR
2021-07-19 11:06:21 +08:00
xiongweichao
55fe021ddb
fix a2dp deinit crash
2021-07-19 11:06:21 +08:00
Wang Meng Yang
28e86c9b6f
Merge branch 'bugfix/SCO_connect_fail_after_peer_not_accept_sniff' into 'master'
...
bugfix/unable to initiate SCO connection when peer device not accept sniff mode.
Closes BT-1201
See merge request espressif/esp-idf!12403
2021-07-18 23:21:24 +00:00
morris
0c7b43c3b0
sysview: fix tiemrgroup as sv timestamp
2021-07-18 16:13:32 +08:00
morris
2058e89448
Merge branch 'feature/fpga_bootloader' into 'master'
...
Boot ESP32 & ESP32-S2 apps on FPGA
See merge request espressif/esp-idf!8270
2021-07-18 08:06:38 +00:00
Michael (XIAO Xufeng)
59195b6fb3
Merge branch 'bugfix/update_gdma_soc' into 'master'
...
gdma: alignment setting for PSRAM transfer
Closes IDF-1524
See merge request espressif/esp-idf!13976
2021-07-17 14:04:03 +00:00
KonstantinKondrashov
84e5f52a26
freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs
2021-07-16 18:26:02 +05:00
Angus Gratton
356d7b6da3
esp_hw_support: Clean up CMakeLists file
2021-07-16 20:14:28 +08:00
Angus Gratton
9d6366f290
esp_hw_support: Move rtc.h header from target components
2021-07-16 20:14:28 +08:00
Angus Gratton
86061a720b
app_update: Add soc_caps dependency to esp_ota_ops.h
2021-07-16 20:14:28 +08:00
Angus Gratton
77b1ddbcdb
driver: Add some settling time when driving USB IOs high/low
...
Otherwise seems to sometimes fail in release config
2021-07-16 20:14:28 +08:00
Angus Gratton
f9d958a65d
ut configs: Replace target component with esp_hw_support
...
No tests remaining in the target components.
Some further consolidations can be made here later, to combine target-specific
configs that don't need to be target-specific any more.
2021-07-16 20:14:28 +08:00
Angus Gratton
c1ca7a35b0
ldgen: Remove some remaining references to TARGET.project.ld.in
2021-07-16 20:14:27 +08:00
Angus Gratton
f0471b18b2
esp32h2: Move from target component to esp_hw_support (new structure)
2021-07-16 20:14:27 +08:00
Angus Gratton
867f13c6b7
tests gen_digital_signature_tests: Fix mypy issues
2021-07-16 20:14:27 +08:00
Renz Bagaporo
b06dba7823
esp32: move app linker scripts
2021-07-16 20:14:27 +08:00
Renz Bagaporo
fddc0b6799
esp32: move remaining tests
2021-07-16 20:14:27 +08:00
Renz Bagaporo
7c22cccb9c
esp32: cleanup build script
2021-07-16 20:14:27 +08:00
Renz Bagaporo
844af01eb4
esp32: move spiram, himem
2021-07-16 20:14:26 +08:00
Renz Bagaporo
452bfda367
esp32: move dport_access
2021-07-16 20:14:26 +08:00
Renz Bagaporo
702e41e1c8
esp32s2: move crypto related functions
2021-07-16 20:14:26 +08:00
Renz Bagaporo
ea2aafbb7a
esp32s2: move memprot api
2021-07-16 20:14:26 +08:00
Jakob Hasse
e94117a055
Merge branch 'bugfix/correct_driver_cmake' into 'master'
...
[driver]: removed redundant code in CMakeLists.txt
See merge request espressif/esp-idf!13365
2021-07-16 11:27:08 +00:00
morris
860c38bb24
Merge branch 'bugfix/config_data_interface_early' into 'master'
...
emac: configure data interface early
See merge request espressif/esp-idf!14339
2021-07-16 07:49:06 +00:00
morris
d9819bc7ae
gdma: set transfer ability
2021-07-16 14:47:09 +08:00
morris
d31b1f79e6
async_mcp: apply general esp_check macros
2021-07-16 14:47:09 +08:00
morris
3176ba11d8
gdma: update DMA soc data for esp32-s3
2021-07-16 14:47:09 +08:00
morris
217d3eb690
Merge branch 'feature/adc_single_sample_support_on_s3' into 'master'
...
adc: support adc single read on s3
Closes IDF-3118
See merge request espressif/esp-idf!14036
2021-07-16 06:32:08 +00:00
morris
bae28ed1ff
Merge branch 'refactor/esp_check_on_rtc_tempsensor' into 'master'
...
Refactor/rtc_tempsensor: esp_check update & fix log level
Closes IDFGH-5546
See merge request espressif/esp-idf!14377
2021-07-16 04:25:05 +00:00
Omar Chebib
9dd02354d2
Merge branch 'feature/riscv_panic_backtrace' into 'master'
...
espsystem: add support for RISC-V panic backtrace
Closes IDF-2064
See merge request espressif/esp-idf!12070
2021-07-16 04:13:44 +00:00
Jakob Hasse
24798ab739
Merge branch 'feature/esp_common_header_only' into 'master'
...
esp_common: Add support for linux target providing header only library
See merge request espressif/esp-idf!14310
2021-07-16 03:47:43 +00:00
Angus Gratton
35dd71b31e
Merge branch 'bugfix/va_args_macro' into 'master'
...
Provide `__VA_OPT__(,)` macro for C++20
Closes IDFGH-4898
See merge request espressif/esp-idf!12945
2021-07-16 03:46:37 +00:00
xiongweichao
fbab2fc0e3
Add remove sniff when peer not accepted sniff mode
2021-07-16 11:31:13 +08:00
Wang Meng Yang
32d9852625
Merge branch 'bugfix/ble_acl_tx_flush' into 'master'
...
components/bt: Fix for BLE ACL tx flush issue during reset
See merge request espressif/esp-idf!13949
2021-07-16 02:08:22 +00:00
Angus Gratton
c5d20dc231
fpga: Disable BOD when running on FPGA
2021-07-16 10:50:06 +10:00
KonstantinKondrashov
4ccb5515ef
fpga/bootloader: Fix LoadProhibited error when bootloader_fill_random() is not in iram_loader_seg
2021-07-16 10:50:06 +10:00
Angus Gratton
1a626ef6ca
esp32: App can boot on FPGA image
...
Includes fix for detecting ESP32 ECO3 on FPGA
2021-07-16 10:50:06 +10:00
Angus Gratton
bbbbd5cf0c
esp32s2: FPGA can boot to Hello World
2021-07-16 10:50:06 +10:00
Angus Gratton
8cc8c60b45
soc esp32s2: Use constant for XTAL value
...
ESP32-S2 only supports a 40MHz crystal.
2021-07-16 10:50:06 +10:00
Angus Gratton
192b5925da
bootloader: Can boot to IDF scheduler start on internal-use FPGA
...
On ESP32 & ESP32-S2. Patch doesn't include changes to make the app run fully.
2021-07-16 10:50:06 +10:00
Ivan Grokhotkov
ca51cd67a4
Merge branch 'bugfix/correct_clang_atomics' into 'master'
...
newlib,clang: implement __sync_* atomics for clang/llvm toolchain.
Closes LLVM-92
See merge request espressif/esp-idf!14269
2021-07-15 19:01:32 +00:00
Andrei Safronov
40daaa9d56
newlib,clang: implement __sync_* atomics for clang/llvm toolchain.
2021-07-15 20:36:40 +03:00
sushant.chougule
4c3d527b2f
component/bt: Fix BLE controller crash during reset/reboot
2021-07-15 22:35:37 +05:30
laokaiyao
27d9657b6c
driver/adc: support adc single sample on s3
2021-07-15 19:13:50 +08:00
Axel Lin
6c2aa59b51
freertos: Apply upstream stack masking fix for xtensa/port.c
...
Link: 6a5784598a (diff-cfa9a8b71a9665b5610f59bd2f56cb81b3ee73beaa6cac3fc965884069588d47)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/7274
2021-07-15 11:55:41 +02:00
Marius Vikhammer
126c6405f1
Merge branch 'feature/s3_default_2_config' into 'master'
...
CI: add S3 default_2 unit test config
See merge request espressif/esp-idf!14279
2021-07-15 09:29:31 +00:00
SalimTerryLi
ad505e7f03
rtc_tempsensor: esp_check update & fix log level
...
Closes https://github.com/espressif/esp-idf/issues/7271
2021-07-15 17:23:07 +08:00
Jakob Hasse
f6031d469b
[cxx]: No ##__VA_ARGS__ in public header files
...
* ##__VA_ARGS__ is replaced by __VA_OPT__(,)
and __VA_ARGS if C++20 is used.
* Affected header files are: esp_log.h,
portmacro.h and esp_check.h
* Closes https://github.com/espressif/esp-idf/pull/6692
2021-07-15 17:05:57 +08:00
Vladimir Chistyakov
1d74652b5e
Fix portGET_ARGUMENT_COUNT macro
...
portGET_ARGUMENT_COUNT uses a GCC extension ##__VA_ARGS__. It forces
the user to compile the code with GNU extensions enabled instead of ISO
language standard. The suggested change is to replace ##__VA_ARGS__ with
__VA_OPT__(,) __VA_ARGS__ which is supported by the current version of
GCC used in ESP-IDF for both C and C++ ISO standards.
This fix would enable ESP-IDF users to compile their code with ISO C++20
standard in future releases.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2021-07-15 17:01:31 +08:00
Michael (XIAO Xufeng)
ded74889da
Merge branch 'bugfix/spi_slave_wrong_miso_mosi' into 'master'
...
spi_slave: Fix MOSI/MISO inconsistent references on the SPI Slave drivers.
See merge request espressif/esp-idf!13645
2021-07-15 08:51:41 +00:00
Jakob Hasse
3d174f67d9
[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-07-15 16:46:02 +08:00
Michael (XIAO Xufeng)
f4e44b0b8e
Merge branch 'bugfix/i2c_slave_esp32s2' into 'master'
...
i2c: fix I2C slave clock source selection
Closes IDF-3177
See merge request espressif/esp-idf!13670
2021-07-15 08:36:46 +00:00
Ivan Grokhotkov
afe14a5ed2
Merge branch 'bugfix/newlib_dirent_decls' into 'master'
...
newlib: add C++ guards to the platform-specific dirent.h
Closes IDFGH-5465
See merge request espressif/esp-idf!14308
2021-07-15 07:27:14 +00:00
Sachin Parekh
fed4c4c313
Merge branch 'fix/esp32c3_memprot_split_line' into 'master'
...
esp32c3/memprot: Fix incorrect calculations and register access
Closes IDF-3510 and IDF-3514
See merge request espressif/esp-idf!14201
2021-07-15 05:08:14 +00:00
Omar Chebib
0771bd1711
espsystem: Rearchitecture and fix eh_frame_parser bugs
...
eh_frame_parser is architecture independent, thus the files have
been rearchitectured. Some bugs have been fixed in the test.
A README file has also been added to eh_frame_parser host test
directory.
eh_frame_parser is now able to detect empty gaps in .eh_frame_hdr
table (missing DWARF information).
Fix a bug occuring when parsing backtraces originated from abort().
Fix build missing dependencies issue.
2021-07-15 12:47:51 +08:00
Omar Chebib
2575c0d49f
i2c: fix I2C slave clock source selection
...
In I2C slave mode, clock source can now be changed, according to
the flags specified in `i2c_config_t` structure. Thus, ESP32-S2
can now act as an I2C slave, even with a 400KHz master clock.
2021-07-15 12:28:57 +08:00
Zim Kalinowski
f29d873c54
Merge branch 'feature/linenoise_improvement' into 'master'
...
console: re-use the available REPL console API and improve linenoise
Closes IDFGH-5296
See merge request espressif/esp-idf!13897
2021-07-15 03:37:19 +00:00
Omar Chebib
0fd74a43c8
console: re-use the available REPL console API and improve linenoise
...
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.
Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
Armando
6bb6f3ebc4
adc: refactor esp32s3 adc_ll.h
2021-07-15 10:33:03 +08:00
Shu Chen
3badc7b70f
Merge branch 'feature/support_154_thread_on_esp32h2' into 'master'
...
esp32h2: enable IEEE 802.15.4 and Thread
See merge request espressif/esp-idf!14315
2021-07-15 02:18:11 +00:00
Omar Chebib
c4f57af6c9
G0: Memory layouts are now part of heap components
2021-07-15 11:38:23 +10:00
Li Shuai
d2aeb9e4ce
light sleep: add gpio configure workaround at slept status for esp32s3
2021-07-14 21:57:21 +08:00
Hrishikesh Dhayagude
48058343fd
Merge branch 'feature/protocomm_mfg_data' into 'master'
...
Provisioning BLE: Add API to set manufacturer data in advertisement (scan response) packets
See merge request espressif/esp-idf!14147
2021-07-14 11:22:15 +00:00
Shu Chen
8e56ecc656
openthread: enable ot_cli on esp32h2
2021-07-14 19:15:24 +08:00
Shu Chen
bdaeeb3169
ieee802154: add IEEE 802.15.4 component
2021-07-14 19:14:30 +08:00
Marius Vikhammer
450aad552a
esptool: update esptool submodule
2021-07-14 18:46:17 +08:00
Marius Vikhammer
b8a322195e
flash encryption: add flash encryption support for ESP32-S3
2021-07-14 18:46:17 +08:00
Mahavir Jain
5270d8216b
Merge branch 'bugfix/fix_timer_delete_crash' into 'master'
...
Nimble: Add fix for crash in esp_timer deletion
Closes IDFCI-731
See merge request espressif/esp-idf!14316
2021-07-14 10:07:16 +00:00
Ivan Grokhotkov
aa404750c3
Merge branch 'bugfix/spi_flash_ubsan_fail' into 'master'
...
hal: spi_flash: avoid calling memcpy with NULL buffer
Closes IDFCI-737
See merge request espressif/esp-idf!14323
2021-07-14 09:30:41 +00:00
Angus Gratton
6f0b36f7be
Merge branch 'doc/flash_manual_encrypt' into 'master'
...
docs: Add manual encryption docs, fix flash encryption efuse bug
Closes IDFGH-3006
See merge request espressif/esp-idf!14178
2021-07-14 09:27:34 +00:00
Marius Vikhammer
19b3d2acb8
Merge branch 'bugfix/psram_fix_bootloader' into 'master'
...
bootloader: disable psram cache bug fix for bootloader
Closes FCS-438 and IDF-3132
See merge request espressif/esp-idf!13299
2021-07-14 09:22:30 +00:00
Angus Gratton
fcd193b024
docs: Use soc_caps instead of chip names for flash encryption docs
...
Clears the way for ESP32-S3 and future chips.
2021-07-14 16:57:31 +10:00
Prasad Alatkar
c8f4153d4f
Provisioning BLE: Add API to set manufacturer data in scan response
...
- Add `wifi_prov_scheme_ble_set_mfg_data` API to set custom manufacturer data
in BLE advertisements.
- Run format.sh script on modified files.
- Fix few typos in `protocomm_nimble.c`.
- Incorporate suggestion to remove extra check on protocomm_ble_mfg_data_len
- Remove few unnecessary comments.
2021-07-14 11:56:04 +05:30
morris
44c175649a
Merge branch 'refactor/replace_wrapped_LOGD_with_macro' into 'master'
...
uart,i2c: deprecate and replace wrapped xxx_CHECK with macro ESP_RETURN_ON_FALSE
See merge request espressif/esp-idf!14297
2021-07-14 05:55:13 +00:00
Marius Vikhammer
fe921291d2
build system: fix cxx init_priority not working on S3
2021-07-14 10:56:24 +08:00
Mahavir Jain
3365a7b21d
Merge branch 'feature/secure_boot_key_check_before_revoke' into 'master'
...
Check if the running app is signed by a valid key before revocation
See merge request espressif/esp-idf!13034
2021-07-13 13:06:27 +00:00
Angus Gratton
cb71466daa
Merge branch 'doc/bootloader_customization' into 'master'
...
docs: Expand bootloader section
Closes IDF-313 and IDFGH-4810
See merge request espressif/esp-idf!5660
2021-07-13 09:57:43 +00:00
Marius Vikhammer
05bb4a5d89
bootloader: disable psram cache bug fix for bootloader
...
The psram cache bug fix was also being applied to the bootloader binary (for cmake),
which doesnt do any psram access.
Applying this fix would increase the binary size, as much as 300 bytes in worst case scenarios
2021-07-13 16:28:22 +08:00
Rahul Tank
d0ad0d6139
system : Add defination of ESP_ERROR_CHECK_WITHOUT_ABORT under CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT flag
2021-07-13 16:20:49 +08:00
Rahul Tank
e81facd3e8
Nimble: Add fix for crash in esp_timer deletion
...
Added change in nimble submodule to handle crash in case of non-started
timer is attempted to be deleted.
2021-07-13 16:20:49 +08:00
Mahavir Jain
4c41a5bbd0
Merge branch 'feature/upgrade_mbedtls_to_v2.16.11' into 'master'
...
mbedtls: upgrade to release v2.16.11
Closes IDF-3429
See merge request espressif/esp-idf!14294
2021-07-13 08:12:46 +00:00
Supreet Deshpande
92754bd47e
Check if the running app is signed by a valid key before revocation
2021-07-13 13:38:12 +05:30
Mahavir Jain
76bd33e9a4
Merge branch 'cert/skipping_keyelements_validation' into 'master'
...
MbedTLS: Add config option for key elements and key element extension for SSL connection
See merge request espressif/esp-idf!12898
2021-07-13 07:55:49 +00:00
Omar Chebib
b967dc0dbf
espsystem: add support for RISC-V panic backtrace
...
Add .eh_frame and .eh_frame_hdr sections to the binary (can be
enabled/disabled within menuconfig). These sections are parsed
when a panic occurs. Their DWARF instructions are decoded and
executed at runtime, to retrieve the whole backtrace. This
parser has been tested on both RISC-V and x86 architectures.
This feature needs esptool's merge adjacent ELF sections feature.
2021-07-13 15:42:40 +08:00
Zim Kalinowski
34c16dba93
Merge branch 'bugfix/core_dump_image_erase_with_encryption' into 'master'
...
Fix a bug in `core_dump_image_erase` when flash encryption is enabled
Closes IDFGH-5173
See merge request espressif/esp-idf!14060
2021-07-13 07:34:00 +00:00
Angus Gratton
072232a934
docs: Expand bootloader section
...
- Cover customization options
- Cross-link to the "general notes" section which explains the low-level details
Closes IDF-313
2021-07-13 17:33:53 +10:00
morris
8e069dd755
emac: configure data interface early
...
Related to https://github.com/espressif/esp-idf/issues/7227
2021-07-13 15:10:23 +08:00
morris
3e2d98500f
Merge branch 'refactor/common_rom_rtc_apis' into 'master'
...
soc: define reset reasons in soc component
Closes IDF-1993
See merge request espressif/esp-idf!9829
2021-07-13 07:05:25 +00:00
Angus Gratton
d7d28786b2
Merge branch 'bugfix/secure_boot_sig_verify' into 'master'
...
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
See merge request espressif/esp-idf!14300
2021-07-13 06:48:25 +00:00
Angus Gratton
4fe4df8770
Merge branch 'feature/bootloader_pin_level_pr7089' into 'master'
...
bootloader: Add configurable pin level for factory reset (PR)
Closes IDFGH-5337
See merge request espressif/esp-idf!13956
2021-07-13 05:39:25 +00:00
Mahavir Jain
ea3c901874
mbedtls: fix crt_bundle test to ensure proper server start event
...
This fixes occasional test failure that was observed due to
client task getting started before server was up.
2021-07-13 13:20:16 +08:00
Mahavir Jain
3be3d5fff2
mbedtls: upgrade to release v2.16.11
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-13 13:20:16 +08:00
Angus Gratton
36815fa1bf
soc: Add SOC_EFUSE_SUPPORT_XTS_AES_256_KEYS flags for esp32s2,s3
...
Fixes regression in f339b3fc96
2021-07-13 14:24:03 +10:00
morris
1560d6f1ba
soc: add reset reasons in soc component
2021-07-13 10:45:38 +08:00
Kang Zuoling
ee4ca67620
touch_element: add unit test for Touch Element lib
2021-07-12 10:02:46 +08:00
David Cermak
a7d5798b85
esp_common: Add support for linux target providing header only library
2021-07-09 17:29:45 +02:00
morris
8887897f54
Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr' into 'master'
...
driver/timer: fixed auto reload problem in default isr callback
Closes IDFGH-5229
See merge request espressif/esp-idf!13528
2021-07-09 10:18:18 +00:00
Ivan Grokhotkov
1d44e40fb1
hal: spi_flash: avoid calling memcpy with NULL buffer
...
In practice, calling memcpy with NULL buffer and 0 size works on the
ESP32, but the C standard considers this an undefined behavior.
When building with UBSAN checks enabled, compiler will insert a check
that memcpy argument is non-NULL, regardless of the size argument.
This caused a failure in tools/test_apps/system/panic, which is built
with USBAN enabled for several components.
2021-07-09 11:24:25 +02:00
Mahavir Jain
d838a11d78
Merge branch 'bugfix/fix_ws_handle_big_messages_error' into 'master'
...
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
Closes IDFGH-5463
See merge request espressif/esp-idf!14224
2021-07-09 07:53:12 +00:00
SalimTerryLi
f545adbceb
i2c.c, uart.c: replace xxx_CHECK with ESP_RETURN_ON_FALSE
2021-07-09 15:13:34 +08:00
Marius Vikhammer
70fd8529e9
Merge branch 'bugfix/s3_soc_update' into 'master'
...
soc: update S3 memory layout
See merge request espressif/esp-idf!14258
2021-07-09 06:13:22 +00:00
Angus Gratton
c2c0e4de3b
Merge branch 'feature/s3_wdt_bringup' into 'master'
...
TIMG and WDT bringup for S3
Closes IDF-1881, IDF-3229, IDF-3301, and IDF-3274
See merge request espressif/esp-idf!13957
2021-07-09 04:43:41 +00:00
Marius Vikhammer
5d184dcfe0
soc: update S3 memory layout
2021-07-09 12:29:56 +08:00
Sachin Parekh
1e17b1d843
esp32c3/memprot: Correct the split line address calculation
2021-07-09 09:33:52 +05:30
Sachin Parekh
29a308e614
esp32c3/memprot: Fix incorrect access to DRAM0 split line registers
...
memprot_ll_set_dram0_split_line_* and memprot_ll_get_dram0_split_line_* APIs were accessing
incorrect configuration register
2021-07-09 09:33:52 +05:30
Michael (XIAO Xufeng)
a85f5b797e
Merge branch 'ci/flash_performance_no_check_EXT_WR_4B' into 'master'
...
ci: stop checking FLASH_SPEED_BYTE_PER_SEC_EXT_WR_4B performance
See merge request espressif/esp-idf!14247
2021-07-09 02:39:21 +00:00
Omar Chebib
9340cb4c1a
Merge branch 'feature/override_bootloader' into 'master'
...
bootloader: override the 2nd stage bootloader
Closes IDF-2946 and IDFGH-5279
See merge request espressif/esp-idf!13178
2021-07-09 02:25:24 +00:00
Ivan Grokhotkov
cbf207bfb8
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-07-08 15:53:58 +02:00
Ondrej Kosta
a6db3a5e77
esp_eth: Change clock mode setting
...
RMII clock mode is made to be run-time configurable.
Closes https://github.com/espressif/esp-idf/issues/6564
Closes https://github.com/espressif/esp-idf/issues/7107
2021-07-08 14:27:31 +02:00
Marius Vikhammer
4553654f40
build system: fix rtc_data being placed in wrong region for S3
2021-07-08 18:40:01 +08:00
Marius Vikhammer
80acc1a002
CI: add S3 default_2 unit test config
2021-07-08 18:39:57 +08:00
Jakob Hasse
7edb808592
[cxx]: Activated emergency pool test to CI
2021-07-08 17:26:49 +08:00
Angus Gratton
e3ca61a200
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
...
Increase the test app optimization level to one that would find this issue.
2021-07-08 19:17:04 +10:00
Shu Chen
d93887f9f0
Merge branch 'feature/openthread-lib' into 'master'
...
openthread: provide prebuilt libopenthread libraries
See merge request espressif/esp-idf!14177
2021-07-08 09:15:33 +00:00
morris
90f05c42b2
Merge branch 'bugfix/fix_i2c_master_write_bug' into 'master'
...
i2c: application can now call `i2c_master_write` for sending a single byte
Closes IDF-3518 和 IDFCI-741
See merge request espressif/esp-idf!14273
2021-07-08 06:32:39 +00:00
morris
3b821b8ac3
Merge branch 'bugfix/rotary_encoder_example_main' into 'master'
...
bugfix: rotary encoder example isr service install
Closes IDFGH-5105
See merge request espressif/esp-idf!14114
2021-07-08 04:25:30 +00:00
Kapil Gupta
38d6772507
mbedtls: Add config option key element and key element ext
2021-07-08 09:23:22 +05:30
morris
8694cb7fdf
Merge branch 'bugfix/missing_include_in_rtc_clk' into 'master'
...
rtc: Add missing esp_rom_sys.h header in rtc clk
See merge request espressif/esp-idf!14221
2021-07-08 02:38:42 +00:00
Chen Jian Xing
65efad0122
Merge branch 'bugfix/fix_connect_fail_cause_by_sleep' into 'master'
...
Fix connection failure caused by sleep
Closes WIFI-3710
See merge request espressif/esp-idf!14271
2021-07-07 15:13:17 +00:00
David Čermák
cd47ba03bc
Merge branch 'bugfix/mdns_lwip_agnostic' into 'master'
...
mdns: Clean the main mdns module from lwip dependencies
See merge request espressif/esp-idf!14187
2021-07-07 11:58:18 +00:00
Jiacheng Guo
0050248918
openthread: provide prebuilt libopenthread libraries
2021-07-07 15:27:47 +08:00
Jakob Hasse
cdcf88272b
Merge branch 'bugfix/exclude_spi_flash_deadlock_test_on_s3_completely' into 'master'
...
[spi_flash]: temporary disable deadlock test for all targets
See merge request espressif/esp-idf!14248
2021-07-07 05:12:18 +00:00
xiehang
3491da1f3f
Fix connection failure caused by sleep
2021-07-07 11:38:03 +08:00
zwj
f5fcfec2cb
Fixed ESP32S3 BLE controller init failed
2021-07-06 18:04:04 +08:00
Marius Vikhammer
71c1da8952
timer group: add timer group and WDT support for ESP32S3
...
Regenerate timer group header files and update LL, check examples
and update docs.
2021-07-06 16:21:43 +08:00
Omar Chebib
e9ffe03544
i2c: the user is now allowed to call i2c_master_write even for sending a single byte
2021-07-06 12:12:16 +08:00
WangShichang
8fd261b3eb
esp_phy: update esp32s3 phy init data
2021-07-06 11:38:42 +08:00
chenjianxing
564068d5af
esp_wifi: support esp32s3 wifi and fix not tx 9M rate issue
2021-07-06 11:38:40 +08:00
morris
d9d4db43a1
Merge branch 'feature/dedic_gpio_esp32s3' into 'master'
...
Dedicated gpio driver on esp32s3
Closes IDF-3387
See merge request espressif/esp-idf!14196
2021-07-06 03:20:04 +00:00
Jiang Jiang Jian
0edcf11089
Merge branch 'bugfix/revert_default_country' into 'master'
...
esp_wifi: Revert default country to China
See merge request espressif/esp-idf!14251
2021-07-05 13:15:43 +00:00
yuanjm
f2a0b48cf9
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
...
Closes https://github.com/espressif/esp-idf/issues/7202
2021-07-05 20:09:49 +08:00
Michael (XIAO Xufeng)
c6716dcb39
Merge branch 'feature/esp32c3_usbjtag_console_blocking' into 'master'
...
USB_serial_jtag controller: Add driver for supporting VFS on esp32c3(blocking implementation)
Closes IDF-3066 and IDF-3019
See merge request espressif/esp-idf!13414
2021-07-05 07:57:19 +00:00
Kapil Gupta
ecd1d9406e
esp_wifi: Revert default country to China
2021-07-05 12:32:47 +05:30
Angus Gratton
6bbb58c8c2
bootloader: Small cleanup and docs for factory reset level config
...
- Add to docs & config descriptions
- Change to a "choice" to become self-documenting
- Keep the bootloader_common_check_long_hold_gpio() function for compatibility
2021-07-05 12:08:36 +08:00
chegewara
fb7234a13d
bootloader: Add selectable level for factory reset pin
...
Closes https://github.com/espressif/esp-idf/pull/7089
2021-07-05 12:08:36 +08:00
Jakob Hasse
2ac44f1e76
[spi_flash]: fixed test disabling
...
* MR 14212 accidentally disabled the test
"spi_flash deadlock with high priority
busy-waiting task"
for all targets except S3 without legacy
flash implementation. The test is now
disabled for all targets, since
the same issue appeared on other targets, too.
2021-07-05 11:25:15 +08:00
Cao Sen Miao
3aa9ac2469
usb_serial_jtag: Add blocking driver to support vfs.
2021-07-05 11:22:38 +08:00
Michael (XIAO Xufeng)
7f98fbb553
ci: stop checking FLASH_SPEED_BYTE_PER_SEC_EXT_WR_4B performance
2021-07-05 11:20:55 +08:00
Omar Chebib
a79acb413e
bootloader: override the 2nd stage bootloader
...
Add the possibility to have user bootloader components. This is performed
from an application/project, by creating bootloader components. To do so,
it is required to create a `bootloader_component` directory containing
the custom modules to be compiled with the bootloader.
Thanks to this, two solutions are available to override the bootloader now:
- Using hooks within a user bootloader component
- Using a user defined `main` bootloader component to totally override the
old implementation
Please check the two new examples in `examples/custom_bootloader`
* Closes https://github.com/espressif/esp-idf/issues/7043
2021-07-05 10:25:32 +08:00
Michael (XIAO Xufeng)
acc1e543b0
Merge branch 'bugfix/fix_bit_error_in_ledc_struct' into 'master'
...
LEDC: fix bit error in ledc_struct.h
Closes DOC-1580
See merge request espressif/esp-idf!14161
2021-07-03 14:01:51 +00:00
Jiang Jiang Jian
3636edca1a
Merge branch 'feature/regdomain_support' into 'master'
...
esp_wifi: Add support for regdomain db
Closes WIFI-3596
See merge request espressif/esp-idf!13413
2021-07-02 17:22:08 +00:00
Michael (XIAO Xufeng)
5986b204c6
Merge branch 'feature/i2c_add_static_buffer_transfers' into 'master'
...
i2c: add `i2c_cmd_link_create_static()` to create commands from a given buffer
Closes IDFGH-3087
See merge request espressif/esp-idf!13013
2021-07-02 14:00:03 +00:00
Cao Sen Miao
fecf27e54c
spi_flash: add support for 32Mbit address GD flash, for GD25Q256
2021-07-02 17:13:51 +08:00
Kapil Gupta
a5086e302d
esp_wifi: Add support for regdomain database
2021-07-02 14:11:40 +05:30
Jiang Jiang Jian
b88dc652ed
Merge branch 'bugfix/rrm_caps_for_open_ap' into 'master'
...
wpa_supplicant: Fix some issues in 11kv
Closes WIFI-3673, WIFI-3433, WIFI-3749, and WIFI-3726
See merge request espressif/esp-idf!13694
2021-07-02 08:04:50 +00:00
Ivan Grokhotkov
82a5f9c4b7
Merge branch 'bugfix/tls_alignment' into 'master'
...
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts
See merge request espressif/esp-idf!14220
2021-07-02 06:36:09 +00:00
Angus Gratton
b0f68decaf
Merge branch 'bugfix/exclude_spi_flash_deadlock_test_on_s3' into 'master'
...
[spi_flash]: Disable deadlock test from S3
See merge request espressif/esp-idf!14212
2021-07-02 05:49:15 +00:00
Kapil Gupta
16b64e8524
wpa_supplicant: Fix some issues in 11kv
...
Fix following issues:
1. RRM capability addition for open AP
2. Crash during scan flush
3. Station not able to connect if disassoc timer is present in BTM request
4. Memory leaks during wifi init/deinit.
2021-07-02 09:41:23 +05:30
Jiang Jiang Jian
2a747b7bb1
Merge branch 'bugfix/ftm_lock_free_issue' into 'master'
...
esp_wifi: Update wifi lib with lock free issue fix
See merge request espressif/esp-idf!14214
2021-07-01 17:39:52 +00:00
David Čermák
76a7c78a0a
Merge branch 'bugfix/esp_netif_dhcps_state' into 'master'
...
esp_netif: Fix dhcps state transitions
Closes IDF-3399
See merge request espressif/esp-idf!13991
2021-07-01 16:01:21 +00:00
Almir Okato
06a849b33e
rtc: Add missing esp_rom_sys.h header in rtc clk
...
rtc_clk.c for esp32, esp32s2 and esp32s3 did not include the
esp_rom_sys.h header which could cause implicit declaration issues for
some function calls.
2021-07-01 12:50:14 -03:00
Michael (XIAO Xufeng)
0e31332693
Merge branch 'feature/add_esp32h2_target' into 'master'
...
esp32h2: add esp32h2 build target
See merge request espressif/esp-idf!13944
2021-07-01 14:46:37 +00:00
Krzysztof Budzynski
f0b2926d70
Merge branch 'docs/s3_get_started' into 'master'
...
docs: updated getting started for S3
Closes IDF-3281 and IDF-3282
See merge request espressif/esp-idf!14174
2021-07-01 14:33:55 +00:00
Ivan Grokhotkov
a6c721b24c
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts
...
Regression from 4702feeee
. The TLS segment is located inside
.flash.rodata, so we need to get the alignment of that section, not
.flash.rodata_noload.
2021-07-01 16:13:31 +02:00
David Cermak
619235c2ee
mdns: Fix fuzzer IDF-mock layer
...
Removed lwip dependencies
Simplified the mocks for esp32 and esp-netif
2021-07-01 15:45:05 +02:00
David Cermak
54e329444a
mdns: Clean the main mdns module from lwip dependencies
...
* Reduced number of include paths
* Abstract the internals of mdns packet (specifics defined in
mdns_networking.c)
* Use ESP_IP addresses instead of lwip addresses
2021-07-01 15:01:39 +02:00
David Cermak
7cab3d48e6
esp_netif: IP Address: Add esp-ip addr copy API, IP init macros
2021-07-01 15:01:39 +02:00
Shu Chen
75bd02bd46
esp32h2: add some more fixes and TODOs
2021-07-01 20:36:39 +08:00
David Čermák
6661d01a64
Merge branch 'feature/mdns_query_async' into 'master'
...
mdns: Add asynchronous query API
See merge request espressif/esp-idf!13988
2021-07-01 12:28:54 +00:00
wuzhenghui
112372d598
update rom bootloader addr info
2021-07-01 19:53:50 +08:00
Shu Chen
2df4ddf998
esp32h2: fixes after rebase
2021-07-01 19:53:50 +08:00
Shu Chen
ee23a489b9
esp32h2: code clean up
2021-07-01 19:53:50 +08:00
Shu Chen
e9a51e410a
esp32h2: add stub code for efuse/esp_gdbstub/esp_phy
...
Only stub code for these components:
* efuse
* esp_gdbstub
* esp_phy
2021-07-01 19:53:11 +08:00
Shu Chen
6fce2930d0
esp32h2: enable more components to support esp32h2
...
Involved components:
* app_trace
* esp-tls
* esp_adc_cal
* esp_pm
* esp_serial_slave_link
* esp_timer
* freertos
* idf_test
* log
* mbedtls
* newlib
* perfmon
* spi_flash
* spiffs
* ulp
* unity
* vfs
2021-07-01 19:53:11 +08:00
Shu Chen
c0056813f2
esp32h2: add bootloader support
2021-07-01 19:53:11 +08:00
Shu Chen
5e3689ae0f
esp32h2: update esp_system and esp_hw_support to support esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
7d4b2617e1
esp32h2: copy esp_system and esp_hw_support from esp32c3
...
Copy the esp32c3 code without any change:
* components/esp_hw_support/include/soc/esp32h2
* components/esp_hw_support/port/esp32h2
* components/esp_system/port/soc/esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
37f4cb8b4b
esp32h2: add rom code for esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
205cd469e9
esp32h2: update driver/hal/soc components to support esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
983cca8b27
esp32h2: copy driver/hal/soc components from esp32c3
...
Copy the esp32c3 code without any change:
* components/driver/esp32h2
* components/esp32h2
* components/hal/esp32h2
* components/soc/esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
be9864fa4b
esp_wifi: add CONFIG_WIFI_ENABLED config option
...
The WIFI_ENABLED option is disabled for esp32h2.
2021-07-01 19:53:11 +08:00
Shu Chen
2b9e8fed71
esp32h2: add esp32h2 build target
...
Add esp32h2 support in the following components:
* Kconfig
* components/esptool_py
* components/riscv
* components/xtensa
* tools
2021-07-01 19:51:33 +08:00
David Čermák
68f33b75de
Merge branch 'bugfix/mdns_fuzzer_crashes' into 'master'
...
mdns: Fix null dereferences reported by fuzzer tests
See merge request espressif/esp-idf!14153
2021-07-01 10:46:55 +00:00
Nachiket Kukade
17760237eb
esp_wifi: Update wifi lib with lock free issue fix
2021-07-01 13:58:35 +05:30
David Cermak
d542edbb3d
esp_netif: Fix dhcps state transitions
...
When the DHCP server is stopped before starting the netif,
it should remain stopped -- as per compatibility with previous tcpip_adapter behavior
2021-07-01 10:17:19 +02:00
Jakob Hasse
7a0d40582e
[spi_flash]: Disable deadlock test from S3
2021-07-01 15:29:47 +08:00
Jiang Jiang Jian
97da3e9ed5
Merge branch 'feature/optimize_wifi_log_by_linker_script' into 'master'
...
esp_wifi: move unused WiFi log to noload section to save binary size
Closes IDF-3049
See merge request espressif/esp-idf!13051
2021-07-01 07:11:58 +00:00
Michael (XIAO Xufeng)
e8ff60544d
Merge branch 'bugfix/channel_clk_independent' into 'master'
...
rmt: clean up and support esp32-s3 (no DMA support)
Closes IDF-3296 and IDFGH-5350
See merge request espressif/esp-idf!13244
2021-07-01 04:37:07 +00:00
Zhang Jun Hao
4702feeeeb
esp_wifi: move unused wifi log to noload section to save binary size
2021-07-01 10:18:37 +08:00
David Cermak
d81482d699
mdns: Add asynchronous query API
...
Closes https://github.com/espressif/esp-idf/issues/7090
2021-06-30 17:20:30 +04:00
Nachiket Kukade
eb49ee75b8
wifi/ftm: Additional FTM features implementation
...
Update wifi lib with below features -
1. ASAP mode for both Initiator and Responder
2. Offchannel FTM while connected to AP (ASAP only)
3. Support up to 3 Initiators simultaneously
4. Session termination, failure support etc
5. Mem-zero AP scan buffer in get_records API
2021-06-30 17:52:07 +05:30
David Čermák
919e3ef9fb
Merge branch 'feature/mqtt_client_unit_test' into 'master'
...
esp_mqtt - Host unit tests
See merge request espressif/esp-idf!12496
2021-06-30 10:58:57 +00:00
bizhuangyang
1829783886
bugfix:rotary encoder example isr service install
...
Fix the issue mentioned when using two or more encoders. Modify PCNT_CTRL_GND_IO
to avoid the affect of USB JTAG(origin pin 19 is used for USB D-). Update esp32c3.
peripherals.ld and docs for esp32s3.
Closes https://github.com/espressif/esp-idf/issues/6889
2021-06-30 18:44:02 +08:00
morris
c8c3015018
dedic_gpio: support on esp32s3
2021-06-30 18:10:54 +08:00
morris
9df57b3ae6
dedic_gpio: apply general esp_check macro
2021-06-30 18:10:54 +08:00
Angus Gratton
bf48a789ac
Merge branch 'feature/hcd_pipe_persistence' into 'master'
...
(4) USB HCD: Add pipe persistence feature
Closes IDF-3395
See merge request espressif/esp-idf!13934
2021-06-30 09:06:27 +00:00
Euripedes Rocha Filho
f6d23bfee1
mqtt: Adds host tests for mqtt client
2021-06-30 08:55:39 +01:00
Jiang Jiang Jian
144fb64349
Merge branch 'bugfix/add_esp_timer_helper_function' into 'master'
...
Add esp timer helper function
See merge request espressif/esp-idf!13816
2021-06-30 07:50:42 +00:00
Jiang Jiang Jian
063f5089ed
Merge branch 'bugfix/esp32s3_libhal' into 'master'
...
xtensa: update libhal and configuration headers for esp32s3
Closes FV-201
See merge request espressif/esp-idf!14126
2021-06-30 07:38:45 +00:00
Mahavir Jain
d2bd0a4cbd
Merge branch 'feature/esp_tls_improve_error_messages' into 'master'
...
Feature/esp tls improve error messages
Closes IDF-3268
See merge request espressif/esp-idf!13951
2021-06-30 06:37:59 +00:00
Rahul Tank
3159ba1d5a
Add esp_timer_is_active function for Nimble stack to use esp_timer instead of FreeRTOS timer
2021-06-30 10:06:40 +05:30
Angus Gratton
2f8debdde1
Merge branch 'feature/esp32s3_remove_rtc_apb_freq_reg' into 'master'
...
esp32s3: Remove APB frequency RTC register
See merge request espressif/esp-idf!11137
2021-06-29 23:50:23 +00:00
Angus Gratton
1969e4b8e5
Merge branch 'bugfix/panic_handler_disable_wdts_early' into 'master'
...
esp_system: Reconfigure the WDTs at the start of the panic handler
Closes IDFCI-361
See merge request espressif/esp-idf!14138
2021-06-29 23:48:40 +00:00
David Čermák
8f67bb57c6
Merge branch 'bugfix/mdns-hostname-set-cleanup' into 'master'
...
mdns: fix memory leak in mdns_free when adding delegated hostnames
See merge request espressif/esp-idf!14123
2021-06-29 16:01:33 +00:00
Ivan Grokhotkov
3ce1fa70aa
xtensa: update libhal for esp32s3
...
Built from:
https://github.com/foss-xtensa/xtensa-hal (commit b014610)
With toolchain:
xtensa-esp32s3-elf-gcc (crosstool-NG esp-2021r1) 8.4.0
Commands:
./configure --host=xtensa-esp32s3-elf CC=xtensa-esp32s3-elf-gcc \
CFLAGS="-mlongcalls -I$IDF_PATH/components/xtensa/esp32s3/include"
make
xtensa-esp32s3-elf-strip --strip-debug src/hal/libhal.a
2021-06-29 16:56:35 +02:00
Ivan Grokhotkov
ca5ed172a5
xtensa: update configuration overlay for esp32s3
...
From LX7_ESP32_S3_MP_linux_redist.tgz with SHA256:
63f305a982b2ee94cc78e5c20e3e3eb8bf0edeeaf703af0227a418bc34f7b848
copied from xtensa-elf/arch/include/xtensa/config/ with changes:
1) pre-commit fixes applied
2) re-added CONFIGID0 and CONFIGID1 in specreg.h
2021-06-29 16:56:35 +02:00
Jiang Jiang Jian
d28417edbc
Merge branch 'bugfix/deep_sleep_rtcwdt_rst_issue' into 'master'
...
clear wakeup and reject int raw signal before entry sleep
Closes FCS-673
See merge request espressif/esp-idf!13982
2021-06-29 13:31:40 +00:00
Darian Leung
d37451f2c7
USB HCD: Add pipe persistence feature
...
This commit adds a pipe persistence feature allowing HCD pipes
to survive a port reset.
2021-06-29 21:09:27 +08:00
Jiang Jiang Jian
59b49d2783
Merge branch 'feature/add-nimble-host-to-blufi' into 'master'
...
Add support of NimBLE host to Blufi
See merge request espressif/esp-idf!13734
2021-06-29 12:54:01 +00:00
Jiacheng Guo
2386113972
mdns: return ESP_OK rather than ERR_OK in API functions
2021-06-29 17:35:45 +08:00
Jiacheng Guo
0baee93211
mdns: fix memory leak in mdns_free when adding delegated hostnames
2021-06-29 17:35:45 +08:00
Angus Gratton
a413cbd784
Merge branch 'feature/esp_timer_with_skip_unhandled_events_does_not_wake_up' into 'master'
...
esp_timer: A timer with skip_unhandled_events won't wake up in light sleep mode
See merge request espressif/esp-idf!13219
2021-06-29 08:10:51 +00:00
Marius Vikhammer
638485b222
docs: updated getting started and other misc. guides for S3
2021-06-29 15:44:45 +08:00
Angus Gratton
57fa883127
esp32s3: Remove APB frequency RTC register
...
Usage of this register changed between ESP32-S3 beta2 and the
final chip.
2021-06-29 17:38:46 +10:00
Jiang Jiang Jian
86cfbc2a24
Merge branch 'bugfix/aes_wrap_failed' into 'master'
...
wpa_supplicant: Fix crypto related bugs
Closes WIFI-3801 and WIFI-3835
See merge request espressif/esp-idf!13854
2021-06-29 07:08:45 +00:00
Michael (XIAO Xufeng)
cd1427f181
Merge branch 'refactor/usb_hcd_test_mock_classes' into 'master'
...
(3) USB: Make unit test mock classes common
Closes IDF-3394
See merge request espressif/esp-idf!13933
2021-06-29 05:42:32 +00:00
Angus Gratton
c02aa6d0ae
Merge branch 'bugfix/switch_jump_tables' into 'master'
...
build system: always build with -fno-jump-tables & -fno-tree-switch-conversion
Closes IDF-3007
See merge request espressif/esp-idf!13458
2021-06-29 04:13:08 +00:00
Li Shuai
6ca207531b
deep sleep: clear wakeup and reject int raw signal before entry sleep
2021-06-29 11:59:54 +08:00
Jiang Jiang Jian
910d3cfe06
Merge branch 'bugfix/correct_gatt_max_macro_name' into 'master'
...
Bluedroid: Fixed issue of option not being set due to incorrect macro
See merge request espressif/esp-idf!13945
2021-06-29 03:24:27 +00:00
Jiang Jiang Jian
d93849baf8
Merge branch 'mesh/bugfix_fix_esp_mesh_send_block_issue' into 'master'
...
mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master
See merge request espressif/esp-idf!14021
2021-06-29 03:00:59 +00:00
Gustavo Henrique Nihei
ef0041b545
driver: Refactor and clean up SPI Slave test
2021-06-28 18:59:00 -03:00
Gustavo Henrique Nihei
f5bfa0babf
driver: Create TX/RX-only test cases for SPI Slave
2021-06-28 18:59:00 -03:00
Gustavo Henrique Nihei
4bc9e18124
spi: Ensure DMA In-Link EOF is generated by trans_done on SPI Slave
2021-06-28 18:58:59 -03:00
Gustavo Henrique Nihei
fb8d9f76b3
spi: Remove Slave TX/RX set bitlen not effective for ESP32-S2/C3/S3
...
Furthermore, RX_EOF_EN should only be set when SPI Slave is configured
for segment transfer mode and the "ms_data_bitlen" field is configured
to control the "IN_SUC_EOF" interrupt. Since "ms_data_bitlen" is not
set anymore for S2, C3 and S3, "RX_EOF_EN" should be cleared.
2021-06-28 18:58:59 -03:00
Gustavo Henrique Nihei
8f822db28c
spi: Fix SPI Slave TX/RX bitlen configuring wrong registers
...
The maximum input length for the SPI Slave should be applied to the read
buffer configuration, not for the write buffer. Similarly, the output
configuration should also target the write buffer.
2021-06-28 18:58:59 -03:00
Gustavo Henrique Nihei
8639e3511b
spi_slave: Fix MOSI/MISO enable on transaction preparation
...
MOSI and MISO enablement were conditioned to the existence of TX
and RX buffers, respectively. This is valid for the SPI Master,
but for the SPI Slave the opposite is expected.
2021-06-28 13:53:40 -03:00
“sonalipatil”
5175672050
Add support of NimBLE host to Blufi
...
Merges https://github.com/espressif/esp-idf/pull/6904
2021-06-28 19:53:33 +05:30
Kapil Gupta
a7713676b8
wpa_supplicant: Fix crypto related bugs
...
1. Fix aes_unwrap functionality when hardware acceleration is disabled
2. Fix compilation errors when mbedTLS is disabled.
3. Disable WPA3 when mbedTLS is disabled.
2021-06-28 19:50:01 +08:00
Jiang Jiang Jian
d5845abe62
Merge branch 'bugfix/wps_wfa_cert_fixes' into 'master'
...
wpa_supplicant: Add WPS strict in config option
Closes WIFI-3624 and WIFI-3842
See merge request espressif/esp-idf!13545
2021-06-28 10:13:23 +00:00
Michael (XIAO Xufeng)
fc2905384c
Merge branch 'feature/support_esp32s3_728_gpio_driver' into 'master'
...
gpio: update gpio driver to support esp32s3
Closes IDF-3224 and IDF-3273
See merge request espressif/esp-idf!13942
2021-06-28 09:49:01 +00:00
Aditya Patwardhan
0e01a22264
esp_tls_wolfssl: Improved error messages
2021-06-28 14:51:41 +05:30
Aditya Patwardhan
4af1176d15
esp_tls_mbedtls: Improved the error messages.
...
The error message string for error codes is printedwhen log level is set to debug
2021-06-28 14:51:41 +05:30
Mahavir Jain
574fd8b68f
Merge branch 'feature/ssl_components_optimize' into 'master'
...
ssl: Modify some config for optimize ssl components
Closes IDF-3055
See merge request espressif/esp-idf!13141
2021-06-28 08:29:31 +00:00
Angus Gratton
14c7d4965b
esp_system: Reconfigure the WDTs at the start of the panic handler
...
This is mostly important on ESP32 ECO3 with the
ESP32_ECO3_CACHE_LOCK_FIX, because when we stall the other CPU core
before we disable the TG1 WDT then the first CPU can get stuck
in WDT ISR handle_livelock_int routine waiting for the other CPU.
2021-06-28 17:24:39 +10:00
Darian Leung
b901cbd273
USB: Make unit test mock classes common
...
This commit moves the mock classes used for HCD unit tests into
a common header so that other layers of the USB Host stack can
also utilzie them for their own unit tests.
2021-06-28 15:02:58 +08:00
shenjun
aac71d4f02
mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master
2021-06-28 14:38:21 +08:00
Ivan Grokhotkov
d7928bf1db
Merge branch 'feature/esp32c3_apptrace' into 'master'
...
apptrace: refactoring & esp32c3 support
See merge request espressif/esp-idf!11702
2021-06-28 06:00:24 +00:00
David Čermák
aefc56798f
Merge branch 'feature/sperate_esp_netif_component' into 'master'
...
esp_netif: Add CONFIG_PPP_SUPPORT and CONFIG_LWIP_SLIP_SUPPORT to sperate the code
Closes IDF-3042
See merge request espressif/esp-idf!13014
2021-06-28 04:41:18 +00:00
bizhuangyang
78c67d2384
gpio:support gpio in/out/interrupt for esp32s3(728)
...
Add support of gpio for esp32s3(728). Adjust some pins and comments in test_gpio.c. Add support for gpio functions for gpio19 and gpio20. Update S3 programming guide Peripheral API: gpio and sigmadelta. Add unit test for input and output function of S3 USB pins(GPIO19 and GPIO20) and C3 USB pins(GPIO18 and GPIO19). Adjust input only test in test_spi_master.c.
2021-06-28 11:44:14 +08:00
wuzhenghui
a59eb2d607
update c3 bootloader ld addr info
2021-06-28 10:51:06 +08:00
liuhan
37e08d38a4
tls: Modify tls optimize both mbedtls and wolfssl
2021-06-28 10:22:24 +08:00
Michael (XIAO Xufeng)
afc2bc94b3
Merge branch 'feature/add_opi_flash_psram_support' into 'master'
...
spi flash: opi flash psram support and spi timing tuning support on 727
Closes IDF-3097
See merge request espressif/esp-idf!12946
2021-06-28 01:59:19 +00:00
Angus Gratton
c9287888a5
Merge branch 'feature/driver_mock' into 'master'
...
[driver]: added mocking of spi master and gpio
See merge request espressif/esp-idf!12054
2021-06-28 00:38:44 +00:00
Angus Gratton
a041faec77
Merge branch 'feature/ulp_riscv_delay' into 'master'
...
riscv-ulp: Add DS18B20 1wire RISCV-ULP example
Closes IDF-1746 and IDF-3456
See merge request espressif/esp-idf!14115
2021-06-27 23:45:38 +00:00
Wang Meng Yang
0b42c8fc73
Merge branch 'bugfix/fix_c3_s3_some_bugs_06_15' into 'master'
...
Bugfix/fix c3 s3 some bugs 06 15
See merge request espressif/esp-idf!14018
2021-06-27 23:45:22 +00:00
Michael (XIAO Xufeng)
25f5fc7d6f
Merge branch 'feature/support_spi_on_728' into 'master'
...
spi_master: enable a unit test closed on esp32s3 before
Closes IDF-3226
See merge request espressif/esp-idf!13845
2021-06-27 05:41:10 +00:00
Chen Yi Qun
a64fc3b452
LEDC: fix bit error in ledc_struct.h
2021-06-25 20:25:45 +08:00
David Čermák
8e3e65a47b
Merge branch 'feature/update_mqtt_submodule' into 'master'
...
MQTT: Support for certificate bundle; Client clean-up
Closes IDFGH-5275 and IDFGH-5276
See merge request espressif/esp-idf!14125
2021-06-25 12:02:05 +00:00
Armando
bc248278f8
spiflash: add octal spi psram support on 727
2021-06-25 19:41:57 +08:00
Wang Meng Yang
6ecffb02aa
Merge branch 'bugfix/ble_start_scan_crash_issue_mr_master' into 'master'
...
ble start scan crash issue
See merge request espressif/esp-idf!13798
2021-06-25 10:31:01 +00:00
laokaiyao
1138be502e
driver/timer: only re-enable alarm in callback when auto reload is true
...
closes https://github.com/espressif/esp-idf/issues/7001
2021-06-25 15:44:23 +08:00
zwj
97188e8068
support hw recorrect
2021-06-25 15:30:02 +08:00
zwj
d8474a92bf
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-25 15:29:38 +08:00
yuanjm
56b9bebe41
esp_netif: Correct spelling mistakes
2021-06-25 14:52:34 +08:00
yuanjm
d93b3d304e
slip: Fix the definition of cplusplus in the code
2021-06-25 14:51:24 +08:00
yuanjm
bda8cf0c14
esp_netif: Add CONFIG_PPP_SUPPORT and CONFIG_LWIP_SLIP_SUPPORT to sperate the code
2021-06-25 14:51:24 +08:00
David Cermak
4a2e72677c
mdns: Fix crashes reported by the fuzzer tests
2021-06-25 08:34:39 +02:00
David Cermak
dae803335e
mdns/fuzzer: Fix non-instrumentation test to reproduce fuzzer issues
...
Regression from 7d76245173
skipped reading the packet causing issues when locally reproducing crashed found by the fuzzer
2021-06-25 08:33:38 +02:00
Jiang Jiang Jian
08bd291459
Merge branch 'bugfix/debug_prints_caused_build_failure' into 'master'
...
wpa_supplicant: Fix supplicant debug logs errors.
See merge request espressif/esp-idf!13745
2021-06-25 05:45:55 +00:00
Marius Vikhammer
386739595f
RISCV-ULP: Add DS18B20 1wire RISCV-ULP example
2021-06-25 11:26:39 +08:00
Anton Maklakov
b9587c28cc
Merge branch 'ci/change_perf_key' into 'master'
...
ci: update performance test key to db compatible format
See merge request espressif/esp-idf!13993
2021-06-25 03:20:32 +00:00
Jiang Jiang Jian
59b2a378d9
Merge branch 'bugfix/update_esp32_phy_max_tx_power' into 'master'
...
esp_phy: update esp32 phy max tx power
See merge request espressif/esp-idf!14139
2021-06-25 02:48:21 +00:00
David Cermak
4f637e886f
MQTT: Support for certificate bundle; Client clean-up
...
* Closes https://github.com/espressif/esp-idf/issues/7040
* Merges https://github.com/espressif/esp-idf/pull/7041
* Update submodule: git log --oneline 9fdf7b61385633075d5c3b84803f2dd0578d7869..f10321a53b53a146ee299cfecc320b89c0cf6611
Detailed description of the changes:
* Remove unnecessary parentheses
- esp-mqtt commit: db13533904
- esp-mqtt MR: espressif/esp-mqtt!101
* outbox: Cleanup all items when connection closes
- esp-mqtt commit: 1a94efe8b9
- esp-mqtt MR: espressif/esp-mqtt!104
* Outbox: Removes unnecessary calls to outbox_set_pending
- esp-mqtt commit: 36a3990404
- esp-mqtt MR: espressif/esp-mqtt!105
* MQTT: Makes abort connection function void.
- esp-mqtt commit: 67553aba45
- esp-mqtt MR: espressif/esp-mqtt!106
* Client: Removes unused defines
- esp-mqtt commit: eec6f0e17d
- esp-mqtt MR: espressif/esp-mqtt!100
- Closes https://github.com/espressif/esp-mqtt/issues/194
* Config: Added support for certificate bundle
- esp-mqtt commit: 06157be118
- esp-mqtt MR: espressif/esp-mqtt!98
- Closes https://github.com/espressif/esp-mqtt/issues/190
* Config: Adds missing field at config struct (path field)
- esp-mqtt commit: 5b27d1896e
- esp-mqtt MR: espressif/esp-mqtt!96
* Client: Add support for partial transport writes
- esp-mqtt commit: d8c9c7a9e7
- esp-mqtt MR: espressif/esp-mqtt!99
- Partially addresses https://github.com/espressif/esp-idf/issues/6940
* Client: Add support for Retain flag in messages posted by events
- esp-mqtt commit: a00a3134c6
- esp-mqtt MR: espressif/esp-mqtt!99
- Closes https://github.com/espressif/esp-mqtt/issues/193
* esp-mqtt: Added nullchecks for public APIs
- esp-mqtt commit: 2f57985c0b
- esp-mqtt MR: espressif/esp-mqtt!94
- Closes https://github.com/espressif/esp-mqtt/issues/185
* esp-mqtt: Reduce the includes used in all files
- esp-mqtt commit: 87fcce72c9
- esp-mqtt MR: espressif/esp-mqtt!93
* mqtt_outbox: Use STAILQ_FOREACH for outbox_delete_single_expired
- esp-mqtt commit: ff8e64839a
- esp-mqtt MR: espressif/esp-mqtt!97
- Merges https://github.com/espressif/esp-mqtt/pull/187
* Client: Add optimize for depend on ssl
- esp-mqtt commit: 8f3cac8c36
- esp-mqtt MR: espressif/esp-mqtt!95
2021-06-25 03:28:46 +08:00
David Čermák
f86140eb8d
Merge branch 'feature/add_rdnss_kconfig' into 'master'
...
lw-ip: Add ND6 RDNSS DNS server Kconfig option
Closes IDFGH-5209
See merge request espressif/esp-idf!14090
2021-06-24 18:51:43 +00:00
David Čermák
f601cb0fd7
Merge branch 'bugfix/mdns_one_shot_multicast' into 'master'
...
mdns: Support for One-Shot mDNS queries
Closes IDFGH-5375
See merge request espressif/esp-idf!13943
2021-06-24 18:47:06 +00:00
David Čermák
90a2a150dd
Merge branch 'bugfix/dhcps_remove_record_when_request_nak' into 'master'
...
lw-IP: Fix DHCP Server to remove clients record if request not acked
Closes IDFGH-4594
See merge request espressif/esp-idf!12120
2021-06-24 16:31:43 +00:00
Alexey Gerenkov
20fd09728f
apptrace: Adds ESP32-C3 support
2021-06-24 13:16:14 +03:00
Alexey Gerenkov
821869d98d
apptrace: Refactors apptrace for better support various tracing HW
2021-06-24 13:16:13 +03:00
Alexey Gerenkov
792461aa99
esp32c3: Do not enable memory protection under debugger
2021-06-24 13:10:11 +03:00
Alexey Gerenkov
fcad8c7f42
hal/esp32c3: Avoid entering WFI mode under debugger
2021-06-24 13:10:11 +03:00
David Čermák
c345ecf4a0
Merge branch 'feature/netif_dhcp_cleint_server' into 'master'
...
esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code
Closes IDF-3044
See merge request espressif/esp-idf!13152
2021-06-24 08:45:59 +00:00
Kapil Gupta
d3d977617b
wpa_supplicant: Add WPS strict in config option
...
WPS strict disables workarounds with different APs and may cause
IOT issues. Remove this as default and introduce as a config option.
Also declare esp device as single band mobile device otherwise
WFA sniffer was not able to identify it in the certification setup.
2021-06-24 16:15:15 +08:00
David Cermak
96911fb7ea
lwip: Fix DHCP Server to remove clients record if request not acked
...
When client's request refused by sending NAK, its record still resided
in the linked list of pooled addresses. It is okay from the spec
perspective (RFC2131.p16: Server MAY mark the offered address
unavailable), but would consume some memory if the client didn't retry.
Closes https://github.com/espressif/esp-idf/issues/6410
2021-06-24 15:10:24 +08:00
Marius Vikhammer
ee2f8b1a62
build system: always build with -fno-jump-tables & -fno-tree-switch-conversion
...
Jump tables placed in flash would cause issue with code that needed to be ran from IRAM.
These optimizations are now always disabled.
2021-06-24 14:54:10 +08:00
chenjianxing
3c3c7b2ee0
esp_phy: update esp32 phy max tx power
2021-06-24 14:43:03 +08:00
Wang Meng Yang
d674c94f2e
Merge branch 'bugfix/bt_sleep_state_check_assert_failed' into 'master'
...
Bluetooth: fixed the assertion failure in checking hardware sleep state during wake-up
Closes BT-1705
See merge request espressif/esp-idf!14127
2021-06-24 05:21:37 +00:00
David Cermak
f167238fac
mdns: Support for One-Shot mDNS queries
2021-06-24 07:05:00 +02:00
David Čermák
b1981204f3
Merge branch 'bugfix/tcp_transport_cleanup_tls_ctx' into 'master'
...
tcp_transport: Fix to cleanup esp-tls context on close
See merge request espressif/esp-idf!14076
2021-06-24 04:24:15 +00:00
wangmengyang
a024de7cac
component/bt: fixed the assert in checking hardware sleep state during wake-up
...
The hardware sleep state change can take some time after wake-up interrupt. Use busy waiting instead of directly assert
2021-06-24 10:35:40 +08:00
Jakob Hasse
79b0256d63
[driver]: partial mocking of driver component
...
* added mocking of spi master and gpio
* mock registering in one function in
component.cmake
2021-06-24 10:10:29 +08:00
liuhan
7d5ae1ee26
esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code
2021-06-24 09:49:45 +08:00
Angus Gratton
cfb6857f53
Merge branch 'feature/move_libc_psram_to_flash' into 'master'
...
psram: add configuration macros to move workaround libc functions to flash
Closes IDF-309
See merge request espressif/esp-idf!13908
2021-06-23 23:22:13 +00:00
David Čermák
3452c5f194
Merge branch 'feature/mdns-value-len' into 'master'
...
mdns: allow explicit txt value length
See merge request espressif/esp-idf!13981
2021-06-23 14:53:48 +00:00
Jiang Jiang Jian
be487a08a2
Merge branch 'feature/optimize_firmware_code_size' into 'master'
...
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size
Closes IDF-3046 and IDF-3045
See merge request espressif/esp-idf!12976
2021-06-23 14:03:15 +00:00
Ivan Grokhotkov
94611bc281
Merge branch 'bugfix/add_exception_emergency_pool_again' into 'master'
...
[esp_system]: added __cxx_eh_arena_size_get again
See merge request espressif/esp-idf!14089
2021-06-23 10:34:27 +00:00
Wang Meng Yang
045c9a3bed
Merge branch 'feature/support_esp32s3_ble' into 'master'
...
Bluetooth: fixed interrupt flooding during scan and support BLE on ESP32-S3
Closes IDF-3384
See merge request espressif/esp-idf!14015
2021-06-23 10:33:20 +00:00
Omar Chebib
da731a7eeb
psram: add configuration macros to move workaround libc functions to flash
...
Workaround libc can be moved to flash thanks to KConfig macros.
However, the following functions: `itoa`, `memcmp`, `memcpy`, `memset`, `strcat`, `strcmp`, and `strlen` are always kept it in IRAM.
2021-06-23 17:40:02 +08:00
Angus Gratton
dc6750ebf4
Merge branch 'bugfix/pthread_cond_wait_timeout' into 'master'
...
pthread: Fix pthread_cond_timedwait returning early from timeout
Closes IDFGH-5119 and IDF-1055
See merge request espressif/esp-idf!13658
2021-06-23 09:26:54 +00:00
Michael (XIAO Xufeng)
315680de3d
Merge branch 'bugfix/relax_mcpwm_test_requirements' into 'master'
...
test_pwm: relax the requirement of mcpwm test
Closes IDFCI-631
See merge request espressif/esp-idf!14084
2021-06-23 08:56:29 +00:00
Mahavir Jain
e31049eacc
Merge branch 'bugfix/heap_tracing_build_issue_for_c3' into 'master'
...
heap: fix build issue with HEAP_TRACING config for C3
See merge request espressif/esp-idf!13948
2021-06-23 03:44:46 +00:00
Zhang Jun Hao
5df7e7bac6
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size
2021-06-23 11:04:00 +08:00
yuanjm
b0e1a8e752
lwip: Add ND6 RDNSS DNS server Kconfig option
...
Closes https://github.com/espressif/esp-idf/issues/6982
2021-06-23 10:09:26 +08:00
wangmengyang
aff1696c4e
components/bt: fixed two bugs
...
1. Use correct addresses of Bluetooth Low Power Clock registers on Chip 7.2.8 ESP32-S3
2. Disabled CS-RXDONEMSK to avoid RX interrupt flooding during scan event in coexistence scenario
2021-06-23 07:06:28 +08:00
David Čermák
ecd3f85794
Merge branch 'bugfix/ws_client_const_correct' into 'master'
...
ws_client: Fix const correctness on strings (GitHub PR)
Closes IDFGH-5364
See merge request espressif/esp-idf!13952
2021-06-22 16:30:29 +00:00
David Čermák
29c46ad8a9
Merge branch 'feature/optimize_mqtt_option' into 'master'
...
transport: Add CONFI_WS_TRANSPORT for optimize the code size
Closes IDF-3113
See merge request espressif/esp-idf!13171
2021-06-22 16:02:49 +00:00
Michael (XIAO Xufeng)
99988fa454
Merge branch 'refactor/emac_hal' into 'master'
...
hal/emac_hal: refactor of emac_hal
Closes IDF-3155
See merge request espressif/esp-idf!13500
2021-06-22 15:34:51 +00:00
Jiang Jiang Jian
dd1352dec3
Merge branch 'bugfix/fix_amsdu_fragment_vulnerability' into 'master'
...
esp_wifi: fix amsdu & fragment vulnerabilities
Closes WIFI-3700 and WIFI-3733
See merge request espressif/esp-idf!13719
2021-06-22 13:00:42 +00:00
Wang Meng Yang
d685e85ff4
Merge branch 'bugfix/spp_connect_20_fail' into 'master'
...
component_bt: fix spp acceptor deadlock
Closes IDFGH-5172
See merge request espressif/esp-idf!13940
2021-06-22 12:21:10 +00:00
David Čermák
2efc03579a
Merge branch 'feature/lwip_icmp' into 'master'
...
Add CONFIG_LWIP_ICMP to option ICMP
Closes IDF-3119
See merge request espressif/esp-idf!13157
2021-06-22 12:15:54 +00:00
Wang Meng Yang
9ee25986a8
Merge branch 'bugfix/fix_a2dp_sink_blocked' into 'master'
...
Bugfix/Fix a2dp Sink Blocked Bugs
Closes IDFGH-4920, IDFGH-5348, and BT-1740
See merge request espressif/esp-idf!12776
2021-06-22 11:33:31 +00:00
Mahavir Jain
456c52055c
Merge branch 'fix/mbedtls_remove_invalid_menuconfig_options' into 'master'
...
Fix/mbedtls remove invalid menuconfig options
Closes IDF-950
See merge request espressif/esp-idf!13955
2021-06-22 10:02:25 +00:00
Mahavir Jain
a00203b2f5
Merge branch 'feature/update_expat' into 'master'
...
expat: Update library from 2.2.9 to 2.4.1
Closes IDF-2793
See merge request espressif/esp-idf!13918
2021-06-22 09:52:46 +00:00
Roland Dobai
b22fcbef96
Merge branch 'feature/drop_py2_support' into 'master'
...
Drop support for unsupported Python versions
Closes IDF-1676
See merge request espressif/esp-idf!13622
2021-06-22 09:28:49 +00:00
Michael (XIAO Xufeng)
c82087610a
Merge branch 'feature/hal_assert' into 'master'
...
hal: added platform port layer
Closes IDF-1341
See merge request espressif/esp-idf!13608
2021-06-22 08:05:10 +00:00
morris
40f350693f
rmt: update soc data with regtool for esp32s3
2021-06-22 15:29:11 +08:00
morris
01a28add47
rmt: apply general check macro
2021-06-22 15:29:11 +08:00
morris
8d9e968d3f
rmt: fix wrong macro of independent channel clock
2021-06-22 15:29:11 +08:00
morris
8e483e34a8
rmt: restructure rmt_signal_conn_t
2021-06-22 15:29:11 +08:00
morris
a1494809b2
rmt: clean up LL driver
2021-06-22 15:29:11 +08:00
xiongweichao
96aff16dd3
fix spp acceptor deadlock
...
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 15:05:27 +08:00
Mahavir Jain
9ac9b69087
heap: use hal specific API to get cpu cycles count
...
This fixes compilation issue of heap tracing feature for RISC-V
architecture.
2021-06-22 14:14:10 +08:00
Jakob Hasse
64750acbb0
[esp_system]: added __cxx_eh_arena_size_get again
...
* This function has been accidentally removed.
It is necessary to provide the emergency
exception memory pool size for C++ code.
Since our libstdc++ always has exceptions
enabled, this function must exist here even if
-fno-exception is set for user code.
2021-06-22 14:14:08 +08:00
Ivan Grokhotkov
bdb01b8285
Merge branch 'bugfix/longjmp_s3' into 'master'
...
[esp_rom]: fixed S3 longjmp patch
Closes IDF-3391
See merge request espressif/esp-idf!13946
2021-06-22 04:00:51 +00:00
morris
4c0ddd34b4
ci: added script to check api violations
2021-06-22 11:28:01 +08:00
morris
9afdf54748
hal: added HAL_ASSERT
2021-06-22 11:28:01 +08:00
liuhan
8b02c9026a
transport: Add CONFI_WS_TRANSPORT for optimize the code size
2021-06-22 10:51:04 +08:00
Michael (XIAO Xufeng)
b727dca308
Merge branch 'ci/sdmmc_performance_log' into 'master'
...
ci: add log output for the sdmmc performance test
See merge request espressif/esp-idf!13753
2021-06-22 02:45:05 +00:00
laokaiyao
48fdf6912d
test_pwm: relax the requirement of mcpwm test
2021-06-22 10:41:09 +08:00
Wang Meng Yang
71250e2984
Merge branch 'bugfix/start_enc_proc_mic_err_fix' into 'master'
...
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller
See merge request espressif/esp-idf!14056
2021-06-22 01:52:35 +00:00
Angus Gratton
c685ef303b
pthread: Fix race conditions in existing pthread UTs
2021-06-22 08:26:08 +08:00
Angus Gratton
262107691a
pthread: Fix pthread_cond_timedwait returning early from timeout
...
The reason timeouts would sometimes happen before the abstime deadline was due
to rounding errors converting the timeout to milliseconds, and also because
vTaskDelay(1) only delays until the next tick which is less than one full tick
period.
Closes https://github.com/espressif/esp-idf/issues/6901
2021-06-22 08:26:08 +08:00
Roland Dobai
407053592e
Drop support for unsupported Python versions
2021-06-21 21:48:49 +02:00
“YangZhao”
7bec64eaa3
If the scan window set as 4 slots and the scan interval set as 5 slots
...
,then the device will crash when starting scanning.This commit is to fix
this bug.
2021-06-21 21:14:42 +08:00
liqigan
fd83938f39
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:02:36 +08:00
Armando
6a49ceb67e
spi_master: enable a test closed for s3 before
2021-06-21 19:42:49 +08:00
sushant.chougule
8f7ed33ba3
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller
2021-06-21 17:03:02 +05:30
Liu Han
77d4f3080f
expat: Update library from 2.2.9 to 2.4.1
2021-06-21 17:45:43 +08:00
Shu Chen
30524406f0
Merge branch 'feature/otbr-example' into 'master'
...
openthread: add platform UDP and border router example
See merge request espressif/esp-idf!13885
2021-06-21 08:33:15 +00:00
liuhan
2d80c122b1
lwip: Add CONFIG_LWIP_ICMP and CONFIG_LWIP_ICMP6 to sperate the code
2021-06-21 15:14:19 +08:00
Fu Hanxi
cb46558c30
ci: update performance test key to db compatible format
2021-06-21 14:17:45 +08:00
Omar Chebib
f810d51327
coredump: simplify the implementation of esp_core_dump_image_erase
function
...
Closes https://github.com/espressif/esp-idf/pull/6949
2021-06-21 11:26:09 +08:00
Marius Vikhammer
fae5185916
CI: regenerate esp_err_to_name.c
...
Move esp err to name check to pre-check stage in CI to prevent failures like this.
2021-06-21 11:19:56 +08:00
0xFEEDC0DE64
352dc6cf83
Fixed esp_core_dump_image_erase() for flash encryption with 16byte long write buffer
2021-06-21 10:50:47 +08:00
David Cermak
1a7e75036b
tcp_transport: Fix to cleanup esp-tls context on close
2021-06-20 21:21:22 +02:00
Michael (XIAO Xufeng)
67743ac444
Merge branch 'feat/sdio_slave_eof' into 'master'
...
sdio_slave: allow getting end of frame information
See merge request espressif/esp-idf!13510
2021-06-20 16:31:54 +00:00
Aditya Patwardhan
e44bd93cc9
i) wpa_supplicant: Force enable the necessary options for mbedtls in the wpa_supplicant to fix illegal combinations in mbedtls
...
ii) Fix dependancy for one option in mbedtls menuconfig
2021-06-20 08:39:51 +05:30
Michael (XIAO Xufeng)
6d1eddb9c0
sd_test: refactor the test case
2021-06-19 14:27:44 +08:00
Michael (XIAO Xufeng)
bad9ab052d
ci: add log output for the sdmmc performance test
2021-06-19 14:12:22 +08:00
KonstantinKondrashov
f9ad16bb66
esp_timer: Timers with skip_unhandled_events option won't wake up system from light sleep
2021-06-19 12:45:17 +08:00
Island
cdad1eaa9c
Merge branch 'feat/ble_mesh_make_unprov_beacon_interval_configurable' into 'master'
...
ble_mesh: stack: Make unprovisioned beacon interval configurable
Closes IDFGH-4930
See merge request espressif/esp-idf!12811
2021-06-18 11:57:45 +00:00
Michael (XIAO Xufeng)
2d5f3a4825
Merge branch 'feature/usb_serial_jtag_s3' into 'master'
...
usb_serial_jtag: add initial support for S3 (no stub support)
See merge request espressif/esp-idf!13890
2021-06-18 10:35:07 +00:00
Wang Meng Yang
e245d4c9cd
Merge branch 'bugfix/bta_hf_client_co_cb_ptr_macro' into 'master'
...
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
See merge request espressif/esp-idf!12335
2021-06-18 09:03:33 +00:00
Jakob Hasse
e32831033a
[esp_rom]: fixed S3 longjmp patch
...
* On S3, the placement of ROM functions is
ECO-dependent. Hence, we don't jump into
the middle of the longjmp function in ROM
on S3 anymore.
Instead, the whole longjump function is used
in the patch.
* Also properly excluded the patch from
bootloader build with Makefiles
Closes IDF-3391
2021-06-18 15:47:41 +08:00
Angus Gratton
6b468d40fb
Merge branch 'bugfix/exlude_log_linux_make' into 'master'
...
[log]: excluding log_linux.c correctly now
Closes IDFGH-5409
See merge request espressif/esp-idf!13995
2021-06-18 07:37:02 +00:00
Island
380efa1f3c
Merge branch 'bugfix/AuthValue_leak' into 'master'
...
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth...
See merge request espressif/esp-idf!13920
2021-06-18 06:08:14 +00:00
Cao Sen Miao
f2fe0847d5
usb_serial_jtag: add initial support for S3 (including flashing, monitoring, writing, and reading) but console is not avaliable now
2021-06-18 12:42:41 +08:00
Angus Gratton
298729b904
Merge branch 'feature/efuse_reading_wo_locks' into 'master'
...
efuse: Burn operation does not block reading
See merge request espressif/esp-idf!11683
2021-06-18 03:52:57 +00:00
Konstantin Kondrashov
4c0cf40a39
efuse: Burn operation does not block reading
2021-06-18 11:52:47 +08:00
wangjialiang
fbacede604
ble_mesh: stack: Fix crash for net_key_del when subnet is NULL
2021-06-18 11:52:00 +08:00
wangjialiang
7bfae982e4
ble_mesh: stack: Make unprovisioned beacon interval configurable.
...
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-18 11:52:00 +08:00
Angus Gratton
7a74f5f38c
Merge branch 'bugfix/hcd_multiple_bugs' into 'master'
...
(2) USB HCD: Fix multiple bugs
Closes IDF-3393
See merge request espressif/esp-idf!13932
2021-06-18 01:33:04 +00:00
Jiacheng Guo
68ce4f1404
openthread: add platform UDP and border router example
...
This MR adds the OpenThread border router example and supports the
Thread 1.1 border agent feature.
* Adds the OPENTHREAD_BORDER_ROUTER Kconfig option.
* Adds platform UDP and task queue port for the border agent feature.
* Adds `esp_openthread_border_router_*` api.
* Adds the `esp_otbr` example.
2021-06-17 17:29:16 +08:00
wangjialiang
d4232ee8f9
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM
2021-06-17 17:05:01 +08:00
KonstantinKondrashov
57c7ebc4bc
flash_encrypt: Adds API to switch flash encryption "Development" to "Release"
2021-06-17 12:58:04 +05:00
David Čermák
4d604ee6d2
Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
...
CI: Move mqtt publish tests from regular pipeline to weekend tests
Closes IDFCI-653
See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Michael (XIAO Xufeng)
1c14ad0844
Merge branch 'test/flash_perf_thr_update_by_grafana_avg' into 'master'
...
ci: adjust spi_flash performance value according to more test data
See merge request espressif/esp-idf!13958
2021-06-17 05:04:40 +00:00
Michael (XIAO Xufeng)
bf3f315630
Merge branch 'soc/728_header' into 'master'
...
soc: update the csv headers for esp32s3(legacy format)
See merge request espressif/esp-idf!13926
2021-06-17 04:56:38 +00:00
Jakob Hasse
db46ad8ef2
[log]: excluding log_linux.c correctly now
...
* log_linux.c needs to be excluded generally
in make since Linux target isn't supported
when building with make
Closes https://github.com/espressif/esp-idf/issues/7155
2021-06-17 11:09:56 +08:00
ChenJianxing
ef127ab9dd
esp_wifi: fix amsdu & fragment vulnerabilities
2021-06-17 10:11:33 +08:00
Michael (XIAO Xufeng)
904afc65f8
ci: adjust spi_flash performance value according to more test data
...
After we have the performance dashboard, we have more data and no longer depend on the threshold to ensure performance.
Set looser performance thresholds to avoid CI failure.
2021-06-17 09:49:04 +08:00
Michael (XIAO Xufeng)
18860ff304
sdio_slave: format source file
2021-06-17 09:40:09 +08:00
Michael (XIAO Xufeng)
591e4c4b31
sdio_slave: allow getting end of frame information
2021-06-17 09:40:08 +08:00
Wang Meng Yang
0ee043a8a7
Merge branch 'bugfix/active_ext_scan_performance_in_coex' into 'master'
...
bugfix/active_ext_scan_performance_in_coex
See merge request espressif/esp-idf!13543
2021-06-17 01:32:16 +00:00
Angus Gratton
059353b0c2
Merge branch 'feature/refactor_common_secure_boot_code' into 'master'
...
secure_boot/flash_encryption: Refactoring
Closes IDF-2582 and IDF-2035
See merge request espressif/esp-idf!12963
2021-06-16 23:21:45 +00:00
Konstantin Kondrashov
f339b3fc96
efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
...
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
Cao Sen Miao
11672dc9e5
soc: update the csv headers for esp32s3
2021-06-16 18:04:18 +08:00
Jiacheng Guo
b4e0088b68
mdns: allow explicit txt value length
2021-06-16 17:47:07 +08:00
Michael (XIAO Xufeng)
38f0d52e2c
Merge branch 'bugfix/uart_race_condition' into 'master'
...
Fix couple of UART issues
Closes IDFGH-5254
See merge request espressif/esp-idf!13631
2021-06-16 07:48:06 +00:00
laokaiyao
fe354f1c50
hal/emac_hal: refactord emac_hal
2021-06-16 09:48:21 +08:00
Michael (XIAO Xufeng)
69e26fbcd7
Merge branch 'feature/s3_ci_enable' into 'master'
...
CI: Enable unit tests for S3
See merge request espressif/esp-idf!13875
2021-06-15 16:15:11 +00:00
0xFEEDC0DE64
70b1247a47
ws_client: Fix const correctness in the API config structure
...
Merges https://github.com/espressif/esp-idf/pull/7113
2021-06-15 13:46:13 +02:00
Michael (XIAO Xufeng)
084f1ca3f8
Merge branch 'bugfix/remove_chip_related_comment_for_essl' into 'master'
...
essl: remove chip related comments in essl.h
Closes IDF-2772
See merge request espressif/esp-idf!13444
2021-06-15 11:05:45 +00:00
Darian Leung
5f9692ae97
HCD: Fix multiple bugs
...
This commit fixes the following bugs with the HCD and USB Host HAL
- Make the setting to periodic frame list and scheduling to occur after
a reset command
- All port errors states should put the port into the HCD_PORT_STATE_RECOVERY
state.
- Fixed incorrect return type of hcd_port_command() function
2021-06-15 18:52:56 +08:00
Michael (XIAO Xufeng)
0c1a242433
Merge branch 'refactor/usb_host_irp_to_urb' into 'master'
...
(1) USB HCD: Change IRP to URBs
Closes IDF-3392
See merge request espressif/esp-idf!13931
2021-06-15 07:49:34 +00:00
Marius Vikhammer
693d4a69d8
uart: update S3 uart soc reg headers
2021-06-15 13:39:51 +08:00
Marius Vikhammer
f124536948
system: add support for reset reason hint on S3
2021-06-15 13:39:51 +08:00
Marius Vikhammer
79b5dedeb1
CI: minor testcases fixes and disable some cases that cant run on S3
2021-06-15 13:39:48 +08:00
Shu Chen
2ed6e269e7
Merge branch 'feature/simplify-openthread-init' into 'master'
...
openthread: simplify esp_openthread initialization
See merge request espressif/esp-idf!13900
2021-06-15 03:46:55 +00:00
David Cermak
79ba738626
mdns: Fix crashes reported by the fuzzer
2021-06-11 16:53:06 +02:00
David Cermak
7d76245173
mdns: Minor correction of the test code
2021-06-11 16:53:06 +02:00
David Cermak
14099fe15e
mdns: Fix fuzzer from miss-interpreting adding services as timeouts
2021-06-11 16:53:06 +02:00
Jiacheng Guo
8e0af4267b
openthread: move implementation-specific functions to private headers
2021-06-11 18:02:03 +08:00
Jiang Jiang Jian
9228b7d55d
Merge branch 'bugfix/fix_crash_when_csi_enable' into 'master'
...
esp_wifi: fix crash when csi enable
Closes FCS-669
See merge request espressif/esp-idf!13921
2021-06-11 05:31:04 +00:00
Jiacheng Guo
dea281a48e
openthread: simplify esp_openthread initialization
...
The current OpenThread initialization is too verbose and error-prone.
Using a simple flow will be more user friendly and paves way for
introducing more border router features.
2021-06-11 12:13:02 +08:00
Angus Gratton
eca878b37f
Merge branch 'feature/728_crypto_bringup' into 'master'
...
aes/sha/rsa: 728 bringup
Closes IDF-1792, IDF-1789, and IDF-1788
See merge request espressif/esp-idf!13874
2021-06-11 03:05:40 +00:00
David Cermak
26f9d2d5e1
rtc: Fix minor const char* correction issue
2021-06-10 22:22:48 +08:00
David Cermak
02ac1baee4
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-06-10 22:22:48 +08:00
Rahul Tank
9013edfd93
Bluedroid: Fixed issue of option not being set due to incorrect macro
...
name.
2021-06-10 22:06:26 +08:00
David Čermák
a09e413fb6
Merge branch 'feature/add-mdns-delegation' into 'master'
...
mdns: add host and service delegation
See merge request espressif/esp-idf!13063
2021-06-10 13:58:32 +00:00
Zhang Jun Hao
4d612ad053
esp_wifi: fix crash when csi enable
2021-06-10 16:30:50 +08:00
David Cermak
badcbe0fcb
mqtt: Moved weekend tests to test apps
2021-06-10 09:09:14 +02:00
Angus Gratton
ad7ad185e3
Merge branch 'bugfix/c3_s3_apb_freq' into 'master'
...
esp_hw_support: Fix ESP32-C3/S3 APB frequency
See merge request espressif/esp-idf!13296
2021-06-09 23:42:09 +00:00
Michael (XIAO Xufeng)
1322a44588
Merge branch 'feature/mcpwm_refactor_and_support_esp32s3' into 'master'
...
MCPWM: refactor driver and support ESP32-S3
Closes IDF-1765
See merge request espressif/esp-idf!11907
2021-06-09 16:45:20 +00:00
Darian Leung
18f9dabce1
USB: Change IRP to URBs
...
This commit changes the IRP (I/O Request Packet) structure to
the URB (USB Request Block) in order to represent USB transfers
in the host stack. The new URB strcuture:
- Add extra safety with const fields
- Allows each layer of the stack to add their own overhead variables
The HCD layer API and tests have been updated to use this new URB structure
2021-06-09 22:09:46 +08:00
Omar Chebib
7dd499d1f4
i2c: commands can now be re-used without deleting and creating new cmd links
...
It is now possible to call `i2c_master_cmd_begin()` on the same
`i2c_cmd_handle_t` parameter. Thus, no extra allocation will be performed.
Moreover, as commands contains pointers to data, these can be modified
between two calls to `i2c_master_cmd_begin()`. This becomes very handy
for framebuffers.
2021-06-09 17:03:39 +08:00
Jiang Jiang Jian
1d1060e25b
Merge branch 'bugfix/wapi_keymgmt' into 'master'
...
WAPI: Key mgmt type compability issue.
Closes WIFI-3717 and WIFI-3716
See merge request espressif/esp-idf!13752
2021-06-09 08:07:48 +00:00
Angus Gratton
e20ccf4846
Merge branch 'feature/esp_log_level_get_pr6573' into 'master'
...
log: Add esp_log_level_get() function (PR)
Closes IDFGH-4770
See merge request espressif/esp-idf!13881
2021-06-09 07:32:39 +00:00
Omar Chebib
cfcbca1271
i2c: optimize space allocated for read or write buffers
...
Only a single command will be allocated now when a read or write is
prepared in the command list. The size of a command's buffer is not
limited to 255 bytes anymore.
2021-06-09 15:21:20 +08:00
Omar Chebib
e1f388f114
i2c: add i2c_cmd_link_create_static()
to create commands from a given buffer
...
Application can now provide a buffer in order to allocate commands link.
Fixed few unclear details in the documentation.
Added wrappers to simplify I2C transfers.
Closes https://github.com/espressif/esp-idf/issues/5108
2021-06-09 15:21:20 +08:00
Island
74414cc5e3
Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure' into 'master'
...
ble_mesh: stack: Add the check of Provisioning Random & Confirmation sent and...
See merge request espressif/esp-idf!13886
2021-06-09 06:34:58 +00:00
Angus Gratton
bc4eb2071c
Merge branch 'feature/toolchain_2021r1' into 'master'
...
Bring 2021r1 toolchains
Closes IDFGH-5009
See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
morris
b47d012720
mcpwm: refactor unit test
2021-06-09 12:27:01 +08:00
morris
d4fe219c49
mcpwm: refactor driver
2021-06-09 12:27:01 +08:00
Angus Gratton
0716520423
Merge branch 'feature/s3_doc_build' into 'master'
...
build docs: enable building of S3 docs
Closes IDF-3284
See merge request espressif/esp-idf!13661
2021-06-09 04:09:55 +00:00
wangjialiang
48979803e8
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner
2021-06-09 03:24:35 +00:00
Island
63e22a1860
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash' into 'master'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13887
2021-06-09 02:47:34 +00:00
Michael (XIAO Xufeng)
afe9b42cbf
Merge branch 'typo_fix/fix_typo_in_comment_in_uart_ll' into 'master'
...
Fix typo in `include/hal/uart_ll.h`
Closes IDFGH-5320
See merge request espressif/esp-idf!13826
2021-06-09 02:13:36 +00:00
Marius Vikhammer
bdfda351bd
build docs: enable building of S3 docs
...
* Added suport for building esp32s3 docs
* Fixed all related warnings
* Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Angus Gratton
d995086621
Merge branch 'bugfix/memprot_bypass' into 'master'
...
System/Security: Memprot bypassing mitigation
Closes IDF-2700
See merge request espressif/esp-idf!13795
2021-06-09 00:02:30 +00:00
Mahavir Jain
3a65e38bfa
Merge branch 'bugfix/check_for_eof' into 'master'
...
esp_http_server, protocomm: Close the connection when recv() returns 0
Closes IDFGH-4735
See merge request espressif/esp-idf!12747
2021-06-08 14:41:33 +00:00
Jiacheng Guo
c88e1e3712
openthread: fix wrong OpenThread uart read return value handling
2021-06-08 19:49:37 +08:00
Angus Gratton
5b12cd4a76
esp_hw_support: Fix ESP32-C3/S3 APB frequency
...
Regression in e6edf34e82
, APB frequency
accidentally set at 81MHz not 80MHz.
2021-06-08 07:52:32 +00:00
Angus Gratton
6961e4b3d5
Merge branch 'bugfix/ulp_overflow_rtc_mem' into 'master'
...
ulp: ULP_COPROC_RESERVE_MEM limitation
See merge request espressif/esp-idf!13814
2021-06-08 07:20:46 +00:00
Angus Gratton
7529355597
Merge branch 'bugfix/remove_unnecessary_cmake_comment' into 'master'
...
[unity]: deleted unuseful comment for linux target
See merge request espressif/esp-idf!13865
2021-06-08 06:57:11 +00:00
Angus Gratton
6c44fe291c
esp_log: Refactor esp_log_level_get() into a common static function
...
Removes duplicate code for a small runtime & size overhead if
esp_log_level_get() is not called in the firmware.
Follow-up to https://github.com/espressif/esp-idf/pull/6573
2021-06-08 16:53:23 +10:00
0xFEEDC0DE64
fc85f8a47d
esp_log: Implemented esp_log_level_get(TAG)
...
Closes https://github.com/espressif/esp-idf/pull/6573
2021-06-08 16:53:23 +10:00
Marius Vikhammer
4786f2d88a
aes/sha/rsa: update registers for ESP32-S3
...
Updates register headers for ESP32-S3 and default
crypto accelerators for S3 to enabled
2021-06-08 14:15:18 +08:00
Mahavir Jain
664c9a343a
Merge branch 'feature/prov_mgr_reset_state' into 'master'
...
wifi_provisioning: Add API to erase credentials and reset provisioning state
See merge request espressif/esp-idf!13756
2021-06-08 05:59:58 +00:00
Siarhei Volkau
ba15970abb
esp_http_server, protocomm: Consider a connection as closed if recv() returns 0
...
This check prevents infinite loop on closed sockets
Closes https://github.com/espressif/esp-idf/pull/6541
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-06-08 05:48:30 +00:00
Michael (XIAO Xufeng)
b94c61497d
Merge branch 'bugfix/revert_spi_flash_cs_setup_argument' into 'master'
...
spi_flash: reverted unwilling cs_setup argument
See merge request espressif/esp-idf!13866
2021-06-07 16:46:06 +00:00
Shubham Kulkarni
f06d1cdc75
wifi_provisioning: Add check for WIFI_REASON_MIC_FAILURE error code in wifi_prov_mgr_event_handler_internal
2021-06-07 12:23:28 +00:00
Shubham Kulkarni
34bdbf9ee2
wifi_provisioning: Add API to reset state if provisioning fails
2021-06-07 12:23:28 +00:00
Michael (XIAO Xufeng)
e005ec0899
Merge branch 'feature/s3_base_support' into 'master'
...
soc: S3 base support
See merge request espressif/esp-idf!13827
2021-06-07 12:07:08 +00:00
Anton Maklakov
e5faf4f924
ci: fix test_build_system* fails
2021-06-07 18:48:38 +07:00
xiewenxiang
96811de932
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:28:12 +08:00
alex.li
db165da4b8
WAPI: Key mgmt type compability issue.
2021-06-07 17:11:01 +08:00
Anton Maklakov
343cc5025b
make build system: fix build for undefined _lock_* funcs
2021-06-07 12:53:45 +07:00
Anton Maklakov
b46b50eaa6
newlib: Add ESP_ROM_HAS_RETARGETABLE_LOCKING capability for C3 and S3 chips
2021-06-07 12:53:45 +07:00
Anton Maklakov
5a982ffe7a
hal: fix ee.get_gpio_in command for esp32-s3
2021-06-07 12:52:50 +07:00
Angus Gratton
0f1b24891b
Merge branch 'bugfix/esp32_u4wdh_quad_io' into 'master'
...
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip
Closes IDFGH-4353
See merge request espressif/esp-idf!13111
2021-06-07 04:50:54 +00:00
Angus Gratton
18e3055f75
Merge branch 'bugfix/repl_on_another_uart' into 'master'
...
console: fix a bug preventing us from starting a CLI on non-default UART
Closes IDFGH-5114
See merge request espressif/esp-idf!13594
2021-06-07 03:53:46 +00:00
wangmengyang
775465c140
components/bt: fixed performance issue for extended active scan in coexistence scenario: use the same priority for Rx of AUX_ADV_IND and AUX_SCAN_RSP
2021-06-07 11:31:15 +08:00
Marius Vikhammer
19a492bc8d
soc: add base support for ESP32-S3
...
Updates the following with changes from verification branches:
* esp_rom linker files
* rtc_cntl and system reg and struct headers
Also updates:
* GDMA driver with new register layout
* esptool submodule commit
2021-06-07 10:40:14 +08:00
Jan Brudný
325deed208
esp32: update copyright notice
2021-06-04 11:51:06 +02:00
Michael (XIAO Xufeng)
dc6d6f225e
spi_flash: reverted unwilling cs_setup argument
...
Partially reverted 08f1bbe0c7
.
The host should have this flexibility, which is consistent to the cs_hold argument.
However, the user should know as less as possible about the host.
So the wrapper layer (esp_flash_spi_init.c) should cover this, helping to set cs_setup to 1, to meet the common requirements.
2021-06-04 15:29:53 +08:00
Michael (XIAO Xufeng)
1596e336a1
Merge branch 'bugfix/spi_flash_cs_setup' into 'master'
...
spi_flash: fix cs line setup to make the flash driver more stable
Closes IDF-3240
See merge request espressif/esp-idf!13623
2021-06-04 07:05:05 +00:00
Angus Gratton
65f70b946f
Merge branch 'bugfix/misc_ci_fixes' into 'master'
...
ci: esp_err_to_name and check_readme_links fixes
See merge request espressif/esp-idf!13859
2021-06-04 06:46:27 +00:00
Jakob Hasse
1dfdf803b3
[unity]: deleted unuseful comment for linux target
2021-06-04 14:03:31 +08:00
Jiang Jiang Jian
5cbea220b0
Merge branch 'feature/decouple_esp_phy' into 'master'
...
esp_phy: decouple esp_phy component from esp_wifi and bt
See merge request espressif/esp-idf!13742
2021-06-04 05:20:17 +00:00
Marius Vikhammer
018582dc64
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-06-04 12:15:52 +08:00
Marius Vikhammer
2f705136e9
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-06-04 12:15:52 +08:00
Jiacheng Guo
a4f263948c
mdns: fix test script delayed response
2021-06-04 10:44:36 +08:00
Jiacheng Guo
e6135552d2
mdns: fix wrong SRV/PTR record handling
2021-06-04 10:44:36 +08:00
Jiacheng Guo
439b31d065
mdns: fix wrong service hostname after mangling
2021-06-04 10:44:36 +08:00
Jiacheng Guo
7bbb72d865
mdns: fix empty address change announce packets
2021-06-04 10:44:36 +08:00
Jiacheng Guo
d2a5d25984
mdns: fix mdns probe/reply behavior
...
* send correct hostnames when probing.
* add test for mdns host delegation.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2d34352f3d
mdns: make delegate host address a list
...
Also adds unit test and doc string for new apis.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2174693096
mdns: add remove delegate host api
2021-06-04 10:44:36 +08:00
Jiacheng Guo
401ff56cc1
mdns: add mdns delegation
...
This allows publishing mdns services for other devices.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
5f244c86f2
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-06-04 10:44:36 +08:00
Angus Gratton
2aa48c9558
Merge branch 'doc/performance_guide' into 'master'
...
doc: Add performance guides for execution speed, binary size, RAM usage
Closes IDF-1136, IDF-486, IDF-487, IDF-485, IDFGH-5238, IDFGH-4923, IDFGH-1516, and IDFGH-408
See merge request espressif/esp-idf!13564
2021-06-04 02:17:26 +00:00
Marius Vikhammer
1ddaef7fc3
system: regenerate esp_err_to_name.c
2021-06-04 10:07:38 +08:00
Shu Chen
246e006aab
esp_phy: update esp-phy-lib and esp32-wifi-lib submodules
2021-06-03 19:08:04 +08:00
Michael (XIAO Xufeng)
b5d2e9478b
Merge branch 'bugfix/spi_ll_intr_bits' into 'master'
...
spi: Fix wrong target register for interrupt disable
See merge request espressif/esp-idf!13646
2021-06-03 10:22:25 +00:00
Shu Chen
6061a547e5
esp_phy: decouple esp_phy component from esp_wifi and bt
...
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
David Čermák
72f1c47554
Merge branch 'bugfix/mdns_interface_del_crash' into 'master'
...
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
See merge request espressif/esp-idf!13613
2021-06-03 07:31:36 +00:00
Shu Chen
480fcfd7a6
Merge branch 'feature/uprev-openthread-210603' into 'master'
...
openthread: update openthread version
See merge request espressif/esp-idf!13839
2021-06-03 07:25:29 +00:00
Mahavir Jain
d0a8ff12ec
Merge branch 'bugfix/esp_https_ota' into 'master'
...
esp_https_ota: Add check for HTTP error codes and documentation updates
Closes IDFGH-5285 and IDFGH-5298
See merge request espressif/esp-idf!13660
2021-06-03 05:54:49 +00:00
Angus Gratton
f19d6df8eb
Merge branch 'update_copyright_notice_bootloader' into 'master'
...
bootloader: update copyright notice, part 1
See merge request espressif/esp-idf!13494
2021-06-03 04:22:51 +00:00
Jiacheng Guo
84cc1b8e96
openthread: update openthread version
...
Uprev OpenThread to check in TCP message leak fix.
2021-06-03 12:02:17 +08:00
Angus Gratton
1281895785
lwip: Add a note that enabling debug increases the binary size
2021-06-03 13:55:34 +10:00
Angus Gratton
dc6b950257
doc: Add performance guides for execuion speed, binary size, RAM usage
...
Closes https://github.com/espressif/esp-idf/issues/7007
Closes https://github.com/espressif/esp-idf/issues/6715
Closes https://github.com/espressif/esp-idf/issues/3781
Closes https://github.com/espressif/esp-idf/issues/2566
2021-06-03 13:55:34 +10:00
Shu Chen
e470e7c4c3
Merge branch 'feature/ot-lwip-interface' into 'master'
...
openthread: add lwIP network interface
See merge request espressif/esp-idf!13188
2021-06-03 01:46:17 +00:00
Suren Gabrielyan
03de74a728
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
...
Closes https://github.com/espressif/esp-idf/issues/6973
2021-06-02 13:43:54 +00:00
Jan Brudný
dffe49f305
bootloader: update copyright notice
2021-06-02 14:22:09 +02:00
Shubham Kulkarni
3064487c20
esp_https_ota: Add check for HTTP error codes and corresponding error logs
...
Closes: https://github.com/espressif/esp-idf/issues/7058
2021-06-02 11:19:30 +00:00
Michael (XIAO Xufeng)
e25e02e06d
Merge branch 'feature/usb_esp32s3_add_host_support' into 'master'
...
usb/hal/soc: add USB Host support on ESP32-S3
Closes IDF-2713
See merge request espressif/esp-idf!13522
2021-06-02 09:57:58 +00:00
Alex Lisitsyn
46020fe13a
usb/hal/soc: initial copy of usbh support from esp32s2
...
copy required usbh driver files from esp32s2
check usb host functionality using unit tests on esp32s3
2021-06-02 17:57:50 +08:00
Angus Gratton
a69e6a1a37
Merge branch 'bugfix/rtc_retain_mem_addr' into 'master'
...
bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2
See merge request espressif/esp-idf!13811
2021-06-02 09:12:19 +00:00
Jiacheng Guo
52a68cb7fe
openthread: integrate OpenThread network interface with esp_netif
2021-06-02 17:03:54 +08:00
Andrey Starodubtsev
8488055711
Fix typo in include/hal/uart_ll.h
...
s/final state machine/finite-state machine/g
Signed-off-by: bizhuangyang <bizhuangyang@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7076
2021-06-02 15:37:30 +08:00
David Čermák
4b7a7e559a
Merge branch 'bugfix/esp_netif_list_match_improvement' into 'master'
...
esp-netif: Improve netif list operations (GitHub PR)
Closes IDFGH-5289
See merge request espressif/esp-idf!13636
2021-06-01 12:47:18 +00:00
David Čermák
a660594e71
Merge branch 'bugfix/esp_netif_ppp_set_auth_fail' into 'master'
...
esp_netif: Fix failing ppp_set_auth() due to wrong arg check
Closes IDFGH-5284
See merge request espressif/esp-idf!13602
2021-06-01 11:30:29 +00:00
Angus Gratton
f486736cbf
bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2
...
Regression in 83bf2e1ac1
, this memory region was shifted from fast to slow RTC
memory (no change on ESP32-C3 as no RTC fast memory on this chip.)
2021-06-01 18:58:55 +10:00
Jiang Jiang Jian
2a27e46cd9
Merge branch 'bugfix_fix_ble_ANON_ADV_addr_err' into 'master'
...
Fixed BLE ANON_ADV address error
Closes BT-1706
See merge request espressif/esp-idf!13789
2021-06-01 08:44:54 +00:00
Cao Sen Miao
08f1bbe0c7
spi_flash: fix cs line setup to make the flash driver more stable
2021-06-01 16:41:41 +08:00
Omar Chebib
b911951cad
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-06-01 15:50:15 +08:00
Angus Gratton
fe94de0310
Merge branch 'update_copyright_notice_efuse' into 'master'
...
efuse: update copyright notice
See merge request espressif/esp-idf!13782
2021-06-01 06:54:49 +00:00
Angus Gratton
c49c915bcc
Merge branch 'feature/allow_efuses_be_nested_in_efuse_table' into 'master'
...
efuse: Adds support describe structures of efuses in efuse_table
Closes IDF-3200
See merge request espressif/esp-idf!13643
2021-06-01 06:31:20 +00:00
David Cermak
8ae19ed332
esp_netif: Fix failing ppp_set_auth() due to wrong arg check
...
Closes https://github.com/espressif/esp-idf/issues/7047
2021-06-01 05:32:39 +00:00
zhiweijian
a85890dd9d
Fixed ANON_ADV address error
2021-06-01 11:43:40 +08:00
Martin Vychodil
1e58eb6928
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-06-01 00:07:09 +02:00
Ivan Grokhotkov
5f0ec8c9b7
Merge branch 'feature/log_linux' into 'master'
...
[log]: Normal log works on Linux
Closes IDF-3245
See merge request espressif/esp-idf!13610
2021-05-31 17:16:43 +00:00
Gustavo Henrique Nihei
c1b3d77dcf
spi: Fix wrong target register for interrupt disable
2021-05-31 11:25:32 -03:00
Mahavir Jain
863c3ae12f
Merge branch 'update_copyright_notice_esp_tls_http_server_client' into 'master'
...
esp-tls, esp_http_client and esp_http_server: update copyright notice
See merge request espressif/esp-idf!13781
2021-05-31 12:06:15 +00:00
Jan Brudny
967e057906
esp-tls, esp_http_client and esp_http_server: update copyright notice
2021-05-31 20:06:09 +08:00
KonstantinKondrashov
4d35b1fc5b
efuse: Updates common_efuse_table for all chips
2021-05-31 08:42:57 +00:00
KonstantinKondrashov
29f853633d
efuse: Adds support structure of efuses in efuse_table
...
Supported a new format of efuse description using '.' in the name.
It means that RD_DIS.KEYx belongs to the range of the RD_DIS name.
RD_DIS, EFUSE_BLK0, 32, 7, Read protection
RD_DIS.KEY0, EFUSE_BLK0, 32, 1, Read protection for EFUSE_BLK4.
RD_DIS.KEY1, EFUSE_BLK0, 33, 1, Read protection for EFUSE_BLK5.
2021-05-31 08:42:57 +00:00
Michael (XIAO Xufeng)
ff29aded19
Merge branch 'bugfix/i2s_apll_disable_issue' into 'master'
...
i2s: fix driver uninstall issue
Closes IDF-3129
See merge request espressif/esp-idf!13238
2021-05-31 08:16:21 +00:00
Mahavir Jain
64f9bc06ac
Merge branch 'esp32c3/coredump_bt_summary' into 'master'
...
coredump: Parse backtrace info for RISCV
See merge request espressif/esp-idf!13455
2021-05-31 08:12:46 +00:00
Michael (XIAO Xufeng)
aecf85e74b
Merge branch 'update_copyright_notice_driver_part_2' into 'master'
...
driver: update copyright notice, part 2
See merge request espressif/esp-idf!13650
2021-05-31 07:52:19 +00:00
Michael (XIAO Xufeng)
4fac9668c8
Merge branch 'update_copyright_notice_driver_part_3' into 'master'
...
driver: update copyright notice, part 3
See merge request espressif/esp-idf!13651
2021-05-31 07:50:31 +00:00
Michael (XIAO Xufeng)
dd47340d0e
Merge branch 'update_copyright_notice_driver_part_4' into 'master'
...
driver: update copyright notice, part 4
See merge request espressif/esp-idf!13652
2021-05-31 07:37:19 +00:00
Michael (XIAO Xufeng)
23d2d2768a
Merge branch 'refactor/apply_general_check_to_timer' into 'master'
...
driver/timer: apply genral check
See merge request espressif/esp-idf!13746
2021-05-31 07:22:03 +00:00
Angus Gratton
164ccef52c
Merge branch 'docs/fix_allow_external_stack_mem_config_description' into 'master'
...
Freertos: Fix CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY description
See merge request espressif/esp-idf!13739
2021-05-31 05:55:52 +00:00
Jan Brudný
1bac0d1e42
efuse: update copyright notice
2021-05-31 06:43:23 +02:00
Island
cf44d2f6ef
Merge branch 'bugfix/bt_impersonation_passkey_fix' into 'master'
...
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
See merge request espressif/esp-idf!13754
2021-05-28 13:43:14 +00:00
Michael (XIAO Xufeng)
fe7993ead4
Merge branch 'feature/usb_hcd_intr_and_isoc_support' into 'master'
...
USB HCD: Add support for interrupt and isochronous pipes
Closes IDF-3110
See merge request espressif/esp-idf!12807
2021-05-28 10:14:46 +00:00
Chinmay Chhajed
b75e034b3c
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-05-28 14:28:54 +05:30
Wang Meng Yang
3a7dc7a595
Merge branch 'bugfix/ble_fix_reconnect_failed_when_using_rpa_public_address' into 'master'
...
Bugfix/ble fix reconnect failed when using rpa public address
Closes BT-1680
See merge request espressif/esp-idf!13741
2021-05-28 08:03:18 +00:00
Michael (XIAO Xufeng)
dd0c1c7d95
Merge branch 'bugfix/delete_i2c_cmd_mux_semaphore_more_cleanly' into 'master'
...
dreiver/i2c: delete i2c cmd_mux semaphore more cleanly
Closes IDFGH-5062
See merge request espressif/esp-idf!13399
2021-05-28 07:56:34 +00:00
Angus Gratton
b9911e01b3
Merge branch 'bugfix/stub_log_level' into 'master'
...
host stubs: Fix log level, add copyright & "this is a stub" notices
Closes IDFGH-5232
See merge request espressif/esp-idf!13637
2021-05-28 05:21:52 +00:00
Angus Gratton
d96e55f5d4
Merge branch 'bugfix/image_load_refactoring' into 'master'
...
bootloader: Fix a wrong offset in image_load after refactoring
See merge request espressif/esp-idf!13736
2021-05-28 05:02:26 +00:00
Jakob Hasse
ef2dba3921
Integrated linux log into fatfs and spiffs host tests
2021-05-28 11:05:55 +08:00
Jakob Hasse
0ea20caa71
[log]: Normal log works on Linux now
...
* also removed strlcpy dependency from log
* added Kconfig option for linux target
Closes IDF-3245
2021-05-28 11:05:22 +08:00
Angus Gratton
928e6c4d1c
host tests: Add copyright notices and "This is a stub" notices to all stub files
2021-05-27 23:57:22 +00:00
Angus Gratton
da1f055e26
host tests: Fix log level in stub header
...
Reported on forum https://www.esp32.com/viewtopic.php?f=14&t=20838&p=76246
2021-05-27 23:57:22 +00:00
laokaiyao
3a6043900d
driver/timer: apply genral check
2021-05-27 15:52:19 +08:00
Hrudaynath Dhabe
a260a1bafa
wpa_supplicant: Fix supplicant debug logs errors.
2021-05-27 13:02:38 +05:30
zwj
8919322c76
Fixed BLE reconnect failed when using rpa public address
2021-05-27 14:08:47 +08:00
laokaiyao
b807f2a666
driver/i2c: add notes to i2c deleteing function
2021-05-27 12:43:22 +08:00
Michael (XIAO Xufeng)
62e1c8ec03
Merge branch 'bugfix/touch_ll_get_sleep_time' into 'master'
...
Fixed error in "touch_ll_get_sleep_time" function for ESP32
Closes IDFGH-5111
See merge request espressif/esp-idf!13272
2021-05-26 17:12:09 +00:00
Darian Leung
7f42104893
HCD: Add support for interrupt and isochronous pipes
...
This commit adds support for interrupt and isochronous pipes to the HCD:
- HCD now internally uses double buffering
- Added test cases for interrupt and isochronous transfers
- Reorganized test cases for each transfer type
- Updated API comments and maintainer's notes
Some minor bugs were also fixed
2021-05-26 22:55:12 +08:00
David Čermák
5b8bcec333
Merge branch 'bugfix/tls_limit_esp_tls_structure_usage' into 'master'
...
esp_tls/tcp_transport: Transport to use esp_tcp_connect directly for plain TCP
Closes IDF-3005 and IDFGH-5162
See merge request espressif/esp-idf!13418
2021-05-26 14:26:13 +00:00
Darian Leung
787873b86b
freertos: Fix CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY description
...
This commit fixes the ambiguity in the description of the
SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configuration option.
2021-05-26 21:04:28 +08:00
KonstantinKondrashov
071e00a088
bootloader: Fix a wrong offset in image_load after refactoring
2021-05-26 18:06:11 +08:00
Sergey Gorban
850de61e34
Fixed error in "touch_ll_get_sleep_time" function for ESP32
...
Merges https://github.com/espressif/esp-idf/pull/6895
2021-05-26 16:23:18 +08:00
Michael (XIAO Xufeng)
cd5f4ad4c2
Merge branch 'refactor/apply_general_check_to_ledc' into 'master'
...
ledc: apply general check macro
See merge request espressif/esp-idf!13499
2021-05-26 07:21:50 +00:00
Andrey Starodubtsev
614f1c175a
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-05-26 15:07:00 +08:00
Michael (XIAO Xufeng)
41cc998856
Merge branch 'update_copyright_notice_driver_part_1' into 'master'
...
driver: update copyright notice, part 1
See merge request espressif/esp-idf!13649
2021-05-26 06:58:15 +00:00
Jan Brudný
690974e32f
driver: update copyright notice
2021-05-25 17:43:57 +02:00
Jiang Jiang Jian
4c0ed8844d
Merge branch 'bugfix/wifi_mac_sleep_issue' into 'master'
...
fix wifi mac sleep bug when wifi is initialized multiple times
Closes WIFI-3678
See merge request espressif/esp-idf!13591
2021-05-25 14:31:20 +00:00
Jiang Jiang Jian
bf71f494a1
Merge branch 'bugfix/attack_crash_for_release' into 'master'
...
bugfix/Fix crash when lmp flooding
Closes ESPCS-565
See merge request espressif/esp-idf!13327
2021-05-25 14:26:21 +00:00
Jiang Jiang Jian
6fd403b5e3
Merge branch 'bugfix/phy_calib_data_to_nvs_for_c3_s3' into 'master'
...
esp_wifi: support phy calibration data to nvs for s2 c3 & s3
See merge request espressif/esp-idf!13624
2021-05-25 14:19:43 +00:00
Krzysztof Budzynski
99e7aa1700
Merge branch 'docs/update_chip_comparsion_table' into 'master'
...
docs:translate chip series comparison table and update adc_types.h
Closes DOC-1278
See merge request espressif/esp-idf!13596
2021-05-25 10:44:01 +00:00
David Cermak
f68d7d7023
esp_tls: Renamed public API to indicate the Plain TCP connection
...
Also added parameter checks if used from as a public API
and updated the `is_plein_tcp` description that it's possible to connect
directly using plain tcp transport with the new API.
2021-05-25 10:55:50 +02:00
David Cermak
38fd2ed10b
tcp_transport: Rename common tcp/ssl internals to base-transport
...
Also uses INVALID_SOCKET macro instead of magic number (-1)
2021-05-25 10:55:45 +02:00
David Čermák
c90ee0a7d0
Merge branch 'bugfix/eth_w5500_io_intr_missed' into 'master'
...
esp_eth: w5500: Improve GPIO interrupt processing
See merge request espressif/esp-idf!13101
2021-05-25 07:36:24 +00:00
Angus Gratton
93d07d1f36
Merge branch 'update_copyright_notice_console_cxx' into 'master'
...
console, cxx: update copyright notice
See merge request espressif/esp-idf!13559
2021-05-25 07:26:52 +00:00
David Cermak
6cf077169e
tcp_transport: Rework test to split test code and use fixtures
2021-05-25 07:04:02 +02:00
David Cermak
f249ddd9ae
esp_transport: Use tcp_connect from esp_tls for plain TCP
...
so we don't have to allocate esp_tls structure (~2KB) to save heap when using plain TCP connection
Closes https://github.com/espressif/esp-idf/issues/6940
2021-05-25 07:04:02 +02:00
Jiri Schiebel
c01e259a98
esp_tls: esp_tls_connect: Reduce input params to err_handle
...
Pass only the error_handle instead of instead of the full config structure
2021-05-25 07:04:02 +02:00
David Cermak
45846f06cf
esp_eth: Improve GPIO interrupt processing in w5500 driver
...
Increase the interrupt reassert level timing so the chances of missing
two consecutive events are minimal.
Enable only SIR_RECV interrupt event, so the SEND events are not used
for GPIO signal.
2021-05-25 04:52:46 +00:00
David Cermak
0cd021adb1
esp_eth: Recover the w5500 driver from missed io interrupt
...
If the GPIO interrupt is re-asserted too quickly it could be missed. If this happens the driver goes silent and never receives any data. Recover by periodic checks of the IO signal level
2021-05-25 04:52:46 +00:00
David Čermák
557b1e9fe0
Merge branch 'docs/lwip_fuzzer_tests_document' into 'master'
...
Docs: Added README.md for lwip fuzzer tests
Closes IDFCI-540
See merge request espressif/esp-idf!13186
2021-05-25 04:12:10 +00:00
David Čermák
fbf68044b2
Merge branch 'bugfix/fix_disable_ipv6_build_fail' into 'master'
...
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail
Closes IDFGH-5157
See merge request espressif/esp-idf!13339
2021-05-25 04:11:38 +00:00
Mahavir Jain
f7e07fc4a5
Merge branch 'feature/update_esp_cryptoauthlib' into 'master'
...
secure_element: Update esp-cryptoauthlib submodule latest version.
See merge request espressif/esp-idf!13563
2021-05-25 04:10:01 +00:00
David Čermák
36e6938920
Merge branch 'feature/lwip_ipv6_automatic_coap_asio' into 'master'
...
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
Closes IDF-2832
See merge request espressif/esp-idf!13616
2021-05-24 12:39:37 +00:00
David Čermák
5801712caf
Merge branch 'bugfix/start_emac_after_phy_reset' into 'master'
...
esp_eth: speed up Ethernet start up process
Closes WIFI-3563, WIFI-3564, WIFI-3687, and IDFGH-5269
See merge request espressif/esp-idf!13461
2021-05-24 09:30:14 +00:00
Aditya Patwardhan
1abdfee3b7
secure_element: Update esp-cryptoauthlib submodule latest version.
...
*This updates the cryptoauthlib version in the esp-cryptoauthlib to cryptoauthlib-v3.3.1
2021-05-24 07:28:20 +00:00
liaowenhao
6bd7f30199
bugfix/fix crash when lmp flooding
2021-05-24 12:08:03 +08:00
Jiang Jiang Jian
da988bed0f
Merge branch 'bugfix/btdm_delete_adv_priority_high' into 'master'
...
components/bt: Delete BLE ADV priority high
Closes BT-1573
See merge request espressif/esp-idf!13054
2021-05-24 03:58:32 +00:00
Jan Brudný
a93daccabe
driver: update copyright notice
2021-05-24 02:02:15 +02:00
Jan Brudný
6667c5dc2a
driver: update copyright notice
2021-05-24 01:53:34 +02:00
Jan Brudný
58f79e6b00
driver: update copyright notice
2021-05-24 01:06:17 +02:00
David Cermak
c991af7ac5
esp_netif: Update the test to exercise netif list matching APIs
2021-05-21 09:44:08 +02:00
Angus Gratton
49ab5a61e7
Merge branch 'update_copyright_notice_security' into 'master'
...
asio, libsodium: update copyright notice
See merge request espressif/esp-idf!13558
2021-05-20 23:33:27 +00:00
chenjianxing
41882082f7
esp_wifi: re-enable phy calibration data to nvs for esp32c3 & esp32s3
2021-05-20 21:55:59 +08:00
Angus Gratton
e305f29382
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
...
- Removes need to manually exclude these components as shown at
https://github.com/espressif/esp-idf/issues/3781#issuecomment-825742378
- Hide the config for these components if IPV6 is disabled
- The components are still included in the build, but with no source
files
2021-05-20 19:53:00 +10:00
yuanjm
7256cfe5a4
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail
...
Closes https://github.com/espressif/esp-idf/issues/6935
2021-05-20 09:45:17 +00:00
Angus Gratton
e928d57663
Merge branch 'doc/include_bootloader_random' into 'master'
...
docs: Add RNG functions to API reference
See merge request espressif/esp-idf!13519
2021-05-20 09:14:55 +00:00
Angus Gratton
535e9ea594
Merge branch 'bugfix/partition_remove_strlcpy' into 'master'
...
partition: Replace strlcpy() with strncpy()
See merge request espressif/esp-idf!13603
2021-05-20 07:14:11 +00:00
Angus Gratton
5c812742c6
docs: Add description for Linux getrandom() function
2021-05-20 17:08:17 +10:00
Axel Lin
5209af379a
esp-netif: Improve esp_netif_is_netif_listed and esp_netif_get_handle_from_ifkey
...
Each esp_netif_next_unsafe() call needs to iterate the s_head list.
It is inefficient with a do-while loop + esp_netif_next_unsafe() call.
Use SLIST_FOREACH instead to simplify the code and speed-up the matching.
While at it, also fix returning NULL from esp_netif_is_netif_listed().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-05-20 13:51:22 +08:00
Michael (XIAO Xufeng)
2e4d3ad880
Merge branch 'feature/bringup_esp32s3beta_cmake_sdmmc' into 'master'
...
esp32s3: add sdmmc support
Closes IDF-1569
See merge request espressif/esp-idf!8304
2021-05-20 04:22:11 +00:00
Angus Gratton
eecf70efd0
partition: Replace strlcpy() with strncpy()
...
Regression in ede477ea65
for host tests only - ESP-IDF supports
strlcpy() but strlcpy & strlcat are currently no-ops in the host
tests (to avoid libbsd dependency).
2021-05-20 09:51:29 +10:00
Michael (XIAO Xufeng)
d6680b689b
Merge branch 'feature/s3beta3_crypto_bringup' into 'master'
...
crypto: initial S3 Beta 3 bringup and testing for SHA/AES/RSA/flash enc
Closes IDF-3004
See merge request espressif/esp-idf!12960
2021-05-19 11:22:05 +00:00
daiziyan
611ecc619b
docs:translate chip series comparison table and update adc_types.h
2021-05-19 16:25:27 +08:00
Angus Gratton
9f149a647d
Merge branch 'bugfix/fix_mbedtls_cmake_warning' into 'master'
...
mbedtls: fixed CMake build warning
Closes IDFGH-4975
See merge request espressif/esp-idf!13568
2021-05-19 00:43:50 +00:00
Angus Gratton
e886aa1da4
Merge branch 'update_copyright_notice_bootloader_support' into 'master'
...
bootloader: update copyright notice, part 2
See merge request espressif/esp-idf!13495
2021-05-19 00:26:35 +00:00
Ivan Grokhotkov
38d902f544
Merge branch 'feature/gdbstubs_rt' into 'master'
...
Extension of GDBStub component for handling GDB by serial port at runtime.
See merge request espressif/esp-idf!10312
2021-05-18 17:14:51 +00:00
Suren Gabrielyan
53c18a85db
Docs: Added README.md for lwip fuzzer tests
...
Closes IDFCI-540
2021-05-18 17:52:07 +04:00
Li Shuai
2bacd7abe2
fix wifi mac sleep bug when wifi is initialized multiple times
2021-05-18 20:03:09 +08:00
Angus Gratton
7c11d95af3
Merge branch 'bugfix/partition_table_integrity_check' into 'master'
...
paritition_table: Verify the partition table md5sum when loading in the app
Closes IDF-2411
See merge request espressif/esp-idf!12252
2021-05-18 08:40:32 +00:00
Angus Gratton
8d7599cc3d
Merge branch 'bugfix/pthread_destructor_sequencing' into 'master'
...
pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific
Closes IDFGH-4842
See merge request espressif/esp-idf!13567
2021-05-18 08:26:38 +00:00
Angus Gratton
0fc9253ed9
lwip: Update public port-layer headers with c++ guards, sdkconfig include
...
This doesn't fix any particular bug, just to meet best practices. Although
including some LWIP headers from C++ files may have caused linker issues.
2021-05-18 16:09:17 +10:00
Angus Gratton
e14edecf5f
docs: Add random number generation to the API Reference System section
2021-05-18 16:05:42 +10:00
Marius Vikhammer
9b4ba3d707
crypto: initial S3 Beta 3 bringup and testing for SHA/AES/RSA/flash enc
2021-05-18 11:25:41 +08:00
morris
0c25793b06
esp_eth: restart negotiation in esp_eth_start
2021-05-18 11:16:32 +08:00
morris
83f2d802ce
esp_eth: fix default PHY reset gpio
...
Closes https://github.com/espressif/esp-idf/issues/7034
2021-05-18 11:16:05 +08:00
Angus Gratton
9235754d4c
esp_rom: Allow passing any type of data pointer to md5, remove unchecked size on digest pointer
2021-05-18 01:32:59 +00:00
Angus Gratton
ede477ea65
paritition_table: Verify the partition table md5sum when loading the app
...
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).
The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-05-18 01:32:59 +00:00
Angus Gratton
6713291dad
pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific
...
Update as per specification at https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_key_create.html
Specifically:
- Before a destructor is called then the value for the corresponding key is
already set to NULL.
- If a destructor calls pthread_setspecific() to assign a non-NULL value then
this destructor is called again, after all existing non-NULL values have been
called.
Adds a test for this relatively complex behaviour.
Closes https://github.com/espressif/esp-idf/issues/6643
2021-05-18 10:21:34 +10:00
Mahavir Jain
f1caa2971d
Merge branch 'feature/extmem_alloc_for_s2' into 'master'
...
External memory allocation policy support for ESP32-S2 (GitHub PR)
Closes IDFGH-5226
See merge request espressif/esp-idf!13492
2021-05-17 16:39:25 +00:00
Ivan Grokhotkov
8e66e554cb
Merge branch 'feature/partition_type_any' into 'master'
...
esp_partition: add ESP_PARTITION_TYPE_ANY for iterating over all partition types (Github PR)
Closes IDFGH-4783
See merge request espressif/esp-idf!13434
2021-05-17 16:19:41 +00:00
Michael (XIAO Xufeng)
6265759ca3
Merge branch 'bugfix/usb_serial_write_failed' into 'master'
...
usb_serial_jtag: fix the bug that cannot write with usb_jtag
See merge request espressif/esp-idf!13540
2021-05-17 12:10:59 +00:00
Mahavir Jain
f339506324
bt: use generic SPIRAM config option for memory alloc policy
2021-05-17 10:43:42 +00:00
Marcel Kottmann
cf4b9ef854
mbedtls: Allow external mem alloc for ESP32-S2
...
Closes https://github.com/espressif/esp-idf/pull/6998
Closes IDFGH-5226
2021-05-17 10:43:42 +00:00
Jiacheng Guo
71be904cf1
openthread: add lwIP network interface
...
This allows the applications to use the socket and raw api in lwIP to
send packets via OpenThread.
2021-05-17 17:18:20 +08:00
Marius Vikhammer
01664923f6
mbedtls: fixed CMake build warning
...
Building mbedtls with CMake would warn that:
"A private source from a directory other than that of target "mbedcrypto
has a relative path"
This happened due to some of the CMake variables listing sources could be empty.
Changed to only use target_sources in the code-path where we set the sources,
so we only call target_sources will non-empty variables.
Closes https://github.com/espressif/esp-idf/issues/6767
2021-05-17 17:15:38 +08:00
baohongde
721a0c3415
components/bt: Delete BLE ADV priority high
2021-05-17 17:07:14 +08:00
Angus Gratton
262ab9f4c2
Merge branch 'feature/esp32_pico_v3' into 'master'
...
esp32/psram: ESP32-PICO-V3 does not have PSRAM and does not support external PSRAM
Closes IDF-1845
See merge request espressif/esp-idf!13419
2021-05-17 09:01:45 +00:00
Angus Gratton
190063a6b3
Merge branch 'bugfix/revert_freertos_min_stack_size' into 'master'
...
freertos: revert default stack size of idle tasks (from 2304 to 1536)
Closes IDF-2540
See merge request espressif/esp-idf!13553
2021-05-17 08:42:26 +00:00
Ivan Grokhotkov
1ca2afd982
Merge branch 'bugfix/add-MAXNAMLEN-definition' into 'master'
...
[newlib]add the definition of MAXNAMLEN in sys/dirent.h
Closes IDF-3219
See merge request espressif/esp-idf!13535
2021-05-17 08:03:35 +00:00
Sachin Parekh
46dc36233a
coredump: Parse backtrace info for RISCV
...
For RISCV, backtrace generation on device is not possible without
including and parsing DWARF sections. We extract the crash task stack
and let the host generate the backtrace
2021-05-17 11:43:25 +05:30
Mahavir Jain
fe02ef0fed
Merge branch 'feature/ota_image_size' into 'master'
...
esp_https_ota: Added esp_https_ota_get_image_size() to retrieve total size of OTA update
Closes IDFGH-5096
See merge request espressif/esp-idf!13496
2021-05-17 05:31:58 +00:00
Michael (XIAO Xufeng)
12f42f84e7
Merge branch 'bugfix/s3_i2c_fifo_access' into 'master'
...
bugfix ll_hal: Access ESP32-S3 I2C FIFO using 32bits
See merge request espressif/esp-idf!13538
2021-05-17 02:49:43 +00:00
Jan Brudný
71170dd5bc
cxx: update copyright notice
2021-05-17 03:43:02 +02:00
Jan Brudný
28a94328d4
console: update copyright notice
2021-05-17 03:41:32 +02:00
Jan Brudný
e20826cc7f
libsodium: update copyright notice
2021-05-17 02:58:32 +02:00
Jan Brudný
2d0895e9a9
asio: update copyright notice
2021-05-17 02:56:33 +02:00
Michael (XIAO Xufeng)
8409485b22
Merge branch 'doc/fix_misleading_of_mcpwm_capture_enable_doc' into 'master'
...
driver/mcpwm: fix the misleading of mcpwm_capture_enable parameters
Closes IDFGH-3000
See merge request espressif/esp-idf!13497
2021-05-16 15:15:26 +00:00
Michael (XIAO Xufeng)
2c1cc506bf
Merge branch 'feature/tinyusb_error_check' into 'master'
...
tinyusb: use the generic error check macros
Closes IDF-3033
See merge request espressif/esp-idf!13015
2021-05-16 14:11:21 +00:00
Michael (XIAO Xufeng)
050b1660b5
Merge branch 'feature/regi2c_add_lock' into 'master'
...
regi2c: add a spinlock for accessing (reg)I2C devices
Closes IDF-2978
See merge request espressif/esp-idf!12957
2021-05-16 14:04:55 +00:00
Andrey Starodubtsev
6e343c1f8b
Fix typo
...
s/\bUnknow\b/Unknown/g
2021-05-14 18:26:22 +03:00
Omar Chebib
dda7001c25
freertos: revert minimum stack size from 2304 to 1536
2021-05-14 11:12:28 +08:00
Angus Gratton
b7ad39f694
Merge branch 'bugfix/pthread_docs' into 'master'
...
Fix and improve pthread docs, create pthread example
Closes IDF-731 and IDFGH-5085
See merge request espressif/esp-idf!13314
2021-05-14 01:19:02 +00:00
Angus Gratton
c6b2191643
pthread: Cleanups for attr init/destroy
...
* Zero all fields of the attr structure when initializing
* Can implement pthread_attr_destroy() by calling pthread_attr_init()
2021-05-14 10:03:11 +10:00
Angus Gratton
a6dea64106
pthread: Add support for PTHREAD_COND_INITIALIZER
...
Includes unit test for condition variables in C (previous test was C++ only)
2021-05-14 10:03:11 +10:00
Jiang Jiang Jian
73b95248b4
Merge branch 'bugfix/addba_pmf_issue_fix' into 'master'
...
Fix aggregation issue in PMF connection and validate FTM config params
Closes WIFI-3205
See merge request espressif/esp-idf!13242
2021-05-13 16:30:06 +00:00
Nachiket Kukade
701484667a
esp_wifi: Update wifi lib
...
Update wifi library with below fixes -
1. Fix Block Ack setup issue in PMF scenario
2. Validate FTM Initiator config parameters and propagate status
2021-05-13 20:56:54 +05:30
Prasad Alatkar
03634ea64b
NimBLE: Update NimBLE submodule to reattempt conn and to fix vulnerability
...
* Add workaround to overcome connection establishment failure error.
* Fix vulnerability during public key exchange in secure connection
2021-05-13 19:10:19 +05:30
Jiang Jiang Jian
fb872f68ec
Merge branch 'bugfix/wifi_modem_sleep_percentage_optimize' into 'master'
...
optimize wifi station modem sleep percentage
Closes WIFI-3056
See merge request espressif/esp-idf!13534
2021-05-13 12:21:50 +00:00
Dmitry
00a7ecb5a3
Code cleanup. Bugfix after rebase with master. Formating.
2021-05-13 15:03:40 +03:00
Jiang Jiang Jian
95dfdf7680
Merge branch 'nimble/fix_broadcaster_role' into 'master'
...
NimBLE: Add custom logging support, fix build error for broadcaster role, NVS peer_dev_records fix
See merge request espressif/esp-idf!13204
2021-05-13 10:01:12 +00:00
Prasad Alatkar
3dfcaee9bd
NimBLE: Add custom logging support and fix build error for broadcaster role
...
* Fix bug in nvs deletion of `ble_dev_record`.
2021-05-13 18:01:01 +08:00
Darian Leung
3bb5f86a53
Fix incorrect D- pulldown and cleanup USB device struct
...
This commit fixes the incorrect setting of the D- pulldown resistor in the USB LL.
The usb_struct.h used by USB device mode has also been cleaned up.
2021-05-13 17:18:35 +08:00
Jiang Jiang Jian
71325aaa46
Merge branch 'bugfix/invalid_feat_page_exec' into 'master'
...
bt controller: Fixed handling for invalid feature page.
See merge request espressif/esp-idf!13292
2021-05-13 09:02:42 +00:00
bizhuangyang
31cdeb538d
ledc: apply general check macro
...
Standardize LEDC_CHECK() and LEDC_ARG_CHECK() in ledc.c to ESP_RETURN_ON_FALSE() in esp_check.h.
2021-05-13 16:57:16 +08:00
me-no-dev
c31ba2b21b
Change i2c_struct to force 32bit access
2021-05-13 11:26:14 +03:00
Jiang Jiang Jian
7b2f2c2a86
Merge branch 'bugfix/ag_use_dynamic_memory_error' into 'master'
...
Fix ag use dynamic memory error
Closes BT-1574
See merge request espressif/esp-idf!13094
2021-05-13 07:56:45 +00:00
Michael (XIAO Xufeng)
9bee350a39
Merge branch 'bugfix/sdio_slave_ret_check' into 'master'
...
SDIO slave: fix ignored callback return value (Github PR)
Closes IDFGH-4976
See merge request espressif/esp-idf!13436
2021-05-13 06:32:40 +00:00
Cao Sen Miao
8c5819dccb
usb_serial_jtag: fix the bug that cannot write with usb_jtag
2021-05-13 13:40:01 +08:00
Michael (XIAO Xufeng)
e941bc838c
Merge branch 'feature/lcd_driver' into 'master'
...
esp_lcd component panel driver
Closes IDF-2933 and IDF-2934
See merge request espressif/esp-idf!12813
2021-05-13 04:29:07 +00:00
laokaiyao
e66f25caf2
driver/mcpwm: fix the misleading of mcpwm_capture_enable parameters
...
closes https://github.com/espressif/esp-idf/issues/5032
2021-05-13 12:23:19 +08:00
Mahavir Jain
20f53bb6c5
Merge branch 'bugfix/set_password' into 'master'
...
esp_http_client: const corrections for esp_http_client_set_password() (GitHub PR)
Closes IDFGH-5163
See merge request espressif/esp-idf!13498
2021-05-13 04:05:34 +00:00
WangQixiang
65ec83a456
change MAXNAMLEN to 255
2021-05-13 11:56:52 +08:00
Michael (XIAO Xufeng)
b722b8e4ec
Merge branch 'feature/LEDC_support_invert_channel_output' into 'master'
...
LEDC: Support invert channel output
Closes IDF-2869
See merge request espressif/esp-idf!13310
2021-05-13 03:55:50 +00:00
Omar Chebib
dd8843fec3
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-05-13 11:55:41 +08:00
Jiang Jiang Jian
3c30e688c4
Merge branch 'feature/support_auto_adjust_voltage_storingInEfuse_openGlitchRst' into 'master'
...
ESP32C3: auto adjust voltage dbias storing in efuse and open glitch reset for ECO3
See merge request espressif/esp-idf!13395
2021-05-13 03:49:59 +00:00
Angus Gratton
3ce98690e6
Merge branch 'bugfix/stdatomic_64bit' into 'master'
...
newlib: define 64-bit stdatomic operations on 32-bit SMP SoCs
Closes IDFGH-703
See merge request espressif/esp-idf!13463
2021-05-12 23:44:11 +00:00
Ivan Grokhotkov
67b0e0389f
Merge branch 'bugfix/hid_stack_size' into 'master'
...
esp_hid: allow setting stack size for the event task, increase stack size in the example (Github PR)
Closes IDFGH-4568 and IDFGH-4563
See merge request espressif/esp-idf!13438
2021-05-12 18:52:42 +00:00
me-no-dev
0d0e2851f3
Access ESP32-S3 I2C FIFO using 32bits
...
I2C FIFO on ESP32-S3 (and others) MUST be read/written 32bits at a time.
2021-05-12 20:12:23 +03:00
Jiang Jiang Jian
7986c970b6
Merge branch 'bugfix/concurrent_mode_sae_crash_fix' into 'master'
...
esp_wifi: Add station based check for auth frame formation
See merge request espressif/esp-idf!13525
2021-05-12 14:24:15 +00:00
morris
e10202a608
lcd: add esp_lcd component
...
* Support intel 8080 LCD panel IO on ESP32-S3
* Support RGB LCD panel on ESP32-S3
* Support SPI && I2C LCD panel IO on all esp chips
2021-05-12 17:53:32 +08:00
morris
270ed70f3e
gdma: support reset dma fifo at runtime
2021-05-12 17:10:37 +08:00
morris
a20a51316c
async_memcpy: test copy with same buffer address
2021-05-12 17:10:37 +08:00
Li Shuai
7fbf7a0d17
modem sleep: optimize wifi station modem sleep percentage
2021-05-12 17:00:01 +08:00
WangQixiang
c9c8633cba
add the definition of MAXNAMLEN in sys/dirent.h
2021-05-12 16:07:19 +08:00
Jiang Jiang Jian
266a5e48f7
Merge branch 'bugfix/fix_c3_s3_ble_multi_con_failed_when_dev_act_master_and_slave' into 'master'
...
Fixed C3/S3 BLE multi-connection failed when device acts as master and slave
Closes BT-1630
See merge request espressif/esp-idf!13506
2021-05-12 03:32:43 +00:00
Dmitry
f8197c2446
Fix problem with panic handler with gdbstubs.
2021-05-11 16:09:32 +03:00
Dmitry
7bb91f912c
gdbstub component
2021-05-11 15:55:39 +03:00
Kapil Gupta
f3c55dbecd
esp_wifi: Add station based check for auth frame formation
2021-05-11 16:35:42 +05:30
Chinmay Chhajed
ce4743d9d3
bt controller: Fixed handling for invalid feature page.
2021-05-11 09:00:37 +00:00
Mahavir Jain
aefaf9b7cf
Merge branch 'bugfix/protocomm_out_of_bound_read' into 'master'
...
protocomm_console.c: Fix out of bound read in protocomm_console_task and define line_buf size
See merge request espressif/esp-idf!13344
2021-05-11 07:54:00 +00:00
David Čermák
af2881fc0d
Merge branch 'bugfix/tcp_transport_NULL_dereference' into 'master'
...
tcp_transport: Fix NULL pointer dereference if esp_transport_init returns NULL
Closes IDFGH-5201
See merge request espressif/esp-idf!13457
2021-05-11 04:58:46 +00:00
0xFEEDC0DE64
c73a17cc27
esp_https_ota: Added esp_https_ota_get_image_size() to retrieve total size of OTA update
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Closes: https://github.com/espressif/esp-idf/pull/6880
2021-05-11 10:13:02 +05:30
kewal shah
b8dfb27141
protocomm_console.c: Fix out of bound read in protocomm_console_task and define line_buf size
2021-05-11 04:00:47 +00:00
laokaiyao
48c848a895
driver/ledc: support invert channel output
2021-05-11 11:54:16 +08:00
Angus Gratton
3f0851a22c
Merge branch 'doc/esp_random' into 'master'
...
esp_hw_support: Clarify the documentation about hardware RNG entropy
Closes IDF-73
See merge request espressif/esp-idf!13454
2021-05-11 01:37:37 +00:00
Angus Gratton
3193f08b2f
Merge branch 'feature/esp32s3_efuse_update' into 'master'
...
efuse/esp32s3: Update efuse table
Closes IDF-3080
See merge request espressif/esp-idf!13420
2021-05-11 01:34:46 +00:00
Ivan Grokhotkov
2c8f413059
driver: sdmmc: add esp32s3 support
...
* Extend sdmmc_slot_config_t with GPIO pin numbers for all SD bus
signals. These new fields are available if SOC_SDMMC_USE_GPIO_MATRIX
is set.
* Add shorter "sd" and "wp" aliases for "gpio_sd" and "gpio_wp" field
names in sdmmc_slot_config_t.
* Deprecate sdmmc_host_pullup_en, prefer to enable this feature using
SDMMC_SLOT_FLAG_INTERNAL_PULLUP instead.
2021-05-10 23:21:27 +02:00
Ivan Grokhotkov
17c65dad27
soc: add esp32s3 sdmmc support
...
* sync the latest struct header file from ESP32
* add soc_caps.h macros to distinguish between IO MUX and GPIO Matrix
support in SDMMC on different chips.
* store GPIO matrix signal numbers in sdmmc_slot_info_t
2021-05-10 23:21:27 +02:00
Ivan Grokhotkov
bd3a6dda87
soc: esp32s2: remove SDMMC header files
...
no SDMMC peripheral in this chip
2021-05-10 23:21:27 +02:00
Ivan Grokhotkov
6f8e0d9d55
test: add test app for stdatomic functions
2021-05-10 18:13:36 +02:00
Ivan Grokhotkov
742102079a
newlib: stdatomic: emulate 64-bit atomics on 32-bit SMP SoCs
...
Closes https://github.com/espressif/esp-idf/issues/3163
2021-05-10 18:13:36 +02:00
Ivan Grokhotkov
32fcd4f02a
newlib: stdatomic: fix prototypes, don't disable compiler warnings
2021-05-10 18:13:35 +02:00
Ivan Grokhotkov
1fb58684a2
unity: add UNITY_MAIN_FUNC helper macro to run multiple test groups
2021-05-10 18:13:35 +02:00
Ivan Grokhotkov
71f711976d
unity: add option to enable 64-bit formatting support
...
This option is not enabled by default because many existing tests
use integer assertions to check the pointers:
TEST_ASSERT_EQUAL(NULL, pointer)
This causes a "cast from pointer to integer of different size"
(-Wpointer-to-int-cast) warning to be generated, as Unity converts
every argument to UNITY_UINT first, and with 64-bit support enabled,
UNITY_UINT becomes a 64-bit unsigned type.
2021-05-10 18:13:35 +02:00
zwj
22f429f5bc
fix C3/S3 ble multi-connection failed when device acts as master and slave
2021-05-10 21:06:44 +08:00
Mahavir Jain
fae335dc68
Merge branch 'update_copyright_notice_app_update' into 'master'
...
app_update: update copyright notice
See merge request espressif/esp-idf!13493
2021-05-10 08:13:40 +00:00
0xFEEDC0DE64
0f3ad80a99
const corrections for esp_http_client_set_password()
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Closes: https://github.com/espressif/esp-idf/pull/6941
2021-05-10 13:03:09 +05:30
David Čermák
2e4d5d8765
Merge branch 'feature/add_eth_lost_ip_event' into 'master'
...
event: Add IP_EVENT_ETH_LOST_IP event
Closes IDFGH-5198
See merge request espressif/esp-idf!13466
2021-05-10 07:27:16 +00:00
xiongweichao
d38a91ee95
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-10 11:11:02 +08:00
Jan Brudný
a2686dc4eb
bootloader: update copyright notice
2021-05-10 04:58:34 +02:00
xiongweichao
be6b25b9d9
fix ag use dynamic memory error
2021-05-10 10:56:46 +08:00
Jan Brudný
b3e37696ba
app_update: update copyright notice
2021-05-10 03:48:25 +02:00
chaijie
eea76d14bb
ESP32C3: auto adjust voltage dbias storing in efuse and open glitch reset for ECO3
...
1. add some efuse api to get rtc & digital voltage
2. set dig_rtc voltage to a fix value storing in efuse no mater which cpu frequency
3. modify hardware code in bootloader to fit all c3 ECO3 version
2021-05-08 17:56:54 +08:00
Jiang Jiang Jian
9afd57057d
Merge branch 'bugfix/add_sniffer_fcs_filter' into 'master'
...
example: Add sniffer FCSFAIL filter
Closes IDFGH-4661
See merge request espressif/esp-idf!12249
2021-05-08 07:31:51 +00:00
Kang Zuoling
8887133d0c
touch_sensor: fix esp32s2 touch sensor default power source
2021-05-08 11:09:17 +08:00
Angus Gratton
84f2f2932d
Merge branch 'bugfix/esp_partition_get_sha256' into 'master'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on
Closes IDFGH-5089
See merge request espressif/esp-idf!12795
2021-05-07 23:34:56 +00:00
David Čermák
b1b7910715
Merge branch 'bugfix/lwip_config_dhcp_client_id' into 'master'
...
lw-ip: Add config for DHCP client id; Fix DNS server idx assert issue
Closes IDFGH-5139
See merge request espressif/esp-idf!13430
2021-05-07 19:24:32 +00:00
David Čermák
c798906f4a
Merge branch 'feature/esp_netif_destroy_default_wifi' into 'master'
...
esp_netif/wifi: Add API to destroy default wifi-netif for sta/ap
See merge request espressif/esp-idf!12307
2021-05-07 16:49:03 +00:00
Island
d2669c373b
Merge branch 'bugfix/generate_value_0_when_prov_auth' into 'master'
...
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
Closes IDFGH-5079
See merge request espressif/esp-idf!13237
2021-05-07 13:45:11 +00:00
David Cermak
49022e99f5
lwip: Add config for DHCP client id; Fix DNS server idx assert issue
...
This commit brings two esp-lwip fixes to IDF:
1) Add configuration to disable DHCP client identification
2195f7416f
This config could be used to disable option 61 in DHCP packets, so that
clients will be identified by their chaddr only.
(This is the lwip upstream original behaviour)
2) Fix server_idx increasing to DNS_MAX_SERVERS and trigger the LWIP_ASSERT
5a567d52f7
When lwip doesn't have DNS server and resolve a domain address, the server_idx
will increase to DNS_MAX_SERVERS, which will trigger the LWIP_ASSERT and make device crash.
Closes https://github.com/espressif/esp-idf/issues/6878
2021-05-07 14:11:51 +02:00
David Cermak
c4870f4d9e
esp_netif/wifi: Add API to destroy default wifi-netif for sta/ap
...
Partially addresses https://github.com/espressif/esp-idf/issues/6950
2021-05-07 11:56:41 +00:00
Melissa LeBlanc-Williams
33e8d1e0b0
dreiver/i2c: delete i2c cmd_mux semaphore more cleanly
...
Merges https://github.com/espressif/esp-idf/pull/6848
2021-05-07 18:03:38 +08:00
Angus Gratton
42c7dfadad
Merge branch 'bugfix/riscv_ulp_linker_script_reset_vector' into 'master'
...
Fix RISC-V ULP failure to start
See merge request espressif/esp-idf!13431
2021-05-07 08:18:24 +00:00
Mahavir Jain
5aa6e4196c
Merge branch 'feature/support_api_set_http_timeout' into 'master'
...
esp_http_client: Add API to set http client timeout value
Closes IDFGH-5211
See merge request espressif/esp-idf!13446
2021-05-07 04:46:40 +00:00
Jiang Jiang Jian
424d1f6813
Merge branch 'feature/crypto_porting' into 'master'
...
wpa_supplicant: Rewrite Crypto APIs based on MbedTLS
Closes WIFI-1393 and WIFI-1555
See merge request espressif/esp-idf!10473
2021-05-07 03:46:24 +00:00
yuanjm
922992b519
event: Add IP_EVENT_ETH_LOST_IP event
...
Closes https://github.com/espressif/esp-idf/issues/6971
2021-05-07 11:36:13 +08:00
Michael (XIAO Xufeng)
3d7211e2a0
Merge branch 'bugfix/freemodbus_change_max_task_prio' into 'master'
...
freemodbus: increase max priority of modbus tasks
See merge request espressif/esp-idf!11246
2021-05-06 16:54:32 +00:00
Michael (XIAO Xufeng)
758238a8a1
Merge branch 'bugfix/separate_gdma_tx_rx_interrupt' into 'master'
...
gdma: separate tx/rx channel interrupt
Closes IDF-3181
See merge request espressif/esp-idf!13367
2021-05-06 16:38:44 +00:00
Ivan Grokhotkov
f67f7d6774
Merge branch 'bugfix/adc_channel_comment_typo' into 'master'
...
adc: fix typos in comments (Github PR)
Closes IDFGH-4774
See merge request espressif/esp-idf!13437
2021-05-06 11:49:58 +00:00
Ivan Grokhotkov
acd06daf39
Merge branch 'bugfix/spiram_h_header_guards' into 'master'
...
add missing header guards to {esp32,esp32s3}/spiram.h (Github PR)
Closes IDFGH-4861
See merge request espressif/esp-idf!13435
2021-05-06 11:49:39 +00:00
Ivan Grokhotkov
3717a318f6
Merge branch 'bugfix/gpio_isr_doc' into 'master'
...
gpio_isr_register(): Correct order of arguments in docs (Github PR)
Closes IDFGH-1780
See merge request espressif/esp-idf!13439
2021-05-06 11:49:34 +00:00
Michael (XIAO Xufeng)
3f2f80effc
Merge branch 'feature/support_esp32s3_tinyusb_driver' into 'master'
...
soc/hal/tinyusb: add tinyusb support esp32s3
Closes IDF-2692
See merge request espressif/esp-idf!12668
2021-05-06 08:21:01 +00:00
Alex Lisitsyn
ea6710ce98
soc/hal: add tinyusb support esp32s3
...
add usb hal/soc, usb_ll files and esp32s3 target for usb
move usb_hal.h into soc common folder
soc/hal: fix soc and periph for usb
tinyusb: fix tinyusb io header
hal: usb_ll fix pull up/down config for esp32s3
soc/hal: fix peripheral addresses
2021-05-06 16:20:54 +08:00
Angus Gratton
61c941781c
Merge branch 'bugfix/pthread_join_debug_log' into 'master'
...
pthread: Fix possible deadlock when using pthread_join() and Debug log level
Closes IDF-2861
See merge request espressif/esp-idf!13429
2021-05-06 07:10:32 +00:00
morris
6e981af406
gdma: separate tx/rx channel interrupt
2021-05-06 15:06:37 +08:00
Angus Gratton
4d4e094d81
esp_hw_support: Clarify the documentation about hardware RNG entropy
2021-05-06 16:59:02 +10:00
wangjialiang
a5e12d9b63
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-06 06:49:04 +00:00
aleks
59935e44c0
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-05-06 14:32:40 +08:00
Armando
b2409b1d34
essl: remove chip related comments in essl.h
2021-05-06 14:03:05 +08:00
Michael (XIAO Xufeng)
58490418ad
Merge branch 'feature/merge_c3_caps' into 'master'
...
soc: merge C3 caps into a single soc_caps.h
See merge request espressif/esp-idf!13337
2021-05-06 05:56:42 +00:00
yuanjm
754ec7b278
esp_http_client: Add API to set http client timeout value
...
Closes https://github.com/espressif/esp-idf/issues/6984
2021-05-06 13:55:12 +08:00
Angus Gratton
52b555e1e0
esp32s2 riscv ulp: Make re-linking depend on linker script file
2021-05-06 09:25:32 +10:00
Angus Gratton
3ee4370578
esp32s2 riscv ulp: Ensure reset vector is always at offset 0x0
...
Previous linker script relied on nothing else using the .text section
As reported at https://esp32.com/viewtopic.php?f=2&t=20734&p=75997
2021-05-06 09:25:32 +10:00
Ivan Grokhotkov
d7f219686f
Merge branch 'feature/spiffsgen_py_esp8266_compat' into 'master'
...
spiffsgen.py: esp8266 compatibility options, performance improvement, type annotations
Closes IDFGH-4925
See merge request espressif/esp-idf!12839
2021-05-05 15:04:19 +00:00
Martin Thierer
75e0c6aaf5
gpio_isr_register(): Correct order of arguments in docs
...
Make documentation order consistent with function signature.
Merges https://github.com/espressif/esp-idf/pull/3999
2021-05-05 15:56:26 +02:00
Layne Bernardo
d1c8c268d4
Add event_stack_size option to esp_hidh_config_t
...
Merges https://github.com/espressif/esp-idf/pull/6385
2021-05-05 15:45:54 +02:00
Christian Winkler
13abf1ed2e
Fix adc-channel typo
...
Merges https://github.com/espressif/esp-idf/pull/6577
2021-05-05 15:40:35 +02:00
Dániel Buga
c8b697a114
Fix ignored return value.
...
sdio_ringbuf_send ignores the return value of the callback.
Merges https://github.com/espressif/esp-idf/pull/6768
2021-05-05 15:34:24 +02:00
Ivan Grokhotkov
2887c88f56
spiram: add header guards to esp32s3/spiram.h and remove the exception
2021-05-05 15:27:19 +02:00
Takao Akaki
897496dd73
Can't use spiram.h functions when building with cpp.
...
Merges https://github.com/espressif/esp-idf/pull/6658
2021-05-05 15:23:35 +02:00
Ivan Grokhotkov
f92e1c45ae
esp_partition: add test, docs for ESP_PARTITION_TYPE_ANY
2021-05-05 15:11:29 +02:00
0xFEEDC0DE64
1f419bd983
Allow to find any partition type (app and data) with iterator
...
Merges https://github.com/espressif/esp-idf/pull/6586
2021-05-05 14:54:07 +02:00
KonstantinKondrashov
ca481e18e1
bootloader_support: Used esp_image_get_metadata() instead of esp_image_verify()
...
- bootloader_common_get_sha256_of_partition will not do any unnecessery verifies.
- Used esp_image_get_metadata() instead of esp_image_verify().
2021-05-05 11:53:57 +00:00
KonstantinKondrashov
d9be32629e
bootloader: Fixed a case when signed OTA updates fail when debugger is attached due to the wrong image_len.
...
And it fixed another case for bootloader_common_get_sha256_of_partition() when CHECK_SIGNATURE is on
- If RSA signature check is on in Kconfig then sha256 was 0xFFFFF...
because image_load gave image_len which pointed to the end of sign blocks.
And image_digest was filled from a wrong position.
Closes https://github.com/espressif/esp-idf/issues/6873
2021-05-05 11:53:57 +00:00
Angus Gratton
bf1a6eb770
pthread: Fix possible deadlock when using pthread_join() and Debug log level
...
Possible for a joined task to be deleted at the moment it is logging,
meaning it might hold the stdout lock. In that case the lock isn't
released and the next task to try and take it (i.e. call printf)
will block indefinitely.
2021-05-05 14:12:13 +10:00
kapil.gupta
ad7cb5f5c1
wpa_supplicant: Write Crypto API based on mbedtls
...
This commit add following crypto changes
1. Update current crypto code with upstream supplicant code
2. Add a proper porting layer to use mbedtls APIs for all the crypto
operations used by supplicant.
Internal crypto will be used when USE_MBEDLTS flag is disabled
in supplicant's menuconfig.
This commit also removes the clutter in crypto files due to partial
porting of some APIs to mbedtls, all the code from those files have
been removed and rewritten in a generic way, this is inspired from
current upstream code.
This also reduces the lib size significantly, supplicant's lib
size reduces around ~567kb after this change(NB: lib size doesn't
indicate reduction in final bin size).
2021-05-04 10:54:57 +00:00
Angus Gratton
e02439f2de
freertos: Add addition overflow check for stream buffer
...
Patch from upstream commit d05b9c123f2bf9090bce386a244fc934ae44db5b
2021-05-04 16:55:40 +10:00
Angus Gratton
b41d4b0a9c
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 16:55:20 +10:00
KonstantinKondrashov
9490d78f49
efuse/esp32s3: Update efuse table
2021-05-04 14:40:15 +08:00
David Čermák
94f08291ee
Merge branch 'bugfix/esp_eth_mac_openeth_c' into 'master'
...
esp_eth_mac_openeth.c: Fix issue created by generic check macros update
Closes IDFGH-5158
See merge request espressif/esp-idf!13343
2021-05-04 04:56:46 +00:00
KonstantinKondrashov
f35356f69d
esp32/psram: ESP32-PICO-V3 does not have PSRAM and does not support external PSRAM
2021-05-04 10:49:25 +08:00
Ivan Grokhotkov
da59a29be6
Merge branch 'update_copyright_notice_app_trace' into 'master'
...
app_trace: update copyright notice
See merge request espressif/esp-idf!13415
2021-05-03 12:00:53 +00:00
Ivan Grokhotkov
0bd9f6fe12
tools: spiffsgen: fix length error, add test case
2021-05-03 11:37:42 +02:00
Ivan Grokhotkov
952c9a2d05
Merge branch 'feature/esptool_wrapper' into 'master'
...
tools: Support external Esptool wrappers
Closes IDFGH-5095
See merge request espressif/esp-idf!13389
2021-05-03 09:32:46 +00:00
Ivan Grokhotkov
c88287851d
Merge branch 'feature/raise_log_level' into 'master'
...
feature: Set maximum log level, add startup time example
Closes IDFGH-3599 and IDFGH-333
See merge request espressif/esp-idf!12714
2021-05-03 08:52:27 +00:00
Axel Lin
aa333d4ab9
tcp_transport: Fix NULL pointer dereference if esp_transport_init returns NULL
...
Add missing NULL test for esp_transport_init() call.
Otherwise, it will hit NULL pointer dereference when assign t->_get_socket.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-05-03 15:46:59 +08:00
Wang Meng Yang
f471fc2262
Merge branch 'feature/add_esp32c3_hci_uart_example' into 'master'
...
Bluetooth: add hci uart example to ESP32-C3
See merge request espressif/esp-idf!13302
2021-05-03 02:46:54 +00:00
Jan Brudný
2a3c570abd
app_trace: update copyright notice
2021-05-03 04:39:23 +02:00
Michael (XIAO Xufeng)
1f95403596
Merge branch 'feature/emmc_doc_ut_4bit_sdr' into 'master'
...
sdmmc_host: add unit tests and improve documents about using eMMC in 4-line SDR mode
See merge request espressif/esp-idf!13334
2021-05-02 13:58:13 +00:00
Ivan Grokhotkov
9af485307e
tools: spiffsgen.py: minor lint fixes
...
Not squashing these since they should have gone into the commit before
adding type hints.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
a9b81341ca
tools: spiffsgen.py: make default arguments meaningful
...
Without this, defaults of inverse options (--no-magic-len) were based
on the 'dest' value. In this case, dest='use_magic_len’, and the
default value is True. Which is confusing, because both
—use-magic-len and --no-magic-len show the same default value.
This adds a custom help formatter class which doesn’t add default
to the option help text if the help string already includes it.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
9f20eeb1c0
tools: spiffsgen.py: add type annotations
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
930ee51b8f
tools: spiffsgen.py: avoid reallocating byte array for each new block
...
On large filesystems (~15 MB), this reduces execution time from
11s to 0.3s.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
ad1606ae1d
tools: spiffsgen.py: esp8266 compatibility options
...
1. Implement --aligned-obj-ix-tables which is used by default on the
ESP8266 in NodeMCU and Arduino.
2. Introduce --no-magic and --no-magic-len to allow disabling options
--use-magic-len and --use-magic. As these have been declared with
default=True and action='store_true', they couldn't be disabled
otherwise.
Closes https://github.com/espressif/esp-idf/issues/6717
2021-04-30 18:07:48 +02:00
wangmengyang
59c0825ed8
Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport
2021-04-30 15:25:10 +00:00
Jiang Jiang Jian
73adacb7d4
Merge branch 'bugfix/fix_nolightsleep_after_wifi_init' into 'master'
...
esp_wifi: fix nolightsleep after wifi init
See merge request espressif/esp-idf!13404
2021-04-30 04:52:39 +00:00
Jiang Jiang Jian
efb9f87951
Merge branch 'bugfix/fix_728_series_reboot_failure' into 'master'
...
[system]: Fix two (re)boot failure issues on ESP32S3Beta
Closes WIFI-3548, WIFI-3559, and IDF-3170
See merge request espressif/esp-idf!13268
2021-04-30 03:20:47 +00:00
Ivan Grokhotkov
4faba8aecf
Merge branch 'bugfix/monitor_args' into 'master'
...
tools: Fix Cmake arguments for IDF Monitor
Closes IDFGH-5169
See merge request espressif/esp-idf!13383
2021-04-29 15:30:32 +00:00
Jiang Jiang Jian
97136cc512
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt' into 'master'
...
optimize deep sleep current in wifi softap mode
Closes WIFI-3594
See merge request espressif/esp-idf!13349
2021-04-29 14:49:45 +00:00
ninh
f1ee8aa14f
esp_wifi: fix nolightsleep after wifi init
2021-04-29 18:50:28 +08:00
ninh
91dbae3eb5
esp_pm: allow dfs to swith down alltime if no lightsleep
2021-04-29 18:41:00 +08:00
Ivan Grokhotkov
0a0234193f
Merge branch 'bugfix/place_xt_int_fns_into_iram' into 'master'
...
[system]: Place xtensa_intr_asm into IRAM
See merge request espressif/esp-idf!13330
2021-04-29 08:52:30 +00:00
Martin Babutzka
6faf4941cc
tools: Support external Esptool wrappers
...
Implements https://github.com/jimparis/esptool-ftdi/issues/3
Closes https://github.com/espressif/esp-idf/pull/6879
2021-04-29 08:27:57 +02:00
Michael (XIAO Xufeng)
76fbb689fd
Merge branch 'bugfix/remove_uart2_c3' into 'master'
...
uart: remove misleading ld files and soc defs for UART2
See merge request espressif/esp-idf!13340
2021-04-29 05:18:25 +00:00
Jiang Jiang Jian
6dc36d09df
Merge branch 'bugfix/interrupt_watchdog_on_reset' into 'master'
...
Bugfix/interrupt watchdog on reset
See merge request espressif/esp-idf!13384
2021-04-29 04:35:08 +00:00
Michael (XIAO Xufeng)
859f7e3664
Merge branch 'feature/support_eon_flash_qaud_mode_esp_flash' into 'master'
...
esp_flash: support override default chip driver list
Closes IDF-2907
See merge request espressif/esp-idf!12565
2021-04-29 04:03:56 +00:00
wuzhenghui
fa8389da00
remove othercore cache disable
2021-04-29 03:10:47 +00:00
wuzhenghui
57d43d1bc5
fix 728 series reboot failure
2021-04-29 03:10:47 +00:00
Li Shuai
344ec80fad
optimize deep sleep current in wifi softap mode
2021-04-28 14:03:02 +00:00
wangmengyang
666a73d79c
components/bt: bug-fixes in BLE controller and BLE baseband
...
1. Removed the interrupt lock operation during controller enable/disable/reset, to avoid trigger interrupt watchdog time-out due to use of mutex/semaphore in coex_st_set
2. update libbtbb.a to fix the Rx performance issue for CODED PHY, especially in coexistence scenario
2021-04-28 12:05:49 +00:00
wangmengyang
d2324c162a
components/bt: Minor fix for the range of GATTC number of reconnections.
2021-04-28 12:05:49 +00:00
Nachiket Kukade
15499e3cc1
esp_wifi: Update wifi lib
...
Forward Mgmt frames with skipping CCMP headers to fix parsing
issues in Application for ESP32C3
2021-04-28 16:31:05 +05:30
Roland Dobai
3a948c1455
tools: Fix Cmake arguments for IDF Monitor
...
SERIAL_TOOL_ARGS is post-processed with the spaces2list cmake function.
Therefore, it should be a list of arguments because spaces are replaced
with semicolons.
Regression of b77addea2f
and
c425ac7bed
.
Closes https://github.com/espressif/esp-idf/issues/6946
2021-04-28 12:07:40 +02:00
Jeroen Domburg
644f430a31
Merge branch 'feature/esp32c3_usbjtagserial_console' into 'master'
...
USB serial/jtag controller: Add vfs (logging/printf), panic handler, gdb support.
See merge request espressif/esp-idf!12925
2021-04-28 08:38:31 +00:00
Jeroen Domburg
2c75f63f89
* ets_delay_us(1) has too much overhead; change logic
...
* Fix MR comments
2021-04-28 16:38:24 +08:00
Michael (XIAO Xufeng)
41937a9f97
Merge branch 'feature/support_spi_on_727' into 'master'
...
spi: support spi on 727
Closes IDF-3178
See merge request espressif/esp-idf!13346
2021-04-28 08:16:15 +00:00
Marius Vikhammer
504a1e6102
soc: merge C3 caps into a single soc_caps.h
2021-04-28 14:42:35 +08:00
shenjun
8b3e090533
esp_wifi_mesh: update wifi mesh libs
...
1. Fix mesh deinit blocking issue
2. Fix root has no eb for deauth frames during the networking
3. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2021-04-28 02:46:34 +08:00
Jiang Jiang Jian
184b977707
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop' into 'master'
...
esp_wifi: Fix setting channel error after WiFi stop
Closes WIFI-3634
See merge request espressif/esp-idf!13253
2021-04-27 15:42:30 +00:00
Michael (XIAO Xufeng)
3ed5d97771
Merge branch 'bugfix/fix_touch_sensor_measure_start_wait_time' into 'master'
...
Bugfix(Touch): fix the touch sensor wait cycle after wakeup from sleep
See merge request espressif/esp-idf!13116
2021-04-27 12:50:06 +00:00
xiehang
adb15e4a5d
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-04-27 20:06:42 +08:00
Jakob Hasse
31bba67491
[driver]: removed redundant code in CMakeLists.txt
2021-04-27 18:07:44 +08:00
Michael (XIAO Xufeng)
a0d13a31ec
uart: fix misleading files for UART2
...
Includes: header files, ld files and clk.c
ESP32-C3 only have UART0 and UART1.
2021-04-27 17:40:19 +08:00
Ivan Grokhotkov
f86a6db1f2
Merge branch 'feature/espcoredump_py_riscv_support' into 'master'
...
feature: espcoredump py riscv support
Closes IDF-2638 and IDF-2715
See merge request espressif/esp-idf!12259
2021-04-27 09:26:52 +00:00
Ivan Grokhotkov
9d34a1cd42
Merge branch 'bugfix/optimise_esp_timer_get_time' into 'master'
...
systimer: optimise esp_timer_get_time
See merge request espressif/esp-idf!13335
2021-04-27 08:52:09 +00:00
Shu Chen
85565b8274
Merge branch 'feature/openthread_support_microsecond_timer' into 'master'
...
openthread: support microsecond timer
See merge request espressif/esp-idf!13353
2021-04-27 08:08:19 +00:00
Ivan Grokhotkov
86b19d60d3
Merge branch 'newlib/no_atomic_support' into 'master'
...
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
Closes IDFGH-4649
See merge request espressif/esp-idf!13294
2021-04-27 07:59:01 +00:00
zhangwenxu
ea836abe50
openthread: support microsecond timer
2021-04-27 11:52:36 +08:00
Armando
831b6127d7
spi: update interrupt set in spi_ll.h
2021-04-27 11:11:00 +08:00
Armando
b53a68bf70
spi: update spi_struct and spi_reg to 727
2021-04-27 11:11:00 +08:00
Michael (XIAO Xufeng)
fb1fd26caf
Merge branch 'refactor/gdma_check_macro' into 'master'
...
gdma: replaced DMA_CHECK by ESP_GOTO_ON_FALSE
Closes IDF-3131
See merge request espressif/esp-idf!13208
2021-04-27 03:07:01 +00:00
Fu Hanxi
b972631658
feat(coredump): add esp32s2 and esp32c3 support
2021-04-26 20:44:23 +08:00
Fu Hanxi
d94423c1cf
fix(coredump): pr_status pid padding should be uint16
2021-04-26 20:44:23 +08:00
Jiang Jiang Jian
eccdf88712
Merge branch 'bugfix/gtk_reinstallation_fix_1' into 'master'
...
wpa_supplicant: Clean gtk after disconnect
See merge request espressif/esp-idf!13285
2021-04-26 11:35:25 +00:00
Jon Shallow
154ad2e0e1
esp_eth_mac_openeth.c: Fix issue created by generic check macros update
...
Merges https://github.com/espressif/esp-idf/pull/6936
2021-04-26 08:40:07 +00:00
Michael (XIAO Xufeng)
26585b4b4b
esp_flash: support override default chip driver list
2021-04-26 16:05:42 +08:00
Ivan Grokhotkov
e77a91df7f
Merge branch 'doc/ulp_st_bits' into 'master'
...
ulp: update ST instruction description (Github PR)
Closes IDFGH-3224
See merge request espressif/esp-idf!13159
2021-04-26 07:15:15 +00:00
Michael (XIAO Xufeng)
7defd291a4
Merge branch 'feature/refactoring_flash_encryption_to_new_api' into 'master'
...
spi_flash: refactoring flash encryption implementations into new api
Closes IDFGH-4493, IDFGH-4423, and IDF-657
See merge request espressif/esp-idf!12569
2021-04-26 06:34:48 +00:00
Michael (XIAO Xufeng)
546be98e0f
Merge branch 'ci/add_flash_performance_info' into 'master'
...
ci: Add more information for flash performance test
Closes IDF-2739
See merge request espressif/esp-idf!12912
2021-04-26 06:22:12 +00:00
Jiang Jiang Jian
1312815be2
Merge branch 'bugfix/fix_c3_ble_disconnect_due_to_con_param_update' into 'master'
...
fix esp32c3 and esp32s3 ble disconnect due to connection paramters update
See merge request espressif/esp-idf!13324
2021-04-26 04:43:55 +00:00
Jakob Hasse
be55a5eb2b
[system]: put xtensa_intr_asm into IRAM
2021-04-26 12:11:20 +08:00
Michael (XIAO Xufeng)
835a652a63
Merge branch 'feature/usb_hcd_uses_irp_directly' into 'master'
...
USB HCD uses IRPs directly
Closes IDF-2937
See merge request espressif/esp-idf!12646
2021-04-26 03:57:23 +00:00
morris
988c88a6b1
systimer: optimise esp_timer_get_time
2021-04-26 11:54:02 +08:00
xiehang
ce5a25abac
esp_wifi: Fix setting channel error after WiFi stop
2021-04-26 11:32:59 +08:00
Michael (XIAO Xufeng)
cfa4beb661
test_sd: merge emmc SDR/DDR test cases of 4-bit mode
2021-04-26 09:55:39 +08:00
Darian Leung
738af3fd38
USB HCD uses IRPs directly for transfer
...
This commit updates the HCD so that transfer requests are no longer used.
The USB IRP object is updated so that the it can be directly passed to the HCD
to start a transfer. HCD API, tests, and documentation updated accordingly.
2021-04-25 21:52:07 +08:00
Jiang Jiang Jian
3f7b637a15
Merge branch 'bugfix/update_esp32c3_phy_init_data' into 'master'
...
esp_wifi: update esp32c3 phy init data
See merge request espressif/esp-idf!13282
2021-04-25 13:23:13 +00:00
zwj
3c06fea8a1
fix esp32c3 and esp32s3 ble disconnect due to connection paramters update
2021-04-25 20:18:21 +08:00
Michael (XIAO Xufeng)
02970813b8
sdmmc_host: add unit tests and improve documents about using eMMC in 4-line SDR mode
2021-04-25 18:34:37 +08:00
Cao Sen Miao
2059990c94
ci: Add more information for flash performance test
2021-04-25 17:59:10 +08:00
Cao Sen Miao
0d81edb174
spi_flash: refactoring flash encryption into new api
2021-04-25 17:09:25 +08:00
Shu Chen
00a66083c7
Merge branch 'roll-openthread-210416' into 'master'
...
openthread: update openthread submodule
See merge request espressif/esp-idf!13166
2021-04-25 02:18:03 +00:00
Angus Gratton
f2d193a7c3
Merge branch 'bugfix/esp32c3_eco3_efuse_programming' into 'master'
...
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
See merge request espressif/esp-idf!13295
2021-04-23 22:30:41 +00:00
David Čermák
4dc024422c
Merge branch 'feature/lwip-route-hook' into 'master'
...
lw-ip: add config options and hooks for Thread IPv6 border routing
See merge request espressif/esp-idf!13099
2021-04-23 18:41:11 +00:00
Angus Gratton
69309c88a0
Merge branch 'bugfix/fix_c3_typos' into 'master'
...
esp32c3: fix typos of c3 path
See merge request espressif/esp-idf!13318
2021-04-23 13:05:09 +00:00
Michael (XIAO Xufeng)
5997fcd45d
Merge branch 'feature/update_adc_programming_guide_on_c3' into 'master'
...
adc: update esp32c3 programming guide
Closes IDF-2333
See merge request espressif/esp-idf!12563
2021-04-23 12:52:07 +00:00
Michael (XIAO Xufeng)
bea022ce1c
Merge branch 'refactor/usb_common_and_hal_types' into 'master'
...
Separate USB HAL and common USB types
Closes IDF-2931
See merge request espressif/esp-idf!12642
2021-04-23 12:50:35 +00:00
Ivan Grokhotkov
83e68ee19e
Merge branch 'bugfix/replace_setjmp_rom' into 'master'
...
[system]: Made longjmp save for context switch
Closes IDFGH-3232
See merge request espressif/esp-idf!13119
2021-04-23 12:39:29 +00:00
Angus Gratton
65fc657339
Merge branch 'bugfix/otatool_wrong_switch_ota_partition_slots' into 'master'
...
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
Closes IDFGH-4983
See merge request espressif/esp-idf!12900
2021-04-23 12:37:13 +00:00
Angus Gratton
2f70a76572
Merge branch 'bugfix/mac_addr_target_support' into 'master'
...
system: Restructure MAC address support documentation
See merge request espressif/esp-idf!13298
2021-04-23 10:56:42 +00:00
Shu Chen
ff3320ca8a
esp32c3: fix typos of c3 path
2021-04-23 18:11:39 +08:00
Ivan Grokhotkov
ea7d020f20
Merge branch 'feature/ubsan' into 'master'
...
system: add option to enable undefined behavior sanitizer (UBSAN)
Closes IDF-166 and IDF-1824
See merge request espressif/esp-idf!11318
2021-04-23 09:27:42 +00:00
Ivan Grokhotkov
9522034144
Merge branch 'doc/linux_host_testing' into 'master'
...
Doc: Linux host test documentation
See merge request espressif/esp-idf!11857
2021-04-23 09:08:42 +00:00
Angus Gratton
88829d68fc
log: Document that normally logging APIs don't work in critical sections
...
Closes https://github.com/espressif/esp-idf/issues/6600
2021-04-23 18:27:20 +10:00
Angus Gratton
9dc0bd16a3
docs: Update the main log document with recent API changes
2021-04-23 18:27:20 +10:00
Angus Gratton
29348270e7
log: Cause ESP_EARLY_LOGx in the app to use the default runtime log level
...
Tag filtering still doesn't work for this log type, but it will use the
default '*' log level instead of only the runtime level.
* Closes https://github.com/espressif/esp-idf/issues/2285
* Related to https://github.com/espressif/esp-idf/issues/5542
2021-04-23 18:25:41 +10:00
Angus Gratton
6bd9580137
log: Allow setting maximum log level higher than default
...
Main change is possibility the log cache locking functions will
be called before the scheduler has started.
This change doesn't change the behaviour of ESP_EARLY_LOGx, this is
done in the following commit.
Closes https://github.com/espressif/esp-idf/issues/5542
2021-04-23 18:25:41 +10:00
Kapil Gupta
20bb0c3b02
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-04-23 13:44:02 +05:30
Angus Gratton
6e80811ca2
log: Remove redundant definition of LOG_LOCAL_LEVEL
...
After adding a maximum setting, the default value of LOG_LOCAL_LEVEL
will be CONFIG_LOG_MAXIMUM_LEVEL not CONFIG_LOG_DEFAULT_LEVEL
2021-04-23 18:13:04 +10:00
Jakob Hasse
fc22e3c645
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-04-23 15:55:31 +08:00
Angus Gratton
0be81903cc
Merge branch 'bugfix/hal_duplicated_interrupt_functions' into 'master'
...
[hal]: merged duplicated HAL layer functions
Closes IDF-2308
See merge request espressif/esp-idf!12444
2021-04-23 07:47:51 +00:00
Angus Gratton
96c2acd9a8
Merge branch 'refactor/strip_systimer_hal_layer' into 'master'
...
refactor HAL driver of systimer to a common systimer_hal
Closes IDF-2996
See merge request espressif/esp-idf!13027
2021-04-23 07:45:31 +00:00
Wang Meng Yang
85841922a1
Merge branch 'refactor/bt_lib_submodules' into 'master'
...
Refactor/bt lib submodules
See merge request espressif/esp-idf!13247
2021-04-23 07:19:18 +00:00
laokaiyao
e0004dc443
gdma: replaced DMA_CHECK with ESP_GOTO_ON_FALSE and ESP_GOTO_ON_ERROR
2021-04-23 14:49:30 +08:00
Sachin Parekh
b1eacc24f2
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
...
These APIs are used when the architecture doesn't have atomic
instruction support
Closes https://github.com/espressif/esp-idf/issues/6463
2021-04-23 11:18:58 +05:30
David Čermák
0d6482b8ee
Merge branch 'feature/esp_eth_ksz8851snl' into 'master'
...
Add a KSZ8851SNL SPI Ethernet driver
Closes IDFGH-4736 and IDFGH-4837
See merge request espressif/esp-idf!12574
2021-04-23 05:14:16 +00:00
Angus Gratton
64a96ca96d
Merge branch 'bugfix/RTC_CLK_CAL_CYCLES' into 'master'
...
esp32xx: Fix the Number of cycles for RTC_SLOW_CLK calibration
See merge request espressif/esp-idf!13202
2021-04-23 04:55:28 +00:00
KonstantinKondrashov
d1befe83ef
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
...
Closes: https://github.com/espressif/esp-idf/issues/6773
2021-04-23 04:55:06 +00:00
Angus Gratton
7bb5c8cc82
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
...
Without this timing change, efuse programming occasionally appears to fail
(although the efuse is programmed correctly).
2021-04-23 13:42:23 +10:00
Michael (XIAO Xufeng)
fdb8736a95
Merge branch 'feature/spi_slave_hd_segment_example' into 'master'
...
spi_slave_halfduplex: add an example for segment mode
Closes IDF-1699
See merge request espressif/esp-idf!10043
2021-04-23 03:23:25 +00:00
fuzhibo
928c5b6ce3
Driver(Touch sensor): fix the touch sensor wait cycle after wakeup from sleep
2021-04-23 02:59:58 +00:00
morris
d928cdd0b1
i2s: fix driver uninstall issue
2021-04-23 10:34:13 +08:00
Michael (XIAO Xufeng)
dfdc337e27
Merge branch 'bugfix/twai_caps_naming_and_tidy_up' into 'master'
...
Fix TWAI caps
Closes IDF-2456
See merge request espressif/esp-idf!13172
2021-04-23 02:21:47 +00:00
Jakob Hasse
68393c41c4
doc: linux host test documentation
2021-04-23 09:27:35 +08:00
Ivan Grokhotkov
e449728b7d
hal: fix planted break instruction for Xtensa targets
...
On Xtensa, "break 0, 0" encodes a software breakpoint which is placed
into the program by the debug monitor. Planted breakpoints (added in
the code to trap into debugger) should be encoded as "break 1, 15".
See table "Breakpoint Instruction Operand Conventions" in the ISA
Reference manual.
2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
da90775d98
hal: mpu: fix signed overflow error
2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
4e73cff729
esp_netif: enable UBSAN in component test app
2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
9069f70db3
system: add option to enable undefined behavior sanitizer (UBSAN)
...
Closes https://github.com/espressif/esp-idf/issues/1574
2021-04-22 23:33:45 +02:00
Ivan Grokhotkov
cfdfeed973
freertos: linker.lf rules fixes
...
1. Add conditions based on Kconfig options for functions which are
compiled based on those options.
2. Static allocation is always enabled, move corresponding functions
into the common list.
2021-04-22 17:14:46 +02:00
David Cermak
1e674f1d20
esp_eth: Update KSZ8851SNL driver to use global error checkers
...
Also updated KSZ8851SNL per internal code review:
* Removed Link status change interrupt as it's handled with polling
* Added auto negotiation timeout
* Updated typedefs, moved types to appropriate source, updated
components/esp_eth/src/ksz8851.h to use only inherent device types
* Applied IDF code formatting
* Updated header file order to include first the most generic to more
specific
2021-04-22 13:55:51 +00:00
Vladimir Chistyakov
c4f131e6ee
esp_eth: Add a KSZ8851SNL SPI Ethernet driver
...
Implement the PHY and MAC layers in the driver similar to
the W5500 driver.
Update Kconfig, CMakeLists.txt, and component.mk to incorporate
the changes.
Resolves : #6542
Merges https://github.com/espressif/esp-idf/pull/6636
Closes https://github.com/espressif/esp-idf/issues/6542
2021-04-22 13:55:51 +00:00
morris
ec898b771e
systimer: strip hal driver
2021-04-22 21:08:39 +08:00
morris
7c1e1c9e2d
systimer: update soc data
2021-04-22 21:07:35 +08:00
morris
7eb9ecb4f6
esp_ds: move timeout mechanism to driver layer
2021-04-22 21:07:35 +08:00
Mahavir Jain
812d61295d
Merge branch 'bugfix/log_arg_in_bootloader_support' into 'master'
...
bootloader_support: Fix min size of OTA partition in error log
See merge request espressif/esp-idf!13288
2021-04-22 12:31:56 +00:00
Darian Leung
2906a25988
Separate USB HAL and common USB types
...
This commit separates out the common USB types used throughout most of the stack into its
own header file inside the USB component. The types used in the USB HAL are now exclusive
to the HAL.
2021-04-22 19:24:48 +08:00
chenjianxing
372d8c6003
esp_wifi: update esp32c3 phy init data
2021-04-22 19:17:20 +08:00
yuanjm
93604b1a11
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL
2021-04-22 09:33:59 +00:00
Shubham Patil
c2b0db75e8
bootloader_support: Fix min size of OTA partition in error log
2021-04-22 14:00:42 +05:30
Jiacheng Guo
fd3553b66d
lwip: add config options for Thread IPv6 border routing
2021-04-22 06:13:47 +00:00
Angus Gratton
7cb83c8787
system doc: Re-structure description of MAC addresses, especially on newer chip targets
...
Includes a note about calculating the Ethernet MAC on platforms with no built-in
Ethernet, and removes documentation for esp_efuse_mac_get_custom() on targets
other than ESP32
2021-04-22 16:08:55 +10:00
David Čermák
7f34657013
Merge branch 'feature/ethernet_link_check_esp_timer' into 'master'
...
esp_eth: using esp_timer to check link status
Closes IDFGH-4953
See merge request espressif/esp-idf!13155
2021-04-22 06:08:00 +00:00
Angus Gratton
eb38eb670c
system: Return ESP_ERR_NOT_SUPPORTED for esp_read_mac(ESP_MAC_BT, ...) on ESP32-S2
...
Previously this function returned ESP_OK but no MAC was set.
2021-04-22 12:22:46 +10:00
Angus Gratton
c8cb803378
system: Simplify esp_derive_local_mac() function
...
Previously this function included a loop but would never run more
than one iteration of it.
2021-04-22 12:22:46 +10:00
Mahavir Jain
a82466674a
Merge branch 'bugfix/esp_http_client_read' into 'master'
...
Fix esp_http_client_read for file size aligned to 289 bytes
Closes IDFGH-4981
See merge request espressif/esp-idf!13193
2021-04-22 01:48:00 +00:00
wangmengyang
d703424ef7
component/bt: add another bt-lib submodule and refactor the directories
2021-04-22 07:41:46 +08:00
Angus Gratton
f91d6c7a69
Merge branch 'bugfix/tls_threadptr_calculation' into 'master'
...
freertos: fix TLS run-time address calculation
See merge request espressif/esp-idf!13271
2021-04-21 23:13:13 +00:00
Shubham Kulkarni
b148433fbd
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-21 17:28:54 +05:30
wangmengyang
b81c687327
remove original esp32-bt-lib submodule
2021-04-21 19:51:32 +08:00
Ivan Grokhotkov
0535195983
freertos: fix TLS run-time address calculation
...
Since dd849ffc
, _rodata_start label has been moved to a different
linker output section from where the TLS templates (.tdata, .tbss)
are located. Since link-time addresses of thread-local variables are
calculated relative to the section start address, this resulted in
incorrect calculation of THREADPTR/$tp registers.
Fix by introducing new linker label, _flash_rodata_start, which points
to the .flash.rodata output section where TLS variables are located,
and use it when calculating THREADPTR/$tp.
Also remove the hardcoded rodata section alignment for Xtensa targets.
Alignment of rodata can be affected by the user application, which is
the issue dd849ffc
was fixing. To accommodate any possible alignment,
save it in a linker label (_flash_rodata_align) and then use when
calculating THREADPTR. Note that this is not required on RISC-V, since
this target doesn't use TPOFF.
2021-04-21 13:45:21 +02:00
Ivan Grokhotkov
d4e8987a39
Merge branch 'feature/prevent_unwind_code_linking' into 'master'
...
prevent unwind code linking
Closes IDF-2577, IDFGH-3394, IDFGH-3417, and IDFGH-3153
See merge request espressif/esp-idf!12328
2021-04-21 10:04:15 +00:00
Wang Meng Yang
81723243cf
Merge branch 'bugfix/ble_timeout_disconnected_no_report' into 'master'
...
Fix the controller do not report the disconnect event to host
See merge request espressif/esp-idf!13261
2021-04-21 09:43:33 +00:00
“YangZhao”
1def09cc99
bugfix: Fix the issue that the controller do not report the timeout
...
disconnect event. This issue is caused by modem sleep.The sleep interrupt
will come the second time before the CLKN interrupt. If we disable the sleep
interrupt when it comes in the first time, the CLKN will never come.
2021-04-21 14:49:44 +08:00
morris
0733adab5e
esp_eth: using esp_timer to check link status
2021-04-21 13:08:07 +08:00
morris
537617aec7
esp_eth: support user customized PHY io function
...
Closes https://www.github.com/espressif/esp-idf/issues/6745
2021-04-21 13:08:07 +08:00
morris
c833ec5533
global: remove esp_ssc.h
2021-04-21 13:08:07 +08:00
Mahavir Jain
104830107a
Merge branch 'fix/esp_https_client_compile_warning' into 'master'
...
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set
Closes IDFGH-5098
See merge request espressif/esp-idf!13192
2021-04-21 04:57:49 +00:00
Mahavir Jain
c22805e94b
Merge branch 'bugfix/bootloader_min_revision_c3' into 'master'
...
Fix bootloader minimum revision check and print for ESP32-C3
Closes IDFGH-5106
See merge request espressif/esp-idf!13248
2021-04-21 04:41:47 +00:00
Armando
3177130256
adc: add adc programming guide on c3
2021-04-21 10:40:55 +08:00
Angus Gratton
15575346f5
Merge branch 'bugfix/freertos_current_tcb_unpinned' into 'master'
...
freertos: Fix race condition returning incorrect TCB on unpinned tasks
Closes WIFI-3125
See merge request espressif/esp-idf!13189
2021-04-21 01:03:32 +00:00
Ivan Grokhotkov
d34421dd7b
Merge branch 'feature/build_nvs_host_test_ci' into 'master'
...
Add nvs page host test to CI
Closes IDF-2425
See merge request espressif/esp-idf!12417
2021-04-20 23:32:01 +00:00
Ivan Grokhotkov
c248dcc724
Merge branch 'bugfix/flash_rodata_any_alignement' into 'master'
...
build: (Custom) App version info is now on a dedicated section
Closes IDFGH-4927
See merge request espressif/esp-idf!12786
2021-04-20 23:30:03 +00:00
Jiang Jiang Jian
9b73403efd
Merge branch 'bugfix/ftm_fixes_logging_change' into 'master'
...
wifi/ftm: Move FTM report logging into application and general Bugfixes
Closes WIFI-3294
See merge request espressif/esp-idf!13009
2021-04-20 15:26:49 +00:00
Wang Meng Yang
c94916de8f
Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry' into 'master'
...
optimize c3 multi con and add connection retry
See merge request espressif/esp-idf!12983
2021-04-20 14:48:11 +00:00
Mahavir Jain
4f71805255
Merge branch 'bugfix/update_tinycbor_for_static_analysis_fix' into 'master'
...
Update tinycbor for static analysis fix
Closes IDF-2792
See merge request espressif/esp-idf!13190
2021-04-20 14:40:05 +00:00
Aditya Patwardhan
31445c1566
esp_https_ota: Warn users when CONFIG_OTA_ALLOW_HTTP is set
2021-04-20 20:06:41 +05:30
Island
3e05abe7bb
Merge branch 'bugfix/endianness_in_output_or_input_oob' into 'master'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number
See merge request espressif/esp-idf!13160
2021-04-20 13:09:01 +00:00
Jiacheng Guo
64c498a584
openthread: update openthread submodule
...
Roll OpenThread submodule and rename OpenThread config macros and api
calls accordingly.
2021-04-20 20:26:19 +08:00
Armando
44fafd4991
spi_slave_hd: add polling api to read/write buf to essl_spi
2021-04-20 20:08:30 +08:00
Armando
85e29dace7
spi_slave_hd: add callback after data is loaded to the DMA for segment mode
2021-04-20 20:08:29 +08:00
Wang Meng Yang
b05ac11456
Merge branch 'nimble/add_c3_config_max_conn' into 'master'
...
NimBLE: Add max connection config option for C3
See merge request espressif/esp-idf!12226
2021-04-20 09:49:11 +00:00
Axel Lin
39792bd7cc
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set
...
Fix below build warning when CONFIG_OTA_ALLOW_HTTP is set:
esp_https_ota.c:165:13: warning: 'is_server_verification_enabled' defined but not used [-Wunused-function]
While at it, also simplify the is_server_verification_enabled logic.
Fixes: 48987ad9df
("esp_https_ota: Enable option of using global_ca_store and x509_crt_bundle")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Closes https://github.com/espressif/esp-idf/pull/6882
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-04-20 14:48:44 +05:30
Mahavir Jain
a4f38db53d
bootloader_support: fix min. revision error print for < C3-ECO3 revisions
2021-04-20 14:22:14 +05:30
Mahavir Jain
f9699e2412
bootloader: fix print related to min. chip revision
...
Closes https://github.com/espressif/esp-idf/issues/6890
Closes IDFGH-5106
2021-04-20 14:19:17 +05:30
Jakob Hasse
2fb5b42eb1
[nvs] add nvs page host test to CI
...
Closes IDF-2425
2021-04-20 14:40:16 +08:00
KonstantinKondrashov
8e1256ca88
esp32xx: Fix the Number of cycles for RTC_SLOW_CLK calibration
2021-04-20 06:29:42 +00:00
Jakob Hasse
2552c7ba0f
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-04-20 14:27:58 +08:00
wangjialiang
dd0fbb2f5e
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-04-20 06:25:52 +00:00
Angus Gratton
79ae7a7bd9
freertos: test: Add stress test for thread local storage
...
(Fails without the fix applied in parent commit.)
2021-04-20 14:46:49 +10:00
Angus Gratton
c7328f1cc0
freertos: Fix race condition returning incorrect TCB on unpinned tasks
...
Noted as a problem with thread local storage returning a different task's
pointers, but some other were APIs also accessing current task unsafely.
Regression in FreeRTOS 10 update a3c90bf59a
2021-04-20 14:46:49 +10:00
Mahavir Jain
6a06be002e
tinycbor: update to latest upstream commit-id
...
Relevant: https://github.com/espressif/esp-idf/issues/6440
Closes IDF-2792
2021-04-20 03:59:44 +00:00
Angus Gratton
2554d8956a
Merge branch 'feature/parametrize_core_dump_check' into 'master'
...
coredump: core dump data check can now be parametrized
Closes IDFGH-4821
See merge request espressif/esp-idf!12605
2021-04-20 03:58:58 +00:00
Angus Gratton
dfbcacd246
Merge branch 'update_copyright_notice_log' into 'master'
...
log: Update copyright notice
See merge request espressif/esp-idf!13108
2021-04-20 03:54:49 +00:00
Nachiket Kukade
c93907fb27
wifi/ftm: Move FTM report logging into application and some bugfixes
...
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 03:44:51 +00:00
Prasad Alatkar
7d4cfb6d53
NimBLE: Add max connection config option for ESP32C3
2021-04-20 02:41:58 +00:00
zwj
58cd231895
optimize C3 and s3 multi-connection
2021-04-20 02:41:14 +00:00
zwj
077722696a
add option to enable multi-connection
2021-04-20 02:41:14 +00:00
zwj
6fff69390e
update con state when getting connection cancle complete
2021-04-20 02:41:14 +00:00
zwj
85b73337a3
fix ble 5.0 SMP failed
2021-04-20 02:41:14 +00:00
zwj
e652e264c7
add BLE connection establishment retry
2021-04-20 02:41:14 +00:00
Jiang Jiang Jian
ae853eb177
Merge branch 'bugfix/gtk_reinstallation_fix' into 'master'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key
See merge request espressif/esp-idf!13036
2021-04-19 09:51:21 +00:00
Michael (XIAO Xufeng)
06ec13e422
Merge branch 'bugfix/fix_co-cpu_riscv_ulp_ld_for_esp32s2' into 'master'
...
bugfix: add .rodata section for riscv ulp for esp32s2
See merge request espressif/esp-idf!13109
2021-04-19 07:49:58 +00:00
Michael (XIAO Xufeng)
2f298aa02a
Merge branch 'bugfix/timer_spinlock_iram' into 'master'
...
timer: add IRAM_ATTR to spinlock give/take API
Closes IDFGH-5038
See merge request espressif/esp-idf!13107
2021-04-19 07:41:59 +00:00
Angus Gratton
209a6cc855
Merge branch 'bugfix/check_partitions_fit' into 'master'
...
cmake partition_table: Check binaries fit in partition spaces at build time
Closes IDF-1539 and IDFGH-2503
See merge request espressif/esp-idf!9330
2021-04-19 07:33:36 +00:00
Jiang Jiang Jian
920b3a0929
Merge branch 'feature/configure_max_server_profiles_count' into 'master'
...
esp32: Added an option in menuconfig to configure maximum gatt services
Closes BT-1508
See merge request espressif/esp-idf!12769
2021-04-19 06:31:09 +00:00
Omar Chebib
837629814f
coredump: core dump data check can now be parametrized
...
Core dump integrity check can now be parametrized through menuconfig.
It can be performed on boot or ignored. When core dump is activated
in the menuconfig, the user can still check the core dump at any time
with the function `esp_core_dump_image_check()`.
Fix a bug where `esp_core_dump_image_get()` was not accessible
when core dump was disabled.
Closes https://github.com/espressif/esp-idf/issues/6620
2021-04-19 13:05:32 +08:00
Omar Chebib
dd849ffc26
build: (Custom) App version info is now on a dedicated section, independent of the rodata alignment
...
It is now possible to have any alignment restriction on rodata in the user
applicaiton. It will not affect the first section which must be aligned
on a 16-byte bound.
Closes https://github.com/espressif/esp-idf/issues/6719
2021-04-19 12:53:08 +08:00
Kapil Gupta
035909872b
wpa_supplicant: Prevent reinstallation of an already in-use group key
2021-04-19 04:17:20 +00:00
Jan Brudný
1e896e5def
log: update copyright year
2021-04-18 23:53:48 +02:00
Jiang Jiang Jian
44e68b2636
Merge branch 'bugfix/update_esp32s2_phylib_v1800' into 'master'
...
esp_wifi: Update libphy.a to V1800 20210413_e7ef680 for esp32s2
Closes WIFI-3526
See merge request espressif/esp-idf!13146
2021-04-16 14:32:33 +00:00
Darian Leung
54eb152a96
TWAI: Simply caps and remove unused caps
2021-04-16 18:36:18 +08:00
Ivan Grokhotkov
fa72ef6bd8
Merge branch 'feature/add-eventfd' into 'master'
...
vfs: add eventfd support
See merge request espressif/esp-idf!12573
2021-04-16 10:33:06 +00:00
Mahavir Jain
d5e7bf0ee5
Merge branch 'feature/mbedtls_md5' into 'master'
...
mbedtls: Add CONFIG_MBEDTLS_ROM_MD to enable ROM MD acceleration
Closes IDF-255
See merge request espressif/esp-idf!13030
2021-04-16 10:24:21 +00:00
Darian Leung
44bc5411b7
TWAI: Fix incorrect CAP name
...
Fixes a bug where SOC_TWAI_BRP_DIV_SUPPORTED was mistyped preventing
slower bit rates from being enabled on ESP32 revision 2 and 3 chips
2021-04-16 18:18:37 +08:00
Michael (XIAO Xufeng)
58758486b2
Merge branch 'ci/enable_flash_suspend_test' into 'master'
...
spi_flash: enable unit-test for flash suspend
Closes IDF-3081
See merge request espressif/esp-idf!13115
2021-04-16 10:16:25 +00:00
Anton Maklakov
e55f2936fd
Merge branch 'bugfix/build_failure_in_espcoredump' into 'master'
...
espcoredump: Fix string truncation build failure
See merge request espressif/esp-idf!13135
2021-04-16 07:01:44 +00:00
Angus Gratton
920edd4e73
partition_table: Add a "single factory app (large)" option for 1.5MB app size
...
Needed to build some examples in their default configurations (especially
ESP32-C3). Wasn't noticed until the CI checks for partition size were added.
2021-04-16 16:40:47 +10:00
Angus Gratton
b45b817e6f
partition_table: Fix pylint issues in gen_esp32part.py
2021-04-16 16:40:47 +10:00
Angus Gratton
6f6b4c3983
cmake partition_table: Check binaries fit in partition spaces at build time
...
- Bootloader is checked not to overlap partition table
- Apps are checked not to overlap any app partition regions
Supported for CMake build system only.
Closes https://github.com/espressif/esp-idf/pull/612
Closes https://github.com/espressif/esp-idf/issues/5043
Probable fix for https://github.com/espressif/esp-idf/issues/5456
2021-04-16 16:40:47 +10:00
xiehang
9f27aa7db8
esp_wifi: Update libphy.a to V1800 20210413_e7ef680 for esp32s2
2021-04-16 11:21:07 +08:00
Jiang Jiang Jian
db67047eb9
Merge branch 'feature/support_esp32s3_beta3_wifi' into 'master'
...
esp_wifi: support esp32s3 beta3 wifi
Closes WIFI-3550
See merge request espressif/esp-idf!12863
2021-04-16 03:09:19 +00:00
Ivan Grokhotkov
e6fd582fdf
Merge branch 'bugfix/panic_handler_not_in_iram' into 'master'
...
panic: handlers can now be placed in flash
Closes IDF-2851
See merge request espressif/esp-idf!12874
2021-04-16 02:47:05 +00:00
Angus Gratton
bc3d45026c
Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap' into 'master'
...
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled
See merge request espressif/esp-idf!12032
2021-04-15 23:56:39 +00:00
Roland Dobai
c425ac7bed
tools: Don't use revision argument for IDF Monitor if it is not defined
2021-04-15 19:56:39 +02:00
ChenJianxing
dd14e97375
esp_wifi: support esp32s3 beta3 wifi
2021-04-16 00:38:20 +08:00
boarchuz
7e7c044afa
update ulp st doc
...
Merges https://github.com/espressif/esp-idf/pull/5222
2021-04-15 16:16:11 +02:00
wangmengyang
ae8f66889b
fix bit definition for SYSTEM_WIFI_CLK_WIFI_EN, sync with ESP32-C3
2021-04-15 22:03:36 +08:00
zwj
764a778be1
phy reinit error due to i2c high
2021-04-15 22:03:25 +08:00
zwj
facadc86d8
support 727 esp32s3 BLE
2021-04-15 22:02:58 +08:00
Jiacheng Guo
bbb0e7a573
vfs: fix build & ci errors
2021-04-15 15:19:00 +08:00
Jiacheng Guo
0d986de363
vfs: add default initializer for vfs_eventfd
2021-04-15 15:19:00 +08:00
Jiacheng Guo
40035edcac
vfs: add doc links
2021-04-15 15:19:00 +08:00
Jiacheng Guo
7c64d1530a
vfs: modify copyright header
2021-04-15 15:18:59 +08:00
Jiacheng Guo
37a992bbde
vfs: add example for eventfd
2021-04-15 15:18:59 +08:00
Jiacheng Guo
7b911e4641
vfs: add support for mutiple selects in eventfd
2021-04-15 15:18:59 +08:00
Jiacheng Guo
30e9345bc7
vfs: add unit tests for eventfd
2021-04-15 15:18:59 +08:00
Jiacheng Guo
f6fd2eb164
vfs: add eventfd support
...
eventfd imitates the behavior of POSIX api `man(2) eventfd`. This api
can be used to pass events to a select based message loop.
2021-04-15 15:18:59 +08:00
Angus Gratton
bfa9ec70f2
esp32s3: Add support for reusing RTC memory as heap
2021-04-15 16:24:44 +10:00
Angus Gratton
32c924b5cd
esp32s3: Reserve RTC memory in bootloader in the app linker script
2021-04-15 16:20:58 +10:00
Angus Gratton
111098568a
esp32c3: Reserve RTC memory from bootloader in the app linker script
2021-04-15 16:20:58 +10:00
Angus Gratton
83bf2e1ac1
bootloader: Fix "skip validate on exit deep sleep" when "Use RTC fast memory as heap" is enabled
...
RTC region used to store boot partition needs to remain reserved in the app.
2021-04-15 16:20:58 +10:00
Cao Sen Miao
ed16e9b5d6
spi_flash: enable unit-test for flash suspend
2021-04-15 12:05:40 +08:00
Omar Chebib
bb9aa806f7
panic: handlers can now be placed in flash
...
By unchecking "Place panic handler code in IRAM" in the menuconfig,
the panic handlers will be placed in flash. Of course, flash cache must
be activated when entering panic handlers.
2021-04-15 11:58:46 +08:00
Krzysztof Budzynski
d14661eaa3
Merge branch 'docs/programming_guide_c3_update_twai' into 'master'
...
Update TWAI driver docs and registers for esp32c3
Closes IDF-2349
See merge request espressif/esp-idf!12935
2021-04-15 02:35:28 +00:00
Marius Vikhammer
826b976ba5
timer: add IRAM_ATTR to spinlock give/take API
...
Closes https://github.com/espressif/esp-idf/issues/6824
2021-04-15 09:50:06 +08:00
Jiang Jiang Jian
a6f33a9d36
Merge branch 'bugfix/e8192_and_assert_param_master' into 'master'
...
Modify E8192 ELx200 ELx40 log level to LOGD
See merge request espressif/esp-idf!13008
2021-04-14 15:54:48 +00:00
Jiang Jiang Jian
98eeb8f61d
Merge branch 'bugfix/fix_wifi_issue_for_pm_disconnected' into 'master'
...
esp_wifi: fix some issue about wifi pm
Closes WIFI-3583, WIFI-3584, WIFI-3585, and WIFI-3586
See merge request espressif/esp-idf!13137
2021-04-14 14:38:20 +00:00
Ivan Grokhotkov
e220e9b571
Merge branch 'feature/refactor-idf-monitor' into 'master'
...
Decompose idf_monitor.py
Closes IDF-2432
See merge request espressif/esp-idf!11815
2021-04-14 14:32:17 +00:00
Shubham Patil
78e387c2bc
espcoredump: Fix string truncation build failure
2021-04-14 14:42:09 +05:30
Angus Gratton
b26dda9247
Merge branch 'bugfix/freertos_task_delete' into 'master'
...
freertos: Fix race condition using vTaskDelete() cross-core causing resource leak
Closes BT-1156
See merge request espressif/esp-idf!11736
2021-04-14 09:10:32 +00:00
Darian Leung
7087f80b1e
Update TWAI driver docs and registers for esp32c3
...
This commit updates the documentation and register struct
of the TWAI driver for the ESP32-C3. Note that the register
fields for ESP32-S3 have also been updated.
2021-04-14 15:00:07 +08:00
ninh
7629a0b22f
esp_wifi: fix some issue about wifi pm
2021-04-14 14:42:22 +08:00
liuhan
e87c64dc44
mbedtls: Add CONFIG_MBEDTLS_ROM_MD5 to use ROM MD5 in mbedTLS
2021-04-14 06:42:13 +00:00
Jiang Jiang Jian
1f54d17503
Merge branch 'bugfix/esp32c3_deep_sleep_gpio_wakeup_issue' into 'master'
...
deep sleep: fix sleep gpio wakeup fail issue
Closes WIFI-3474
See merge request espressif/esp-idf!13074
2021-04-14 06:36:40 +00:00
Angus Gratton
ec01a66557
Merge branch 'feature/esp32c3_memprot_test3' into 'master'
...
ESP32C3/ESP32S2: memprot API upgrade and test application
Closes IDF-2641
See merge request espressif/esp-idf!12941
2021-04-13 18:42:46 +00:00
David Čermák
6d4b93c94e
Merge branch 'refactor/using_generic_error_check_in_esp_eth' into 'master'
...
esp_eth: apply generic error check macros
Closes IDF-3030 and IDF-3031
See merge request espressif/esp-idf!13007
2021-04-13 16:48:25 +00:00
Martin Gano
1546e970db
Merge branch 'master' into 'feature/refactor-idf-monitor'
...
# Conflicts:
# tools/ci/mypy_ignore_list.txt
2021-04-13 20:55:19 +08:00
KonstantinKondrashov
fd867a11df
bootloader: Suppress a Cmake warning - variables were not used by the project
...
Manually-specified variables were not used by the project: SECURE_BOOT_SIGNING_KEY
2021-04-13 11:28:13 +00:00
KonstantinKondrashov
9f932a2a18
bootloader: Fix error in Make build system when signature options is on
2021-04-13 11:28:13 +00:00
xiongweichao
4aafb1fd80
modify E8192 ELx200 ELx40 log level to LOGD
2021-04-13 17:08:23 +08:00
Michael (XIAO Xufeng)
1f29036ead
Merge branch 'feat/c3_driver_api_cleanup' into 'master'
...
driver: cleanup i2c, i2s on C3
Closes IDF-2759 and IDF-2760
See merge request espressif/esp-idf!12329
2021-04-13 09:00:11 +00:00
Angus Gratton
23ae81c78c
Merge branch 'bugfix/calc_8m_freq_test' into 'master'
...
rtc: increase CI acceptance range for calc 8M test
Closes IDFCI-79
See merge request espressif/esp-idf!13068
2021-04-13 08:32:51 +00:00
David Čermák
c2bab4be95
Merge branch 'bugfix/mdns_configure_strict_mode' into 'master'
...
mdns: Fix mdns to correctly answer non-strict queries (+ additional fixes)
Closes IDF-2928, WIFI-3107, and IDFGH-4797
See merge request espressif/esp-idf!12645
2021-04-13 08:04:43 +00:00
Michael (XIAO Xufeng)
f5f3c7143c
Merge branch 'feat/c3_driver_api_cleanup_gpio' into 'master'
...
gpio, rtcio: removed unsupported features on different targets
See merge request espressif/esp-idf!13103
2021-04-13 06:51:33 +00:00
Michael (XIAO Xufeng)
54fdaa5986
Merge branch 'docs/spi_max_transfer_sz_limit' into 'master'
...
spi_docs: Fixed the default value of max_transfer_sz.
See merge request espressif/esp-idf!13000
2021-04-13 06:51:11 +00:00
David Čermák
10cdfab8c8
Merge branch 'bugfix/fix_lwip_debug_define' into 'master'
...
lw-ip: Fix LWIP_DEBUG define which is always defined
Closes IDF-3043
See merge request espressif/esp-idf!13004
2021-04-13 06:13:34 +00:00
Michael (XIAO Xufeng)
6ab5b9cbf9
gpio, rtcio: removed unsupported features on different targets
2021-04-13 13:21:08 +08:00
Jiang Jiang Jian
d6a2a67006
Merge branch 'bugfix/fix_some_pm_issue' into 'master'
...
esp_pm: fix an issue and add an interface
Closes IDF-2984 and IDF-2944
See merge request espressif/esp-idf!12787
2021-04-13 03:42:46 +00:00
Angus Gratton
7ec02161db
Merge branch 'bugfix/cmake_ulp_reserved_size' into 'master'
...
ulp: Fix bug where ULP linker script not regenerated for new config
See merge request espressif/esp-idf!12979
2021-04-13 03:40:21 +00:00
Angus Gratton
191e649257
freertos: Add some comments about deleting tasks when using SMP
...
Some cases are not immediately obvious, so document them in comments.
2021-04-13 03:40:10 +00:00
Angus Gratton
f7b859ac84
freertos: Fix race condition using vTaskDelete() cross-core causing resource leak
...
Causes test added in parent commit to pass.
This race happens if the deleted task is running on the other CPU,
and is already spinning in a critical section waiting for xTaskQueueMutex
because it's about to be blocked for a resource.
The "deleted" task would end up blocked, possibly indefinitely, and
never actually deleted or its resources cleaned up by the idle tasks.
Details:
vTaskDelete() adds the target task to the xTasksWaitingTermination list,
expecting it to be yielded off CPU and then cleaned up later. However as soon as
vTaskDelete() releases xTaskQueueMutex, the target task runs and moves itself to the
xDelayedTaskList1. Because interrupts are already disabled on that CPU,
the "yield" to the other CPU sent by the vTaskDelete() comes afterward so
doesn't help.
2021-04-13 03:40:10 +00:00
Angus Gratton
db7d272873
freertos: Add unit test for deleting task which may be blocking
2021-04-13 03:40:10 +00:00
Michael (XIAO Xufeng)
93712eae49
Merge branch 'bugfix/fix_flash_ci' into 'master'
...
esp_flash: fix host number for passing ci
See merge request espressif/esp-idf!13090
2021-04-13 03:23:02 +00:00
morris
ef344d89ae
esp_eth: apply generic error check macros
2021-04-13 10:54:33 +08:00
yuanjm
ef7583517d
lwip: Fix LWIP_DEBUG define which is always defined
2021-04-12 14:41:46 +00:00
David Čermák
1b6b05f1ab
Merge branch 'bugfix/pppos_configs' into 'master'
...
esp-modem: Add options to support LCP ECHO and UART_ISR_RAM in the example
Closes IDFGH-2470 and IDFGH-4759
See merge request espressif/esp-idf!12962
2021-04-12 14:30:38 +00:00
David Čermák
0f36a2dd16
Merge branch 'bugfix/eth_w5500_4byte_corruption' into 'master'
...
esp_eth: Fix w5500 read register operations
Closes IDFGH-4776 and IDFGH-4400
See merge request espressif/esp-idf!13060
2021-04-12 14:26:30 +00:00
David Cermak
5cce919cbe
mdns: Fixed the ip header TTL to be correctly set to 255
...
Defined in https://tools.ietf.org/html/rfc6762#section-11 : All Multicast DNS responses (including responses sent via unicast)
SHOULD be sent with IP TTL set to 255
2021-04-12 13:24:19 +00:00
David Cermak
34049454df
mdns: Fix parsing answers with questions when instance name not set
...
mdns resolver didn't correctly resolved queries when host name wasn't
assigned. Fixed by allowing processing also if some answer present
(non-strict mode)
Closes https://github.com/espressif/esp-idf/issues/6598
2021-04-12 13:24:19 +00:00
David Cermak
b649603a0d
mdns: Fix the resolver to correctly parse it's own non-strict answers
...
The resolver was able to respond correctly, but would also resolve its
own queries and cause issues with BCT 1.5.2, specifically
* MULTIPLE QUESTIONS - DUPLICATE SUPPRESSION
* MULTIPLE QUESTIONS - DISTRIBUTED DUPLICATE SUPPRESSION
tests failed.
2021-04-12 13:24:19 +00:00
suren.gabrielyan
0eee31546d
mdns: Add MDNS_STRICT_MODE config option
...
Strict mode was hardcoded in private header file, but it's useful for
users to enable/disable it depending on the mdns library they are using.
e.g. Avahi might not resolve the non-strict answers.
2021-04-12 13:24:19 +00:00
Michael (XIAO Xufeng)
7e06a60c0d
Merge branch 'refactor/no_dac_on_esp32s3' into 'master'
...
dac: added DAC support macro
Closes IDF-1777
See merge request espressif/esp-idf!13038
2021-04-12 10:52:33 +00:00
Michael (XIAO Xufeng)
8cfcf6da7a
Merge branch 'bugfix/enable_gpio18_gpio19_esp32c3' into 'master'
...
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3
Closes IDF-2964
See merge request espressif/esp-idf!12753
2021-04-12 09:39:55 +00:00
Angus Gratton
268b23db96
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip
...
Closes https://github.com/espressif/esp-idf/issues/6191
2021-04-12 18:49:17 +10:00
Martin Gaňo
b77addea2f
Decompose idf_monitor.py
2021-04-12 10:47:33 +02:00
David Cermak
7af358ed93
esp_eth: Fix w5500 to break from potentially infinite tx loop
...
The issue typically happens for link-down during Tx. Added two retry levels, one before checking the sanity of the w5500 phy register and another for the Tx done itself (if the device is in the sane state)
Closes https://github.com/espressif/esp-idf/issues/6233
2021-04-12 07:59:40 +00:00
David Cermak
dfe9580967
esp_eth: Fix w5500 to correctly read registers on -Os
...
Reading SPI data may come in 4-byte units and thus result in unwanted
overwrites if smaller size registers read, especially if multiple placed
one after another. Fixed by using direct reads to `trans` structure for
sizes smaller or equal to 4.
Closes https://github.com/espressif/esp-idf/issues/6579
2021-04-12 07:59:40 +00:00
Michael (XIAO Xufeng)
67941fc495
i2s: removed unsupported features on different targets
2021-04-12 15:51:54 +08:00
Michael (XIAO Xufeng)
82e4a2431a
i2c: removed unsupported features on different targets
2021-04-12 15:51:19 +08:00
fuzhibo
357b64fd2c
bugfix: add .rodata section for riscv ulp for esp32s2
2021-04-12 14:29:13 +08:00
morris
75dfd970b4
dac: added DAC support macro
...
Remove DAC support on ESP32-S3
2021-04-12 12:04:46 +08:00
Martin Vychodil
f27c9c5139
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 13:44:11 +10:00
Angus Gratton
936523b904
Merge branch 'feature/secure_bootv2_c3' into 'master'
...
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3
Closes IDF-2647
See merge request espressif/esp-idf!13040
2021-04-12 01:31:25 +00:00
Angus Gratton
1ea54a6496
Merge branch 'bugfix/s2_lightsleep_regression' into 'master'
...
sleep: disable switch-case jump tables from being placed in flash
See merge request espressif/esp-idf!13083
2021-04-09 13:56:02 +00:00
Shu Chen
264ce1f037
Merge branch 'feature/ot-1.2-radio-api' into 'master'
...
openthread: add radio mac API implementation
See merge request espressif/esp-idf!13066
2021-04-09 11:34:18 +00:00
Cao Sen Miao
c185a4947f
esp_flash: fix host number for passing ci
2021-04-09 17:43:39 +08:00
Mahavir Jain
06c5f623ea
Merge branch 'feature/diagnostics_support' into 'master'
...
espcoredump: Get core dump summary API
See merge request espressif/esp-idf!11462
2021-04-09 08:50:07 +00:00
Mahavir Jain
81c8fcaf8f
Merge branch 'bugfix/ota_and_http_client' into 'master'
...
Fix counters for POST request in OTA and compare auth string in case insensitive fashion
Closes IDFGH-5059, IDFGH-5055, and IDFGH-5056
See merge request espressif/esp-idf!13069
2021-04-09 07:40:59 +00:00
David Čermák
9e8b2d8c66
Merge branch 'feature/sperate_slip_component' into 'master'
...
esp_netif: Use CONFIG_LWIP_SLIP_SUPPORT to sperate slip component
Closes IDF-3042
See merge request espressif/esp-idf!13006
2021-04-09 06:57:41 +00:00
David Cermak
d6f66465ff
lwip: Made LCP ECHO bool for better user experience
2021-04-09 06:53:30 +00:00
Marius Vikhammer
38d9251bda
sleep: disable switch-case jump tables from being placed in flash
...
sleep_modes.c contains switch statements that should be placed in flash.
Settings for avoiding this was not updated during sleep_modes refactor.
2021-04-09 14:16:27 +08:00
Jörg Henne
19024671ea
esp_http_client: Make http_utils_get_string_between and http_utils_str_starts_with case insensitive
...
Closes: https://github.com/espressif/esp-idf/pull/6841
Closes: https://github.com/espressif/esp-idf/issues/6840
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-04-09 06:03:02 +00:00
Shubham Kulkarni
b8b104a8f0
esp_https_ota: Fix counters for sending POST body
...
Closes: https://github.com/espressif/esp-idf/issues/6844
2021-04-09 06:03:02 +00:00
Aditya Patwardhan
48987ad9df
esp_https_ota: Enable option of using global_ca_store and x509_crt_bundle
...
Closes https://github.com/espressif/esp-idf/issues/5504
2021-04-09 04:33:37 +00:00
Shubham Patil
356e2bbe6d
espcoredump: On device core dump parsing to generate summary
2021-04-09 09:43:40 +05:30
Marius Vikhammer
0633ee3e18
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-09 11:57:03 +08:00
Li Shuai
2c2ae5aa0a
deep sleep: fix sleep gpio wakeup fail issue
2021-04-09 11:35:32 +08:00
Angus Gratton
7154866e80
Merge branch 'feature/update_libsodium_submodule' into 'master'
...
libsodium: Update library to v1.0.18
Closes IDF-2731
See merge request espressif/esp-idf!13026
2021-04-08 22:45:37 +00:00
Mahavir Jain
bc4cb7f67e
Merge branch 'bugfix/crashing_after_debug_logs_enabled_esp32c3' into 'master'
...
esp32c3: Fix issue of crashing if debug logs are enabled.
Closes WIFI-3534
See merge request espressif/esp-idf!12788
2021-04-08 12:59:18 +00:00
Michael (XIAO Xufeng)
57af5acefe
Merge branch 'ci/enable_all_test_for_i2c_on_c3' into 'master'
...
I2C: enable all unit test for i2c on esp32c3
Closes IDF-2494
See merge request espressif/esp-idf!12474
2021-04-08 12:31:51 +00:00
Marius Vikhammer
58d83dda40
rtc: increase CI acceptance range for calc 8M test
2021-04-08 18:50:56 +08:00
Rahul Tank
6395eae955
esp-idf: Added an option in menuconfig to configure maximum gatt services
...
Currently Max GATT services count cannot be configured externally and
hence user needs to modify code ,everytime the count is to be
modified.
Added an option in menuconfig to provide a way to user to set the count.
Fixes: https://jira.espressif.com:8443/browse/BT-1508
2021-04-08 10:42:47 +00:00
Angus Gratton
cef3b26a91
Merge branch 'refactor/move_from_esp_system' into 'master'
...
Movements from esp_system
Closes IDF-2165
See merge request espressif/esp-idf!12695
2021-04-08 10:16:08 +00:00
Jiacheng Guo
3630099d29
openthread: add radio api for Thread 1.2 to work
2021-04-08 17:49:16 +08:00
aditi_lonkar
ed424c5f9f
esp32c3: Fix issue of crashing if debug logs are enabled.
2021-04-08 09:43:25 +00:00
Shu Chen
1b5894a5cb
tinyusb: use the generic error check macros
2021-04-08 17:40:10 +08:00
Michael (XIAO Xufeng)
925dacd7fb
Merge branch 'bugfix/remove_HSPI_macro_on_c3' into 'master'
...
spi: remove HSPI macros on esp32c3 and esp32s3
Closes IDF-2535
See merge request espressif/esp-idf!12637
2021-04-08 09:33:18 +00:00
KonstantinKondrashov
1d8f885928
esp32c3: Default supported ESP32-C3 Revision ECO3
2021-04-08 15:06:22 +08:00
Omar Chebib
cd79f3907d
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3
...
When `DIS_USB_JTAG` eFuse is NOT burned (`False`), it is not possible
to set pins 18 and 19 as GPIOs. This commit solves this by manually
disabling USB JTAG when using pins 18 or 19.
The functions shall use `gpio_hal_iomux_func_sel` instead of
`PIN_FUNC_SELELECT`.
2021-04-08 14:01:18 +08:00
Angus Gratton
7fe8720c9d
Revert "esp_event test: Disable linker relaxations in this component, to temporarily workaround a linker bug"
...
This reverts commit 4eb9cc68a6
.
Alternative fix to be applied in next commit.
2021-04-08 13:33:28 +10:00
Angus Gratton
70cab5bd81
Merge branch 'bugfix/ulp_riscv_unintended_wake' into 'master'
...
ulp: unintended wakeup in ulp_riscv
See merge request espressif/esp-idf!12894
2021-04-08 01:52:41 +00:00
KonstantinKondrashov
4e23f9f3b7
secure_boot_v2: Adds support SB_V2 for ESP32-C3 ECO3
2021-04-07 19:52:44 +08:00
Renz Bagaporo
586023790e
esp_system: move sleep modes to esp_hw_support, power down light sleep to esp_pm
2021-04-07 17:53:37 +08:00
Renz Bagaporo
c112bd8b57
esp_system: move intr_alloc
2021-04-07 17:53:37 +08:00
Renz Bagaporo
8762bfebde
esp_system: move asysnc memcpy to esp_hw_support
2021-04-07 17:53:37 +08:00
Mahavir Jain
6d0ac214c4
Merge branch 'feature/enable_crt_bundle_for_esp_http_client' into 'master'
...
Feature/enable crt bundle for esp http client
Closes IDFGH-3997
See merge request espressif/esp-idf!13018
2021-04-07 09:20:21 +00:00
Mahavir Jain
0df89e492b
Merge branch 'bugfix/keepalive_idle_fix' into 'master'
...
esp-tls: Fix setsockopt for TCP_KEEPIDLE
Closes IDFGH-5043
See merge request espressif/esp-idf!13049
2021-04-07 07:28:43 +00:00
Aditya Patwardhan
f66bdf1233
esp_http_client: Enable support of crt_bundle in esp_http_client
2021-04-07 05:31:21 +00:00
Aditya Patwardhan
d74f7d2d04
tcp_transport: Add option to enable crt_bundle for SSL connection
2021-04-07 05:31:21 +00:00
Aditya Patwardhan
3e82fcd566
esp_http_server: Fix transport_ctx not getting freed
...
Closes https://github.com/espressif/esp-idf/issues/6813
2021-04-07 05:25:39 +00:00
Angus Gratton
c22eb769e7
Merge branch 'bugfix/panic_instrprohibited' into 'master'
...
esp_system: fix instrprohibited panic backtrace regression
See merge request espressif/esp-idf!13023
2021-04-07 05:14:19 +00:00
Cao Sen Miao
c3da21a93f
I2C: enable all unit test for i2c on esp32c3
2021-04-06 17:37:55 +08:00
Angus Gratton
97ea00f355
Merge branch 'doc/flash_encryption_development' into 'master'
...
doc: Mention Flash Encryption on the host is possible in Release mode
Closes IDFGH-4074
See merge request espressif/esp-idf!12721
2021-04-06 08:13:43 +00:00
Axel Lin
52442be9e1
esp-tls: Fix setsockopt for TCP_KEEPIDLE
...
Current code applies keep_alive_enable setting to TCP_KEEPIDLE, fix it.
Fixes: 2d25252746
("esp-tls: Rework tcp_connect() to use more subroutines")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-04-06 15:37:16 +08:00
Angus Gratton
e97ae26f48
doc: Mention pre-encrypting on the host is possible in Release mode
...
Closes https://github.com/espressif/esp-idf/issues/5945
2021-04-06 16:58:58 +10:00
Michael (XIAO Xufeng)
d21ca33e40
Merge branch 'bugfix/fix_bootloader_time_too_long_bug' into 'master'
...
esp32s2/esp32c3: decrease boot up and cpu start up time
See merge request espressif/esp-idf!12725
2021-04-06 06:34:57 +00:00
Aditya Patwardhan
dfd6c5cb0b
libsodium: Update library to v1.0.18
2021-04-06 11:23:50 +05:30
Armando
9b9ea71ff9
spi: remove HSPI macro on esp32c3 and esp32s3
2021-04-06 13:42:49 +08:00
Angus Gratton
1d5828b433
Merge branch 'feature/implement_esp_core_dump_image_erase' into 'master'
...
coredump: add `esp_core_dump_image_erase` function
See merge request espressif/esp-idf!12609
2021-04-06 04:29:01 +00:00
Jakob Hasse
b23c9142d5
[hal]: cleaned up interrupt mask functions
...
* Functions for setting and clearing interrupts
as well as function to read interrupt mask
should be clearer now.
* Using hal layer interrupt set and clear
functions in esp_wifi component
2021-04-06 11:54:13 +08:00
Angus Gratton
f13b10a17b
Merge branch 'bugfix/call_idf_monitor_with_python_explicitly' into 'master'
...
esptool_py: call idf.py monitor with python explicitly
Closes IDFGH-3333
See merge request espressif/esp-idf!12981
2021-04-06 03:30:23 +00:00
Angus Gratton
94ac251091
Merge branch 'doc/general_notes' into 'master'
...
doc: Update docs about startup sequence and memory types
Closes IDF-2321, IDF-2409, and IDFGH-1540
See merge request espressif/esp-idf!12636
2021-04-05 23:51:25 +00:00
Renz Bagaporo
75624c5355
esp_system: fix instrprohibited panic backtrace regression
...
First PC should have been ignored in the case of InstProhibited panic
when printing backtrace.
2021-04-05 22:05:27 +08:00
Angus Gratton
6b57f33858
Merge branch 'refactor/movements_from_target_components' into 'master'
...
Movement from target components 1
See merge request espressif/esp-idf!12482
2021-04-05 02:37:21 +00:00
Chen Shu
6be0ed9077
Merge branch 'feature/add-openthread' into 'master'
...
openthread: add OpenThread and porting
Closes IDF-2911
See merge request espressif/esp-idf!12570
2021-04-02 06:49:55 +00:00
Guo Jia Cheng
7c38989309
OpenThread: add OpenThread and porting
...
* Adds the OpenThread submodule.
* Adds porting on ESP32.
* Adds the OpenThread cli example.
2021-04-02 14:49:49 +08:00
Angus Gratton
f326b1372a
Merge branch 'refactor/duplicate_backtrace_code' into 'master'
...
esp_system: remove duplicate backtrace
Closes IDF-2783
See merge request espressif/esp-idf!12596
2021-04-02 03:51:09 +00:00
Rahul Tank
105497f861
Add secure connection for just works in provisioning app for bluedroid
...
This MR adds support of secure connection, encryption flags to characteristics and bonding with Just Work as association model
[BLE Provisioning] Added secure connection pairing support to unified provisioning framework.
2021-04-01 09:29:03 +00:00
Mahavir Jain
b9efd5d8dd
Merge branch 'fix/add_nimble_prov_secure_conn' into 'master'
...
BLE provisioning: Add secure connection pairing with just works for NimBLE
See merge request espressif/esp-idf!12899
2021-04-01 09:26:35 +00:00
Prasad Alatkar
fbd906e05f
BLE provisioning: Add secure connection pairing with just works for NimBLE
2021-04-01 17:26:30 +08:00
yuanjm
dd30222c46
esp_netif: Add CONFIG_LWIP_SLIP_SUPPORT to sperate slip component
2021-04-01 17:10:50 +08:00
Renz Bagaporo
301c48b6b2
esp_system: remove duplicate panic backtrace code
2021-04-01 07:22:57 +00:00
Michael (XIAO Xufeng)
e89fabb963
spi_docs: Fixed the default value of max_transfer_sz.
2021-04-01 14:59:29 +08:00
Michael (XIAO Xufeng)
da0b86905f
Merge branch 'bugfix/fix_uart_handler_call_inline_func' into 'master'
...
driver: fix uart handler in iram calls inline uart_ll_is_tx_idle() placed in flash
Closes IDFGH-3775
See merge request espressif/esp-idf!9985
2021-04-01 06:46:33 +00:00
chaijie
f9de69586b
esp32s2/esp32s3/esp32c3: Decrease bootloader cost time
2021-04-01 06:19:34 +00:00
Angus Gratton
3c9e9a7704
Merge branch 'bugfix/renable_unit_tests' into 'master'
...
ci: enable previously disabled unit tests
See merge request espressif/esp-idf!12582
2021-04-01 03:23:22 +00:00
ninh
7395e075f8
esp_pm: fix an issue and add an interface
2021-04-01 02:23:42 +00:00
Jiang Jiang Jian
0f115609b1
Merge branch 'bugfix/close_tsen_when_close_phy' into 'master'
...
esp_wifi: close tsen when close phy
Closes WIFI-3527
See merge request espressif/esp-idf!12949
2021-04-01 02:17:53 +00:00
Jiang Jiang Jian
e50b86ddc8
Merge branch 'bugfix/fix_esp32c3_hardware_bug_before_ECO3' into 'master'
...
ECP32C3: fix hardware bug before eco3
Closes WIFI-3415 and WIFI-3474
See merge request espressif/esp-idf!12924
2021-03-31 17:43:50 +00:00
Jiang Jiang Jian
d903dadfc2
Merge branch 'bugfix/assert_when_tcp_send_data' into 'master'
...
lw-ip:bugfix for assert when tcp send data
Closes WIFI-3483
See merge request espressif/esp-idf!12761
2021-03-31 17:40:30 +00:00
aleks
193f1f9b4e
driver: fix uart handler in iram calls inline uart_ll_is_tx_idle
2021-03-31 14:39:59 +00:00
Mahavir Jain
cc7372ab79
Merge branch 'bugfix/chunked_http_request' into 'master'
...
esp_http_client: Do not override HTTP method in case of chunk encoding
Closes IDFGH-4401
See merge request espressif/esp-idf!12923
2021-03-31 13:13:03 +00:00
chaijie
c101fc3e3d
fix c3 hardware bug before ECO3 and optimizate bbpll config:
...
1. deepsleep poweron reset bug in high temperature before ECO3;
2. brownout reset bug before ECO2;
3. bbpll voltage low bug before ECO3;
4. need xpd iph for xtal before ECO3;
2021-03-31 13:08:56 +00:00
ninh
c80310b1f6
esp_wifi: close tsen when close phy
2021-03-31 21:06:00 +08:00
Jiang Jiang Jian
ada4a8274f
Merge branch 'bugfix/add_beacon_timeout_event' into 'master'
...
esp_wifi: Add beacon timeout event
Closes WIFI-3536
See merge request espressif/esp-idf!12809
2021-03-31 13:01:28 +00:00
Renz Bagaporo
daa13b3f62
esp32: move toolchain check
2021-03-31 19:17:33 +08:00
Renz Bagaporo
a202a604d8
esp32: move system libs
2021-03-31 19:17:33 +08:00
Renz Bagaporo
bbc599493e
esp32: move common fragment definitions
2021-03-31 19:17:33 +08:00
Renz Bagaporo
1b4e4c37b7
esp32: remove deprecated esp_intr.h
2021-03-31 19:17:33 +08:00
Renz Bagaporo
9478298aa4
esp32: move mac target specific configs
2021-03-31 19:17:33 +08:00
Renz Bagaporo
e6edf34e82
esp32: move esp_clk functions
2021-03-31 19:17:33 +08:00
Renz Bagaporo
4a08264e7a
esp_system: split esp_system.h header
2021-03-31 19:13:03 +08:00
Renz Bagaporo
a7bac58480
esp32: move system api to esp_system
2021-03-31 19:13:03 +08:00
Renz Bagaporo
393bd64a1e
esp32: move crosscore int
2021-03-31 19:13:03 +08:00
Renz Bagaporo
7d85c42e52
esp32: move brownout and cache err int setup
2021-03-31 19:13:03 +08:00
Renz Bagaporo
6014e3a198
esp32: move stack check test
2021-03-31 19:13:03 +08:00
Renz Bagaporo
784a02a4ee
esp32: move hw random
2021-03-31 19:13:03 +08:00
Shubham Kulkarni
1bacc13628
esp_http_client: Do not overwrite HTTP method in case of chunk request
...
Closes https://github.com/espressif/esp-idf/issues/6234
2021-03-31 10:53:36 +00:00
David Čermák
aecfbf966c
Merge branch 'feature/ethernet_phy_ksz8081' into 'master'
...
Ethernet phy driver: ksz8081
Closes IDFGH-4775
See merge request espressif/esp-idf!12723
2021-03-31 09:45:32 +00:00
Renz Bagaporo
3639c2322b
ulp: clear rtc int at initialization
...
Closes https://github.com/espressif/esp-idf/issues/6654
2021-03-31 17:15:55 +08:00
xueyunfei
181e87d700
bugfix for assert when tcp send data
2021-03-31 08:59:22 +00:00
callalilychen
d9f687f51a
esptool_py: call idf.py monitor with python explicitly
...
Closes https://github.com/espressif/esp-idf/pull/5314
2021-03-31 16:54:50 +08:00
Angus Gratton
9c2f180049
ulp: Fix bug where ULP linker script not regenerated for new config
...
ULP linker script relies on value of CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM,
when this value changes in config then it should be regenerated.
2021-03-31 19:25:35 +11:00
Jiang Jiang Jian
813d9ca420
Merge branch 'bugfix/add_multiple_scan_mode' into 'master'
...
Bugfix: Connect example to add scan mode config
Closes IDFGH-4793 and IDFGH-4812
See merge request espressif/esp-idf!12525
2021-03-31 08:10:55 +00:00
Angus Gratton
793771e744
Merge branch 'feature/esp_error_check_return' into 'master'
...
esp_common: add generic check macros
Closes IDF-2271
See merge request espressif/esp-idf!12602
2021-03-31 07:08:27 +00:00
Michael (XIAO Xufeng)
8ec8f61caa
Merge branch 'bugfix/twai_esp32_errata_workarounds' into 'master'
...
TWAI: Add FIFO overrun handling and ESP32 hardware errata workarounds
Closes IDFGH-3307, IDFGH-393, and IDFGH-2114
See merge request espressif/esp-idf!10041
2021-03-31 05:13:58 +00:00
xiehang
37567dcf2a
esp_wifi: Add beacon timeout event
...
Update TBTT when rx probe respones after beacon timeout.
2021-03-31 11:29:56 +08:00
Jiang Jiang Jian
80d0f6c860
Merge branch 'nimble/add_error_prints_acl_buf' into 'master'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL
See merge request espressif/esp-idf!12665
2021-03-31 03:20:16 +00:00
Angus Gratton
fda565a5bf
Merge branch 'bugfix/partition_table_depends_esptoolpy' into 'master'
...
esptool_py: Fix issue where build with limited components doesn't include esptool_py
Closes IDFGH-4876 and IDFGH-4874
See merge request espressif/esp-idf!12653
2021-03-31 01:30:33 +00:00
Angus Gratton
d44034c54d
Merge branch 'bugfix/dual_core_app_on_single_core_esp32' into 'master'
...
esp_system: fix dual core app issue on single core esp32
Closes IDF-2154
See merge request espressif/esp-idf!10728
2021-03-31 01:06:52 +00:00
Angus Gratton
771718d07a
Merge branch 'bugfix/prefetch_invalid' into 'master'
...
soc: add dummy bytes to ensure instr prefetch always valid
Closes IDFCI-533
See merge request espressif/esp-idf!12940
2021-03-31 00:44:10 +00:00
Angus Gratton
37acd13cdd
doc: Add notes that vTaskStartScheduler() is called during startup
...
Closes https://github.com/espressif/esp-idf/issues/1457
2021-03-31 09:37:28 +11:00
Angus Gratton
492b061cbc
doc: update the memory types and startup docs
2021-03-31 09:37:28 +11:00
Jiang Jiang Jian
af132f651f
Merge branch 'bugfix/fix_esptouch_v2_issues' into 'master'
...
esp_wifi: fix ESPTouch v2 issues
Closes WIFI-3325
See merge request espressif/esp-idf!12770
2021-03-30 15:01:19 +00:00
yuanjm
06ae78b531
provisioning: Fix WiFi credentials not saved to NVS due to wifi_prov_mgr_start_provisioning change the WiFi storage to RAM
...
Closes https://github.com/espressif/esp-idf/issues/5178
2021-03-30 11:15:05 +00:00
0xFEEDC0DE64
45de6f9c59
espcoredump erase review comments
2021-03-30 08:59:39 +00:00
0xFEEDC0DE64
a72f2e2257
coredump: Implemented esp_core_dump_image_erase() and esp_core_dump_image_get() now returns ESP_ERR_NOT_FOUND when partition is blank
...
Closes https://github.com/espressif/esp-idf/pull/6631
2021-03-30 08:59:39 +00:00
morris
2a34b0496c
esp_eth: refactor ksz8041 driver into ksz80xx
2021-03-30 08:53:15 +00:00
Patrick Wieder
98a4c70af9
Added support for Ethernet PHY KSZ8081
...
Merges https://github.com/espressif/esp-idf/pull/6578
2021-03-30 08:53:15 +00:00
morris
9d7ba4c49a
eth_phy: fix wrong register bit order in ksz8041
2021-03-30 08:53:15 +00:00
zhangyanjiao
8ff8222519
esp_wifi: fix ESPTouch v2 issues
2021-03-30 14:29:33 +08:00
Darian Leung
2f58060921
TWAI: FIFO overrun handling and errata workarounds
...
This commit adds handling for FIFO overruns and
adds workarounds for HW errats on the ESP32.
Closes https://github.com/espressif/esp-idf/issues/2519
Closes https://github.com/espressif/esp-idf/issues/4276
2021-03-30 14:17:31 +08:00
Marius Vikhammer
b4d2fb56a0
ci: enable previously disabled unit tests
2021-03-29 18:36:41 +08:00
Angus Gratton
a2740be080
Merge branch 'refactor/systimer_reset_alternative' into 'master'
...
Systimer reset alternative on S2 (and others)
See merge request espressif/esp-idf!12694
2021-03-29 09:27:41 +00:00
Michael (XIAO Xufeng)
99aaebb5e4
Merge branch 'bugfix/adc_power_issue' into 'master'
...
adc: fix adc power issue
Closes IDF-2954, WIFI-3453, WIFI-3462, IDFGH-4439, and IDFGH-4887
See merge request espressif/esp-idf!12757
2021-03-29 07:31:43 +00:00
Renz Bagaporo
8d32232899
esp_system: check early for single core variant
2021-03-29 06:50:47 +00:00
Michael (XIAO Xufeng)
bdaac823e3
Merge branch 'feature/spi_slave_hd_dual_test_for_segment_mode' into 'master'
...
spi slave hd: add a dual test for segment mode when master's transactions are too long
See merge request espressif/esp-idf!11176
2021-03-29 06:16:10 +00:00
Marius Vikhammer
8ac74082f1
soc: add dummy bytes to ensure instr prefetch always valid
...
The CPU might prefetch instructions, which means it in some cases
will try to fetch instruction located after the last instruction in
flash.text.
Add dummy bytes to ensure fetching these wont result in an error,
e.g. MMU exceptions
2021-03-29 13:50:03 +08:00
Jiang Jiang Jian
bd4e34b15a
Merge branch 'bugfix/btdm_incorrectly_spelled' into 'master'
...
component/bt: fix Spelling mistakes
Closes IDFGH-4886, IDFGH-4910, and IDFGH-4635
See merge request espressif/esp-idf!12814
2021-03-29 05:07:54 +00:00
Jiang Jiang Jian
72ddc6ee40
Merge branch 'bugfix/esp32c3_light_sleep_gpio_reset_issue' into 'master'
...
light sleep: add software workaround for esp32c3 gpio reset issue
See merge request espressif/esp-idf!12715
2021-03-29 04:55:55 +00:00
Jiang Jiang Jian
28c17feaaa
Merge branch 'bugfix/enable_esp32c3_glitchdet_eco3_wifi' into 'master'
...
Add ECO3 Wi-Fi Functions addr.
Closes ESPTOOL-218 and WIFI-3244
See merge request espressif/esp-idf!12627
2021-03-29 04:54:13 +00:00
Michael (XIAO Xufeng)
78090d24e4
Merge branch 'bugfix/flash_suspend_restriction' into 'master'
...
spi_flash: make suspend off by default and add more information for using suspend
See merge request espressif/esp-idf!12812
2021-03-29 04:47:34 +00:00
Angus Gratton
38af9dffe1
esp_system: Mark the startup array as 'const' to save RAM
2021-03-29 15:11:49 +11:00
alex.li
55cbb541fc
Support new section addr and wifi lib for ESP32C3-ECO3.
2021-03-29 10:27:10 +08:00
Angus Gratton
c4b5974cd0
Merge branch 'bugfix/doc_freertos_task_stack_bytes' into 'master'
...
freertos docs: Specify that uxTaskGetStackHighWaterMark() returns bytes not words
See merge request espressif/esp-idf!12866
2021-03-28 22:40:20 +00:00
David Čermák
b2a60e0d7c
Merge branch 'bugfix/tcp_transport_tls_no_mem' into 'master'
...
tcp_transport: Fix error handling of esp_tls_init()
Closes IDFGH-4952
See merge request espressif/esp-idf!12822
2021-03-26 18:44:35 +00:00
Krzysztof Budzynski
c140e8b547
Merge branch 'doc/update_openssl_docs' into 'master'
...
docs: Migrated OpenSSL APIs from components/openssl/* to the API reference
Closes IDF-2541
See merge request espressif/esp-idf!12515
2021-03-26 11:49:57 +00:00
Armando
cc6bfcd9ac
adc: apply adc power API to adc driver
...
Closes https://github.com/espressif/esp-idf/issues/6269
Closes https://github.com/espressif/esp-idf/issues/6682
2021-03-26 17:58:00 +08:00
Angus Gratton
1dfa0e0aa1
Merge branch 'feature/vdd_sdio_pd_configurable' into 'master'
...
system: add VDD_SDIO power domain configuration for light sleep
Closes IDFGH-2893
See merge request espressif/esp-idf!12481
2021-03-26 08:23:41 +00:00
Michael (XIAO Xufeng)
96e3ba881c
Merge branch 'feature/esp32c3_adc_driver_cleanup' into 'master'
...
adc: esp32c3 adc driver cleanup
Closes IDF-2528, IDF-2695, and IDF-2765
See merge request espressif/esp-idf!12477
2021-03-26 08:03:29 +00:00
Angus Gratton
b73b6eb5b4
Merge branch 'bugfix/otatool_imported_as_lib' into 'master'
...
otatool: Fix a crash when imported as external python lib
Closes IDFGH-4942
See merge request espressif/esp-idf!12862
2021-03-26 07:22:07 +00:00
Cao Sen Miao
c54ea54d98
spi_flash: make suspend off by default and add more information for using suspend
2021-03-26 13:57:14 +08:00
Mahavir Jain
531f14aa31
Merge branch 'feature/secure_boot_v1_add_tip_msg' into 'master'
...
secure_boot_v1: Adds a help message in case when sig_block.version is not valid
Closes IDFGH-4982
See merge request espressif/esp-idf!12916
2021-03-26 04:24:13 +00:00
Jiang Jiang Jian
bcbf1d2c3c
Merge branch 'bugfix/btdm_add_controller_support_RPA' into 'master'
...
add option to enable/disable esp32 controller RPA
See merge request espressif/esp-idf!12832
2021-03-26 04:19:50 +00:00
Jiang Jiang Jian
6c070f49a8
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed' into 'master'
...
fix multi-connection pair failed
Closes BT-1490
See merge request espressif/esp-idf!12877
2021-03-26 04:18:56 +00:00
Jiang Jiang Jian
e5f8e12db1
Merge branch 'bugfix/btdm_synchronize_multiple_branch_of_bt_lib' into 'master'
...
Bugfix/btdm synchronize multiple branch of bt lib
Closes BT-1535
See merge request espressif/esp-idf!12868
2021-03-26 04:15:42 +00:00
Armando
0e0baee25a
adc: add implementation of missed public API
...
Added ``adc1_pad_get_io_num``, ``adc2_pad_get_io_num`` and
``adc_vref_to_gpio``.
2021-03-26 12:04:46 +08:00
Armando
6f4d992ac7
adc: update lock scope on esp32c3
2021-03-26 12:04:46 +08:00
Armando
e9995fe165
adc: add pm_lock to adc driver on esp32c3
2021-03-26 12:04:46 +08:00
Armando
a5295af829
adc: update adc header files on c3
2021-03-26 12:04:46 +08:00
Armando
00a3f48bd8
adc: refactor adc single read api on esp32c3
2021-03-26 12:04:46 +08:00
Armando
69a0f8b9bb
adc: seperate hal layer and driver layer
2021-03-26 12:04:46 +08:00
Armando
bee90f57f1
adc: remove unused functions on esp32c3
2021-03-26 12:04:45 +08:00
Angus Gratton
36655bd63d
Merge branch 'feature/on_update_no_secure_boot_verify_only_one_sign' into 'master'
...
secure_boot: Only the first position of signature blocks is used to verify any update
Closes IDF-3002
See merge request espressif/esp-idf!12856
2021-03-26 03:18:15 +00:00
Marius Vikhammer
2edf9b103d
esptool: update to support flashing esp32c3 eco 3
2021-03-26 10:59:40 +08:00
Angus Gratton
10d1e4ab1b
esp32c3: Add support for building image with a minimum target revision
2021-03-26 10:59:03 +08:00
Mahavir Jain
d6a6c3b46d
Merge branch 'prov/protocomm_nimble_strdup_remove' into 'master'
...
Provisioning: Remove unnecessary strdup/free from protocomm_nimble
Closes IDFGH-4980
See merge request espressif/esp-idf!12889
2021-03-25 15:04:14 +00:00
Jiang Jiang Jian
a24ae68d48
Merge branch 'nimble/mbedtls_aes_free_dma' into 'master'
...
NimBLE: Free AES context after use by calling `mbedtls_free_aes` (Needed for C3)
Closes BT-1435
See merge request espressif/esp-idf!12363
2021-03-25 12:42:32 +00:00
KonstantinKondrashov
7f40717eb2
secure_boot/SIGNED_ON_UPDATE_NO_SECURE_BOOT: Only the first position of signature blocks is used to verify any update
2021-03-25 12:27:05 +00:00
KonstantinKondrashov
cbbd1e88a5
secure_boot_v1: Adds a help message in case when sig_block.version is not valid
...
if sig_block.version is not valid then probably the image without a signature.
2021-03-25 20:01:52 +08:00
KonstantinKondrashov
b72ace60a5
otatool: Fix a crash when imported as external python lib
...
Closes: https://github.com/espressif/esp-idf/issues/6733
2021-03-25 11:52:56 +00:00
Prasad Alatkar
bf6ff41a9e
BLE Provisioning: Remove unnecessary strdup/free from protocomm_nimble
...
Closes IDFGH-4980
2021-03-25 16:55:57 +05:30
Renz Bagaporo
32aa5f7e25
esp_system: add notes on timekeeping
2021-03-25 16:09:33 +08:00
Renz Bagaporo
44a8dc9342
ci: change assertions rtc clk compenstation test
2021-03-25 15:47:19 +08:00
Renz Bagaporo
50745fa61b
newlib: use system time in test
2021-03-25 15:47:19 +08:00
Renz Bagaporo
d7e9567c00
esp_system, esp_timer: fix time function description
2021-03-25 15:47:19 +08:00
Renz Bagaporo
131bbbd5c4
esp_system: test system time for rtc compensation
2021-03-25 15:47:19 +08:00
Renz Bagaporo
74de5a7c58
esp_timer: correct startup time
2021-03-25 15:38:27 +08:00
Renz Bagaporo
5a90113136
newlib: change microseconds offset type
2021-03-25 15:37:48 +08:00
Renz Bagaporo
cb5a8342d4
esp_system: revert reset of systimer clk at startup
2021-03-25 15:37:48 +08:00
Li Shuai
b3bc27972e
light sleep: add software workaround for esp32c3 gpio reset issue
2021-03-25 15:03:09 +08:00
baohongde
77fc60ede1
components/bt: Synchronize multiple branch of bt lib
2021-03-25 14:39:28 +08:00
baohongde
36b89a9f0b
components/bt: Fix assert without sw coexist enabled
2021-03-25 14:39:07 +08:00
baohongde
7c2ff2ad3f
component/coex: Decouple Wi-Fi and bluetooth with coexist to reduce binary file size
2021-03-25 14:39:07 +08:00
Jiang Jiang Jian
aff0235e47
Merge branch 'bugfix/fix-modem-sleep-mr' into 'master'
...
Fix the bug of modem sleep
See merge request espressif/esp-idf!12871
2021-03-25 06:33:02 +00:00