41392 Commits

Author SHA1 Message Date
Armando
255f0005f0 fix(lp_i2s): added cbs iram check 2024-11-21 10:53:34 +08:00
Marius Vikhammer
85fe2454ce Merge branch 'ci/twai_network' into 'master'
ci(twai): disable twai_network test

See merge request espressif/esp-idf!35037
2024-11-21 10:32:50 +08:00
Frantisek Hrbata
da1a99d5ed change(conf): add MINIMAL_BUILD note to menuconfig and sdkconfig
With MINIMAL_BUILD enabled, menuconfig will only display configuration
options for components included in the build through main component
dependencies. This means that configuration options for excluded
components will not appear in menuconfig. This might be confusing, as
most examples currently do not use a trimmed build, and all components
detected by the build system are available in menuconfig, even if their
configuration has no effect because the components may not be linked or
used. Adding a note in the components menu of menuconfig could help
users realize they need to add a component to the main component
requirements to see its configuration options. Unfortunately, Kconfig
does not support multiline comments, so there are three separate
comments intended to adequately describe the potentially missing
component configurations.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
renpeiying
2cc4310243 docs: Update CN translation for docs in api-guides 2024-11-20 20:14:40 +01:00
Frantisek Hrbata
e0113d81d2 docs(build_system): describe MINIMAL_BUILD build property
Include a description of the MINIMAL_BUILD property, which serves as a
shortcut for set(COMPONENTS main). Additionally, add a note to the
relevant components indicating that they must be included in the build
to allow for their configuration.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
c28b7dc9ac change(ci): disable MINIMAL_BUILD for test_build_cmake_library_psram_workaround
The test_build_cmake_library_psram_workaround verifies that the
mfix-esp32-psram-cache-issue flag is applied to all compile commands in
compile_commands.json when CONFIG_SPIRAM_CACHE_WORKAROUND=y. Although
the import_lib does not need the esp_psram component, this test does. To
avoid adding the esp_psram dependency to the import_lib, disable
MINIMAL_BUILD for this test by explicitly setting the COMPONENTS
variable.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
8d248d8903 change(ci): disable MINIMAL_BUILD for check_public_headers.py
The check_public_headers.py script does not function well with
MINIMAL_BUILD enabled, as some headers from excluded components may be
missing. While it might be possible to address this issue with
exclusions, it is likely more effective and provides more coverage to
include all components, not just those required by the blink example.
Therefore, MINIMAL_BUILD has been disabled for this test, ensuring that
all registered components are included in the build. If defined, the
COMPONENTS variable takes precedence over the MINIMAL_BUILD property, so
setting "-DCOMPONENTS=" overrides the MINIMAL_BUILD property.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
1c92945f59 change(examples): switch examples to use a minimal build
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Mahavir Jain
f6591ab8a4 Merge branch 'fix/aes_cache_failure_when_l2_cache_line_size_greater_than_l1_cache' into 'master'
Fix memory corruption caused due to unaligned external memory buffers sync in AES

Closes IDF-11052

See merge request espressif/esp-idf!34371
2024-11-20 23:10:07 +08:00
David Cermak
862815f362 fix(wifi): Remove non-existent LWIP option from docs 2024-11-20 15:34:18 +01:00
Frantisek Hrbata
f6fcfbb9e6 feat(cmake): introduce MINIMAL_BUILD build property
Introduce a MINIMAL_BUILD property to streamline the build process by
including only the main component and its direct and indirect
dependencies. This serves as a convenient shortcut for using
set(COMPONENTS main). The MINIMAL_BUILD build property is ignored if the
COMPONENTS variable is defined, as COMPONENTS takes precedence.

To enable a minimal build, add "idf_build_set_property(MINIMAL_BUILD ON)"
to the project's CMake configuration.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Frantisek Hrbata
ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
morris
3fb7461eb0 refactor(i2c): rename some LL functions according to TRM descriptions 2024-11-20 19:16:23 +08:00
Zhang Wen Xu
5c9e7670f2 Merge branch 'fix/fix_a_naming_error_of_esp_radio_spinel' into 'master'
fix(openthread): fix a naming error of esp radio spinel

See merge request espressif/esp-idf!35039
2024-11-20 19:11:13 +08:00
Frantisek Hrbata
496e9cdff8 fix(hints): handle multiple missing headers in the output
The object files are compiled simultaneously, which can result in
several error messages about missing headers. The current regex used to
find missing headers in the compiler's output employs a greedy search,
potentially capturing multiple error messages from different compilation
units. This can cause bug reports where the original component cannot be
identified. Strengthen the regex to ensure it only processes the first
reported error.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 18:41:55 +08:00
Guillaume Souchere
0564e9d488 Merge branch 'docs/update-heap-corruption-section' into 'master'
docs(heap_debug): Add missing information

See merge request espressif/esp-idf!32972
2024-11-20 17:25:39 +08:00
zhanghaipeng
7addb57ccd fix(blufi): Fixed blufi init fail after deinit 2024-11-20 16:36:09 +08:00
Xu Si Yu
b2ac38c4ce fix(openthread): fix a naming error of esp radio spinel 2024-11-20 15:36:28 +08:00
Roland Dobai
e3ceabfa1b Merge branch 'feat/uart_line_ending' into 'master'
feat(console): change line endings on standard input and output

Closes IDF-11467

See merge request espressif/esp-idf!34459
2024-11-20 15:36:01 +08:00
Jiang Jiang Jian
45bd677caa Merge branch 'bugfix/esp_bt_wifi_bt_power_api' into 'master'
fix(bt): Move esp_wifi_bt_power_domain_on/off to esp_phy_init.h

See merge request espressif/esp-idf!31578
2024-11-20 15:01:49 +08:00
Jiang Jiang Jian
1f947551c0 Merge branch 'feat/sleep_retention_expand_module_bitmap' into 'master'
expand the number of sleep retention modules supported on different chips

Closes PM-230

See merge request espressif/esp-idf!33755
2024-11-20 14:50:35 +08:00
Marius Vikhammer
2c1d52b5b9 ci(twai): disable twai_network test 2024-11-20 14:31:21 +08:00
Alexey Lapshin
2a6e08431b Merge branch 'feature/move-gdb-options-to_project_description_json' into 'master'
feat(debugging): move gdbinit generation to CMake

Closes IDF-11489

See merge request espressif/esp-idf!34779
2024-11-20 14:30:40 +08:00
Jiang Jiang Jian
09635fddab Merge branch 'feature/avoid_compiling_wifi_components_when_wifi_is_unsupported' into 'master'
feat(wifi): avoid compiling components related to wifi when wifi is not supported

Closes WIFI-5796

See merge request espressif/esp-idf!34613
2024-11-20 14:18:06 +08:00
Jiang Jiang Jian
f5ae64bf2c Merge branch 'fix/fix_modem_module_clock_missing_after_ota' into 'master'
fix(esp_system): deselect all modem modules lp clock source selection before clk initialization

See merge request espressif/esp-idf!34922
2024-11-20 10:55:27 +08:00
Island
79f26ad603 Merge branch 'bugfix/fix_set_perfer_ext_conn_param' into 'master'
fix(bt/bluedroid): Fixed setting perfer conn params complete event report

Closes BLERP-1185

See merge request espressif/esp-idf!34648
2024-11-20 10:30:45 +08:00
Island
21acfc2855 Merge branch 'bugfix/fix_bleqabr24_1635' into 'master'
fix(bt/bluedroid): Fixed LE channel selection algorithm event reporting

Closes BLERP-1230

See merge request espressif/esp-idf!34850
2024-11-20 10:30:40 +08:00
Shu Chen
d7dc6e7f2a Merge branch 'fix/add_network_reconnectin_in_ot_ci_case' into 'master'
feat(openthread): flush ipv6 addr in openthread ci cases

Closes TZ-1260 and IDFCI-2537

See merge request espressif/esp-idf!34666
2024-11-20 10:14:11 +08:00
Jin Cheng
2b334d1dfa fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response 2024-11-20 08:20:40 +08:00
Alexey Gerenkov
a4d515b1c4 Merge branch 'ci/clang_qemu_tests' into 'master'
change(ci): Add qemu host tests builds with Clang

See merge request espressif/esp-idf!33630
2024-11-20 01:43:38 +08:00
Alexey Gerenkov
941a7ee17f change(ci): Add qemu host tests for esp32c3 builds with Clang 2024-11-19 17:33:51 +03:00
Erhan Kurubas
f3790a01cc Merge branch 'sysview_update_356' into 'master'
feat(sysview): update to version 3.56

Closes IDF-8232 and IDF-11088

See merge request espressif/esp-idf!33236
2024-11-19 18:34:27 +08:00
Alexey Lapshin
48a49c8154 feat(debugging): move gdbinit generation to CMake
This feature is useful for 3rd-party software to run GDB with predefined
options that described in project_description.json file

allow to pass custom options to "idf.py gdb":

  --gdb-commands: command line arguments for gdb. (without changes)
  -ex: pass command to gdb.
  -x: pass gdbinit file to gdb. Alias for old --gdbinit command
2024-11-19 16:41:38 +07:00
chenjianhua
cada39c3b5 fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists
2024-11-19 17:39:00 +08:00
Guillaume Souchere
8e06c4ca6a docs(heap_debug): Add missing information
- Place the section on alloc failed hook at a better place
- Add reference to the different poisoning configs at the beginning
  of the heap corruption detectino section
- Update the information concerning heap tracing
- Update the heap tracing log examples
- Fix heap tracing standalone code:
  - Update the logging format in heap_trace_dump_base
  - Add freed field in trace stucture to keep this info even
    when no call stack is available
2024-11-19 10:25:40 +01:00
Peter Dragun
6495a8318d Merge branch 'monitor_multi_elf' into 'master'
feat(monitor): Add support for decoding output based on multiple ELF files

Closes IDF-11026

See merge request espressif/esp-idf!34858
2024-11-19 17:18:35 +08:00
Rahul Tank
749cfa1c22 Merge branch 'bugfix/memory_issue' into 'master'
fix(nimble): Nimble Error logs in case of memory overflow/failure

Closes BLERP-839

See merge request espressif/esp-idf!31665
2024-11-19 17:03:29 +08:00
yiwenxiu
eeebba3326 feat(openthread): flush ipv6 addr in openthread ci cases 2024-11-19 15:29:23 +08:00
Jiang Jiang Jian
43b0d1053c Merge branch 'fix/update_ping_cmd_version' into 'master'
update: Update ping-cmd component to v1.0.0

See merge request espressif/esp-idf!34985
2024-11-19 14:58:59 +08:00
cjin
dd499d7b2e fix(ble): change ld for ble scan coex issue 2024-11-19 14:50:48 +08:00
cjin
23f7e33a97 fix(ble): fix ble light sleep error on esp32c2 2024-11-19 14:19:23 +08:00
morris
9ecec78861 Merge branch 'test/parlio_psram_data_error' into 'master'
test(parlio): dma can transmit PSRAM buffer

See merge request espressif/esp-idf!34509
2024-11-19 12:28:43 +08:00
Island
f420609c33 Merge branch 'bugfix/fix_ble_creat_conn_fail_enh' into 'master'
fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type

Closes BLERP-639

See merge request espressif/esp-idf!34895
2024-11-19 12:06:26 +08:00
C.S.M
0125e70797 fix(jpeg_decoder): Fix jpeg decoder get picture information 2024-11-19 11:46:55 +08:00
Marius Vikhammer
088c742764 fix(ringbuf): fixed logic errors when compiling with CONFIG_COMPILER_STATIC_ANALYZER
ESP_STATIC_ANALYZER_CHECK was added to remove some static analyzer warning about
null pointer dereferences that should never happen, but the logic was wrong.

We return pdFALSE if prvReceiveGeneric was called with any of the input pointers
as NULL, but pvItem2 and xItemSize2 will only be non-null for split buffers.

Closes https://github.com/espressif/esp-idf/issues/14905
2024-11-19 11:12:39 +08:00
yinqingzhao
f40c2cbc72 feat(wifi): avoid compiling components related to wifi when wifi is not supported 2024-11-19 11:02:09 +08:00
xiongweichao
383bc035ce fix(bt): Move esp_wifi_bt_power_domain_on/off to esp_phy_init.h 2024-11-19 10:12:37 +08:00
Island
5910fc8270 Merge branch 'feat/optimize_cble50y24_110' into 'master'
feat(bt/bluedroid): Added BLE 5.0 throughput examples

Closes BLERP-992

See merge request espressif/esp-idf!34316
2024-11-19 08:55:18 +08:00
David Cermak
4449c8bfa2 fix(lwip): Remove unused LWIP flags from test configs 2024-11-18 23:06:17 +08:00
Tomas Rezucha
691a0ee1fd Merge branch 'feature/usb_ctrl_hint' into 'master'
feat(hints/usb): Add a hint about too small control transfer size

See merge request espressif/esp-idf!34936
2024-11-18 21:03:30 +08:00