Skip to content

Commit

Permalink
Re-enable LAN867x option in ethernet_init
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdankolendovskyy committed Sep 25, 2024
1 parent 0ce1192 commit 0593a05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
12 changes: 5 additions & 7 deletions ethernet_init/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,11 @@ menu "Ethernet Configuration"
KSZ8051, KSZ8061, KSZ8081, KSZ8091
Goto https://www.microchip.com for more information about them.

# TODO: un-hide this option once processing of Matches and Rules is fixed in IDF Component Manager and so LAN867x component can be conditionally included.
#config ETHERNET_PHY_LAN867X
# bool "LAN867x"
# depends on !ETHERNET_INTERNAL_SUPPORT
# help
# The LAN8670/1/2 is a high-performance 10BASE-T1S single-pair Ethernet PHY transceiver for 10 Mbit/s half-duplex networking over a single pair of conductors
# Goto https://www.microchip.com for more information about them.
config ETHERNET_PHY_LAN867X
bool "LAN867x"
help
The LAN8670/1/2 is a high-performance 10BASE-T1S single-pair Ethernet PHY transceiver for 10 Mbit/s half-duplex networking over a single pair of conductors
Goto https://www.microchip.com for more information about them.
endchoice # ETHERNET_PHY_MODEL

config ETHERNET_MDC_GPIO
Expand Down
5 changes: 4 additions & 1 deletion ethernet_init/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
dependencies:
espressif/lan867x:
rules:
- if: "target in [esp32, esp32p4]"
idf:
version: '>=5.1'
ch390:
Expand All @@ -8,4 +11,4 @@ examples:
- path: ../common_examples/
description: This component initializes Ethernet driver based on Espressif IoT Development Framework Configuration.
url: https://github.com/espressif/esp-eth-drivers/tree/master/ethernet_init
version: 0.3.0
version: 0.3.1

0 comments on commit 0593a05

Please sign in to comment.