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
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
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
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
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
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
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
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
Kevin (Lao Kaiyao)
421e5e6416
Merge branch 'refactor/pack_driver_source_files' into 'master'
...
components/driver: pack peripherals
See merge request espressif/esp-idf!22173
2023-02-07 10:20:57 +08:00
Mahavir Jain
dc7f47aaeb
Merge branch 'docs/esp32c6_enable_flash_encryption_documentation' into 'master'
...
esp32c6: update documentation for flash encryption
Closes IDF-5358
See merge request espressif/esp-idf!22229
2023-02-06 23:47:28 +08:00
wuzhenghui
ee4214ebf1
rom caps: add ESP_ROM_WITHOUT_REGI2C rom caps
2023-02-06 21:45:22 +08:00
fuzhibo@espressif.com
f1e0151e63
fix(regi2c): support regi2c APIs for esp32h2
2023-02-06 21:44:16 +08:00
wuzhenghui
146b9b047b
soc: add modem regs and force enable i2c_ana_mst clock
2023-02-06 21:43:26 +08:00
Fu Hanxi
be6b9821c3
Merge branch 'ci/fix/isort_incompatible_with_py37' into 'master'
...
ci: fix isort py37 incompatible issue
See merge request espressif/esp-idf!22222
2023-02-06 18:49:08 +08:00
Rahul Tank
67f88aeb87
Merge branch 'bugfix/handle_large_controller_buffer_size' into 'master'
...
Nimble: Fragmentation support in case of larger controller buffer size
See merge request espressif/esp-idf!21200
2023-02-06 18:43:25 +08:00
Wan Lei
a49164b5ec
Merge branch 'bugfix/spi_clk_rc_fast_enable_disable' into 'master'
...
spi_master: fix clock source RC_FAST usage
See merge request espressif/esp-idf!22160
2023-02-06 18:25:23 +08:00
Adam Múdry
679d9731b3
Merge branch 'feature/fatfs_15_update' into 'master'
...
fatfs: Update to version 0.15
Closes IDF-6391
See merge request espressif/esp-idf!21330
2023-02-06 17:47:05 +08:00