mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 11:36:59 +03:00
retrofit to gcc8/CMake
This commit is contained in:
1
components/esp-dsp
Submodule
1
components/esp-dsp
Submodule
Submodule components/esp-dsp added at 8b082c1071
7
components/platform_config/CMakeLists.txt
Normal file
7
components/platform_config/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
idf_component_register(SRCS "nvs_utilities.c" "platform_config.c"
|
||||
INCLUDE_DIRS .
|
||||
INCLUDE_DIRS . ../tools/
|
||||
REQUIRES nvs_flash json platform_console services vfs
|
||||
)
|
||||
|
||||
|
||||
7
components/platform_console/CMakeLists.txt
Normal file
7
components/platform_console/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
set(COMPONENT_ADD_INCLUDEDIRS .)
|
||||
|
||||
set(COMPONENT_SRCS "platform_console.c" "cmd_ota.c" "cmd_nvs.c" "cmd_i2ctools.c" "cmd_squeezelite.c" "cmd_system.c" "cmd_wifi.c" )
|
||||
|
||||
set(COMPONENT_REQUIRES console nvs_flash spi_flash app_update platform_config vfs pthread wifi-manager)
|
||||
|
||||
register_component()
|
||||
12
components/platform_console/component.mk
Normal file
12
components/platform_console/component.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Component Makefile
|
||||
#
|
||||
# This Makefile should, at the very least, just include $(SDK_PATH)/Makefile. By default,
|
||||
# this will take the sources in the src/ directory, compile them and link them into
|
||||
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
|
||||
# please read the SDK documents if you need to do this.
|
||||
#
|
||||
|
||||
COMPONENT_ADD_INCLUDEDIRS := .
|
||||
COMPONENT_EXTRA_INCLUDES += $(PROJECT_PATH)/components/tools/
|
||||
COMPONENT_EXTRA_INCLUDES += $(PROJECT_PATH)/main
|
||||
6
components/squeezelite-ota/CMakeLists.txt
Normal file
6
components/squeezelite-ota/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
idf_component_register(SRCS "squeezelite-ota.c"
|
||||
INCLUDE_DIRS .
|
||||
REQUIRES console spi_flash console freertos platform_console esp_https_ota
|
||||
)
|
||||
|
||||
|
||||
4
components/tools/CMakeLists.txt
Normal file
4
components/tools/CMakeLists.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
idf_component_register(SRCS "utf8.c"
|
||||
REQUIRES esp_common pthread
|
||||
INCLUDE_DIRS .
|
||||
)
|
||||
Reference in New Issue
Block a user