lwIP compiling
This commit is contained in:
parent
20842a26af
commit
1176959a93
@ -5,10 +5,11 @@
|
|||||||
#include "app_dhcp.h"
|
#include "app_dhcp.h"
|
||||||
#include <hardware_init.h>
|
#include <hardware_init.h>
|
||||||
|
|
||||||
#include <fsfw/ipc/MutexGuard.h>
|
#include "fsfw/ipc/MutexGuard.h"
|
||||||
#include <fsfw/serviceinterface/ServiceInterface.h>
|
#include "fsfw/serviceinterface/ServiceInterface.h"
|
||||||
|
#include "fsfw/objectmanager/ObjectManager.h"
|
||||||
|
|
||||||
#include <lwip/timeouts.h>
|
#include "lwip/timeouts.h"
|
||||||
|
|
||||||
UdpTcLwIpPollingTask::UdpTcLwIpPollingTask(object_id_t objectId, object_id_t bridgeId):
|
UdpTcLwIpPollingTask::UdpTcLwIpPollingTask(object_id_t objectId, object_id_t bridgeId):
|
||||||
SystemObject(objectId), periodicHandleCounter(0), bridgeId(bridgeId) {
|
SystemObject(objectId), periodicHandleCounter(0), bridgeId(bridgeId) {
|
||||||
@ -18,7 +19,7 @@ UdpTcLwIpPollingTask::~UdpTcLwIpPollingTask() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t UdpTcLwIpPollingTask::initialize() {
|
ReturnValue_t UdpTcLwIpPollingTask::initialize() {
|
||||||
udpBridge = objectManager->get<TmTcLwIpUdpBridge>(bridgeId);
|
udpBridge = ObjectManager::instance()->get<TmTcLwIpUdpBridge>(bridgeId);
|
||||||
if(udpBridge == nullptr) {
|
if(udpBridge == nullptr) {
|
||||||
return ObjectManagerIF::CHILD_INIT_FAILED;
|
return ObjectManagerIF::CHILD_INIT_FAILED;
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
#include "app_dhcp.h"
|
#include "app_dhcp.h"
|
||||||
#include "app_ethernet.h"
|
#include "app_ethernet.h"
|
||||||
#include <common/stm32_nucleo/networking/udp_config.h>
|
#include "OBSWConfig.h"
|
||||||
#include <common/stm32_nucleo/networking/ethernetif.h>
|
|
||||||
#include <OBSWConfig.h>
|
|
||||||
|
|
||||||
#include <lwip/dhcp.h>
|
#include "example_common/stm32h7/networking/udp_config.h"
|
||||||
#include <stm32h7xx_nucleo.h>
|
#include "example_common/stm32h7/networking/ethernetif.h"
|
||||||
|
|
||||||
|
#include "lwip/dhcp.h"
|
||||||
|
#include "stm32h7xx_nucleo.h"
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <lwipopts.h>
|
#include "lwipopts.h"
|
||||||
|
|
||||||
#if LWIP_DHCP == 1
|
#if LWIP_DHCP == 1
|
||||||
|
|
||||||
#include <lwip/netif.h>
|
#include "lwip/netif.h"
|
||||||
|
|
||||||
/* DHCP process states */
|
/* DHCP process states */
|
||||||
#define DHCP_OFF (uint8_t) 0
|
#define DHCP_OFF (uint8_t) 0
|
||||||
|
Loading…
Reference in New Issue
Block a user