-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
59 lines (55 loc) · 1.57 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
53
54
55
56
57
58
59
; 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:esp32dev]
platform = https://github.com/platformio/platform-espressif32.git#v3.5.0
board = esp32dev
framework = arduino
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#1.0.6
monitor_speed = 115200
upload_speed = 921600
extra_scripts = post:shared/update_spiffs.py
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
lib_deps =
me-no-dev/ESP Async WebServer@^1.2.3
adafruit/Adafruit LSM9DS1 Library@^2.1.1
adafruit/Adafruit AHRS@^2.3.1
board_build.embed_txtfiles =
src/html/calculating.html
src/html/not_found.html
src/html/recording.html
src/html/results.html
src/html/settings.html
src/html/unavailable.html
src/html/main.css
src/html/calculating.js
src/html/recording.js
[env:esp32dev_debug]
extends = env:esp32dev
build_type = debug
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-DCORE_DEBUG_LEVEL=5
[env:esp32dev_ota]
extends = env:esp32dev
upload_protocol = espota
upload_port = esp-accelerometer.local
extra_scripts =
post:shared/update_spiffs.py
post:shared/read_ota_pass.py
[env:esp32dev_ota_debug]
extends = env:esp32dev_ota
build_type = debug
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-DCORE_DEBUG_LEVEL=5