forked from easytarget/esp32-cam-webserver
-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
52 lines (48 loc) · 1.5 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
; 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
[platformio]
src_dir = main
[env:esp32cam]
board = esp32cam
#platform = espressif32
#platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git
platform = https://github.com/platformio/platform-espressif32.git#v6.3.2
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.11
lib_deps =
arduinojson
adafruit/Adafruit NeoPixel@^1.11.0
board_build.partitions = min_spiffs.csv
framework = arduino
build_flags =
-DCORE_DEBUG_LEVEL=5
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-DBOARD_HAS_PSRAM
-D CAMERA_MODEL_AI_THINKER
monitor_speed = 115200
[env:seeed_xiao_esp32s3]
platform = https://github.com/platformio/platform-espressif32.git
board = seeed_xiao_esp32s3
board_build.flash_mode = qio
lib_deps =
arduinojson
adafruit/Adafruit NeoPixel@^1.11.0
https://github.com/waspinator/AccelStepper
framework = arduino
build_flags =
-std=gnu++17
-DBOARD_HAS_PSRAM
-DCORE_DEBUG_LEVEL=5
-D CAMERA_MODEL_XIAO
build_unflags = -std=gnu++11
upload_port = /dev/cu.usbmodem101
monitor_port = /dev/cu.usbmodem101
monitor_speed = 115200
monitor_filters = esp32_exception_decoder