Marius Vikhammer
6233b0aa64
Merge branch 'feature/c6_newlib_nano' into 'master'
...
newlib: update newlib nano documentation for C6
See merge request espressif/esp-idf!22219
2023-02-09 10:13:47 +08:00
morris
76433e4cb2
Merge branch 'refactor/gptimer_pm_lock_logic' into 'master'
...
gptimer: add pm lock for xtal clock
Closes DOC-4504
See merge request espressif/esp-idf!22162
2023-02-09 01:48:29 +08:00
Saurabh Kumar Bansal
7010349a9a
usb_host: Hub driver skips fetching string descriptors if their index is 0
...
When a USB does not support a particular string dsecriptor (e.g.,
manufacturer, product, and serial number), the string descriptors corresponding
index will be set to 0 in the device descriptor (e.g., iManufacturer, iProduct,
iString).
Previously, the Hub driver would always attempt to fetch the all three string
descriptors, thus leading an error in CHECK_SHORT_SER_STR_DESC if the device
did not support the descriptor.
This commit fixes the Hub drvier by skipping the enumeration stages of a
particular descriptor if its index is 0 (i.e., not supported by the device).
2023-02-08 23:12:54 +05:30
Darian Leung
6ae151db8c
usb_host: Fix error when fetching LANGID table
...
USB devices may support string descriptors in multiple languages. The supported
languages are stored in a LANGID table, which itself is a string descriptor at
index 0.
When fetching the LANGID table itself, the USB 2.0 specification does not
specify what LANGID to use, thus the Hub driver would use the default LANGID
"ENUM_LANGID". However, this would cause some devices to stall.
This commit fixes the issue by always requesting the LANGID table itself using
a LANGID of 0.
2023-02-08 22:36:01 +08:00
muhaidong
ec980ecc5f
esp_wifi: fix ftm procedure with peer failed status 4 issue
...
1. send ftm frames immediately
2. fix ftm procedure with peer failed status 4 issue
2023-02-08 20:25:19 +08:00
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
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