Commit Graph

79 Commits

Author SHA1 Message Date
Ondrej Kosta 2f5e9cd9b4 fix(ci): re-enabled ESP32P4 tests on different HW vers 2025-12-22 14:43:57 +01:00
armando 714b022a43 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-21 02:48:05 +00:00
Ondrej Kosta d622d4d9ac feat(esp_eth): removed SPI Ethernet and PHY drivers from IDF 2025-09-28 16:19:42 +02:00
glmfe 0b330482a7 fix(ethernet_init): Update Ethernet Init Calls
Removed references to components/ethernet_init to use new managed component ethernet_init.
2025-09-23 08:48:08 +02:00
Ondrej Kosta 5aa97623c1 feat(esp_eth): removed RMII CLK Kconfig option 2025-09-17 11:46:06 +02:00
Marek Fiala 9d35d63651 feat(cmake): Update minimum cmake version to 3.22 (whole repository) 2025-08-19 14:44:32 +02:00
Shen Meng Jing 62d4115e08 docs: Fix some typos 2025-04-30 18:35:39 +08:00
igor.udot daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
Bogdan Kolendovskyy b433731234 fix(ethernet_basic): Fix second Ethernet device not receiving IP address 2025-02-12 15:10:52 +01:00
Frantisek Hrbata 1c92945f59 change(examples): switch examples to use a minimal build
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Ondrej Kosta 0738314308 feat(esp_eth): added new generic PHY driver 2024-10-11 10:14:53 +02:00
morris 175cdcf15c Merge branch 'bugfix/spi_eth_latest_p4_fnc_board' into 'master'
fix(esp_eth): fixed SPI ETH GPIO to align with latest ESP32-P4-Function-EV-Board

Closes IDF-9381

See merge request espressif/esp-idf!33549
2024-09-25 18:59:42 +08:00
Ondrej Kosta 301e67157b ci(esp_eth): enabled build and test for c61 in eth/proto examples 2024-09-18 08:44:58 +02:00
Ondrej Kosta b11669b576 feat(esp_eth): added SPI ETH defaults for C61 in examples 2024-09-16 16:56:13 +02:00
Ondrej Kosta e8343f228f fix(esp_eth): fixed SPI ETH GPIO to align with latest ESP32-P4-Function-EV-Board 2024-09-16 09:28:26 +02:00
Ondrej Kosta dd81b56fb6 feat(esp_eth): removed disable of C5 and P4 from examples .build-test-rules
Updated examples to be able to build for C5 and P4.

Added Ethernet support for static_ip example.
2024-08-14 10:07:48 +02:00
Ondrej Kosta 43066f2e37 feat(esp_eth): Added SPI Ethernet support of ESP32C5 in examples 2024-08-14 10:05:26 +02:00
Ondrej Kosta 9e10cca102 fix(esp_eth): fixed default GPIO to match new ver. of P4 devboard 2024-08-08 18:11:38 +02:00
Bogdan Kolendovskyy 712f0cbce4 feat(examples/ethernet/basic): add pytest script to basic ethernet example 2024-05-17 14:19:18 +02:00
Ondrej Kosta 5e7cbdb4da feat(esp_eth): added example to deinit Ethernet 2024-05-14 08:23:35 +02:00
Ondrej Kosta d15a9c2c48 feat(esp_eth): a new folder structure of the driver and other improvements
Fixed memory leak in emac_esp_new_dma function.

Polished ESP EMAC cache management.

Added emac_periph definitions based on SoC features and improved(generalized) ESP EMAC GPIO
initialization.

Added ESP EMAC GPIO reservation.

Added check for frame error condition indicated by EMAC DMA and created a target test.
2024-05-14 08:23:31 +02:00
laokaiyao 65b1fd33d3 ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
Ondrej Kosta 6643798227 feat(esp_eth): added configuration of SPI ETH for ESP32P4 ETH examples 2024-03-04 16:23:40 +01:00
Ondrej Kosta fd0a1dc53c feat(esp_eth): added SPI Ethernet module polling mode
Closes https://github.com/espressif/esp-idf/issues/12682
2024-02-07 11:21:57 +01:00
Ondrej Kosta ce388a4111 feat(esp_eth): Added support of internal EMAC for ESP32P4
Refactored internal EMAC DMA access.

Added MPLL acquire to manage access to the MPLL by multiple periphs.
2024-01-16 14:29:25 +01:00
Armando 7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
Ondrej Kosta 7e481c02a3 Ethernet examples: removed configuration of SPI Input Delay which was introduced by a mistake 2023-05-23 09:11:14 +02:00
Ondrej Kosta e82dce7917 Merge branch 'bugfix/bridge_spi_emac_readme' into 'master'
Updated Ethernet README Common Troubleshooting

See merge request espressif/esp-idf!23784
2023-05-22 22:32:37 +08:00
Ondrej Kosta a2d669c008 Updated Ethernet README Common Troubleshooting to describe workaround when SPI issues are observed with internal EMAC connected 2023-05-19 15:17:07 +02:00
AndriiFilippov 8694a1ea0c update default pins for Ethernet basic and enc28j60 examples
update .yml files
2023-05-18 17:51:44 +02:00
laokaiyao 49f16eefbb esp32h4: checked all the corner stuffs of the removal 2023-04-23 12:03:07 +00:00
laokaiyao bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
AndriiFilippov 8868bf5c64 Update default pins for ESP32H4
Update default pins for ENC28J60 example
2023-02-14 10:31:45 +00:00
Cao Sen Miao 94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
Ondrej 2bf7255285 Ethernet related tests improvements
esp_eth: tests migrated to pytest and added support of multiple Ethernet devices

esp_netif: l2tap test migrated to pytest
2022-11-28 11:34:34 +00:00
Song Ruo Jing 2557e24a28 ci: Enable esp32c6 example, test_apps, and unit tests CI build stage 2022-11-01 11:23:21 +08:00
Ondrej Kosta 20e668259e Ethernet examples: added new common init for Ethernet drivers 2022-08-26 15:43:16 +02:00
Ondrej Kosta c0312e3242 Merge branch 'feature/improve_spi_ethernet_init' into 'master'
esp_eth: SPI Ethernet modules initialization simplification

Closes IDF-3902

See merge request espressif/esp-idf!18663
2022-07-15 00:02:23 +08:00
Ondrej Kosta bb6c6aff36 esp_eth: SPI Ethernet modules initialization simplification 2022-07-14 08:46:22 +02:00
Fu Hanxi c0568611dd docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
Ondrej Kosta dfa33dc853 Ethernet basic example: removed sdkconfig_GW_issue which was configured by a mistake 2022-06-24 05:51:44 +00:00
Ondrej Kosta b83de6acbc example common_components: fixed GPIO max range for ESP32-C2 2022-06-14 15:29:44 +02:00
Michael (XIAO Xufeng) f7be540222 ci: partially enable example build for esp32c2 2022-06-02 14:17:31 +08:00
Djordje Nedic facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Ondrej Kosta 1a20b10fd3 Examples: common source for GPIO range in Kconfigs defined 2022-05-12 09:33:40 +02:00
David Cermak 795b7ed993 esp_netif: Remove tcpip_adapter compatibility layer 2022-03-10 08:19:43 +01:00
David Cermak 8da2e4088c esp_eth: Update esp32's EMAC API to decouple driver and vendor config 2022-02-14 16:17:29 +00:00
David Cermak 2553fb5845 esp_eth: Make EMAC DMA burst size configurable
Merges https://github.com/espressif/esp-idf/pull/7874
Closes  https://github.com/espressif/esp-idf/issues/7380
2022-02-14 16:17:29 +00:00
AndriiFilippov 88604b0c60 CI: Remove supported targets from ethernet examples README.md 2022-01-25 15:11:19 +01:00