Commit Graph

21865 Commits

Author SHA1 Message Date
wanlei
eb75aa462e feat(spi_master): p4 enable test and examples 2023-10-08 14:45:52 +08:00
wanlei
00fcdce725 feat(spi_master): p4 add master driver supported 2023-10-08 14:45:12 +08:00
Armando (Dou Yiwen)
1ec70cd568 Merge branch 'refactor/format_esp_mm_psram_adc' into 'master'
refactor: reformat esp mm psram adc

See merge request espressif/esp-idf!26284
2023-10-08 14:36:08 +08:00
Zhi Wei Jian
5306b3308f Merge branch 'feature/add_config_to_disable_uart_flow_control' into 'master'
feat: add config to disable ble hci uart flow control

Closes CBLE50Y23-50

See merge request espressif/esp-idf!26155
2023-10-08 10:55:04 +08:00
Armando
3d4b60afc0 refactor(esp_mm): reformat code with astyle_py 2023-10-08 10:36:04 +08:00
Armando
2144eedb66 refactor(esp_psram): reformat code with astyle_py 2023-10-08 10:36:04 +08:00
Armando
b774bd1457 refactor(esp_adc): reformat code with astyle_py 2023-10-08 10:35:52 +08:00
gaoxu
bc2a6bd730 feat(uart): spilt LP and HP uart set_baudrate function 2023-10-08 10:10:02 +08:00
gaoxu
4f24f805cc feat(uart): add LP-UART GPIO support 2023-10-08 10:10:02 +08:00
gaoxu
3e3e928209 feat(uart): move periph_ll_uart_enabled to uart_ll.h 2023-10-08 10:10:02 +08:00
gaoxu
4541ad134d feat(uart): add RCC atomic block to uart/lp-uart peripheral 2023-10-08 10:10:02 +08:00
gaoxu
c7afa0dcef feat(uart): uart(hp,lp) support on esp32p4 2023-10-08 10:10:00 +08:00
Ivan Grokhotkov
366bb1f99a Merge branch 'feature/wpa_supplicant_component_test_app' into 'master'
feat(wpa_supplicant): migrate the tests from unit-test-app

Closes IDF-6781 and IDF-5608

See merge request espressif/esp-idf!26274
2023-10-07 22:16:02 +08:00
laokaiyao
464bec8ac6 ci(adc): print adc efuse calib version in test 2023-10-07 19:01:04 +08:00
laokaiyao
c018dc9d77 refactor(hal): avoid float type in hal 2023-10-07 19:01:04 +08:00
Darian Leung
65d3931fab change(freertos/debug): Add API to get current TCB
This commit adds `pvTaskGetCurrentTCBForCore()` to get a void pointer to the
current TCB of a particular core. This removes the need to `extern `pxCurrentTCB`
in esp_gdbstub.
2023-10-07 18:55:47 +08:00
Darian Leung
2b357071f1 refactor(freertos/task_snapshot): Deprecate task_snapshot.h
This commit deprecates the `#include "freertos/task_snapshot.h" include path:

- Adds compatibility header with compile time warning
- Removes hints related to `task_snapshot.h`
- Adds entry to migration guide
2023-10-07 18:55:47 +08:00
Gao Xu
56f991d7d9 Merge branch 'bugfix/fix_adc_sar_set_power_mode_no_effect' into 'master'
ADC: Fixed wrong ADC reading issue caused by ADC and WiFi power conflict on ESP32C6

Closes IDF-8118

See merge request espressif/esp-idf!25927
2023-10-07 18:23:27 +08:00
Song Ruo Jing
0f64142845 Merge branch 'bugfix/ledc_max_duty_cycle' into 'master'
fix(ledc): fix ledc driver 100% duty cycle configuration

Closes IDFGH-10881 and IDFGH-10254

See merge request espressif/esp-idf!26067
2023-10-07 16:38:16 +08:00
Jiang Jiang Jian
e445213cf8 Merge branch 'bugfix/BLEQABR23-632' into 'master'
fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble

Closes BLERP-104

See merge request espressif/esp-idf!26236
2023-10-07 13:59:48 +08:00
Darian Leung
9968a48c36 refactor(freertos/task_snapshot): Make task snapshot private
Task snapshot API were never intended to be called from user code. This commit
makes task snapshot a private API thus moves `#include "freertos/task_snapshot.h"`
to `#include "esp_private/freertos_debug.h"`.

Task snapshot related Kconfig options have also been hidden.

Note: Added 'freertos_common' mapping to ldgen mapping execptions lists due to
inlining of 'freertos_debug.h' functions.
2023-10-07 13:14:55 +08:00
Marius Vikhammer
ebe68c3ee3 docs(build): add header include path and component require to api reference 2023-10-07 11:47:45 +08:00
Armando (Dou Yiwen)
7d8f015a4c Merge branch 'feat/cache_msync_doc' into 'master'
doc: added cache msync doc

Closes IDF-8294

See merge request espressif/esp-idf!26239
2023-10-06 06:01:35 +08:00
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
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
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
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
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
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
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
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
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
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
Armando
4215adcdb4 feat(cache): added cache msync doc 2023-09-28 15:53:19 +08:00
laokaiyao
e1039f9ce2 fix(i2s_platform): merge the i2s platform acquire API 2023-09-28 15:03:27 +08:00
laokaiyao
72a0746e62 refactor(apll): move the apll soc caps to clk_tree_ll 2023-09-28 15:03:27 +08:00
laokaiyao
0b0f25c30d feat(i2s): supported getting the tx sync count and specify interrupt flags 2023-09-28 15:03:27 +08:00
laokaiyao
cf889f3c6d feat(i2s): support i2s on esp32p4 2023-09-28 15:03:27 +08:00
Island
492c819357 Merge branch 'bugfix/fix_phy_63' into 'master'
Fixed extended adv address setting after adv restart on esp32c3

Closes BLERP-86 and BLERP-107

See merge request espressif/esp-idf!26157
2023-09-28 14:21:08 +08:00
zlq
b221f87e00 feat(volt): chip auto adjust volt for esp32c6 & esp32h2 2023-09-28 05:55:42 +00:00
morris
cdc905ffe0 feat(dw_gdma): initial low level driver
feat(dw_gdma): initial low level driver
2023-09-28 02:17:08 +00:00
morris
1b2484214c refactor(esp_lcd): reformat code with astyle_py 2023-09-28 09:42:31 +08:00
Zhi Wei Jian
60961e9e7f Merge branch 'feature/Add_apis_for_dtm_test' into 'master'
Feature/add apis for direct test mode

See merge request espressif/esp-idf!25735
2023-09-27 19:00:20 +08:00
Zhi Wei Jian
66e720c7eb Merge branch 'feature/add_api_to_update_config_file_path' into 'master'
Add API to update bluetooth config file path

See merge request espressif/esp-idf!25560
2023-09-27 18:59:35 +08:00
Jiang Jiang Jian
500d415da0 Merge branch 'support/esp_phy_init_refactor' into 'master'
feat(phy): Add modem type to phy init

Closes TZ-183, TZ-184, WIFI-6117, and WIFI-6204

See merge request espressif/esp-idf!25027
2023-09-27 18:48:30 +08:00
Ondrej Kosta
e0c225b4f7 Merge branch 'feature/eth_spi_abstraction' into 'master'
Abstraction of SPI driver for SPI Ethernet modules

Closes IDF-7645

See merge request espressif/esp-idf!24429
2023-09-27 18:36:25 +08:00
morris
9e9eb0bf9d Merge branch 'bugfix/rmt_pm_lock_type' into 'master'
fix(rmt): use ESP_PM_CPU_FREQ_MAX for RMT for non-dma channel

Closes IDFGH-11122

See merge request espressif/esp-idf!26220
2023-09-27 16:52:42 +08:00
Ondrej Kosta
962c7c07f2 Merge branch 'bugfix/ksz8041_model_number_0x13' into 'master'
esp_eth: Add model number 0x13 to the list of suported ksz80xx models

Closes IDFGH-9134

See merge request espressif/esp-idf!26121
2023-09-27 14:43:23 +08:00
Rocha Euripedes
346d13c8ea Merge branch 'mqtt/update_submodule_e6afdb' into 'master'
change(mqtt): Update submodule to e6afdb

See merge request espressif/esp-idf!26185
2023-09-27 13:09:52 +08:00
Mahavir Jain
e95849880e Merge branch 'feat/add_support_to_add_auth_data' into 'master'
feat(esp_http_client): Add API to set auth data

Closes IDFGH-10936

See merge request espressif/esp-idf!25884
2023-09-27 13:03:38 +08:00
Kevin (Lao Kaiyao)
cf54ebc9c1 Merge branch 'feature/support_parlio_tx_on_p4' into 'master'
feat(parlio_tx): supported parlio tx on p4

Closes IDF-7472

See merge request espressif/esp-idf!25365
2023-09-27 12:33:34 +08:00
Mahavir Jain
290db2d077 Merge branch 'feat/add_sbom_manifest_file_for_http_parser' into 'master'
feat(http_parser): Add sbom manifest file

Closes IDF-8231

See merge request espressif/esp-idf!26196
2023-09-27 11:33:38 +08:00
Kevin (Lao Kaiyao)
9a239b8367 Merge branch 'feature/support_analog_comparator_on_p4' into 'master'
feat(ana_cmpr): supported analog comparator on esp32p4

Closes IDF-7479

See merge request espressif/esp-idf!24873
2023-09-27 04:24:09 +08:00
radek.tandler
4f659b70e1 fix(nvs_flash): fixed failing nvs_page test 2023-09-26 15:05:20 +00:00
radek.tandler
e8992f500c fix(nvs_flash): nvs_set with same key and different data type
Function now always rewrites old value under same key
regardless existing data type. Users requiring old API behaviour
can enable it by kconfig option CONFIG_NVS_LEGACY_DUP_KEYS_COMPATIBILITY
2023-09-26 15:05:20 +00:00
Wu Meng Shi
dc75dc6ec7 fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble 2023-09-26 19:10:30 +08:00
Abhik Roy
0ee3041091 feat(lwip): Fixes and Improvements for NAPT and SBOM Support
- napt: restore to the initial state in deinit (espressif/esp-lwip@5c4f899f)
  - napt: Fix ip_portmap_add() to keep only one port mapping (espressif/esp-lwip@d65ad241)
  - napt: Fix clean compilation (espressif/esp-lwip@7033e26f)
  - napt: Fix IP forwarding when forward netif enable NAPT (espressif/esp-lwip@bc78df87)
  - napt/stats: Move some napt counters to stats module (espressif/esp-lwip@b55e64ae)
  - ip_napt_maint: Fix timestamp overflow handling (2.1.3) (espressif/esp-lwip@a7e0a50c)
  - napt: Fixes and improvements (2.1.3) (espressif/esp-lwip@fadb9109)
  - Add sbom descripton file for Software BOM (espressif/esp-lwip@f07097d7)
2023-09-26 20:02:42 +10:00
morris
985b8ca948 fix(rmt): fixed unstable transfer during DFS
Closes https://github.com/espressif/esp-idf/issues/12292
2023-09-26 17:01:06 +08:00
alanmaxwell
99ac807418 fix(wifi): Support ESP32 PHY enabled not enter WiFi RX state by default 2023-09-26 16:23:58 +08:00
zhiweijian
3cc06e472b change(ble/controller): disable pll track by default in BLE controller on ESP32-C3 and ESP32-S3 2023-09-26 16:23:58 +08:00
zhangwenxu
e5b96c94b5 fix(CI): fix CI build 2023-09-26 16:23:58 +08:00
alanmaxwell
9e07fa9312 fix(phy): move phy tx power track to IDF 2023-09-26 16:23:58 +08:00
zwl
355a420055 fix(phy): Fix ble phy_enable/disable api invoking issue for esp32c2,esp32h2 and esp32c6 2023-09-26 16:23:58 +08:00
alanmaxwell
503299fb32 fix(phy): Fix PHY enabled enter WiFi RX state default 2023-09-26 16:23:58 +08:00
zhangwenxu
12fcc66bac feat(phy): Add modem type to phy init 2023-09-26 16:23:58 +08:00
Jiang Jiang Jian
17ae394fd1 Merge branch 'feature/update_esp32h2_sleep_logic' into 'master'
feat(pm): remove SOC_PM_RETENTION_HAS_CLOCK_BUG for esp32h2

See merge request espressif/esp-idf!26081
2023-09-26 16:11:25 +08:00
chenjianhua
42b85dffb1 Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-09-26 16:10:21 +08:00
Ondrej Kosta
ecd1759a0b feat(esp_eth): abstraction of SPI driver for SPI Ethernet modules 2023-09-26 07:58:05 +00:00