Open
Description
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.