Mbed-os: TARGET_STM does not have ethernet abstraction layer like TARGET_NXP has

Created on 20 Jun 2017  路  7Comments  路  Source: ARMmbed/mbed-os

In target.json
image
For few targets they have both LWIP and ethernet(mbed) abstraction. While for STM it is not yet present. Are there future plans for the same?
@bcostm @emilmont

Most helpful comment

  • "device_has": "ETHERNET" is a deprecated tag we are moving away from.
  • "features": "LWIP" enables the LWIP network stack, which is how we currently provide ethernet support. Currently this requires an implementation of the lwip netif api, these currently live here.
  • We are also working on introducing "device_has": "ETH" for ethernet support in https://github.com/ARMmbed/mbed-os/pull/4079, but this is a work in progress.

@bulislaw, feel free to correct me if I'm wrong

All 7 comments

Hi,

I think only the LWIP feature is used to enable the Ethernet. @0xc0170 do you confirm ?

I checked the targets.json and the ETHERNET (in "device_has" field) is no more present on STM boards. The LWIP feature is on the boards:

DISCO_F746NG
DISCO_F769NI
NUCLEO_F207ZG
NUCLEO_F429ZI
NUCLEO_F439ZI
NUCLEO_F746ZG
NUCLEO_F756ZG
NUCLEO_F767ZI

cc @adustm @LMESTM @jeromecoutant

  • "device_has": "ETHERNET" is a deprecated tag we are moving away from.
  • "features": "LWIP" enables the LWIP network stack, which is how we currently provide ethernet support. Currently this requires an implementation of the lwip netif api, these currently live here.
  • We are also working on introducing "device_has": "ETH" for ethernet support in https://github.com/ARMmbed/mbed-os/pull/4079, but this is a work in progress.

@bulislaw, feel free to correct me if I'm wrong

@bulislaw @geky:

Instead of deprecateing "ETHERNET" and adding "ETH", why not just use "ETHERNET" without deprecating it?

@geky @bcostm Does ETHERNET via LWIP is fully supported on ST targets now like the other peripherals? how are netif APIs called using ethernet abstraction? I was trying to find the bind but could not find that here:

Does ETHERNET via LWIP is fully supported on ST targets now like the other peripherals?

Yes

@peeyushpashine Can this be closed?

@0xc0170 Sure.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pilotak picture pilotak  路  3Comments

sarahmarshy picture sarahmarshy  路  4Comments

bcostm picture bcostm  路  4Comments

cesarvandevelde picture cesarvandevelde  路  4Comments

davidantaki picture davidantaki  路  3Comments