-
Notifications
You must be signed in to change notification settings - Fork 180
Using most IDF Managed Components instead of git-clone #145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
me-no-dev
merged 11 commits into
espressif:master
from
SuGlider:rainmaker_managed_component
Nov 9, 2023
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
79598ee
Update CMakeLists.txt
SuGlider 3a5b40c
Tool fix
SuGlider 5ceed1d
Update idf_component.yml
SuGlider 597754f
Adds Camera Component
SuGlider dbea3d4
DL component only for S3
SuGlider 9eb7aea
get Camera component from GH
SuGlider ddec8a0
Camera component for any Version + Public
SuGlider 07b90dd
Test for SR Models building in CI
SuGlider 6ea0c57
add SR component to the CI
SuGlider 7b4ea7c
fix idf_component.yml format
SuGlider cbeb969
Reverting not necessary change about ESP-SR component
SuGlider File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
dependencies: | ||
# Required IDF version | ||
idf: ">=5.1" | ||
|
||
mdns: "^1.1.0" | ||
chmorgan/esp-libhelix-mp3: "1.0.3" | ||
esp-dsp: "^1.3.4" | ||
espressif/esp32-camera: | ||
version: "*" | ||
git: https://github.com/espressif/esp32-camera.git | ||
require: public | ||
espressif/esp-tflite-micro: | ||
version: ">=1.2.0" | ||
require: public | ||
espressif/esp-dl: | ||
version: ">=2.0.0" | ||
path: ../components/esp-dl | ||
require: public | ||
rules: | ||
- if: "target in [esp32s3]" | ||
espressif/esp-sr: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This component (esp-sr) is already in Arduino component list from PR #8842. |
||
version: ">=1.4.2" | ||
rules: | ||
- if: "target in [esp32s3]" | ||
|
||
# esp-sr: "^1.3.1" | ||
# esp32-camera: "^2.0.4" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@me-no-dev - It sounds like CI is failing here... It works in my computer, though! :-)
https://github.com/espressif/esp32-arduino-lib-builder/actions/runs/6776484660/job/18438277663?pr=145
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not nice. We need a proper workaround
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to figure out a way to fix CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@me-no-dev - I found out what is the issue here.
In order to add SR component to the CI here (current PR), I need that the PR #8842 is merged, because it adds SR to the Arduino yml file.
After SR is listed in the managed components(from Arduino side), it will run CI corretly here at Lib Builder CI.
As a way to test it, I've added SR to the local Lib Bulder yml file in a "testing" commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it shows an Arduino esp32-hal-sr.c error:
-c /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino/libraries/ESP_SR/src/esp32-hal-sr.c
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino/libraries/ESP_SR/src/esp32-hal-sr.c:10:2: warning: #warning Compatible partition must be selected for ESP_SR to work [-Wcpp]
10 | #warning Compatible partition must be selected for ESP_SR to work
| ^~~~~~~
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino/libraries/ESP_SR/src/esp32-hal-sr.c:27:10: fatal error: esp_mn_speech_commands.h: No such file or directory
27 | #include "esp_mn_speech_commands.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My suggestion is that we merge Arduino espressif/arduino-esp32#8842 and then check how CI will work here at Lib Builder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/espressif/arduino-esp32/actions/runs/6800936891/job/18490657761?pr=8842
Specific CI for the S3 is passing fine in the Arduino PR #8842
It shall run fine here as well.
Eveidence from the CI:
[1237/1323] Building CXX object esp-idf/arduino-esp32/CMakeFiles/__idf_arduino-esp32.dir/libraries/ESP_SR/src/ESP_SR.cpp.obj
With no error.