Wykres commitów

216 Commity (a5b261f699808efdacd287adbded5b718dffd14e)

Autor SHA1 Wiadomość Data
Cao Sen Miao 94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
Armando 5ab90e9728 phy_override: add pwdet power function 2023-01-09 17:10:36 +08:00
Armando 5be3c21cfc adc: improve power logic 2023-01-09 17:10:04 +08:00
Chen Yu Dong e72905ee35 Merge branch 'ci/enable_more_wifi_tests' into 'master'
CI: enable more wifi cases

See merge request espressif/esp-idf!21488
2023-01-09 14:42:10 +08:00
Konstantin Kondrashov ffea490cc7 Merge branch 'feature/mac_crc' into 'master'
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort

Closes IDFGH-8989

See merge request espressif/esp-idf!21789
2023-01-06 14:50:40 +08:00
Chen Yudong 8aca3932b0 CI: enable more wifi cases 2023-01-06 06:03:52 +00:00
wangmengyang 3cd5ba44d1 phy: removed unit test cases for some functions against cache disabled condition on ESP32-C3
function bt_bb_v2_init_cmplx and coex_pti_v2 are only used during bluetooth Controller initialization and do not require IRAM attribute
2023-01-06 06:03:52 +00:00
zhangwenxu 1abe00d82b phy: update esp32c6 phy lib
* phy_version 101,587adde,Dec 20 2022,14:21:21
2023-01-03 14:53:33 +08:00
KonstantinKondrashov 185262c283 esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then esp_efuse_mac_get_default returns INVALID_CRC instead of abort
Closes https://github.com/espressif/esp-idf/issues/10401
2022-12-29 05:23:18 +08:00
wuzhenghui 3b43b63d47 soc: add ieee8020154_only cap for esp32hx 2022-12-28 16:15:58 +08:00
Li Shuai 3ce896429c periph clock: implemented the modem module enable, disable and reset for esp32c6 2022-12-27 21:31:59 +08:00
Shu Chen 0215575606 Merge branch 'feature/esp32c6_ieee802154_support' into 'master'
ieee802154: add ieee802154 support for esp32c6

See merge request espressif/esp-idf!21615
2022-12-22 18:01:58 +08:00
xiaqilin 57a6abdad1 ieee802154: add support ieee802154 for esp32c6 2022-12-22 10:45:23 +08:00
Jiang Jiang Jian 8cd0571cc9 Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue' into 'master'
esp_phy: add country code 01 to country code map type table

Closes IDFCI-1299

See merge request espressif/esp-idf!21656
2022-12-20 21:31:24 +08:00
muhaidong d912bbbcb0 esp_phy: add country code 01 to country code map type table 2022-12-18 14:25:17 +08:00
wuzhenghui 5822cdf93b esp_phy: enable for esp32c6 2022-12-16 15:47:56 +08:00
Jiang Jiang Jian 09231b4fa2 Merge branch 'bugfix/fix_failure_of_wifi_channel_configuration' into 'master'
phy: only set phy_init_flag at power domain off, when all modems deinit

Closes WIFI-4983

See merge request espressif/esp-idf!21235
2022-11-30 14:41:08 +08:00
Song Ruo Jing e13a4ad963 ci: Disable some unit-test-apps for esp32c6 to pass ci build stage 2022-11-28 11:58:30 +08:00
liuning b8d3553a1c phy: only set phy_init_flag at power domain off, when all modems deinit 2022-11-25 03:18:12 +00:00
C.S.M 28b2deaf24 Merge branch 'feature/add_target_esp32h2' into 'master'
ESP32-H2: Introduce new target for ESP32H2

See merge request espressif/esp-idf!21190
2022-11-24 18:31:19 +08:00
Cao Sen Miao 86aa4df5b5 ESP32-H2: Introduce new target for ESP32H2 2022-11-23 14:38:05 +08:00
zhiweijian 73cd69d5ad Fixed CI esp32s3.default_2_s3.Test failed 2022-11-21 10:20:34 +08:00
zhiweijian ebd2825379 - update phy lib
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-11-21 10:19:54 +08:00
laokaiyao 8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
KonstantinKondrashov 1f9260d790 all: Apply new version logic (major * 100 + minor) 2022-11-03 08:36:23 +00:00
jingli 0d8ece50fd Coexistence: remove reset for esp32's modem when PU to avoid SoftAP fail to work in some cases 2022-10-19 17:26:26 +08:00
Jiang Jiang Jian e08e2f071f Merge branch 'bugfix/fix_part_of_modem_not_reset_when_power_on' into 'master'
Coexistence: fix part of modem module not reset when power up

See merge request espressif/esp-idf!19849
2022-10-18 11:13:10 +08:00
songruojing a8b43d197f esp32c6: skip esp_phy and esp_wifi support 2022-09-26 20:32:13 +08:00
jingli cce2af9193 wifi/bt: fix part of modem module not reset when power up 2022-09-22 11:45:20 +08:00
Ivan Grokhotkov 237b2ce40c
cmake: use target_link_options and _directories supported since 3.13
Now that the supported CMake version is >=3.16, this code can be
simplified.

The code to deduplicate the directories can be removed since this is
handled by target_link_directories.
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov 401c10ecfb build system: re-add -Wno-format as private flag for some components 2022-08-03 16:42:47 +04:00
zhangwenxu 0da97b43d3 esp_phy: update esp32h2beta2 libphy and libbtbb
esp32h2beta2 rx performance optimization
2022-08-02 14:01:05 +00:00
Armando 5e6a16380a esp_adc: move adc common hw related code into esp_hw_support 2022-07-28 03:49:48 +00:00
David Čermák 36f49f361c Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
esp-netif/lw-ip: Make dependencies one-directional

Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287

See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
Jiang Jiang Jian 080ba9a80e Merge branch 'bugfix/phy_init_failed_when_wifi_deinit' into 'master'
bugfix for phy init failed when wifi deinit

Closes WIFI-4631

See merge request espressif/esp-idf!19127
2022-07-21 13:58:20 +08:00
David Cermak 5c383d7b73 esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
xueyunfei b4d11d00ca bugfix for phy init failed when wifi deinit 2022-07-20 14:16:08 +08:00
Armando (Dou Yiwen) 9f6f61345b Merge branch 'feature/adc_driver_ng' into 'master'
ADC Driver NG

Closes IDF-4560, IDF-3908, IDF-4225, IDF-2482, IDF-4111, IDF-3610, IDF-4058, IDF-3801, IDF-3636, IDF-2537, IDF-4310, IDF-5150, IDF-5151, and IDF-4979

See merge request espressif/esp-idf!17960
2022-07-19 21:28:31 +08:00
Armando 5b523a3313 esp_adc: new esp_adc component and adc drivers 2022-07-15 18:31:00 +08:00
Jessy Chen 631bf1ad63 esp_phy: Support 26M and 40M crystal for esp32c2 phy 2022-07-12 05:59:26 -04:00
Jiang Jiang Jian 9ec829f352 Merge branch 'bugfix/wifi_sta_and_ble_disconnect_BCI-303_master' into 'master'
component_bt: Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected

Closes BCI-303

See merge request espressif/esp-idf!18643
2022-07-08 19:43:10 +08:00
Jiang Jiang Jian a7bf3af687 Merge branch 'bugfix/reset_ble_hw_on_inititalization' into 'master'
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3

Closes BT-2402

See merge request espressif/esp-idf!18831
2022-07-08 16:21:41 +08:00
wangmengyang 1d55f12c2d component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
1. Rename MACROs SYSTEM_WIFI_RST_EN register bit fields to be more recognizable
2. reset Bluetooth baseband and clock bits to fix the issue of task watchdog triggered during controller initialization due to invalid hardware state
2022-07-06 16:23:48 +08:00
xiongweichao 155c4a5cb3 Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected 2022-07-06 14:42:46 +08:00
KonstantinKondrashov 0f8ff5aa15 efuse: Adds major and minor versions and others 2022-07-05 14:38:27 +08:00
muhaidong 3ed30a515f esp_wifi: clear phy calibrated flag when phy pd memory deinit 2022-06-28 15:03:11 +08:00
Jack cb0dd5cc75 fix the bug that some memory leaked in phy after wifi/ble deinit 2022-06-16 20:42:20 +08:00
Chen Jian Xing 44989a9ea0 Merge branch 'feature/update_phy_lib_c3_s3_20220504' into 'master'
esp_phy: optimize phy calibration for C3 and S3

Closes IDFGH-5903

See merge request espressif/esp-idf!18028
2022-06-07 14:19:26 +08:00
Jessy Chen 7d25f254b8 esp_phy: optimize phy calibration for C3 and S3 2022-06-02 17:12:45 +08:00
Michael (XIAO Xufeng) 6a8aed12ee ci: partially enable ut tests for esp32c2
Disabled test cases are tracked in:

 IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131

- test_fatfs: IDF-5136

- test_pm: IDF-5053

- test_cache_mmu: IDF-5138

- test_partitions: IDF-5137

- test_vfs: IDF-5139

- test_freertos: IDF-5140

- test_wpa_supplicant: IDF-5046

- test_mbedtls: IDF-5141

- test_pthread: IDF-5142

- test_protocomm: IDF-5143

- test_lightsleep: IDF-5053

- test_taskwdt: IDF-5055

- test_tcp_transport: IDF-5144

- test_app_update: IDF-5145

- test_timer: IDF-5052

- test_spi: IDF-5146

- test_rtc_clk: IDF-5060

- test_heap: IDF-5167

ci: fixed issues for tests of libgcc, ets_timer, newlib

test_pm: support on C2
2022-06-02 14:23:35 +08:00
Jack 7a8b63869f deinit BB MAC back memory when they are not used 2022-05-29 00:13:32 +08:00
Jessy Chen 0ae391ef07 esp_wifi: enable FTM for esp32c2 & fix pre-commit check 2022-05-28 08:52:55 +00:00
Jessy Chen 60cbbffc74 esp_phy: optimize esp32c2 tx power control 2022-05-28 08:52:55 +00:00
Jack 58d04eb203 esp_wifi: update esp32c2 wifi rom & lib 2022-05-28 08:52:55 +00:00
zhangyanjiao e979e9701f esp_wifi: bringup esp32c2 wifi 2022-05-28 08:52:55 +00:00
zhangwenxu 9440430db2 esp_phy: support esp32h2beta2 phy build 2022-05-16 10:50:44 +00:00
Marius Vikhammer c8617fe965 docs: fix all doxygen warnings
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00
Jiang Jiang Jian 5d59e8db5f Merge branch 'bugfix/fix_build_warring' into 'master'
esp_phy: fix build warning

Closes WIFI-4396

See merge request espressif/esp-idf!17838
2022-04-27 18:19:13 +08:00
Jessy Chen 2e5c28eb46 esp_phy: fix tx power limit for esp32s2/s3/c3 2022-04-26 02:46:08 -04:00
Jessy Chen 991fc96fcb esp_phy: fix build warning 2022-04-26 02:46:02 -04:00
Ivan Grokhotkov 708e99497b
global: add dependency on esp_timer component and include esp_timer.h
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
xiewenxiang dabcfab7ef Update esp c3/s3 phy lib (aa05aec) 2022-04-19 20:18:05 +08:00
xiewenxiang ba3770ba30 esp_phy: Add IRAM_ATTR for phy i2c spinlock 2022-04-13 12:16:58 +08:00
xiewenxiang a5597d67f3 Update esp c3/s3 phy lib (dcbe608) 2022-04-08 16:39:34 +08:00
Michael (XIAO Xufeng) f3adbf9953 esp_phy: use spinlock to avoid regi2c access conflicts 2022-04-01 10:49:29 +08:00
Omar Chebib 9380fd6bee G0: remove `components/esp32*` dependency on efuse component 2022-03-30 11:40:37 +08:00
morris 29e9b5b46a hw_support: move periph_ctrl from driver to hw_support 2022-03-29 11:53:31 +08:00
David Cermak 13ffddc0f3 phy: Use htobe32 instead of htonl to decouple from lwip 2022-03-10 08:19:43 +01:00
Sudeep Mohanty a9fda54d39 esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Yang Zhao 000f398ab9 Update ESP32-C3 and ESP32-S3 bt lib and phy lib
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-03 07:39:22 +00:00
Marius Vikhammer 29db173536 Merge branch 'feature/move_target_kconfig' into 'master'
system: move kconfig options out of target component

See merge request espressif/esp-idf!16893
2022-03-03 09:39:54 +08:00
Omar Chebib 2571aaf3c9 G0: target component (components/esp32*) doesn't depend on driver anymore 2022-03-02 04:21:00 +00:00
Marius Vikhammer bb88338118 system: move kconfig options out of target component
Moved the following kconfig options out of the target component:
 * ESP32_X_BROWNOUT_* -> esp_system
 * ESP32_X_DEBUG_OCDAWARE -> esp_system
 * APP_NO_BLOBS -> build type (main kconfig)
2022-03-02 01:22:26 +00:00
ChenJianxing 9909c4a3dc esp_phy: fix esp32s2 sar2 init no cal and bbpll cal fail 2022-02-10 11:56:37 +08:00
Cao Sen Miao bf8ea223ac usb_serial_jtag: remove the strict condition check in esp_phy 2022-01-19 19:08:35 +08:00
laokaiyao cf049e15ed esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
Jiang Jiang Jian 1d6f6044f8 Merge branch 'bugfix/support_esp32s2_eco1' into 'master'
ESP32S2: Support ESP32S2 ECO1

Closes WIFI-4227

See merge request espressif/esp-idf!16264
2022-01-11 07:12:25 +00:00
likunqiao 8b3cddf09a esp_phy: move lib_printf.c to esp_phy
* fix the issue when esp32h2 target using phy_printf and rtc_printf
2022-01-10 17:51:52 +08:00
chenjianxing 7a9947f3c6 esp_phy: Update ESP32S2 phy lib to support eco1 chip 2022-01-07 19:59:41 +08:00
Jack 9802bf41d6 phy: update phy lib to remove ets_printf references 2022-01-04 15:41:58 +08:00
Cao Sen Miao f82ab4c757 usb_serial_jtag: can print when wifi enabled by default
Closes https://github.com/espressif/esp-idf/issues/8131
2021-12-27 14:52:07 +08:00
Yang Zhao 28e9c69303 Update esp32c3 and esp32s3 phy lib and bb lib
Fix the ble task watchdog timeout issue caused by phy enable when exit modem sleep.
2021-12-08 19:17:31 +08:00
Chen Jian Xing 582da32f4a Merge branch 'bugfix/fix_esp32s3_usb_otg' into 'master'
esp_phy: fix esp32s3 phy work with USB-OTG issue

Closes WIFI-4157

See merge request espressif/esp-idf!15913
2021-11-23 03:41:00 +00:00
chenjianxing 65f3bf4a8a esp_phy: fix esp32s3 phy work with USB-OTG issue 2021-11-17 11:08:01 +08:00
morris 2e008825a9 Merge branch 'feat/rm_makefiles' into 'master'
Build & config: Remove leftover files from the unsupported make build system

Closes IDF-4273 and IDF-2827

See merge request espressif/esp-idf!15829
2021-11-16 03:44:41 +00:00
Li Shuai 5b766e63c0 Merge branch 'bugfix/wifi_bt_mac_bb_pd_light_sleep' into 'master'
fixes some sleep related issues

Closes AUD-3278

See merge request espressif/esp-idf!15844
2021-11-15 05:05:47 +00:00
Li Shuai d9e3204115 light sleep: replace new kconfig option of mac bb power down & phy reduce tx power 2021-11-12 17:46:18 +08:00
Roland Dobai 766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
Jiang Jiang Jian c6ad0e4658 Merge branch 'bugfix/power_down_bluetooth_module_when_deinit' into 'master'
component/bt: Power down bluetooth module when deinit

Closes WIFI-4180

See merge request espressif/esp-idf!15716
2021-11-11 03:23:46 +00:00
Li Shuai bf650edc55 fix the wifi scan fail issue caused by the power off the wifi power domain 2021-11-08 20:59:10 +08:00
morris 16677b0d3c global: make periph enable/disable APIs private
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
Cao Sen Miao 599227a1b6 ESP8684: Add esp8684 target to other repo for passing build 2021-11-06 17:33:45 +08:00
chenjianxing 5918bb73d9 esp_phy: fix esp32c3/s3 phy USB & RSSI issue 2021-10-26 15:22:01 +08:00
Li Shuai a50312fa63 unit-test: fix esp32 phy enable test case 2021-10-18 19:42:52 +08:00
Li Shuai b774342402 Power Management: power up or down wifi power domain when wifi init or deinit 2021-10-14 10:51:07 +08:00
chenjianxing 8e49eec076 esp_phy: update esp_phy submodule files copyright 2021-10-13 13:10:50 +08:00
chenjianxing 2a09234957 esp_phy: rename esp_phy component prefix 2021-10-13 13:10:49 +08:00
chenjianxing c898810991 esp_phy: support copy multi phy init data bin to build dir 2021-10-13 13:10:49 +08:00
chenjianxing 09a034d61b esp_wifi: support multi phy init data bin embedded 2021-10-13 13:10:47 +08:00
Chen Jian Xing 263850da6c Merge branch 'bugfix/fix_s3_wifiperformance_doc' into 'master'
Update esp32s3 wifi performace docs.

Closes WIFI-3952, WIFI-3929, and WIFI-3928

See merge request espressif/esp-idf!14767
2021-10-12 02:50:55 +00:00
chenjianxing 0cee65390e esp_phy: fix esp32s3 phy issue
1. fix esp32s3 channel 7,8,9 issue
2. sleep: force off tsens xpd_sar to fix the leakage current of esp32s3 RTC_PERIPH domain
2021-10-11 15:08:02 +08:00
Ivan Grokhotkov ea99e5e969 esp_phy: fix quoting issue for library path 2021-10-06 10:41:58 +02:00
WangQixiang c5a52c605f openthread: update openthread submodule
openthread: add srp client enable option for openthread component

ieee802154: set ieee802154 default PTI to 6
2021-09-14 17:13:19 +08:00
zhangwenxu 8f76a98c1b esp_phy: support phy init on esp32h2 chip 2021-09-08 21:20:37 +08:00
zhangwenxu 4175aa0892 openthread: add ot_rcp example 2021-08-25 18:04:45 +08:00
Li Shuai d73a09cd8b light sleep: add wifi mac sleep support for esp32s3 2021-08-04 21:58:33 +08:00
Li Shuai e3c13f8770 light sleep: diable phy tsens for esp32s3 2021-08-04 21:31:47 +08:00
Shu Chen 8e56ecc656 openthread: enable ot_cli on esp32h2 2021-07-14 19:15:24 +08:00
morris 1560d6f1ba soc: add reset reasons in soc component 2021-07-13 10:45:38 +08:00
WangShichang 8fd261b3eb esp_phy: update esp32s3 phy init data 2021-07-06 11:38:42 +08:00
chenjianxing 564068d5af esp_wifi: support esp32s3 wifi and fix not tx 9M rate issue 2021-07-06 11:38:40 +08:00
Shu Chen ee23a489b9 esp32h2: code clean up 2021-07-01 19:53:50 +08:00
Shu Chen e9a51e410a esp32h2: add stub code for efuse/esp_gdbstub/esp_phy
Only stub code for these components:
 * efuse
 * esp_gdbstub
 * esp_phy
2021-07-01 19:53:11 +08:00
chenjianxing 3c3c7b2ee0 esp_phy: update esp32 phy max tx power 2021-06-24 14:43:03 +08:00
Shu Chen 246e006aab esp_phy: update esp-phy-lib and esp32-wifi-lib submodules 2021-06-03 19:08:04 +08:00
Shu Chen 6061a547e5 esp_phy: decouple esp_phy component from esp_wifi and bt
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00