Merge branch 'feature/use_package_manager_for_rainmaker' into 'master'
feat: Use package manager for rainmaker Closes AEG-255 See merge request ae_group/esp-box!52
This commit is contained in:
@@ -4,6 +4,3 @@
|
||||
[submodule "components/esp-sr"]
|
||||
path = components/esp-sr
|
||||
url = https://github.com/espressif/esp-sr.git
|
||||
[submodule "components/esp-rainmaker"]
|
||||
path = components/esp-rainmaker
|
||||
url = https://github.com/espressif/esp-rainmaker.git
|
||||
|
||||
Submodule components/esp-rainmaker deleted from bfd78d6f67
@@ -4,17 +4,9 @@ cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
if(DEFINED ENV{RMAKER_PATH})
|
||||
set(RMAKER_PATH $ENV{RMAKER_PATH})
|
||||
else()
|
||||
set(RMAKER_PATH ${CMAKE_CURRENT_LIST_DIR}/../../components/esp-rainmaker)
|
||||
message("-- Not find RMAKER_PATH, default is ${RMAKER_PATH}")
|
||||
endif(DEFINED ENV{RMAKER_PATH})
|
||||
|
||||
set(EXTRA_COMPONENT_DIRS
|
||||
../../components
|
||||
$ENV{IDF_PATH}/examples/common_components
|
||||
${RMAKER_PATH}/components
|
||||
)
|
||||
|
||||
add_compile_options(-fdiagnostics-color=always)
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
## IDF Component Manager Manifest File
|
||||
dependencies:
|
||||
chmorgan/esp-audio-player: "1.0.3"
|
||||
chmorgan/esp-file-iterator: "1.0.0"
|
||||
chmorgan/esp-libhelix-mp3: "1.0.3"
|
||||
|
||||
espressif/esp_rainmaker:
|
||||
path: components/esp_rainmaker
|
||||
git: https://github.com/espressif/esp-rainmaker.git
|
||||
espressif/esp_schedule:
|
||||
path: components/esp_schedule
|
||||
git: https://github.com/espressif/esp-rainmaker.git
|
||||
espressif/led_strip:
|
||||
version: "~2.0.0"
|
||||
rules:
|
||||
- if: "idf_version >=5.0"
|
||||
chmorgan/esp-libhelix-mp3: "1.0.3"
|
||||
chmorgan/esp-file-iterator: "1.0.0"
|
||||
chmorgan/esp-audio-player: "1.0.3"
|
||||
## Required IDF version
|
||||
idf:
|
||||
version: ">=4.1.0"
|
||||
# # Put list of dependencies here
|
||||
# # For components maintained by Espressif:
|
||||
# component: "~1.0.0"
|
||||
# # For 3rd party components:
|
||||
# username/component: ">=1.0.0,<2.0.0"
|
||||
# username2/component2:
|
||||
# version: "~1.0.0"
|
||||
# # For transient dependencies `public` flag can be set.
|
||||
# # `public` flag doesn't have an effect dependencies of the `main` component.
|
||||
# # All dependencies of `main` are public by default.
|
||||
# public: true
|
||||
espressif/json_generator: ^1
|
||||
espressif/json_parser: =1.0.0
|
||||
espressif/qrcode:
|
||||
version: ^0.1.0
|
||||
rules:
|
||||
- if: "idf_version >=5.0"
|
||||
espressif/rmaker_common: ^1
|
||||
@@ -4,16 +4,8 @@ cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
if(DEFINED ENV{RMAKER_PATH})
|
||||
set(RMAKER_PATH $ENV{RMAKER_PATH})
|
||||
else()
|
||||
set(RMAKER_PATH ${CMAKE_CURRENT_LIST_DIR}/../../components/esp-rainmaker)
|
||||
message("-- Not find RMAKER_PATH, default is ${RMAKER_PATH}")
|
||||
endif(DEFINED ENV{RMAKER_PATH})
|
||||
|
||||
set(EXTRA_COMPONENT_DIRS
|
||||
../../components
|
||||
${RMAKER_PATH}/components
|
||||
)
|
||||
|
||||
add_compile_options(-fdiagnostics-color=always)
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
## IDF Component Manager Manifest File
|
||||
dependencies:
|
||||
espressif/esp_rainmaker:
|
||||
path: components/esp_rainmaker
|
||||
git: https://github.com/espressif/esp-rainmaker.git
|
||||
espressif/esp_schedule:
|
||||
path: components/esp_schedule
|
||||
git: https://github.com/espressif/esp-rainmaker.git
|
||||
espressif/json_generator: ^1
|
||||
espressif/json_parser: =1.0.0
|
||||
espressif/qrcode: ^0.1.0
|
||||
espressif/rmaker_common: ^1
|
||||
Reference in New Issue
Block a user