Skip to content

Commit

Permalink
fix:ESP32-audioI2S/src/Audio.h:16:10: fatal error: WiFi.h: No such fi…
Browse files Browse the repository at this point in the history
…le or directory
  • Loading branch information
ShallowGreen123 committed Oct 10, 2024
1 parent 81bbb28 commit d94a9fc
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04 # 指定的运行器环境中运行 [ubuntu-latest, macos-latest, windows-latest]
runs-on: ubuntu-latest # 指定的运行器环境中运行 [ubuntu-latest, macos-latest, windows-latest]
strategy:
matrix:
example:
Expand Down
75 changes: 43 additions & 32 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,27 @@
; https://docs.platformio.org/page/projectconf.html
[platformio]

src_dir = examples/factory
; src_dir = examples/A7682E/test_AT
; src_dir = examples/test_factory
; src_dir = examples/test_sd
; src_dir = examples/aduio_pcm5102a

;------------------
;- Display
;------------------
; src_dir = examples/test_EPD
; src_dir = examples/EPD_LVGL
; src_dir = examples/test_lvgl
; src_dir = examples/test_touchpad

;------------------
;- Sensor
;------------------
; src_dir = examples/test_BHI260AP
; src_dir = examples/test_LTR_553ALS
; src_dir = examples/test_keypad

;------------------
;- Radio
;------------------
; src_dir = examples/test_GPS
; src_dir = examples/test_lora_recv
; src_dir = examples/test_lora_send
; src_dir = examples/test_wifi
; default_envs = A7682E/test_AT
; default_envs = aduio_pcm5102a
; default_envs = factory
; default_envs = test_BHI260AP
; default_envs = test_EPD
; default_envs = test_factory
; default_envs = test_GPS
; default_envs = test_keypad
; default_envs = test_lora_recv
; default_envs = test_lora_send
default_envs = test_LTR_553ALS
; default_envs = test_lvgl
; default_envs = test_sd
; default_envs = test_touchpad
; default_envs = test_wifi

;----------------------------------------;
boards_dir = boards
; src_dir = examples/${platformio.default_envs}
default_envs = T-Deck-Pro
src_dir = examples/${platformio.default_envs}

[env:T-Deck-Pro]
[env]
platform = [email protected]
board = T-Deck-Pro
framework = arduino
Expand Down Expand Up @@ -73,7 +60,6 @@ build_flags =
-DCORE_DEBUG_LEVEL=0

lib_deps =
esphome/ESP32-audioI2S@^2.0.7
zinggjm/[email protected]
jgromes/[email protected]
lewisxhe/SensorLib@^0.2.0
Expand All @@ -90,3 +76,28 @@ lib_deps =
FS
SPIFFS
EEPROM

[env:A7682E]

[env:aduio_pcm5102a]
build_flags =
-DBOARD_HAS_PSRAM
-DARDUINO_USB_CDC_ON_BOOT=1
-DDISABLE_ALL_LIBRARY_WARNINGS
-Wnarrowing
lib_deps =
esphome/ESP32-audioI2S@^2.0.7

[env:factory]
[env:test_BHI260AP]
[env:test_EPD]
[env:test_factory]
[env:test_GPS]
[env:test_keypad]
[env:test_lora_recv]
[env:test_lora_send]
[env:test_LTR_553ALS]
[env:test_lvgl]
[env:test_sd]
[env:test_touchpad]
[env:test_wifi]

0 comments on commit d94a9fc

Please sign in to comment.