Commit Graph

12989 Commits

Author SHA1 Message Date
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
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
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
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