Skip to content

Conversation

@Romaric-RILLET
Copy link

Summary

When there is no ethernet cable connected to board, avoid fail/timeout in LAN constructor.
It permit to use the status method of the LAN object to check if the physical Ethernet link is connected.

Testing

Tested with Teensy 4.1 board

@github-actions
Copy link

Code size report:

   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
     mimxrt:    +0 +0.000% TEENSY40
        rp2:    +0 +0.000% RPI_PICO_W
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

When there is no ethernet cable connected to board,
avoid fail/timeout in LAN constructor.
It permit to use the status method of the LAN object to
check if the physical Ethernet link is connected.

Signed-off-by: Romaric-RILLET <romaric.rillet@gmail.com>
@Romaric-RILLET Romaric-RILLET force-pushed the fix-mimrxt-auto-negotiation-after-active branch from 5add897 to 82c6c30 Compare November 14, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants