summaryrefslogtreecommitdiff
path: root/platformio.ini
blob: 3091b191af2d95616f089a74b9696b3aeec15c9f (plain)
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
; 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:espcommon]
build_flags =
	-fdump-rtl-dfinish
	-fstack-usage
platform = espressif32
framework = arduino
monitor_speed = 115200
lib_deps = 
	zinggjm/GxEPD2@^1.6.4
	h2zero/NimBLE-Arduino@^2.3.2

[env:esp32dev]
board = esp32dev
board_build.partitions = ota_part.csv
extends = env:espcommon

# no idea if this is the correct board template
[env:crowpanel]
board = esp32-s3-devkitc-1
extends = env:espcommon

; [env:esp32_ota]
; extends = env:esp32dev
#upload_protocol = espota
#upload_port = 172.16.8.1 
#upload_flags = --auth=xxx

[platformio]
build_cache_dir = ~/.cache/pio-ccache