mirror of
https://github.com/m5stack/M5CoreS3.git
synced 2026-05-20 10:52:23 -07:00
45 lines
1.1 KiB
INI
45 lines
1.1 KiB
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
|
|
;
|
|
; Example tester by @hpsaturn from CanAirIO Sensorlib pio ini schema
|
|
|
|
[platformio]
|
|
src_dir = ./examples/PlatformIO/
|
|
lib_dir = ./
|
|
|
|
[env]
|
|
framework = arduino
|
|
upload_speed = 1500000
|
|
monitor_speed = 115200
|
|
monitor_filters = time
|
|
build_flags =
|
|
-DESP32S3
|
|
-DBOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
-DCORE_DEBUG_LEVEL=5
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
|
-DARDUINO_USB_MODE=1
|
|
lib_deps =
|
|
m5stack/M5Unified@^0.1.6
|
|
|
|
[common]
|
|
framework = ${env.framework}
|
|
upload_speed = ${env.upload_speed}
|
|
monitor_speed = ${env.monitor_speed}
|
|
build_flags = ${env.build_flags}
|
|
lib_deps = ${env.lib_deps}
|
|
|
|
[env:M5CoreS3]
|
|
extends = common
|
|
platform = espressif32
|
|
board = esp32-s3-devkitc-1
|
|
build_src_filter = -<*> +<Camera/>
|
|
|