-
Notifications
You must be signed in to change notification settings - Fork 13
/
platformio.ini
84 lines (69 loc) · 1.98 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
; 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
; http://docs.platformio.org/page/projectconf.html
[env:atmega328P8MHz]
platform = atmelavr
board = ATMEGA328P
framework = arduino
board_build.f_cpu = 1000000L
#board_build.f_cpu = 8000000L
upload_speed = 9600
#upload_speed = 57600
upload_port = COM3
# test_port= COM3
test_speed=9600
monitor_port = COM3
monitor_speed = 9600
build_flags = -std=c++17 -Wall -Wextra -O3 -DENABLE_SAVE_RESTORE -DLMIC_104_EXPERIMENTAL
test_build_src = true
lib_deps =
https://github.com/ngraziano/avr_stl.git
[env:esp32]
platform = espressif32
board = heltec_wifi_lora_32
framework = arduino
upload_port = COM9
monitor_port = COM9
monitor_speed = 19200
test_build_src=true
build_flags = -std=c++17 -Wall -Wextra -O3 -DENABLE_SAVE_RESTORE -DLMIC_104_EXPERIMENTAL
lib_deps =
[env:windows]
platform = windows_x86
# lib_compat_mode = off
build_flags = -std=c++17 -Wall -Wextra -O3 -DLMIC_DEBUG_LEVEL=0 -DENABLE_SAVE_RESTORE
-DLMIC_104_EXPERIMENTAL -DLMIC_RX_RAMPUP_MS=1 -DLMIC_TX_RAMPUP_MS=1
-DLMIC_MAX_BUFFER_LENGTH=255
test_build_src=true
lib_deps =
# debug_test = cert/test_device_functionality
[env:native]
platform = native
extra_scripts =
pre:add_msys_path.py
post:copy_msys_dlls.py
# lib_compat_mode = off
build_flags = -std=c++17 -Wall -Wextra -O3
-DLMIC_DEBUG_LEVEL=0
-DENABLE_SAVE_RESTORE
-DLMIC_104_EXPERIMENTAL
-DLMIC_RX_RAMPUP_MS=1
-DLMIC_TX_RAMPUP_MS=1
-DLMIC_MAX_BUFFER_LENGTH=255
test_build_src=true
lib_deps =
[env:bluepill]
platform = ststm32
board = bluepill_f103c8_128k
framework = arduino
upload_protocol = stlink
debug_tool = stlink
test_build_src=true
build_flags = -std=c++17 -Wall -Wextra -O3 -DLMIC_DEBUG_LEVEL=0 -DENABLE_SAVE_RESTORE -DENABLE_SAVE_RESTORE
lib_deps =