Commit Graph

29595 Commits

Author SHA1 Message Date
Mahavir Jain
3850e9327a Merge branch 'bugfix/secure_boot_v2_part_size_check' into 'master'
gen_esp32part: allow secure boot v2 based app partition size 4K aligned

See merge request espressif/esp-idf!22188
2023-02-08 18:42:34 +08:00
Mahavir Jain
889142552c Merge branch 'docs/refactor_secure_boot_v2_documentation' into 'master'
docs: refactored Secure Boot V2 documentation

Closes IDF-6760

See merge request espressif/esp-idf!22258
2023-02-08 18:40:43 +08:00
morris
044a114e66 gptimer: unify clock setting with clk_tree API 2023-02-08 16:30:47 +08:00
xueyunfei
2f6b681b1a lwip:optimization dhcp coarse timer 2023-02-08 16:29:28 +08:00
Sudeep Mohanty
3cc399f399 ulp-riscv: Added API ulp_riscv_reset to reset the ULP core
This commit adds a new API ulp_reisv_reset() to enable reseting of the
ULP core from the main core. This is particularly necessary in case the
ULP crashes due to any reason. Earlier the only way to recover the ULP
was to do a power reset. This commit also adds new test cases which
exercise this scenario.
2023-02-08 07:52:34 +00:00
David Čermák
080fd7e14f Merge branch 'bugfix/lwip_dhcp_restore_last' into 'master'
lwip: fix dhcp_server path (GitHub PR)

Closes IDFGH-9297 and IDFGH-9309

See merge request espressif/esp-idf!22251
2023-02-08 15:07:49 +08:00
Laukik Hase
d4abf3ff45
mbedtls: Remove -Wno-format compile option for test app 2023-02-08 12:31:09 +05:30
Mahavir Jain
02fb6fab09
docs: secure-boot-v2: add a section about secure padding 2023-02-08 12:01:52 +05:30
harshal.patil
3c0778a069
docs: refactored Secure Boot V2 documentation
- Added "Signing using pre-calculate signatures" section
- Refactored "Signing using an external HSM" section
2023-02-08 12:01:47 +05:30
Song Ruo Jing
b69f983525 uart: Fix two TX concurrency issues
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-02-08 14:24:43 +08:00
Simon Arlott
d78d1a2376 hal/uart_ll.h: Fix compile issue with C++
Merges https://github.com/espressif/esp-idf/pull/10640
2023-02-08 06:24:24 +00:00
Mahavir Jain
92f94a51ea Merge branch 'test_app/app_update_remove_wno_compile_option' into 'master'
app_update: Remove `Wno-format` compile option for test app

Closes IDF-6788

See merge request espressif/esp-idf!22245
2023-02-08 14:21:05 +08:00
Marius Vikhammer
2e55775f95 Merge branch 'bugfix/newlib_tz_env_mutex' into 'master'
newlib: Use correct recursive mutex for env and regular mutex for tz

Closes IDFGH-9266

See merge request espressif/esp-idf!22200
2023-02-08 13:39:36 +08:00
Armando (Dou Yiwen)
b53de7c5a4 Merge branch 'docs/make_s3_octal_flash_error_handling_clearer' into 'master'
docs: make s3 octal flash error handling clearer

See merge request espressif/esp-idf!22261
2023-02-08 13:30:29 +08:00
Marius Vikhammer
4a0c5991ab docs: fix broken link in fatfs doc 2023-02-08 12:02:17 +08:00
wanlei
5300bd3b2f spi: support H2 spi master, slave, slave_hd driver 2023-02-08 11:38:45 +08:00
Mahavir Jain
9628118400 partition_table: add tests for checking secure boot part size 2023-02-08 03:23:46 +00:00
Mahavir Jain
8d05d2511c gen_esp32part: allow secure boot v2 based app partition size 4K aligned
For Secure Boot v2 case, unsigned image is first padded to next 64K
aligned boundary and then a signature block of 4K gets appended. Thus
an app partition whose size is 4K aligned should be allowed here.

For Secure Boot v1 case, app partition size must be 64K aligned as the
signature block lies at the very end of 64K boundary.

Relevant:
57b601ab7f
2023-02-08 03:23:46 +00:00
Marius Vikhammer
65a4058e8c newlib: update newlib nano documentation for C6
C6 ROM has the the full IO formatting functions included.
2023-02-08 10:56:28 +08:00
Armando
0947bcce1b docs: make s3 octal flash error handling clearer 2023-02-08 10:47:05 +08:00
morris
990c6f58a6 Merge branch 'feature/etm_support_h2' into 'master'
etm: add basic driver on esp32h2

Closes IDF-6225

See merge request espressif/esp-idf!22246
2023-02-08 10:42:10 +08:00
muhaidong
f72576684c wifi_mesh: Remove-Wno-format compile option for mesh examples 2023-02-08 02:32:07 +00:00
Kevin (Lao Kaiyao)
668eb92d4f Merge branch 'contrib/github_pr_10672' into 'master'
Add maximum speed to I2C slave config in docs (GitHub PR)

Closes IDFGH-9289

See merge request espressif/esp-idf!22235
2023-02-08 10:22:56 +08:00
Jiang Jiang Jian
01f7277a6b Merge branch 'bugfix/set_generic_len_for_rsnxe' into 'master'
esp_wifi:bugfix set AP rsnxe ie len generic

See merge request espressif/esp-idf!21953
2023-02-08 02:57:12 +08:00
Armando (Dou Yiwen)
1c699294da Merge branch 'feature/mmu_driver' into 'master'
esp_mm: new virtual memory mapping driver via mmu

Closes IDF-5847, IDF-6076, IDF-5023, IDF-5339, and IDFGH-8961

See merge request espressif/esp-idf!20540
2023-02-08 00:59:58 +08:00
Wu Zheng Hui
86797f03a8 Merge branch 'bugfix/remove_redundant_macro_wrapping' into 'master'
bugfix: remove wrong SOC_PM_SUPPORT_XTAL_PD wrapping

Closes IDFGH-9300

See merge request espressif/esp-idf!22239
2023-02-07 23:31:09 +08:00
Harshit Malpani
5388c0c2e7 app_update: Remove Wno-format compile option for test app 2023-02-07 15:26:27 +00:00
morris
6f8ee89302 etm: add basic driver on esp32h2 2023-02-07 14:54:08 +00:00
Jiang Jiang Jian
404eb39adf Merge branch 'bugfix/ble_hci_issue_with_pcl' into 'master'
BLE: fixed hci event fail on esp32c6

See merge request espressif/esp-idf!22231
2023-02-07 20:27:28 +08:00
Shreyas Sheth
a9095ba8e0 esp_wifi: bugfix RSNXE related changes
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-02-07 12:26:54 +00:00
wuzhenghui
75d15e8b80 bugfix: remove redundant SOC_PM_SUPPORT_XTAL_PD wrapping
Closes https://github.com/espressif/esp-idf/issues/10681
2023-02-07 20:25:59 +08:00
Armando
98892a3288 esp_mm: correct mmap reserved irom and drom size
Prior to this commit, we don't consider the offset of the irom vaddr
start.

If the offset + size is bigger than the MMU page size, for example:
MMU page size: 0x10000
irom vaddr: 0x4200_0800, so offset = 0x800
irom size: 0xF900
offset + size = 0x10100

Under this condition, the 0x4200_0000 ~ 0x4202_0000, two MMU pages are
used.

With this commit, when reserving the irom and drom, we take the offset
into consideration as well.
2023-02-07 20:23:53 +08:00
Armando
06e7c02da7 esp_mm: h2 support 2023-02-07 20:23:53 +08:00
Armando
4c878eeb0a sections_ld: add description to .flash.rodata_noload
This commit also move _rodata_reserved_end symbol right at the entry of
the .flash.rodata_noload.
2023-02-07 20:23:52 +08:00
Armando
34e77d6ccd test_panic: add CONFIG_HAL_ASSERTION_DISABLE to coredump_flash_bin_crc config
Without this commit, under this config, the static D/IRAM usage is 97%
2023-02-07 20:23:52 +08:00
Armando
293f6ed34a ci: add assertion disable config to reduce test_utils_psram size
Added CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y in
test_utils_psram configs to reduce size
2023-02-07 20:23:52 +08:00
Armando
4564f6cc4b g1: add esp_mm to g1 list 2023-02-07 20:23:52 +08:00
Armando
d233f3535d flash_mmap: migrate to use esp_mmap driver 2023-02-07 20:23:52 +08:00
Armando
e76c52d4df cache: fix s2 dcache size 0 issue when psram disabled 2023-02-07 20:23:52 +08:00
Armando
d6844051fc esp_mm: new virtual memory mapping apis via mmu 2023-02-07 20:23:52 +08:00
Armando
1fc55af6af cache: invalidate addr hal api 2023-02-07 20:23:52 +08:00
Armando
16398c2d06 mmu: move mem_caps macro to hal/mmu_types.h as an enum type 2023-02-07 20:23:52 +08:00
Armando
8ba67dfc38 mmu: rename api to esp_mmu_reserve_block_with_caps
esp_mmu_get_largest_free_block() ->
esp_mmu_get_max_consecutive_free_block()

esp_mmu_find_vaddr_range() -> esp_mmu_reserve_block_with_caps()
2023-02-07 20:23:51 +08:00
Armando
af15b6d885 mmu: simplify mmu vaddr region macro on esp32c2
ESP32C2 mmu vaddr region macros, and related mask macros in
ext_mem_defs.h depends on mmu page size.
2023-02-07 20:23:51 +08:00
Jiang Jiang Jian
248c15475f Merge branch 'feature/implement_esp32h2_regi2c_api' into 'master'
esp32h2: implement regi2c apis

See merge request espressif/esp-idf!22250
2023-02-07 20:22:52 +08:00
Roland Dobai
4bd5ebb4a1 Merge branch 'tools/monitor_move' into 'master'
Tools(idf_monitor): Move idf_monitor to separate repo

Closes IDF-4109

See merge request espressif/esp-idf!22050
2023-02-07 19:47:46 +08:00
Zhang Wen Xu
32673e888e Merge branch 'feature/set_default_netif_for_openthread_cli' into 'master'
openthread: set ot-netif as the default netif for cli example

See merge request espressif/esp-idf!22237
2023-02-07 15:18:14 +08:00
Jing Li
409804f673 Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2' into 'master'
esp32c2: support feature(rtc time) depend on rtc fast mem

Closes IDF-3901, IDF-4239, IDF-5053, IDF-5060, and IDF-5131

See merge request espressif/esp-idf!19067
2023-02-07 15:16:01 +08:00
wuzhenghui
a0983627f5 bugfix: fix returning before disabling blocks 2023-02-07 15:08:05 +08:00
Jiang Jiang Jian
f4c14a6bf4 Merge branch 'bugfix/lwip_sntp_cpp_fix' into 'master'
esp_sntp: Fix c++ compile issue in esp_sntp.h (GitHub PR)

Closes IDFGH-9212 and IDFGH-9239

See merge request espressif/esp-idf!22159
2023-02-07 14:36:39 +08:00