mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/esp32_sdk_lib: upgrade to ESP-IDF v4.4
This commit is contained in:
parent
61f104fcab
commit
bf0b1716fc
@ -21,7 +21,8 @@ rsource "driver_sx126x/Kconfig"
|
||||
rsource "elk/Kconfig"
|
||||
rsource "emlearn/Kconfig"
|
||||
rsource "esp32_sdk/Kconfig"
|
||||
rsource "esp32_sdk_libs/Kconfig"
|
||||
rsource "esp32_sdk_lib_phy/Kconfig"
|
||||
rsource "esp32_sdk_lib_wifi/Kconfig"
|
||||
rsource "esp8266_sdk/Kconfig"
|
||||
rsource "etl/Kconfig"
|
||||
rsource "fff/Kconfig"
|
||||
|
@ -5,9 +5,9 @@
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config PACKAGE_ESP32_SDK_LIBS
|
||||
bool "ESP32 SDK libraries for the ESP32 MCU support"
|
||||
config PACKAGE_ESP32_SDK_LIB_PHY
|
||||
bool "ESP32 SDK libraries for the ESP32 SoC support"
|
||||
depends on TEST_KCONFIG
|
||||
depends on HAS_ARCH_ESP32
|
||||
help
|
||||
Vendor SDK libraries for ESP32 MCU support by Espressif
|
||||
Vendor SDK libraries for ESP32 SoC support by Espressif
|
10
pkg/esp32_sdk_lib_phy/Makefile
Normal file
10
pkg/esp32_sdk_lib_phy/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
PKG_NAME=esp32_sdk_lib_phy
|
||||
PKG_URL=https://github.com/espressif/esp-phy-lib
|
||||
# This is a version in the v4.4 release branch
|
||||
PKG_VERSION=4779ddaaf29e1d6aa2d26980103a1c1bbaa29462
|
||||
PKG_LICENSE=Apache-2.0
|
||||
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
||||
# there is nothing to compile
|
||||
all:
|
3
pkg/esp32_sdk_lib_phy/Makefile.include
Normal file
3
pkg/esp32_sdk_lib_phy/Makefile.include
Normal file
@ -0,0 +1,3 @@
|
||||
export ESP32_SDK_LIB_PHY_DIR ?= $(PKGDIRBASE)/esp32_sdk_lib_phy
|
||||
|
||||
PSEUDOMODULES += esp32_sdk_lib_phy
|
6
pkg/esp32_sdk_lib_phy/doc.txt
Normal file
6
pkg/esp32_sdk_lib_phy/doc.txt
Normal file
@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @defgroup pkg_esp32_sdk_lib_phy ESP32 SDK libraries for the ESP32 SoC support
|
||||
* @ingroup pkg_esp32_sdk
|
||||
* @brief Vendor SDK libraries for ESP32 SoC support by Espressif
|
||||
* @see https://github.com/espressif/esp-phy-lib
|
||||
*/
|
13
pkg/esp32_sdk_lib_wifi/Kconfig
Normal file
13
pkg/esp32_sdk_lib_wifi/Kconfig
Normal file
@ -0,0 +1,13 @@
|
||||
# Copyright (c) 2021 Gunar Schorcht
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config PACKAGE_ESP32_SDK_LIB_WIFI
|
||||
bool "ESP32 SDK libraries for the ESP32 WiFi support"
|
||||
depends on TEST_KCONFIG
|
||||
depends on HAS_ARCH_ESP32
|
||||
help
|
||||
Vendor SDK libraries for ESP32 WiFi support by Espressif
|
10
pkg/esp32_sdk_lib_wifi/Makefile
Normal file
10
pkg/esp32_sdk_lib_wifi/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
PKG_NAME=esp32_sdk_lib_wifi
|
||||
PKG_URL=https://github.com/espressif/esp32-wifi-lib
|
||||
# This is a version in the v4.4 release branch
|
||||
PKG_VERSION=cd7d14917f2c3d0ea4382f4a188cb290304faf47
|
||||
PKG_LICENSE=Apache-2.0
|
||||
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
||||
# there is nothing to compile
|
||||
all:
|
2
pkg/esp32_sdk_lib_wifi/Makefile.dep
Normal file
2
pkg/esp32_sdk_lib_wifi/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
# This package can only be used with the ESP32 CPU
|
||||
FEATURES_REQUIRED += arch_esp32
|
3
pkg/esp32_sdk_lib_wifi/Makefile.include
Normal file
3
pkg/esp32_sdk_lib_wifi/Makefile.include
Normal file
@ -0,0 +1,3 @@
|
||||
export ESP32_SDK_LIB_WIFI_DIR ?= $(PKGDIRBASE)/esp32_sdk_lib_wifi
|
||||
|
||||
PSEUDOMODULES += esp32_sdk_lib_wifi
|
6
pkg/esp32_sdk_lib_wifi/doc.txt
Normal file
6
pkg/esp32_sdk_lib_wifi/doc.txt
Normal file
@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @defgroup pkg_esp32_sdk_lib_wifi ESP32 SDK libraries for the ESP32 WiFi support
|
||||
* @ingroup pkg_esp32_sdk
|
||||
* @brief Vendor SDK libraries for ESP32 WiFi support by Espressif
|
||||
* @see https://github.com/espressif/esp32-wifi-lib
|
||||
*/
|
@ -1,41 +0,0 @@
|
||||
PKG_NAME=esp32_sdk_libs
|
||||
PKG_URL=https://github.com/espressif/esp32-wifi-lib
|
||||
# This is a version in the v3.1 beta1 release branch
|
||||
PKG_VERSION=534a9b14101af90231d40a4f94924d67bc848d5f
|
||||
PKG_LICENSE=Apache-2.0
|
||||
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
||||
ESP32_SDK_DIR = $(PKGDIRBASE)/esp32_sdk
|
||||
|
||||
# Directory where we place the libraries and headers.
|
||||
ESP32_SDK_BUILD_DIR = $(ESP32_SDK_DIR)/build-libs
|
||||
|
||||
# We need to place all binary libraries shipped with the SDK in a common
|
||||
# directory.
|
||||
ESP32_SDK_COMPONENT_LIBS = \
|
||||
libcoexist.a \
|
||||
libcore.a \
|
||||
libespnow.a \
|
||||
libmesh.a \
|
||||
libnet80211.a \
|
||||
libphy.a \
|
||||
libpp.a \
|
||||
librtc.a \
|
||||
libsmartconfig.a \
|
||||
libwpa.a \
|
||||
libwpa2.a \
|
||||
libwps.a
|
||||
|
||||
ESP32_SDK_LIBS = $(addprefix $(ESP32_SDK_BUILD_DIR)/, $(ESP32_SDK_COMPONENT_LIBS))
|
||||
|
||||
all: $(ESP32_SDK_LIBS)
|
||||
|
||||
$(PKG_PREPARED): $(ESP32_SDK_BUILD_DIR)
|
||||
|
||||
$(ESP32_SDK_BUILD_DIR): $(PKG_PATCHED)
|
||||
$(Q)mkdir -p $(ESP32_SDK_BUILD_DIR)
|
||||
|
||||
$(ESP32_SDK_BUILD_DIR)/lib%.a: \
|
||||
$(PKG_SOURCE_DIR)/lib%.a | $(ESP32_SDK_BUILD_DIR)
|
||||
$(Q)cp $? $(ESP32_SDK_BUILD_DIR)
|
@ -1,13 +0,0 @@
|
||||
# Directory with the SDK source checkout. Some modules in the cpu/esp32 use
|
||||
# internal parts of the SDK and for that they need access to the
|
||||
# ESP32_SDK_DIR path.
|
||||
export ESP32_SDK_DIR = $(PKGDIRBASE)/esp32_sdk
|
||||
|
||||
# Directory where we built the modified libraries and headers.
|
||||
ESP32_SDK_BUILD_DIR ?= $(ESP32_SDK_DIR)/build-libs
|
||||
|
||||
# Modified binary libraries are built here in the Makefile.
|
||||
LINKFLAGS += -L$(ESP32_SDK_BUILD_DIR)
|
||||
|
||||
# esp32_sdk_libs doesn't generate any .a
|
||||
PSEUDOMODULES += esp32_sdk_libs
|
@ -1,6 +0,0 @@
|
||||
/**
|
||||
* @defgroup pkg_esp32_sdk_libs ESP32 SDK libraries for the ESP32 MCU support
|
||||
* @ingroup pkg_esp32_sdk
|
||||
* @brief Vendor SDK libraries for ESP32 MCU support by Espressif
|
||||
* @see https://github.com/espressif/esp32-wifi-lib
|
||||
*/
|
Loading…
Reference in New Issue
Block a user