Skip to content

Linking netsocket pulls in too many dependencies #17

Open
@multiplemonomials

Description

@multiplemonomials

With how the CMake build system is currently set up, if you link the netsocket library, you get:

  • lwipstack (plus PPP)
  • nanostack (plus CoAP dependencies)
  • Ethernet MAC driver, if one exists for your target (mbed-emac)
  • 10+ different external cellular module drivers (via mbed-cellular)
  • several different external wifi module drivers (via mbed-wifi)

This seems a little excessive considering that most people will probably only be interested in one IP stack plus either ethernet or cellular. Maybe we should create a config option (or find an existing one) that selects between LwIP and Nanostack. Also, maybe we could hide the cellular and wifi drivers behind COMPONENT_ labels so they aren't enabled by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UsabilityThis makes Mbed harder to use, and needs to be cleaned up.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions