Commit Graph

31198 Commits

Author SHA1 Message Date
Ivan Grokhotkov
be057f26dc
ci(system): re-enable build test app for C2 and C6, clean up configs
Since we can use CONFIG_NAME now to specify build rules, we don't need
to have target-specific config files.
2023-11-28 18:09:06 +01:00
Ivan Grokhotkov
6e2dd2924a
fix(esp_hw_support): fix build with CONFIG_ESP_CONSOLE_UART=n on C6
Closes https://github.com/espressif/esp-idf/issues/11924
2023-11-28 18:08:11 +01:00
Ivan Grokhotkov
b52607af71
examples: re-enable console examples for C2, C6, H2
- Split the sleep-related system commands into a separate file
- Don't compile that file and don't register sleep commands for H2 yet
- Exclude Wi-Fi commands if the chip doesn't have Wi-Fi
2023-11-28 18:08:11 +01:00
Rahul Tank
4f16f201af Merge branch 'bugfix/fix_duplicate_exception_vsc_5.1' into 'release/v5.1'
fix(nimble): Fix the parameters in duplicate exception list vsc command(v5.1)

See merge request espressif/esp-idf!27406
2023-11-28 15:49:37 +08:00
Fu Hanxi
3875e26b3b Merge branch 'test/idf-build-apps-1.0.0_v5.1' into 'release/v5.1'
CI: make master pipeline compatible with idf-build-apps 1.0.0 release (v5.1)

See merge request espressif/esp-idf!26247
2023-11-28 14:59:39 +08:00
Mahavir Jain
2c77ccda5e Merge branch 'check_debug_aware_config_v5.1' into 'release/v5.1'
fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality (v5.1)

See merge request espressif/esp-idf!27106
2023-11-27 14:12:05 +08:00
Rahul Tank
d300f91b4e fix(nimble): Fix the parameters in duplicate exception list vsc command 2023-11-27 09:22:07 +05:30
Rahul Tank
54a5d13a7a Merge branch 'bugfix/fix_dangling_pointer_compilation_warning_v5.1' into 'release/v5.1'
fix(nimble): Fix dangling pointer error during compilation (v5.1)

See merge request espressif/esp-idf!27161
2023-11-27 10:38:03 +08:00
Rahul Tank
40534e5ad6 fix(nimble): Fix dangling pointer error during compilation 2023-11-26 12:38:19 +05:30
Erhan Kurubas
5e88ecfd02 fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality 2023-11-24 09:54:18 +00:00
Jiang Jiang Jian
3ba577165c Merge branch 'bugfix/esp32s3_usb_otg_console_v5.1' into 'release/v5.1'
system: support USB_OTG CDC console on ESP32-S3 (v5.1)

See merge request espressif/esp-idf!24337
2023-11-24 10:19:02 +08:00
Jiang Jiang Jian
9e863521c6 Merge branch 'bugfix/ble_gap_unpair_oldest_peer_fix_v5.1' into 'release/v5.1'
fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory (v5.1)

See merge request espressif/esp-idf!27316
2023-11-24 10:15:33 +08:00
David Čermák
3bcbbf13fe Merge branch 'feature/eth_loopback_test_v5.1' into 'release/v5.1'
esp_eth/test_apps: add loopback test (v5.1)

See merge request espressif/esp-idf!26806
2023-11-24 00:43:35 +08:00
Island
80b61281b9 Merge branch 'bugfix/ble_update_lib_1110_5.1' into 'release/v5.1'
Bugfix/ble update lib 1110 5.1

See merge request espressif/esp-idf!27061
2023-11-23 19:10:49 +08:00
Mahavir Jain
c1eae4b7be Merge branch 'bugfix/return_code_of_ota_finish_api_v5.1' into 'release/v5.1'
fix(esp_https_ota): fix return code of esp_https_ota_finish API (v5.1)

See merge request espressif/esp-idf!27335
2023-11-23 16:31:06 +08:00
Marius Vikhammer
0feef5f2f3 Merge branch 'backport/add_docs_for_coex_v51' into 'release/v5.1'
feat(docs) Add RF Coexist docs for H2(BackportV5.1)

See merge request espressif/esp-idf!27236
2023-11-23 13:57:42 +08:00
darshan7patel
2db80a8d3c fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory (v5.1) 2023-11-23 11:17:04 +05:30
Rahul Tank
e55ede5f94 Merge branch 'feature/get_whitelist_size_v5.1' into 'release/v5.1'
feat(nimble): Added API to retrieve the size of the controller's white list (v5.1)

See merge request espressif/esp-idf!26954
2023-11-23 12:34:19 +08:00
Roland Dobai
3e2dbfec47 Merge branch 'contrib/github_pr_12558_v5.1' into 'release/v5.1'
Fix: esptool_py incorrectly assumed target name equals binary name (GitHub PR) (v5.1)

See merge request espressif/esp-idf!27269
2023-11-22 22:41:47 +08:00
Martin Vychodil
3e04fba477 Merge branch 'bugfix/uart_vfs_select_in_iram_v5.1' into 'release/v5.1'
fix: add UART VFS select callback in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled (v5.1)

See merge request espressif/esp-idf!27298
2023-11-22 22:41:18 +08:00
Ondrej
d23b41c7cb fix(esp_eth): fixed ETH_CMD_READ/WRITE_PHY_REG build issue 2023-11-22 15:28:01 +01:00
Ondrej Kosta
0df97644c4 ci(esp_eth): addressed LAN8720 errata in CI test 2023-11-22 15:28:01 +01:00
Ondrej Kosta
99d4c1d13c feat(esp_eth): added ioctl option to read/write PHY registers
LAN87xx: Added extra delay after setting PHY speed
2023-11-22 15:28:01 +01:00
Ondrej
1d3e466c61 ci(esp_eth): make additional Ethernet chips test as nightly run 2023-11-22 15:28:01 +01:00
Chen Yudong
50a54194b7 ci: fix pytest components ethernet rules 2023-11-22 15:28:01 +01:00
Ondrej
1215fca04e ci(esp_eth): added tests of all supported Etherent chips 2023-11-22 15:27:57 +01:00
Ondrej Kosta
6fda9fe207 fix(esp_eth): various Ethernet driver fixes
ksz8851snl: enabled reception of multicast frames

Internal EMAC: fixed APLL CLK deinitialization

DM9051 and KSZ80xx: fixed speed configuration when not in loopback mode

phy_802_3: added multiple attempts when autodetecting PHY address
2023-11-22 15:23:52 +01:00
Bogdan Kolendovskyy
6bc957ee4f esp_eth: add loopback test, change chip drivers to reflect chip specific behaviour
In esp_eth_test_apps.c:
Add test of loopback functionality. Change speed/duplex/autonegotiation test - remove need to enable loopback (required
for it to work on some phys supported by ESP-IDF)

In Kconfig.projbuild:
Add parameters to select which configuration is used - standard or custom.
Add for custom configuration parameters to select MDC and MDIO pins (required to work with WESP-32 and other boards that
use non-standard pin assignments).

In esp_eth_test_common.c:
Add code to support changes made in Kconfig

In sdkconfig.ci.default_rtl8201:
Change config which is used. Now custom is used and MDC is gpio 16, MDIO is gpio 17. Reuqired to work with WESP-32

In esp_eth_phy_802_3.h:
Make 802.3 API public.

In esp_eth_phy_802_3.c:
Add loopback check in eth_phy_802_3_set_duplex(). Now ESP_ERR_INVALID_STATE is invoked on attempt to set duplex to half
when loopback is enabled.
Remove static property from esp_eth_phy_802_3_autonego_ctrl and esp_eth_phy_802_3_loopback.

In esp_eth_phy_dm9051.c:
Add dm9051_loopback() because DM9051 requires setting additional bit to enable auto-negotiation loopback for data to be
received. Add dm9051_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is
enabled because such speed configuration is unsupported.

In esp_eth_phy_ksz80xx.c:
Add ksz80xx_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is enabled
because such speed configuration is unsupported.

In esp_eth_phy_ksz8851snl.c:
Change phy_ksz8851_set_duplex() to invoke ESP_ERR_INVALID_STATE on attempt to set duplex to half when loopback is enabled.

In  esp_eth_phy_dp83848.c, esp_eth_phy_rtl8201.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.

In esp_eth_phy_lan87xx.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.
Fix link indicating being down when loopback is enabled by force setting link up.
2023-11-22 15:23:52 +01:00
Harshit Malpani
d778b07b22
fix(esp_https_ota): fix return code of esp_https_ota_finish API
Closes https://github.com/espressif/esp-idf/issues/12635
2023-11-22 17:10:08 +05:30
Rahul Tank
2a227b89d5 Merge branch 'feature/walkthrough_for_bleprph_v5.1' into 'release/v5.1'
doc (nimble): Added the tutorial for bleprph example. (v5.1)

See merge request espressif/esp-idf!26887
2023-11-22 18:21:49 +08:00
Rahul Tank
ad11452275 Merge branch 'bugfix/cleanup_nimble_sdkconfig_v5.1' into 'release/v5.1'
ci(nimble): Cleanup sdkconfig files for nimble examples (v5.1)

See merge request espressif/esp-idf!27289
2023-11-22 18:09:16 +08:00
Jiang Jiang Jian
2cc61caf7b Merge branch 'bugfix/add_par_check_in_ag_cind_res_v5.1' into 'release/v5.1'
Bugfix/add par check in ag cind res v5.1

See merge request espressif/esp-idf!27257
2023-11-22 17:47:28 +08:00
Jiang Jiang Jian
d5e87fed74 Merge branch 'bugfix/spp_deinit_crash_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.1)

See merge request espressif/esp-idf!27251
2023-11-22 17:45:48 +08:00
Jiang Jiang Jian
8b6977b883 Merge branch 'bugfix/coex_cfg_option_invisible_v5.1' into 'release/v5.1'
fix(esp_coex): Fix dependency errors in coexist configuration (Backport v5.1)

See merge request espressif/esp-idf!26577
2023-11-22 17:45:05 +08:00
Jiang Jiang Jian
b09e1d860d Merge branch 'bugfix/fix_psram_access_faild_after_pd_cpu_wakeup_v5.1' into 'release/v5.1'
fix(esp_pm): fix psram access failed after pd_cpu wakeup if uart driver driven console is used (backport v5.1)

See merge request espressif/esp-idf!27051
2023-11-22 17:44:32 +08:00
zwx
f710a49680 feat(docs) Add RF Coexist docs for H2 2023-11-22 17:04:55 +08:00
darshan
8dcd59f34f feat(nimble): Added API to retrieve the size of the controller's white list (v5.1) 2023-11-22 10:29:36 +05:30
Shu Chen
ecbbd3c3d9 Merge branch 'backport/add_ot_radio_stats_enable_config_5_1' into 'release/v5.1'
feat(openthread): backport some openthread features(BackportV5.1)

See merge request espressif/esp-idf!26885
2023-11-22 12:23:53 +08:00
Rahul Tank
3662303f31 Merge branch 'bugfix/generate_new_irk_across_reboot_v5.1' into 'release/v5.1'
fix(nimble): Generate a new unique IRK for every chip. (v5.1)

See merge request espressif/esp-idf!27117
2023-11-22 03:03:39 +08:00
Ivan Grokhotkov
6481b0161c
ci: add build test for CONFIG_ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF 2023-11-21 17:33:30 +01:00
Ivan Grokhotkov
e2f1327a5c
examples: re-enable system/console/advanced_usb_cdc for ESP32-S3
Closes https://github.com/espressif/esp-idf/issues/9364
2023-11-21 17:33:30 +01:00
Ivan Grokhotkov
6ec4937cec
esp_system: usb_console support for ESP32-S3
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
2023-11-21 17:33:30 +01:00
Ivan Grokhotkov
22dd730a7c
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst 2023-11-21 17:33:30 +01:00
Ivan Grokhotkov
6d1f573945
esp_rom: implement usb deinit functions added in S3 ROM for S2
This cleans up usb_console.c and prepares it for S3 support.
2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
228dbe103f
esp_rom: add USB_OTG "port" number for S2 and S3 2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
c7b409aa94
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
2c341a8557
console: minor fixes
- wrong comment
- duplicated setvbuf
2023-11-21 17:33:29 +01:00
sonika.rathi
633a3b06db fix(vfs/uart): add UART VFS select callback in IRAM
UART VFS select callback is placed in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled
2023-11-21 14:17:08 +01:00
luomanruo
d24f7d9f12 ble(fix): deinit crash issue 2023-11-21 15:05:22 +08:00
zwl
9cf6280eea fix(ble): fixed ble occasional rx exception issue 2023-11-21 15:03:38 +08:00