-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
52 lines (47 loc) · 1.66 KB
/
Copy pathplatformio.ini
File metadata and controls
52 lines (47 loc) · 1.66 KB
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
; =========================================================================
; EC6090 Mini-Project - PlatformIO Configuration
;
; ENVIRONMENTS
; esp32dev - production firmware (pio run / pio test)
; test_7ir - 7-IR line follower firmware
; test_obstacle_debug - HC-SR04 + TCS3200 debug firmware
; test_servo_diag - Servo / arm hardware diagnostic firmware
;
; OFFLINE LOGGING
; When DBG_LOG_TO_FILE=1 in config.h, PID data is written to
; /pidlog.csv on LittleFS during every run.
; After run: open Serial Monitor and send DUMPLOG to stream the file.
; Send CLEARLOG to wipe the file for a new session.
; LittleFS uses the built-in library from espressif32 Arduino core.
; No external lib dep needed.
; =========================================================================
[env]
platform = espressif32
board = esp32dev
framework = arduino
upload_resetmethod = nodemcu
upload_speed = 460800
board_build.flash_mode = dio
board_build.filesystem = littlefs
monitor_speed = 115200
monitor_filters =
esp32_exception_decoder
time
log2file
lib_deps =
madhephaestus/ESP32Servo@^0.13.0
knolleary/PubSubClient@^2.8
bblanchon/ArduinoJson@^6.21
build_flags =
-DCORE_DEBUG_LEVEL=0
-DARDUINO_SERIAL_PORT=0
-DMQTT_MAX_PACKET_SIZE=512
[env:esp32dev]
test_framework = unity
test_filter = test_unity_smoke
[env:test_7ir]
build_src_filter = -<*> +<../test/test_7ir_sketch/>
[env:test_obstacle_debug]
build_src_filter = -<*> +<../test/test_obstacle_debug/>
[env:test_servo_diag]
build_src_filter = -<*> +<../test/test_servo_diag/>