Commit Graph

34255 Commits

Author SHA1 Message Date
Konstantin Kondrashov
3166056078 Merge branch 'bugfix/log_mixing_at_startup' into 'master'
fix(esp_system): Fixes mixing logs when two cores use esp_rom_printf

Closes IDF-7891

See merge request espressif/esp-idf!25996
2023-10-05 21:06:14 +08:00
Adam Múdry
6582e6c422 ci(examples): Enable storage/perf_benchmark build test for spiflash on ESP32-P4 v2 2023-10-05 13:19:19 +02:00
Guillaume Souchere
cb9868e82d feat(heap): Add runtime hint on tlsf assert trigger
Catch all tlsf assertion failure and display a hint for out of bound writing since
all assertion failure are triggered when the tlsf metadata structure has been corrupted.
2023-10-05 11:57:37 +02:00
Roland Dobai
0c2decc3be Merge branch 'pull12247' into 'master'
feat(tools): keep export.sh compatible with BourneShell

Closes IDFGH-11073

See merge request espressif/esp-idf!26303
2023-10-05 17:50:32 +08:00
Roland Dobai
b608726cb1 Merge branch 'feature/add_shellcheck_to_ci' into 'master'
feat(tools): Add shellcheck for shell scripts to .pre-commit

Closes IDF-1822

See merge request espressif/esp-idf!25772
2023-10-05 17:32:06 +08:00
Jakub Kocka
d641168663 fix(tools): adjusted esptool @flash_args command print to prevent issues 2023-10-05 11:01:58 +02:00
Aditya Patwardhan
1d5532badc Merge branch 'bugfix/security_check_order_in_startup' into 'master'
fix(startup): flip the security configuration check order

See merge request espressif/esp-idf!26280
2023-10-05 13:56:47 +08:00
Tomas Sebestik
b1a2997831 fix: GitHub action PR pre-commit check 2023-10-05 07:20:20 +02:00
Fu Hanxi
0a4a31286c Merge branch 'ci/fix_param_tests' into 'master'
ci: different test case name with different params

See merge request espressif/esp-idf!26023
2023-10-05 00:15:03 +08:00
Fu Hanxi
24b2e0a56d ci: different test case name with different params 2023-10-04 16:05:29 +00:00
Ivan Grokhotkov
2b1e9af12f
change(wpa_supplicant): clean up test_sae, set leak thresholds
- fix relative includes
- remove ESP32-H2-related TODO — an ifdef is not needed now since the
  whole app is built only for SOC_WIFI_SUPPORTED=y
- set leak threshold in test case
2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
1745baffae
change(wpa_supplicant): reformat test_sae with astyle 2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
c07ee2d56b
change(wpa_supplicant): test_offchannel: cleanups and leak thresholds
- sort includes
- fix relative includes
- replace TEMPORARY_DISABLED_FOR_TARGETS with just IDF_TARGET_ESP32,
  to avoid having to change this file when bringing up new chips
- astyle formatting
- set leak threshold in test cases
- use the new 'wifi_two_dut' environment marker instead of UT_T2_1
2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
098d28276e
change(wpa_supplicant): set leak threshold in test_fast_pbkdf2 2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
6c27208ade
change(wpa_supplicant): reformat test_fast_pbkdf2 with astyle 2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
191a9021c2
change(wpa_supplicant): clean up test_eloop, set leak threshold
- sort includes, fix relative includes
- make all globals static
- remove ifdef SOC_WIFI_SUPPORTED since the whole test app is only
  built when SOC_WIFI_SUPPORTED is set
2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
6eec370532
change(wpa_supplicant): reformat test_eloop with astyle 2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
955e2076b6
change(wpa_supplicant): clean up test_dpp, set leak threshold 2023-10-04 17:46:44 +02:00
Ivan Grokhotkov
b9952370b4
change(wpa_supplicant): reformat test_dpp with astyle 2023-10-04 17:46:44 +02:00
Ivan Grokhotkov
6e22dc2fe2
ci(wpa_supplicant): set leak thresholds in test_crypto 2023-10-04 17:46:44 +02:00
Martin Vychodil
e48ca24364 Merge branch 'bugfix/uart_vfs_select_threadsafe' into 'master'
fix(vfs/uart): Add support for multi-task call to uart select

See merge request espressif/esp-idf!26238
2023-10-04 20:29:42 +08:00
Rahul Tank
511dbaa784 fix(nimble): Fix compilation issues when max bonds or cccd is set to 0 2023-10-04 16:48:26 +05:30
Ivan Grokhotkov
ff87a0061c
feat(wpa_supplicant): migrate the tests from unit-test-app 2023-10-04 13:09:19 +02:00
Alexey Gerenkov
acc04fc2cf Merge branch 'doc/refer_gdbstub_indebug_section' into 'master'
docs(jtag-debugging): Add links to gdbstub for convenience

Closes IDFGH-10898

See merge request espressif/esp-idf!25751
2023-10-04 17:09:12 +08:00
David Čermák
4ec2c70536 Merge branch 'bugfix/napt_updates' into 'master'
feat(lwip): Forward port some useful updates and fixes to NAPT

Closes IDF-7580

See merge request espressif/esp-idf!26198
2023-10-04 17:00:02 +08:00
KonstantinKondrashov
071d1cf865 feat(efuse): Adds efuse ADC calibration data for ESP32H2 2023-10-04 16:00:01 +08:00
Bogdan Kolendovskyy
fac7cb4b78 Merge branch 'bugfix/rtl8201_reset_timing' into 'master'
esp_eth: rtl8201 timing fix

Closes IDFGH-10170

See merge request espressif/esp-idf!25814
2023-10-04 03:00:23 +08:00
KonstantinKondrashov
ccb90e3d4a fix(examples): Enable ipc_isr tests on CI 2023-10-03 23:06:17 +08:00
Peter Dragun
000266c417 docs(tools/idf-monitor): add info about custom keystrokes 2023-10-03 15:48:25 +02:00
Marek Fiala
addbc79ee7 refactor(tools): shellcheck pass modification
Closes https://github.com/espressif/esp-idf/pull/12247
2023-10-03 13:41:05 +02:00
Marek Fiala
37c7c5b58d feat(tools): Add shellcheck for shell scripts to CI
- shellcheck fixes in shell scripts
2023-10-03 10:57:29 +02:00
jgujarathi
a08e4afd07 fix(wpa_supplicant/dpp): Ensure dpp follows init->bootstrap->listen path
- esp_supp_dpp_init : Ensures that the mode is set to station before
  the API call.
- Ensures that dpp follows the path of init(esp_supp_dpp_init) ->
  bootstrap(esp_supp_dpp_bootstrap_gen) -> listen(esp_supp_dpp_start_listen)
  by returning errors if any of them is invoked out of order.
2023-10-03 14:21:33 +05:30
Martin Vychodil
c50dfa2374 Merge branch 'bugfix/nvs_set_datatype' into 'master'
bugfix(nvs_flash) : fixed nvs_set functions behaviour when called sequentially with same key and different data type(s)

Closes IDFGH-9727

See merge request espressif/esp-idf!25581
2023-10-03 02:21:23 +08:00
Ivan Grokhotkov
5cd6284b6c Merge branch 'feature/bt_component_test_app' into 'master'
feat(bt): migrate the tests from unit-test-app

Closes IDF-5567

See merge request espressif/esp-idf!26134
2023-10-02 23:31:03 +08:00
Jakob Hasse
4227d99806 Merge branch 'feature/pthread_condattr_dummy_impl' into 'master'
feat(pthread): added pthread_condattr* stubs to avoid linker errors

Closes IDFGH-10982

See merge request espressif/esp-idf!26112
2023-10-02 23:05:11 +08:00
Frantisek Hrbata
64d82b54bc feat(hints): use all_component_info from project_description.json
Currently the component_requirements hint module does not work
as expected if the component list for a project is trimmed down.
With the new "all_component_info" dictionary info in project_description.json,
the module can produce hints even if cmake's COMPONENTS variable is
set.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-10-02 16:24:41 +02:00
Frantisek Hrbata
dba7d11096 feat(tools): export information about all components in __COMPONENT_TARGETS
Add new "all_component_info" dictionary into the
project_description.json file. It contains information about all
registered components presented in the __COMPONENT_TARGETS list.
Since components in this list are not fully evaluated, because only the first
stage of cmakefiles processing is done, it does not contain the same information
as the "build_component_info" dictionary. The "type", "file" and "sources" variables
are missing.

Most of the properties are already attached to the component target, so
this only adds INCLUDE_DIRS property to the target during the first cmakefiles
processing stage.

The "all_component_info" dict is generated in a separate function, even
though the original function for "build_component_info" could be
adjusted. This introduces a little bit of boilerplate, but keeps it
logically separated and probably easier if we want to extend it in the
future.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-10-02 15:52:58 +02:00
KonstantinKondrashov
28b8a5d9b4 fix(esp_system): Fix mixing logs, remove early info logs for 2nd CPU
Fixes mixing logs when two cores use esp_rom_printf
2023-10-02 12:50:40 +00:00
Roland Dobai
aa3b9df318 Merge branch 'fix/nested_components_hint' into 'master'
fix(hints): properly identify source component

Closes IDF-8279

See merge request espressif/esp-idf!26265
2023-10-02 18:28:51 +08:00
Ivan Grokhotkov
1f5861492f
feat(app_trace): migrate the tests from unit-test-app 2023-10-02 10:33:20 +02:00
Bogdan Kolendovskyy
c75fab3fa4 esp_eth: change rtl8201 reset timing to match datasheet
In esp_eth_phy_rtl8201.c:
Add 150ms delay after hardware reset, chage reset assertion time to 10ms

In esp_eth_phy_802_3.c:
Change reset function to use vTaskDelay for long (>=10ms) reset assertion time
Change esp_eth_phy_802_3_detect_phy_addr to check range 0-31 instead of 0-15.
2023-10-02 10:10:25 +02:00
Song Ruo Jing
66821f699c refactor(ledc): move related kconfig and linker.lf to its own folder 2023-10-02 07:32:16 +00:00
Song Ruo Jing
f5f44e2ce5 fix(ledc): always allocate memory from internal ram 2023-10-02 07:32:16 +00:00
Song Ruo Jing
821f7b0498 fix(ledc): fix ledc driver 100% duty cycle configuration
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.

Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12083
2023-10-02 07:32:16 +00:00
Frantisek Hrbata
1f80a9bb0f fix(lf): fix orphaned .phyiram sections
There are  orphaned .phyiram sections from components/esp_phy/lib/esp32/libphy.a when ESP_WIFI_SLP_IRAM_OPT
is not set on esp32. It can be seen in the wifi_station example examples/wifi/getting_started/station with
the default configuration. Even though they seem to be correctly placed in flash(linker got it right), I
believe this should be fixed. At least for the esp-idf-size, because these doesn't seem to be accounted.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-10-02 08:37:57 +02:00
Tomáš Rohlínek
525776f748
feat(vfs/fatfs): Add option for automatic immediate fsync 2023-10-02 07:06:05 +02:00
Abhinav Kudnar
e26f2ab510 doc (nimble): Added the tutorial for coc_bleprph example. 2023-09-29 16:34:42 +05:30
sonika.rathi
d56647b251 fix(vfs/uart): Add support for multi-task call to uart select 2023-09-29 09:32:44 +02:00
Sonika Rathi
16e5b4f80d Merge branch 'update/h2_reenable_vfs_target_tests' into 'master'
fix(vfs): re-enable vfs target tests for esp32-h2

See merge request espressif/esp-idf!26213
2023-09-29 15:12:33 +08:00
David Čermák
3b2a22f65a Merge branch 'feat/esp_netif_ppp_opts' into 'master'
feat(esp_netif): PPP netif extend config/use RAM pbufs

Closes IDFGH-10017

See merge request espressif/esp-idf!26057
2023-09-29 13:15:25 +08:00