-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplatformio.ini
More file actions
127 lines (120 loc) · 3.15 KB
/
Copy pathplatformio.ini
File metadata and controls
127 lines (120 loc) · 3.15 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
; PlatformIO Project Configuration File
; https://docs.platformio.org/page/projectconf.html
[env]
monitor_speed = 115200
[common]
build_unflags =
-std=gnu++11
build_flags =
-std=gnu++14
; Only define LIBRARY_TEST when testing library directly
-DLIBRARY_TEST
-DUSTORE_ENABLE_LOG
lib_deps =
extra_scripts =
[env:native]
platform = native
build_unflags =
${common.build_unflags}
build_flags =
${common.build_flags}
-DPLATFORM_NATIVE
-DUSTORE_USE_POSIXFS
-DUSTORE_USE_STDIOFS
-DUSTORE_USE_UNIVERSALFS
-DUSTORE_USE_NOOPFS
lib_deps =
${common.lib_deps}
lib_compat_mode = off
[env:native_debug]
platform = native
build_unflags =
${common.build_unflags}
build_flags =
${common.build_flags}
; CBA TEST
;-fsanitize=address
-fno-omit-frame-pointer
-g
;-O1
-O0
-DPLATFORM_NATIVE
-DUSTORE_USE_POSIXFS
;-DUSTORE_USE_STDIOFS
lib_deps =
${common.lib_deps}
lib_compat_mode = off
[env:ttgo-lora32-v21]
framework = arduino
platform = espressif32
board = ttgo-lora32-v21
upload_speed = 460800
board_build.partitions = no_ota.csv
board_build.filesystem = littlefs
build_unflags =
${common.build_unflags}
build_flags =
${common.build_flags}
-DPLATFORM_ESP32
-DUSTORE_USE_LITTLEFS
-DUSTORE_USE_SPIFFS
-DUSTORE_USE_SD
-DUSTORE_USE_UNIVERSALFS
-DSDCARD_SCLK=14
-DSDCARD_MISO=2
-DSDCARD_MOSI=15
-DSDCARD_CS=13
lib_deps =
${common.lib_deps}
extra_scripts = ${common.extra_scripts}
monitor_filters = esp32_exception_decoder
[env:heltec_wifi_lora_32_V3]
framework = arduino
platform = espressif32
; Use the pioarduino fork for Arduino Core 3.x / ESP-IDF 5.x support
;platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
;platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip
; Very stable
;platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.zip
; Latest stable
;platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.32/platform-espressif32.zip
board = heltec_wifi_lora_32_V3
;board_build.partitions = partitions_esp32.csv
board_build.partitions = no_ota.csv
board_upload.flash_size = 8MB
board_build.filesystem = littlefs
build_unflags =
${common.build_unflags}
build_flags =
${common.build_flags}
-DPLATFORM_ESP32
-DARDUINO_USB_CDC_ON_BOOT=1
-DUSTORE_USE_LITTLEFS
-DUSTORE_USE_SPIFFS
-DUSTORE_USE_UNIVERSALFS
lib_deps =
${common.lib_deps}
extra_scripts = ${common.extra_scripts}
monitor_filters = esp32_exception_decoder
[env:wiscore_rak4631]
framework = arduino
platform = nordicnrf52
;board = wiscore_rak4631
board = rak4630
board_build.variants_dir = variants
board_build.variant = rak4630
board_build.partitions = no_ota.csv
build_unflags =
${common.build_unflags}
build_flags =
${common.build_flags}
-DLFS_NO_ASSERT
-DPLATFORM_NRF52
-DUSTORE_USE_INTERNALFS
-DUSTORE_USE_FLASHFS
-DUSTORE_USE_UNIVERSALFS
lib_deps =
${common.lib_deps}
adafruit/SdFat - Adafruit Fork
https://github.com/attermann/Adafruit_SPIFlash#littlefs
extra_scripts = ${common.extra_scripts}