Commit Graph

45457 Commits

Author SHA1 Message Date
Sudeep Mohanty
7c75795a0b refactor(esptool_py): Move binary generation to project level and add utility functions
This commit refactors the esptool_py component to provide utility
functions for binary file generation targets instead of creating the
targets. Binary generation targets are now moved to the respective
projects.

The following changes were done in this commit:
- Added __idf_build_binary() function to esptool_py to create the binary
  file generation target.
- Added __idf_build_secure_binary() as the secure boot equivalent of the
  above function.
- Top level project build now creates its own binary targets in
  idf_build_executable() in build.cmake.
- Bootloader and esp_tee subprojects create their binary file generation
  targets in their respective CMakeLists.txt files.
- All post-build targets such as the app_size_check target are now
  created by the respective projects and not esptool_py.
- General clean-up of the esptool_py cmake files.
2025-07-10 11:26:28 +02:00
Sudeep Mohanty
ef4d6462e2 refactor(esptool_py): Move flash target creation to project level and add utility functions
This commit refactors the esptool_py component to provide utility
functions for flash target management instead of creating the targets
directly. Flash target creation is now moved to the project level in
build.cmake file when idf_build_executable() runs.

The following changes were done in this commit:
- Added __esptool_py_setup_tools(), __esptool_py_setup_estool_py_args()
  and __ensure_esptool_py_setup() functions to centralize esptool_py
  setup.
- Added __esptool_py_setup_main_flash_target() which is called by
  idf_build_executable() to create the flash targets.
- Updated esptool_py_flash_target(), esptool_py_custom_target() to
  accept an optional FILENAME_PREFIX argument to enable creation of
  build artifacts based on custom names.
- Create placeholder flash targets early in the build process when
  idf_build_process() is called for components to add dependencies on
  these targets.
- Moved app-flash target creation from esptool_py/CMakeLists.txt to
  build.cmake.
- Added function description to esptool_py functions.
2025-07-10 11:26:28 +02:00
Sudeep Mohanty
30083e07be refactor(esptool_py): Re-evalute dependencies of esptool_py
This commit establishes the foundation for making the esptool_py
component idempotent.

The following changes are made in this commit:

- Removes unnecessary dependency of esp_wifi component on esptool_py.
- Add missing esptool_py dependencies to components which directly use
  esptool_py specific functions or variables but do not declare a public
  or private dependency.
2025-07-10 11:26:28 +02:00
morris
ce92b0ab60 Merge branch 'refactor/remove_deprecated_uart_rom_functions' into 'master'
refactor(uart)!: deprecate esp_rom_uart.h

See merge request espressif/esp-idf!39423
2025-07-10 15:56:56 +08:00
Hrushikesh Bhosale
dee2895ab4 Merge branch 'feat/added_api_to_get_scartch_buffer_data_in_esp_http_server' into 'master'
Added API to get scratch buffer data in esp_http_server

Closes IDFGH-15185

See merge request espressif/esp-idf!39684
2025-07-10 15:09:15 +08:00
Aditya Patwardhan
bfc5e1b234 Merge branch 'feature/store_respnse_status_code_before_header_complete' into 'master'
feat(esp_http_client): Add HTTP_EVENT_ON_STATUS_CODE to notify early status code acquisition

Closes IDF-13452

See merge request espressif/esp-idf!40244
2025-07-10 12:35:10 +05:30
Kapil Gupta
76d24d2fe5 Merge branch 'feat/eap_method_limit' into 'master'
feat(esp_wifi): Add support to limit EAP methods

See merge request espressif/esp-idf!40198
2025-07-10 11:44:14 +05:30
Kapil Gupta
6c309b29e9 feat(esp_wifi): Add support to limit EAP methods 2025-07-10 11:44:14 +05:30
hrushikesh.bhosale
9f6ab55a5b feat(http_server): Added API to get scratch buffer data
1. Added the API in esp_http_server to get the raw headers data
from the scratch buffer.
2. This data will be unparsed.

Closes https://github.com/espressif/esp-idf/issues/15857
2025-07-09 18:36:52 +05:30
C.S.M
e5f155229e Merge branch 'feature/add_120m_clk' into 'master'
feat(clk): Add 120M pll clock support

See merge request espressif/esp-idf!40456
2025-07-09 14:59:27 +08:00
Rahul Tank
f03521b4f3 Merge branch 'fix/ble_ancs_adding_entry_for_chip' into 'master'
fix(nimble): Add ble_ancs example to build-test-rules.yml

See merge request espressif/esp-idf!40439
2025-07-09 10:06:13 +05:30
C.S.M
92df25e7c0 Merge branch 'fix/i2c_master_multi_read' into 'master'
fix(i2c_master): Fix that master multi-read failed

Closes IDFGH-15601

See merge request espressif/esp-idf!40336
2025-07-09 10:49:44 +08:00
Marius Vikhammer
dea84337f5 Merge branch 'change/bootloader_o0_deprecate' into 'master'
change(bootloader): removed support for CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE

Closes IDF-9025

See merge request espressif/esp-idf!40331
2025-07-09 08:58:54 +08:00
Marius Vikhammer
cd48833c16 Merge branch 'bugfix/h4_panic_handler_stuck_fix' into 'master'
fix(system): fixed cpu_stall function stuck issue on H4

Closes IDF-12311

See merge request espressif/esp-idf!40420
2025-07-09 08:57:02 +08:00
Wu Zheng Hui
2461b0ca90 Merge branch 'fix/reinit_c5_clk_tree_after_app_changed' into 'master'
feat(esp_hw_support): manage clock tree hw/sw coherence during CPU reset lazily

See merge request espressif/esp-idf!39677
2025-07-08 23:02:44 +08:00
Erhan Kurubas
52e88763b5 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20250707' into 'master'
feat(tools): update openocd version to v0.12.0-esp32-20250707

See merge request espressif/esp-idf!40396
2025-07-08 14:39:07 +02:00
nilesh.kale
5cc874068d feat(esp_http_client): added event HTTP_EVENT_ON_STATUS_CODE
This commit added event HTTP_EVENT_ON_STATUS_CODE and
acquire response status code before header or data.
2025-07-08 17:45:18 +05:30
Erhan Kurubas
168d95d1ef change(sysview): drop ESP mcore extension 2025-07-08 13:01:48 +02:00
Erhan Kurubas
6ae68c4f86 feat(sysview): update multicore files for testing 2025-07-08 13:01:48 +02:00
Erhan Kurubas
9af60ff085 change(sysview): set default core name as core0 2025-07-08 13:01:48 +02:00
Erhan Kurubas
a6ad633622 feat(sysview): Add SEGGER multicore trace file support 2025-07-08 13:01:48 +02:00
Erhan Kurubas
adba62ff7b change(docs): replace deprecated openocd cfg files 2025-07-08 13:01:48 +02:00
Erhan Kurubas
75dd466a3c feat(tools): update openocd version to v0.12.0-esp32-20250707 2025-07-08 13:01:48 +02:00
C.S.M
752c9fc805 feat(clk): Add 120M pll clock support 2025-07-08 18:59:31 +08:00
morris
c4d7b1cfce refactor(uart)!: deprcated esp_rom_uart.h 2025-07-08 18:56:17 +08:00
Rahul Tank
dffb03f00f Merge branch 'bugfix/fix_gatt_cache_server_compile' into 'master'
fix(nimble): Fix compilation issues when gatt caching is enabled in peripheral only mode

See merge request espressif/esp-idf!40343
2025-07-08 16:04:25 +05:30
Dong Heng
20f1700053 Merge branch 'feature/lcd_cam_dvp_driver_only_gen_clock' into 'master'
feat(esp_driver_cam): DVP driver supports only initializing the clock and XCLK pin to generate a clock for the external device

Closes IDF-13385

See merge request espressif/esp-idf!39837
2025-07-08 16:49:51 +08:00
Astha Verma
b8833081a4 fix(nimble): Add ble_ancs example to build-test-rules.yml 2025-07-08 14:07:03 +05:30
Mahavir Jain
8cc71168cf Merge branch 'feature/support_ds_peripheral_rsa_decryption' into 'master'
feat(mbedtls): Add support for RSA decryption with DS peripheral

See merge request espressif/esp-idf!39390
2025-07-08 13:56:03 +05:30
Island
d73e172d31 Merge branch 'feat/ble_log_spi_out_dev_phase_4' into 'master'
BLE Log SPI Out Dev Phase 4

Closes BLERP-2033, BLERP-2032, BLERP-2014, BLERP-2019, BLERP-2016, and BLERP-2015

See merge request espressif/esp-idf!40190
2025-07-08 14:01:59 +08:00
Chen Yu Dong
29ea09ffa0 Merge branch 'ci/update_pre_commit_job' into 'master'
ci: update pre commit jobs

See merge request espressif/esp-idf!40337
2025-07-08 11:59:25 +08:00
wuzhenghui
6124c8e30c fix(esp_hw_support): maintain pll ref_cnt in rtc_clk_cpu_freq_set_config_fast 2025-07-08 11:54:49 +08:00
wuzhenghui
ff39ac40a1 feat(esp_hw_support): manage clock tree hw/sw coherence during CPU reset lazily 2025-07-08 11:54:48 +08:00
Island
652fe76dca Merge branch 'bugfix/fix_some_ble_bugs_250610_cjh_esp32c3' into 'master'
Fixed some BLE bugs 250220 on esp32c3(2edb0b0)

Closes BLERP-1961, BLERP-1963, BLERP-1967, BLERP-1986, and BLERP-1973

See merge request espressif/esp-idf!39798
2025-07-08 11:40:37 +08:00
Zhang Shu Xian
b151b28573 Merge branch 'docs/update_trans_for_wifi_provisioning' into 'master'
docs: Update CN translation for provisioning.rst

Closes DOC-11694

See merge request espressif/esp-idf!40397
2025-07-08 11:23:20 +08:00
Marius Vikhammer
a68022f5be fix(system): fixed cpu_stall function stuck issue on H4
cpu_utility_ll_stall_cpu() used to busy-wait check stalled status
after stalling the core. On H4 it turns out that this status will
not be set if the core happens to be in WFI state when stalled.

If this happened the stall function would just wait forever for
the status.
2025-07-08 10:56:58 +08:00
Wan Lei
8d3758b7e2 Merge branch 'fix/twai_c5_errata_warning' into 'master'
fix(driver_twai): added errata warning for c5 listen only mode

See merge request espressif/esp-idf!40304
2025-07-08 06:47:46 +08:00
Zhou Xiao
5f3ac91d63 change(ble): upgraded spi log frame header 2025-07-07 19:15:23 +08:00
Dong Heng
c47b72daed feat(esp_driver_cam): DVP driver supports only initializing the clock and XCLK pin to generate a clock for the external device 2025-07-07 19:04:22 +08:00
Zhou Xiao
6e384644c8 fix(ble): nimble host & hci log write race condition workaround 2025-07-07 18:57:02 +08:00
Zhou Xiao
4946a1fe8d change(ble): support task buffer number configuration 2025-07-07 18:57:02 +08:00
Zhou Xiao
b8b7e153a7 fix(ble): update error code in controller init for ESP32-S3/ESP32-C3 2025-07-07 18:57:02 +08:00
Zhou Xiao
6ac541aa4a fix(ble): fixed controller log api call for ESP32-C3/ESP32-S3 2025-07-07 18:57:02 +08:00
Zhou Xiao
0088541f54 change(ble): removed esp log to save code size 2025-07-07 18:56:35 +08:00
Zhou Xiao
c60dd1a10e change(ble): enable hci log spi out for ESP chips 2025-07-07 18:56:35 +08:00
Zhou Xiao
c0d2792b9d change(ble): enable bluedroid logs over debug level through spi output 2025-07-07 18:56:35 +08:00
Zhou Xiao
066e1d3f1b feat(ble): support ble mesh log module 2025-07-07 18:56:35 +08:00
Zhou Xiao
dd4cbe5e00 feat(ble): support host & hci log module 2025-07-07 18:56:35 +08:00
Zhou Xiao
d353bf2802 change(ble): replaced ul log codes with template 2025-07-07 18:56:35 +08:00
Zhou Xiao
feaee0a6fe change(ble): replaced le audio log codes with template 2025-07-07 18:56:35 +08:00