need to refactor networking code
This commit is contained in:
14
stm32h7/networking/networking.h
Normal file
14
stm32h7/networking/networking.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef BSP_STM32H7_RTEMS_NETWORKING_NETWORKING_H_
|
||||
#define BSP_STM32H7_RTEMS_NETWORKING_NETWORKING_H_
|
||||
|
||||
#include <lwip/netif.h>
|
||||
|
||||
namespace networking {
|
||||
|
||||
void setEthCableConnected(bool status);
|
||||
bool getEthCableConnected();
|
||||
void setLwipAddresses(ip_addr_t* ipaddr, ip_addr_t* netmask, ip_addr_t* gw);
|
||||
|
||||
}
|
||||
|
||||
#endif /* BSP_STM32H7_RTEMS_NETWORKING_NETWORKING_H_ */
|
Reference in New Issue
Block a user