Add audio loopback test

This commit is contained in:
lewisxhe
2024-02-29 14:09:20 +08:00
parent 6e4ab21f56
commit eb007487d2
3 changed files with 109 additions and 40 deletions
+33 -10
View File
@@ -14,6 +14,10 @@
; Please comment out the following when compiling the T-Keyboard
default_envs = T-Deck
; default_envs = T-Deck-868M
; default_envs = T-Deck-915M
; default_envs = T-Deck-433M
;; Examples only one is valid
src_dir = examples/UnitTest
; src_dir = examples/Microphone
@@ -23,13 +27,13 @@ src_dir = examples/UnitTest
; src_dir = examples/LvglArduinoVNC_VGA
[env:T-Keyboard]
platform = espressif32
board = ttgo-t-oi-plus
framework = arduino
; [env:T-Keyboard]
; platform = espressif32
; board = ttgo-t-oi-plus
; framework = arduino
[env:T-Deck]
[env]
platform = espressif32@6.3.0
board = esp32s3box
framework = arduino
@@ -46,11 +50,30 @@ build_flags =
-UARDUINO_USB_CDC_ON_BOOT
-DDISABLE_ALL_LIBRARY_WARNINGS
; -DRADIO_FREQ=868.0
; -DRADIO_FREQ=915.0
; -DRADIO_FREQ=433.0
; extra_scripts = ./script/pos_extra_script.py
extra_scripts = ./script/pos_extra_script.py
[env:T-Deck]
extends = env
build_flags =
${env.build_flags}
[env:T-Deck-868M]
extends = env
build_flags =
${env.build_flags}
-DRADIO_FREQ=868.0
[env:T-Deck-915M]
extends = env
build_flags =
${env.build_flags}
-DRADIO_FREQ=915.0
[env:T-Deck-433M]
extends = env
build_flags =
${env.build_flags}
-DRADIO_FREQ=433.0