Networking update: general refactoring, unifying EMAC
Initial work by Bartek Szatkowski in https://github.com/ARMmbed/mbed-os/pull/4079, reworked following review of https://github.com/ARMmbed/mbed-os/pull/5202 to transform the entire system into C++, retaining the basic functionality. Bartek's summary: * Porting ethernet to EMAC * Updating EMAC to enable multiple interfaces * Untangling networking classes, making the abstractions a bit clearer to follow, etc * General refactoring * Removal of DEVICE_EMAC flag and introducing DEVICE_ETH and DEVICE_WIFI Revisions since initial branch: * Remove lwip depencies * Correct doxygen warnings * Remove emac_api.h, replace with C++ EMAC abstract class. * Create OnboardNetworkInterface, and LWIP implementation. * Mappings since #4079 lwip-interface/nsapi_stack_lwip.c -> LWIPStack.cpp lwip-interface/ipstack_lwip.c -> LWIPInterface.cpp netsocket/mbed_ipstack.h -> OnboardNetworkStack.h hal/emac_api.h -> EMAC.h * Reinstate use of EthInterface abstraction * Correct and clarify HW address EMAC ops * Restore MBED_MAC_ADDR implementation * Integrate PPP support with LWIP::Interface. * Convert K64F lwIP driver to K64F_EMAC. To do: * Convert emac_stack_mem.h to follow this pattern. * Figure out DEVICE_ETH/EMAC * Update all drivers to use EMAC |
---|
|
doxyfile_options |
---|
features/FEATURE_LWIP/lwip-interface/EthernetInterface.cpp 100644 → 0 |
---|
features/FEATURE_LWIP/lwip-interface/EthernetInterface.h 100644 → 0 |
---|
features/FEATURE_LWIP/lwip-interface/LWIPInterface.cpp 0 → 100644 |
---|
features/FEATURE_LWIP/lwip-interface/LWIPInterfaceEMAC.cpp 0 → 100644 |
---|
features/FEATURE_LWIP/lwip-interface/LWIPStack.cpp 0 → 100644 |
---|
features/FEATURE_LWIP/lwip-interface/LWIPStack.h 0 → 100644 |
---|
features/FEATURE_LWIP/lwip-interface/emac_lwip.c 100644 → 0 |
---|
features/FEATURE_LWIP/lwip-interface/emac_stack_lwip.cpp 100644 → 0 |
---|
features/FEATURE_LWIP/lwip-interface/emac_stack_mem_lwip.c 0 → 100644 |
---|
features/FEATURE_LWIP/lwip-interface/eth_arch.h 100644 → 0 |
---|
features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_Freescale/k64f_emac.c 100644 → 0 |
---|
features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_Freescale/k64f_emac.cpp 0 → 100644 |
---|
features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_Freescale/k64f_emac.h 0 → 100644 |
---|
features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_Freescale/k64f_emac_config.h |
---|
features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_Freescale/lwipopts_conf.h |
---|
features/FEATURE_LWIP/lwip-interface/lwip_stack.c 100644 → 0 |
---|
Too large (Show diff)
|
features/FEATURE_LWIP/lwip-interface/lwip_stack.h 100644 → 0 |
---|
features/FEATURE_LWIP/lwip-interface/lwip_tools.cpp 0 → 100644 |
---|
features/FEATURE_LWIP/lwip-interface/ppp_lwip.cpp |
---|
features/FEATURE_LWIP/lwip-interface/ppp_lwip.h |
---|
features/netsocket/EMAC.h 0 → 100644 |
---|
features/netsocket/EthernetInterface.cpp 0 → 100644 |
---|
features/netsocket/EthernetInterface.h 0 → 100644 |
---|
features/netsocket/NetworkStack.cpp |
---|
features/netsocket/NetworkStack.h |
---|
features/netsocket/OnboardNetworkStack.h 0 → 100644 |
---|
features/netsocket/emac_stack_mem.h |
---|
features/netsocket/mbed_lib.json |
---|
hal/emac_api.h 100644 → 0 |
---|
targets/targets.json |
---|