[core] Move library include wrappers to common

This commit is contained in:
Kuba Szczodrzyński
2022-07-20 21:41:07 +02:00
parent 1d41d84083
commit f375a35cc8
10 changed files with 8 additions and 5 deletions

View File

@@ -51,6 +51,7 @@ def env_add_defaults(env, platform, board):
env.Prepend(
CPPPATH=[
"$LT_DIR/platform/common/fixups",
"$LT_DIR/platform/common/fixups/lib_inc",
"$BOARD_DIR",
"$FAMILY_DIR/fixups",
"$PARENT_DIR/fixups",

View File

@@ -0,0 +1,5 @@
/* Copyright (c) Kuba Szczodrzyński 2022-07-20. */
#pragma once
#include <lwip/netif.h>

View File

@@ -7,4 +7,6 @@
// this is included only by wifi_simple_config.c
// which uses lwip_ntohl without parentheses
// so the #define from lwip/def.h doesn't work
#ifndef lwip_ntohl
#define lwip_ntohl lwip_htonl
#endif

View File

@@ -1,5 +0,0 @@
/* Copyright (c) Kuba Szczodrzyński 2022-05-23. */
#pragma once
#include <lwip/sockets.h>