Commit Graph

33438 Commits

Author SHA1 Message Date
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
Mahavir Jain
4e04c00d1c Merge branch 'docs/use_ecdsa_perph_for_tls_connection' into 'master'
docs: Add documentation for using ECDSA peripheral with TLS

Closes IDF-8227

See merge request espressif/esp-idf!25952
2023-09-29 12:16:35 +08:00
Mahavir Jain
be2c591129 fix(startup): flip the security configuration check order
For cases where the bootloader is not enabled with the security features
ends up receiving an incorrect application with flash encryption enabled
should not really program any security efuses.

In the startup sequence, we first used to program the ROM DL mode
configuration but now we check for the flash encryption related checks
first. If the flash encryption related checks finds that flash
encryption is not enabled on the device then it aborts the boot process.
This is the case with `CONFIG_SECURE_FLASH_CHECK_ENC_EN_IN_APP` enabled.

This would at-least ensure that accidental program of security enabled
application does not really program any ROM DL mode efuses and there is
chance to recover the device.
2023-09-29 03:44:00 +00:00
Armando (Dou Yiwen)
fbecb1e543 Merge branch 'change/remove_s3_120_sdr_warning' into 'master'
mspi: remove s3 120mhz sdr warning

See merge request espressif/esp-idf!26183
2023-09-29 02:31:49 +08:00
gaoxu
8efe950077 fix(adc): power settings not taking into effect on H2 2023-09-28 17:41:42 +00:00
gaoxu
8e9a151dbc ci(adc): add a test about adc1 work with wifi on c6 2023-09-28 17:41:42 +00:00
wuzhenghui
c8083b07bf feat(modem_clock): separate management of modem_adc_common_fe clock and modem_private_fe 2023-09-28 17:41:42 +00:00
gaoxu
817036f46f fix(adc): power settings not taking into effect on C6 2023-09-28 17:41:42 +00:00
Gao Xu
4045c3f8b0 Merge branch 'ci/fix_c6_adc_oneshot_std_atten3_ci_fail' into 'master'
CI(adc): Increase adc oneshot std atten3 on c6 to make CI test pass

Closes IDFCI-1817 and IDFCI-1816

See merge request espressif/esp-idf!26228
2023-09-29 01:28:55 +08:00
Kevin (Lao Kaiyao)
4c6f4b39f1 Merge branch 'feature/support_i2s_on_p4' into 'master'
feat(i2s): support i2s on esp32p4

Closes IDF-6508

See merge request espressif/esp-idf!24280
2023-09-29 00:50:04 +08:00
morris
4a40c7bb5e Merge branch 'feature/dwgdma_low_level' into 'master'
dw-gdma: add low level functions

See merge request espressif/esp-idf!25912
2023-09-29 00:21:41 +08:00
morris
dd10b484aa Merge branch 'refactor/format_esp_lcd' into 'master'
reformat peripheral examples with astyle_py

See merge request espressif/esp-idf!26272
2023-09-29 00:18:33 +08:00
Jiang Jiang Jian
26a654b05d Merge branch 'feature/support_7.6.1_soc_pvt_auto_dbias' into 'master'
rtc: auto adjust HP LDO voltage using pvt function

See merge request espressif/esp-idf!26142
2023-09-28 23:21:44 +08:00
gaoxu
d57c4cde44 ci(adc): increase adc performance test threshold on c6 2023-09-28 09:18:58 +00:00
Armando
f465bc131a change(mspi): remove s3 120mhz sdr warning 2023-09-28 08:15:17 +00:00
wuzhenghui
5926116644 change(heap): fix and clean memory caps defination in memory_layout
1. move startup_stack attr from soc_memory_type_desc_t to soc_memory_region_t and
   remove unused aliased_iram field
2. all of the last level of RAM is retention dma accessible on esp32c3
3. remove esp32c2 and later chips retention dma accessible memory caps
4. allow allocate memory from RTC_RAM with MALLOC_CAP_EXEC cap
2023-09-28 07:53:20 +00:00
Armando
4215adcdb4 feat(cache): added cache msync doc 2023-09-28 15:53:19 +08:00