-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
88 lines (80 loc) · 2.15 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
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
; 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]
platform = nordicnrf52 @10.6.0
; board = nrf52840_dk_adafruit
board =lilygo_t_echo_lite_nrf52840
; upload_protocol = cmsis-dap
upload_protocol = nrfutil
; upload_protocol = jlink
framework = arduino
monitor_speed = 115200 ;Serial Baud Rate Setting
upload_speed = 115200 ; 460800, 512000, 460800, 256000, 115200 , 921600
[platformio]
boards_dir = ./boards
lib_dir = ./libraries
src_dir = examples/${platformio.default_envs}
; default_envs = Flash
; default_envs = Flash_Erase
; default_envs = Flash_Speed_Test
; default_envs = Display
; default_envs = SX126x_PingPong
; default_envs = SX126x_PingPong_2
; default_envs = Display_SX1262
; default_envs = BLE_Uart
; default_envs = Display_BLE_Uart
default_envs = Original_Test
; default_envs = Button_Triggered
; default_envs = Sleep_Wake_Up
; default_envs = Battery_Measurement
; default_envs = GPS
; default_envs = GPS_Full
; default_envs = IIC_Scan_2
; default_envs = ICM20948
; src_dir = debug/examples/${platformio.default_envs}
; default_envs = ChipScan
; default_envs = Display_Image
; default_envs = Display_Partial_Refresh
; default_envs = GDEM0122T61_Arduino
; default_envs = IO
; default_envs = nrf52840_module
[env:Flash]
[env:Flash_Erase]
[env:Flash_Speed_Test]
[env:Display]
; build_flags =
; -D EPD_DEBUG
[env:SX126x_PingPong]
[env:SX126x_PingPong_2]
[env:Display_SX1262]
[env:BLE_Uart]
build_flags =
-D CFG_DEBUG=1
-D CFG_LOGGER=1
-D CFG_SYSVIEW=1
[env:Display_BLE_Uart]
build_flags =
-D CFG_DEBUG=1
-D CFG_LOGGER=1
-D CFG_SYSVIEW=1
[env:Original_Test]
[env:Button_Triggered]
[env:Sleep_Wake_Up]
[env:Battery_Measurement]
[env:GPS]
[env:GPS_Full]
[env:IIC_Scan_2]
[env:ICM20948]
[env:ChipScan]
[env:Display_Image]
[env:Display_Partial_Refresh]
[env:GDEM0122T61_Arduino]
[env:IO]
[env:nrf52840_module]