-
Notifications
You must be signed in to change notification settings - Fork 4
/
platformio.ini
45 lines (40 loc) · 1.11 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
; PlatformIO Project Configuration File
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[esp32cam]
platform = espressif32
;https://github.com/platformio/platform-espressif32.git
board = esp32cam
framework = espidf
monitor_speed = 115200
board_build.partitions = partitions.csv
build_flags =
-DBOARD_HAS_PSRAM
board_build.embed_files =
www/index_ov2640.html.gz
www/index_ov3660.html.gz
www/index_ov5640.html.gz
www/monitor.html.gz
; Serial Config
[env:release]
extends = esp32cam
build_type = release
build_flags = -D RELEASE
monitor_port = COM4
upload_port = COM4
; ESP Prog debug
; https://docs.platformio.org/en/stable/plus/debug-tools/esp-prog.html
[env:debug]
extends = esp32cam
build_type = debug
build_flags = -D DEBUG
upload_port = COM6
debug_speed = 5000
upload_protocol = esp-prog
debug_tool = esp-prog
;remove all breakpoints
debug_init_break = tbreak app_main
;debug_init_break = break app_main.c:38 ; app_httpd_main()
; Set optimization level and amount of debug information generated by the compiler
;debug_build_flags = -O0 -ggdb3 -g3