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 24, 2024
1 parent 0ce1192 commit 0a3c2a5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
6 changes: 5 additions & 1 deletion common_examples/simple-ethernet/main/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ dependencies:
ethernet_init:
version: '*'
# For local development use the local copy of the component
override_path: '../../../ethernet_init/'
override_path: '../../../'
espressif/lan867x:
rules:
- if: "target in [esp32, esp32p4]"
override_path: '../../../'
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
3 changes: 3 additions & 0 deletions 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 Down

0 comments on commit 0a3c2a5

Please sign in to comment.