Repository navigation
Expand file tree
/
Copy pathplatformio.ini
More file actions
109 lines (100 loc) · 2.58 KB
/
Copy pathplatformio.ini
File metadata and controls
109 lines (100 loc) · 2.58 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
[platformio]
;
; SELECT ONE BOARD PROFILE HERE
;
default_envs = esp32-devkit-v1
;default_envs = lilygo-t-display
;default_envs = nodemcuv2
;=====================TODO
;default_envs = esp32-s3-devkitc-1
;default_envs = lilygo-t-display-s3
[env]
build_flags = -Wno-error=unused-const-variable
build_unflags = -Wno-error=maybe-uninitialized
;build_unflags = -Werror=all
;boards_dir = ./boards
lib_deps =
adafruit/Adafruit SSD1306
ezButton
microbahner/MobaTools
https://github.com/zs6buj/terseCRSF
[env:esp32-devkit-v1]
; evaluate C/C++ Preprocessor conditional syntax
;lib_ldf_mode = chain+
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
;framework = arduino, espidf
build_flags = -O3 ; fastest
;-DCORE_DEBUG_LEVEL=5
-DPIO_BUILD
-DPIO_ESP32_VARIANT=1
board_build.partitions = min_spiffs.csv
upload_speed = 921600
monitor_filters = esp32_exception_decoder
monitor_speed = 115200
upload_port = /dev/ttyUSB0
;debug_tool = esp-prog
;upload_protocol = esp-prog
;debug_init_break = tbreak setup ; set breakpoint at Setup
[env:lilygo-t-display]
platform = espressif32
board = lilygo-t-display
framework = arduino
;framework = arduino, espidf
build_flags = -O3 ;fastest
;-DCORE_DEBUG_LEVEL=5
-DPIO_BUILD
-DPIO_ESP32_VARIANT=5
; change microcontroller
board_build.mcu = esp32
; change MCU frequency
board_build.f_cpu = 240000000L
board_build.partitions = min_spiffs.csv
upload_speed = 921600
monitor_filters = esp32_exception_decoder
monitor_speed = 115200
upload_port = COM18
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags =
-DPIO_BUILD
-DPIO_ESP8266_VARIANT=1
lib_ignore = BLE, BluetoothSerial, Adafruit_GFX_Library, Adafruit_SSD1306
; change microcontroller
board_build.mcu = esp8266
; change MCU frequency
board_build.f_cpu = 80000000L
upload_speed = 921600
monitor_speed = 115200
upload_port = COM10
[env:esp32-s3-devkitc-1]
;board has no touch sense
; evaluate C/C++ reprocessor conditional syntax
;lib_ldf_mode = chain+
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
build_flags = -O3
-D PIO_BUILD
-D PIO_ESP32_VARIANT=3
board_build.partitions = min_spiffs.csv
upload_speed = 921600
monitor_filters = esp32_exception_decoder
monitor_speed = 115200
upload_port = COM6
[env:lilygo-t-display-s3]
;board has no touch sense
;lib_ldf_mode = chain+
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
build_flags = -O3
-D PIO_BUILD
-D PIO_ESP32_VARIANT=8
board_build.partitions = min_spiffs.csv
upload_speed = 921600
monitor_speed = 115200
upload_port = COM23