【主 题】:播放声音修改, 兼容第二版硬件 【描 述】: [原因]:需要播放声音测试 音量太大 新硬件回来 [过程]: 增加编译选项对不同的硬件 声音测试代码 增加音量调节函数 [影响]:还未完全测试 【结 束】 # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
28 lines
765 B
INI
28 lines
765 B
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[env:esp32doit-devkit-v1]
|
|
platform = espressif32
|
|
board = esp32doit-devkit-v1
|
|
framework = arduino
|
|
build_flags = -DCORE_DEBUG_LEVEL=4
|
|
monitor_speed = 115200
|
|
upload-port = COM[14]
|
|
lib_deps =
|
|
bogde/HX711@^0.7.5
|
|
mathertel/OneButton@^2.0.3
|
|
sstaub/Ticker@^4.4.0
|
|
robtillaart/CRC@^0.3.3
|
|
sandeepmistry/CAN@^0.3.1
|
|
fastled/FastLED@^3.5.0
|
|
madhephaestus/ESP32Servo@^0.13.0
|
|
bblanchon/ArduinoJson@^6.21.2
|
|
|