retrofit to gcc8/CMake

This commit is contained in:
Sebastien
2020-03-04 13:02:14 -05:00
parent c97f9e2c59
commit f998ea2a52
10 changed files with 73 additions and 0 deletions

1
components/esp-dsp Submodule

Submodule components/esp-dsp added at 8b082c1071

View 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
)

View 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()

View 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

View 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
)

View File

@@ -0,0 +1,4 @@
idf_component_register(SRCS "utf8.c"
REQUIRES esp_common pthread
INCLUDE_DIRS .
)