Shubham Kulkarni
b975bc9d38
cJSON: Update submodule to latest release.
...
This update fixes NULL pointer dereference issues in previous release
Closes https://github.com/espressif/esp-idf/issues/7317
2021-08-27 12:04:38 +08:00
morris
ba3168d1d5
Merge branch 'zim-missing-semicolon' into 'master'
...
missing semicolon
See merge request espressif/esp-idf!14965
2021-08-27 03:15:01 +00:00
Marius Vikhammer
2206c5315e
Merge branch 'bugfix/aes_unaligned_access' into 'master'
...
aes: fix unaligned access
Closes IDFGH-5506
See merge request espressif/esp-idf!14659
2021-08-27 01:33:44 +00:00
Kapil Gupta
d3a42d787d
wpa_supplicant: clean tls client state machine
2021-08-27 00:19:32 +08:00
Shu Chen
ab0d0b7dd2
Merge branch 'festure/add_ot_rcp_base_master' into 'master'
...
add ot-rcp
See merge request espressif/esp-idf!14609
2021-08-26 11:44:28 +00:00
morris
2deeba9d1a
Merge branch 'feature/mcpwm-IRAM_ISR-kconfig' into 'master'
...
mcpwm: ISR can be placed to IRAM by menuconfig
Closes IDFGH-5732
See merge request espressif/esp-idf!14947
2021-08-26 10:08:16 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
6672862db8
Missing dependency for idf.py 'encrypted-flash' target
2021-08-26 12:00:00 +02:00
Vikram Dattu
5691c9a8e8
Added support for security1 in local control
...
1. Added config options to chose from protocom security.
It can be chosen 0/1 or custom.
Possible to set POP as well
2. Added support in `esp_local_ctrl.py` test script for sec_ver selection
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-08-26 17:35:09 +08:00
Zim Kalinowski
dbdcada2e5
missing semicolon
2021-08-26 16:55:53 +08:00
Michael (XIAO Xufeng)
375145ecdb
Merge branch 'feature/mcpwm_bldc_hall_example' into 'master'
...
mcpwm: bldc hall example
Closes IDF-3648
See merge request espressif/esp-idf!14578
2021-08-26 08:28:27 +00:00
Shu Chen
e770817dc7
openthread: refine ot_rcp example documentation and APIs
2021-08-26 16:10:16 +08:00
SalimTerryLi
e67bcda6d1
mcpwm: ISR can be placed to IRAM by menuconfig
...
resolves https://github.com/espressif/esp-idf/issues/7449
2021-08-26 15:58:46 +08:00
Martin Vychodil
58aed7df98
ESP32S2: No assert()/abort() in Memprot API, use esp_err_t instead
...
JIRA IDF-3634
2021-08-26 09:20:00 +02:00
morris
c2d5af17a2
dac: apply generic check macro
2021-08-26 14:01:24 +08:00
Shu Chen
f8f9e545e8
Merge branch 'feature/support_esp32h2_hw_support' into 'master'
...
Feature/support esp32h2 hw support
Closes IDF-3378 and IDF-3396
See merge request espressif/esp-idf!14545
2021-08-26 06:00:27 +00:00
Zim Kalinowski
21c05e1b93
Merge branch 'zim-freertos-upgrade-codelayout' into 'master'
...
freertos: cherrypicked code layout changes from freertos upgrade branch
See merge request espressif/esp-idf!14936
2021-08-26 05:46:04 +00:00
Zim Kalinowski
a8c7db62be
freertos: cherrypicked code layout changes from freertos upgrade branch
2021-08-26 13:45:51 +08:00
Aditya Patwardhan
6fea8340d2
Merge branch 'feature/esp_http_client_client_key_password' into 'master'
...
esp_http_client: Support client key password for HTTPS connections.
Closes IDFGH-5700 and IDFGH-5698
See merge request espressif/esp-idf!14932
2021-08-26 03:28:20 +00:00
sly
11dfd802e0
esp32h2: add rtc clock support
2021-08-26 11:25:39 +08:00
morris
a861575d05
Merge branch 'bugfix/fix_esp32c3_auto_adjust_volt' into 'master'
...
system: fix esp32c3 auto adjust voltage bug
See merge request espressif/esp-idf!14725
2021-08-26 02:53:22 +00:00
Jon Maloney
c8b7f7a5d3
esp_http_client: Support client key password for HTTPS connections.
...
Closes https://github.com/espressif/esp-idf/pull/7420
Closes https://github.com/espressif/esp-idf/issues/7418
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-08-25 18:27:31 +05:30
muhaidong
5eee64bd16
esp_wifi: fix airkiss and esptouch find channel crash issue
2021-08-25 20:34:27 +08:00
Zim Kalinowski
b8733421ac
Merge branch 'feature/twai_rx_data_alert' into 'master'
...
Feature/twai rx data alert
Closes IDFGH-5664 and IDFGH-5652
See merge request espressif/esp-idf!14711
2021-08-25 11:57:21 +00:00
Darian
72ba1866fb
twai: TWAI_ALERT_RX_DATA indicates that frames were received
...
Signed-off-by: Darian Leung <darian@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/7386
Closes https://github.com/espressif/esp-idf/issues/7374
2021-08-25 19:57:10 +08:00
morris
f2f41c3f92
Merge branch 'bugfix/const_buffer_in_tinyusb_cdcacm_write_queue' into 'master'
...
tinyusb: const in_buf of tinyusb_cdcacm_write_queue
See merge request espressif/esp-idf!14938
2021-08-25 11:46:11 +00:00
zhangwenxu
4175aa0892
openthread: add ot_rcp example
2021-08-25 18:04:45 +08:00
sly
b342b49823
fix esp32c3 auto adjust voltage bug
2021-08-25 17:08:26 +08:00
Jiang Jiang Jian
cec0f5edfb
Merge branch 'optimization/config_option_LWIP_TCPIP_CORE_LOCKING' into 'master'
...
optimization config option LWIP_TCPIP_CORE_LOCKING
Closes IDF-2478
See merge request espressif/esp-idf!11809
2021-08-25 08:52:43 +00:00
David Čermák
2417b9361f
Merge branch 'feature/lwip_sntp_max_servers' into 'master'
...
lw-ip: Add config option for sntp max servers (GitHub PR)
Closes IDFGH-5616
See merge request espressif/esp-idf!14590
2021-08-25 08:10:21 +00:00
Wu Zheng Hui
b287e01f38
Merge branch 'feature/support_bss_in_psram_for_esp32s2' into 'master'
...
[system] Allow .bss segment placed in external memory for ESP32-S2
Closes IDFGH-4320
See merge request espressif/esp-idf!13841
2021-08-25 08:06:37 +00:00
Wu Zheng Hui
3128a2544b
Adjust the variable name &
...
Add mapping support for different sizes of spi ram
2021-08-25 16:06:28 +08:00
Zim Kalinowski
12bf160f3d
vCoRoutineScheduleFix
...
(cherry picked from commit 1edbd44db107225b7bc6342a7da5680cc12ad22f)
2021-08-25 15:59:00 +08:00
Dmitry Yakovlev
4740e3e017
Merge branch 'bugfix/gdbstub_uart_at_runtime' into 'master'
...
Bugfix enable console RX UART for gdbstub for runtime mode only.
See merge request espressif/esp-idf!14927
2021-08-25 07:31:13 +00:00
Song Ruo Jing
fe5c87cb3c
Merge branch 'bugfix/enable_gpio_20' into 'master'
...
gpio: Enable IO20 on ESP32
Closes IDFGH-5140
See merge request espressif/esp-idf!14881
2021-08-25 07:25:37 +00:00
Cao Sen Miao
c860b3ead6
gpio: fix issue that gpio cannot hold during deep-sleep on c3, Closes https://github.com/espressif/esp-idf/issues/7455
2021-08-25 15:16:08 +08:00
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
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
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