Skip to content

Commit

Permalink
Moved esp32 cam component in Arduino yml (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Oct 31, 2024
1 parent 2de55a7 commit d0dfc48
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
6 changes: 0 additions & 6 deletions builder/build_lib/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ dependencies:
idf: ">=5.1"
espressif/cmake_utilities:
version: "0.*"
espressif/esp32-camera:
version: "master"
git: https://github.com/espressif/esp32-camera.git
require: public
rules:
- if: "target in [esp32, esp32s2, esp32s3, esp32p4]"
espressif/fb_gfx:
version: "master"
path: components/fb_gfx
Expand Down
2 changes: 1 addition & 1 deletion builder/frameworks/espidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def HandleArduinoCOMPONENTsettings(env):
if flag_custom_component_add == True or flag_custom_component_remove == True:
HandleArduinoCOMPONENTsettings(env)

if flag_custom_sdkonfig:
if flag_custom_sdkonfig and "arduino" in env.subst("$PIOFRAMEWORK"):
HandleArduinoIDFsettings(env)
LIB_SOURCE = os.path.join(env.subst("$PROJECT_CORE_DIR"), "platforms", "espressif32", "builder", "build_lib")
if not bool(os.path.exists(os.path.join(PROJECT_DIR, ".dummy"))):
Expand Down
15 changes: 14 additions & 1 deletion examples/arduino-blink/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,20 @@ platform = espressif32
framework = arduino
board = esp32-solo1
build_flags = -DLED_BUILTIN=2
custom_sdkconfig = CONFIG_FREERTOS_UNICORE=y
custom_sdkconfig = CONFIG_FREERTOS_UNICORE=y
; CONFIG_BT_CONTROLLER_DISABLED=y ; todo: find reason why linker errors
; '# CONFIG_BT_ENABLED is not set'
; '# CONFIG_BT_NIMBLE_ENABLED is not set'
; '# CONFIG_BT_CONTROLLER_ENABLED is not set'
'# CONFIG_LWIP_PPP_SUPPORT is not set'
'# CONFIG_ULP_COPROC_ENABLED is not set'
'# CONFIG_ETH_ENABLED is not set'
custom_component_remove = espressif/esp_modem
espressif/mdns
espressif/esp-dsp
espressif/cmake_utilities
espressif/esp32-camera
espressif/fb_gfx

[env:esp32-s3-120]
platform = espressif32
Expand Down
2 changes: 1 addition & 1 deletion platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"type": "framework",
"optional": true,
"owner": "tasmota",
"version": "https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/3122/framework-arduinoespressif32-all-release_v5.3-1c74f314.zip"
"version": "https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/3128/framework-arduinoespressif32-all-release_v5.3-1c74f314.zip"
},
"framework-arduino-solo1": {
"type": "framework",
Expand Down

0 comments on commit d0dfc48

Please sign in to comment.