linking against lwip now

This commit is contained in:
2021-07-16 12:29:02 +02:00
parent 40ddaf1b40
commit fdc10c9f25
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,10 @@
#include "hardware_init.h"
void hardware_init() {
#include <rtems_lwip/rtems_lwip.h>
#include <rtems_lwip/ethernetif.h>
#include <rtems_lwip/app_ethernet.h>
#include <rtems_lwip/app_dhcp.h>
void hardware_init() {
rtems_lwip_init(NULL, &ethernet_link_status_updated);
}