Commit Graph

34169 Commits

Author SHA1 Message Date
Ivan Grokhotkov
6f9038809a
fix(esp_netif): move endian.h to linux component, fix macOS build
Co-authored-by: Radek Tandler <radek.tandler@espressif.com>
2023-12-19 23:00:48 +01:00
Ivan Grokhotkov
1bd417ad68
fix(cmake): don't add Clang flags not supported in Apple toolchain 2023-12-19 23:00:48 +01:00
Ivan Grokhotkov
7f171f01b1 Merge branch 'bugfix/ignore_build_warnings_local' into 'master'
fix(idf-build-apps): make ignore_build_warnings.txt usable locally

See merge request espressif/esp-idf!27881
2023-12-20 05:59:08 +08:00
Ivan Grokhotkov
0f8d4fa2b4 Merge branch 'bugfix/macos_build_linux_target_transport_tls_http_server' into 'master'
fix(linux): fix several components failing to build with IDF_TARGET=linux on macOS

See merge request espressif/esp-idf!27883
2023-12-20 05:58:29 +08:00
Ivan Grokhotkov
7b8f69404f
feat(linux): provide getrandom implementation for macOS
This makes getrandom(2) usable when compiling with IDF_TARGET=linux
on a macOS host.
2023-12-19 15:11:32 +01:00
Ivan Grokhotkov
a596ca56a8
fix(mbedtls): fix -Wstrict-prototypes warning when compiling on Linux 2023-12-19 13:29:15 +01:00
Ivan Grokhotkov
8bf23e5372
fix(esp-tls): fix build for IDF_TARGET=linux on macOS 2023-12-19 13:28:59 +01:00
Ivan Grokhotkov
49f289f893
fix(esp_http_server): fix build for IDF_TARGET=linux on macOS 2023-12-19 13:28:59 +01:00
Ivan Grokhotkov
3a340b385f Merge branch 'feature/qemu_lcd' into 'master'
feat(qemu): add a CLI option for graphics output

See merge request espressif/esp-idf!27874
2023-12-19 20:07:29 +08:00
Tomas Rohlinek
88cc473910 Merge branch 'docs/fatfs_link_lock' into 'master'
Docs(storage/fatfs): Add documentation for FATFS_LINK_LOCK Kconfig option

Closes IDF-8739

See merge request espressif/esp-idf!27472
2023-12-19 18:37:52 +08:00
Roland Dobai
539425ff99 Merge branch 'feature/doc_update_idf_file_args_plus_idftoolspath_setup' into 'master'
feat(tools): Documentation update about setting IDF_TOOLS_PATH and idf.py argument file parsing

Closes IDF-8527 and IDFGH-11401

See merge request espressif/esp-idf!27080
2023-12-19 16:32:58 +08:00
mofeifei
7d627a1c5e
docs: Update cn trans for fatfs.rst 2023-12-19 08:46:20 +01:00
Armando (Dou Yiwen)
3cd7fb6321 Merge branch 'change/remove_idf_env_bringup_macro_on_p4' into 'master'
p4: disable CONFIG_IDF_ENV_BRINGUP config

See merge request espressif/esp-idf!27623
2023-12-19 15:37:40 +08:00
Tomáš Rohlínek
577af7d6ef
docs(storage/fatfs): Refactor FatFs documentation 2023-12-19 08:11:05 +01:00
Tomáš Rohlínek
eea16b18db
docs(storage/fatfs): Document the new fatfs_link_lock Kconfig option 2023-12-19 08:11:02 +01:00
Jiang Jiang Jian
73de93d55e Merge branch 'bugfix/wait_tvsl_after_non_pd_top_lightsleep_for_esp32c6' into 'master'
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6

Closes IDF-6930

See merge request espressif/esp-idf!27726
2023-12-19 14:01:45 +08:00
Mahavir Jain
e4aa5667f1 Merge branch 'feat/flash_enc_encrypt_app_image_of_size_image_length' into 'master'
feat(bootloader_support): Encrypt only the app image instead of the whole partition

Closes IDFGH-11439

See merge request espressif/esp-idf!27295
2023-12-19 11:36:56 +08:00
Lou Tian Hao
fedb3d9f9d Merge branch 'change/change_regdma_power_issue_macro' into 'master'
change(pm): change name SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG

Closes PM-45

See merge request espressif/esp-idf!27934
2023-12-19 11:19:51 +08:00
Anton Maklakov
2a37c53258 Merge branch 'fix/sbom_validation_post_commit' into 'master'
fix: do sbom manifest validation in post-commit

Closes IDF-8897

See merge request espressif/esp-idf!27975
2023-12-19 10:37:03 +08:00
Armando
12c092fbef change(p4): remove CONFIG_IDF_ENV_BRINGUP on p4 2023-12-19 09:30:59 +08:00
Armando (Dou Yiwen)
8c9e29898f Merge branch 'bringup/psram_p4_real_chip' into 'master'
psram: p4 psram 20M on real chip

See merge request espressif/esp-idf!27710
2023-12-18 21:12:08 +08:00
Wu Zheng Hui
8d165aa767 Merge branch 'bugfix/clear_lp_sw_trigger_int_before_sleep' into 'master'
fix(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup

Closes IDFGH-11526

See merge request espressif/esp-idf!27747
2023-12-18 20:20:02 +08:00
wuzhenghui
5351275c87
change(esp_hw_support/sleep): rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY
1. Rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY to ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY
2. Set ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY visible for all targets
2023-12-18 19:56:56 +08:00
harshal.patil
42943845e4
feat(bootloader_support): Encrypt only the app image instead of the whole partition
Currently, when flash encryption is enabled, the whole partition gets encrypted.
This can be optimised by encrypting only the app image instead of encrypting the whole partition.

Closes https://github.com/espressif/esp-idf/issues/12576
2023-12-18 17:10:17 +05:30
harshal.patil
cb169cb02f
fix(bootloader_support): Fix image_length calculation when secure boot v1 is enabled
Fixed the value of the image_length field of the image metadata populated by esp_image_verfiy()
to include the size of the signature sector when Secure Boot V1 is enabled.
2023-12-18 17:08:11 +05:30
Xu Si Yu
fdf5783951 Merge branch 'bugfix/154_coex_break_notify' into 'master'
fix(coex): 802.15.4 coex break notification

See merge request espressif/esp-idf!27458
2023-12-18 19:32:39 +08:00
Aditya Patwardhan
21e1a48a62 Merge branch 'bugfix/esp_srp_doc' into 'master'
fix(esp_srp): Use `@file` for file documentation and resolved few doc build warnings

Closes IDF-8737

See merge request espressif/esp-idf!27411
2023-12-18 19:31:05 +08:00
Song Ruo Jing
0e759c6deb Merge branch 'refactor/esp_driver_uart' into 'master'
refactor(uart): make uart driver as component

Closes IDF-8384

See merge request espressif/esp-idf!27333
2023-12-18 19:16:34 +08:00
Rahul Tank
84ccc37b92 Merge branch 'feature/hogp_example_support' into 'master'
feat(nimble): Added HID over Gatt Profile Support

Closes BT-3456, BT-3493, and BT-3480

See merge request espressif/esp-idf!25072
2023-12-18 19:01:11 +08:00
Ivan Grokhotkov
d9983c0039
feat(qemu): add a CLI option for graphics output 2023-12-18 11:47:15 +01:00
C.S.M
f61cc56e1e Merge branch 'feature/introduce_jpeg_hal' into 'master'
feature(jpeg): Introduce JPEG hal layer

See merge request espressif/esp-idf!27900
2023-12-18 18:45:53 +08:00
Darian
459422f75f Merge branch 'refactor/usb_dwc_soc_and_hal' into 'master'
USB Host: Fix and Refactor struct headers

See merge request espressif/esp-idf!27850
2023-12-18 18:12:40 +08:00
Shu Chen
ff89cf5018 Merge branch 'fix/join_mcast_group_using_null_netif' into 'master'
fix(openthread): add netif check when call udp api for ot

Closes TZ-484

See merge request espressif/esp-idf!27915
2023-12-18 15:56:14 +08:00
Frantisek Hrbata
01fed1a52e fix: do sbom manifest validation in post-commit
Following commit c3afbebf23 ("fix: bump esp-idf-sbom to v0.13.0 in pre-commit"),
the validation of submodule hash now relies solely on the information recorded
in the git-tree. Previously, the hash verification used submodule's
working tree hash if available. Since the new submodule hash is recorded
in git-tree only after the commit is created, we need to move the check
into post-commit, otherwise the hash validation checks the old value.

For example:

1. in .gitmodules

	[submodule "components/json/cJSON"]
	   sbom-hash = cb8693b058ba302f4829ec6d03f609ac6f848546

2. update the cJSON

	$ git -C components/json/cJSON checkout b45f48e600671feade0b6bd65d1c69de7899f2be

3. update cJSON hash in .gitmodules

	[submodule "components/json/cJSON"]
	   sbom-hash = b45f48e600671feade0b6bd65d1c69de7899f2be

4. commit the changes

	$ git commit -a -s

Step 4. will fail, because the validation is currently started in pre-commit stage,
where the hash for cJSON recorded in git-tree is still
cb8693b058ba302f4829ec6d03f609ac6f848546. The new hash b45f48e600671feade0b6bd65d1c69de7899f2be
will be stored in git-tree after the new commit is created.

Note that this means we cannot prevent the commit creation, but only
notify user about the hash inconsistency. If he/she still decides to
push it, it will fail in pre-commit checks in CI.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-18 08:48:57 +01:00
Shu Chen
eaf4fb9424 Merge branch 'fix/ot_netif_destroy_order_issue' into 'master'
fix(openthread): fix ot netif destroy netif order issue

See merge request espressif/esp-idf!27955
2023-12-18 15:38:30 +08:00
Shu Chen
45f95e3317 Merge branch 'bugfix/ieee802154_deinit' into 'master'
fix(ieee802154): fix ieee802154 deinit

See merge request espressif/esp-idf!27502
2023-12-18 15:26:42 +08:00
Armando
92e19af4ea doc(psram): updated voltage supply for psram programming guide 2023-12-18 15:18:07 +08:00
Armando
8e9d90f603 feature(esp_psram): p4 real chip 20M 2023-12-18 15:18:07 +08:00
Mahavir Jain
56241f00b8 Merge branch 'feat/support_sha_256_in_http_auth' into 'master'
feat(esp_http_client): SHA256 support in digest auth

Closes IDFGH-11217

See merge request espressif/esp-idf!26585
2023-12-18 15:08:40 +08:00
Cao Sen Miao
40e882afae feature(jpeg): Introduce JPEG hal layer 2023-12-18 12:03:17 +08:00
Jiang Jiang Jian
31ede5b09d Merge branch 'bugfix/update_phylib_to_20231212' into 'master'
fix(phy): Fix Bluetooth coexist bug on ESP32

Closes BT-3487 and BT-3538

See merge request espressif/esp-idf!27905
2023-12-18 11:35:08 +08:00
wuzhenghui
a967a207c9
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup
Closes https://github.com/espressif/esp-idf/issues/12651
2023-12-18 11:29:53 +08:00
Shu Chen
b5160123b8 Merge branch 'feature/add_154_report' into 'master'
feat(ieee802154): add tx/rx report for IEEE802.15.4 debug

Closes ZB-105

See merge request espressif/esp-idf!26424
2023-12-18 10:43:15 +08:00
Adam Múdry
c0ea99220a Merge branch 'fix/move_nvs_partition_generator_to_pypi_package' into 'master'
fix(tools): replace nvs_partition_gen.py with new esp-idf-nvs-partition-gen package

Closes IDF-8147 and IDF-1958

See merge request espressif/esp-idf!26758
2023-12-18 09:13:38 +08:00
Darian Leung
d00aaf8648 refactor(soc/host): Update USB OTG struct fields
This commit updates the "*_struct.h" files for the USB OTG peripheral:

- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2023-12-17 00:36:10 +08:00
Darian Leung
14d81fda18 refactor(hal/usb): Fix USB OTG compilation dependency
Update "hal/CMakeLists.txt" so that USB OTG related HAL files depend on
the "SOC_USB_OTG_SUPPORTED" capability.
2023-12-17 00:36:10 +08:00
Roshan Bangar
96ed1ae7a7 feat(nimble): added HID over Gatt profile support 2023-12-16 17:42:49 +05:30
Rahul Tank
204c194ce2 Merge branch 'bugfix/handle_all_zero_bdaddr' into 'master'
fix(nimble): Handle all 0s address of external controllers during IRK generation

See merge request espressif/esp-idf!27913
2023-12-16 19:55:25 +08:00
Sonika Rathi
12e7e3f1a2 Merge branch 'update/sdmmc_test_app' into 'master'
fix(sdmmc): Migrate erase/trim test cases from unit-test-app to component-test-app

See merge request espressif/esp-idf!26799
2023-12-15 23:50:08 +08:00
Roland Dobai
03827dfd8b Merge branch 'contrib/github_pr_12780' into 'master'
Fixed Python path case sensitive error on Windows (GitHub PR)

Closes IDFGH-11667 and IDFGH-11666

See merge request espressif/esp-idf!27896
2023-12-15 20:28:26 +08:00