open_esplibs: add a skeleton for code in more libraries. (#266)
This commit is contained in:
parent
7c702d7f09
commit
bc50c7c2fc
21 changed files with 297 additions and 21 deletions
|
@ -5,11 +5,47 @@ INC_DIRS += $(open_esplibs_ROOT)include
|
|||
$(eval $(call component_compile_rules,open_esplibs))
|
||||
|
||||
# args for passing into compile rule generation
|
||||
open_esplibs_libmain_ROOT = $(open_esplibs_libmain_DEFAULT_ROOT)libmain
|
||||
open_esplibs_libmain_ROOT = $(open_esplibs_ROOT)libmain
|
||||
open_esplibs_libmain_INC_DIR =
|
||||
open_esplibs_libmain_SRC_DIR = $(open_esplibs_libmain_ROOT)
|
||||
open_esplibs_libmain_EXTRA_SRC_FILES =
|
||||
|
||||
open_esplibs_libmain_CFLAGS = $(CFLAGS)
|
||||
open_esplibs_libmain_WHOLE_ARCHIVE = yes
|
||||
|
||||
$(eval $(call component_compile_rules,open_esplibs_libmain))
|
||||
|
||||
open_esplibs_libnet80211_ROOT = $(open_esplibs_ROOT)libnet80211
|
||||
open_esplibs_libnet80211_INC_DIR =
|
||||
open_esplibs_libnet80211_SRC_DIR = $(open_esplibs_libnet80211_ROOT)
|
||||
open_esplibs_libnet80211_EXTRA_SRC_FILES =
|
||||
open_esplibs_libnet80211_CFLAGS = $(CFLAGS)
|
||||
open_esplibs_libnet80211_WHOLE_ARCHIVE = yes
|
||||
|
||||
$(eval $(call component_compile_rules,open_esplibs_libnet80211))
|
||||
|
||||
open_esplibs_libphy_ROOT = $(open_esplibs_ROOT)libphy
|
||||
open_esplibs_libphy_INC_DIR =
|
||||
open_esplibs_libphy_SRC_DIR = $(open_esplibs_libphy_ROOT)
|
||||
open_esplibs_libphy_EXTRA_SRC_FILES =
|
||||
open_esplibs_libphy_CFLAGS = $(CFLAGS)
|
||||
open_esplibs_libphy_WHOLE_ARCHIVE = yes
|
||||
|
||||
$(eval $(call component_compile_rules,open_esplibs_libphy))
|
||||
|
||||
open_esplibs_libpp_ROOT = $(open_esplibs_ROOT)libpp
|
||||
open_esplibs_libpp_INC_DIR =
|
||||
open_esplibs_libpp_SRC_DIR = $(open_esplibs_libpp_ROOT)
|
||||
open_esplibs_libpp_EXTRA_SRC_FILES =
|
||||
open_esplibs_libpp_CFLAGS = $(CFLAGS)
|
||||
open_esplibs_libpp_WHOLE_ARCHIVE = yes
|
||||
|
||||
$(eval $(call component_compile_rules,open_esplibs_libpp))
|
||||
|
||||
open_esplibs_libwpa_ROOT = $(open_esplibs_ROOT)libwpa
|
||||
open_esplibs_libwpa_INC_DIR =
|
||||
open_esplibs_libwpa_SRC_DIR = $(open_esplibs_libwpa_ROOT)
|
||||
open_esplibs_libwpa_EXTRA_SRC_FILES =
|
||||
open_esplibs_libwpa_CFLAGS = $(CFLAGS)
|
||||
open_esplibs_libwpa_WHOLE_ARCHIVE = yes
|
||||
|
||||
$(eval $(call component_compile_rules,open_esplibs_libwpa))
|
||||
|
|
|
@ -36,4 +36,83 @@
|
|||
#define OPEN_LIBMAIN_USER_INTERFACE (OPEN_LIBMAIN)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBNET80211
|
||||
#define OPEN_LIBNET80211 (OPEN_ESPLIBS)
|
||||
#endif
|
||||
#ifndef OPEN_LIBNET80211_ETS
|
||||
#define OPEN_LIBNET80211_ETS (OPEN_LIBNET80211)
|
||||
#endif
|
||||
#ifndef OPEN_LIBNET80211_HOSTAP
|
||||
#define OPEN_LIBNET80211_HOSTAP (OPEN_LIBNET80211)
|
||||
#endif
|
||||
#ifndef OPEN_LIBNET80211_INPUT
|
||||
#define OPEN_LIBNET80211_INPUT (OPEN_LIBNET80211)
|
||||
#endif
|
||||
#ifndef OPEN_LIBNET80211_STA
|
||||
#define OPEN_LIBNET80211_STA (OPEN_LIBNET80211)
|
||||
#endif
|
||||
#ifndef OPEN_LIBNET80211_WL_CNX
|
||||
#define OPEN_LIBNET80211_WL_CNX (OPEN_LIBNET80211)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPHY
|
||||
#define OPEN_LIBPHY (OPEN_ESPLIBS)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPHY_PHY_ANA
|
||||
#define OPEN_LIBPHY_PHY_ANA (OPEN_LIBPHY)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPHY_PHY_CAL
|
||||
#define OPEN_LIBPHY_PHY_CAL (OPEN_LIBPHY)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPHY_PHY_CHIP_V6
|
||||
#define OPEN_LIBPHY_PHY_CHIP_V6 (OPEN_LIBPHY)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPHY_PHY
|
||||
#define OPEN_LIBPHY_PHY (OPEN_LIBPHY)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPHY_PHY_SLEEP
|
||||
#define OPEN_LIBPHY_PHY_SLEEP (OPEN_LIBPHY)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPP
|
||||
#define OPEN_LIBPP (OPEN_ESPLIBS)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPP_ESF_BUF
|
||||
#define OPEN_LIBPP_ESF_BUF (OPEN_LIBPP)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPP_IF_HWCTRL
|
||||
#define OPEN_LIBPP_IF_HWCTRL (OPEN_LIBPP)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPP_LMAC
|
||||
#define OPEN_LIBPP_LMAC (OPEN_LIBPP)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPP_PM
|
||||
#define OPEN_LIBPP_PM (OPEN_LIBPP)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPP_PP
|
||||
#define OPEN_LIBPP_PP (OPEN_LIBPP)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBPP_WDEV
|
||||
#define OPEN_LIBPP_WDEV (OPEN_LIBPP)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBWPA
|
||||
#define OPEN_LIBWPA (OPEN_ESPLIBS)
|
||||
#endif
|
||||
|
||||
#ifndef OPEN_LIBWPA_WPA_MAIN
|
||||
#define OPEN_LIBWPA_WPA_MAIN (OPEN_LIBWPA)
|
||||
#endif
|
||||
|
||||
#endif /* _OPEN_ESPLIBS_H */
|
||||
|
|
10
open_esplibs/libnet80211/ieee80211_ets.c
Normal file
10
open_esplibs/libnet80211/ieee80211_ets.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* Recreated Espressif libnet80211 ieee80211_ets.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBNET80211_ETS
|
||||
// The contents of this file are only built if OPEN_LIBNET80211_ETS is set to true
|
||||
|
||||
#endif /* OPEN_LIBNET80211_ETS */
|
10
open_esplibs/libnet80211/ieee80211_hostap.c
Normal file
10
open_esplibs/libnet80211/ieee80211_hostap.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* Recreated Espressif libnet80211 ieee80211_hostap.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBNET80211_HOSTAP
|
||||
// The contents of this file are only built if OPEN_LIBNET80211_HOSTAP is set to true
|
||||
|
||||
#endif /* OPEN_LIBNET80211_HOSTAP */
|
11
open_esplibs/libnet80211/ieee80211_input.c
Normal file
11
open_esplibs/libnet80211/ieee80211_input.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libnet80211 ieee80211_input.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBNET80211_INPUT
|
||||
// The contents of this file are only built if OPEN_LIBNET80211_INPUT is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBNET80211_INPUT */
|
11
open_esplibs/libnet80211/ieee80211_sta.c
Normal file
11
open_esplibs/libnet80211/ieee80211_sta.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libnet80211 ieee80211_sta.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBNET80211_STA
|
||||
// The contents of this file are only built if OPEN_LIBNET80211_STA is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBNET80211_STA */
|
11
open_esplibs/libnet80211/wl_cnx.c
Normal file
11
open_esplibs/libnet80211/wl_cnx.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libnet80211 wl_cnx.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBNET80211_WL_CNX
|
||||
// The contents of this file are only built if OPEN_LIBNET80211_WL_CNX is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBNET80211_WL_CNX */
|
11
open_esplibs/libphy/phy.c
Normal file
11
open_esplibs/libphy/phy.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libphy phy.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBNET80211_WL_CNX
|
||||
// The contents of this file are only built if OPEN_LIBPHY_PHY is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBPHY_PHY */
|
11
open_esplibs/libphy/phy_chip_v6.c
Normal file
11
open_esplibs/libphy/phy_chip_v6.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libphy phy_chip_v6.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBNET80211_WL_CNX
|
||||
// The contents of this file are only built if OPEN_LIBPHY_PHY_CHIP_V6 is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBPHY_PHY_CHIP_V6 */
|
11
open_esplibs/libphy/phy_sleep.c
Normal file
11
open_esplibs/libphy/phy_sleep.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libphy phy_chip_sleep.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBNET80211_WL_CNX
|
||||
// The contents of this file are only built if OPEN_LIBPHY_PHY_CHIP_SLEEP is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBPHY_PHY_CHIP_SLEEP */
|
11
open_esplibs/libpp/esf_buf.c
Normal file
11
open_esplibs/libpp/esf_buf.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libpp esf_buf.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBPP_ESF_BUF
|
||||
// The contents of this file are only built if OPEN_LIBPHY_PHY_CHIP_SLEEP is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBPP_ESF_BUF */
|
11
open_esplibs/libpp/if_hwctrl.c
Normal file
11
open_esplibs/libpp/if_hwctrl.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libpp if_hwctrl.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBPP_IF_HWCTRL
|
||||
// The contents of this file are only built if OPEN_LIBPHY_PHY_CHIP_SLEEP is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBPP_IF_HWCTRL */
|
11
open_esplibs/libpp/lmac.c
Normal file
11
open_esplibs/libpp/lmac.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libpp lmac.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBPP_LMAC
|
||||
// The contents of this file are only built if OPEN_LIBPHY_PHY_CHIP_SLEEP is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBPP_LMAC */
|
11
open_esplibs/libpp/pm.c
Normal file
11
open_esplibs/libpp/pm.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libpp pm.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBPP_PM
|
||||
// The contents of this file are only built if OPEN_LIBPHY_PHY_CHIP_SLEEP is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBPP_PM */
|
11
open_esplibs/libpp/pp.c
Normal file
11
open_esplibs/libpp/pp.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libpp pp.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBPP_PP
|
||||
// The contents of this file are only built if OPEN_LIBPHY_PHY_CHIP_SLEEP is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBPP_PP */
|
11
open_esplibs/libpp/wdev.c
Normal file
11
open_esplibs/libpp/wdev.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libpp wdev.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBPP_WDEV
|
||||
// The contents of this file are only built if OPEN_LIBPHY_PHY_CHIP_SLEEP is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBPP_WDEV */
|
11
open_esplibs/libwpa/wpa_main.c
Normal file
11
open_esplibs/libwpa/wpa_main.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Recreated Espressif libwpa wpa_main.o contents.
|
||||
|
||||
Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries.
|
||||
BSD Licensed as described in the file LICENSE
|
||||
*/
|
||||
#include "open_esplibs.h"
|
||||
#if OPEN_LIBWPA_WPA_MAIN
|
||||
// The contents of this file are only built if OPEN_LIBWPA_WPA_MAIN is set to true
|
||||
|
||||
|
||||
#endif /* OPEN_LIBWPA_WPA_MAIN */
|
Loading…
Add table
Add a link
Reference in a new issue