-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplatformio.ini
44 lines (39 loc) · 1.32 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
; 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
; FLAGS :
; - TEST = Change comment in APRS message and set Frequency to 144.600 Mhz
; - CONTINUE_TX = Loop TX an AX25 TEST frame
; - USE_BUTTON = If a button is connected, if pushed during startup the program is in test mode (cf TEST). If pushed more than 5 seconds, send a frame
; - TX_30_S = Disable smart tx and send a frame every 30 seconds
;
[common]
lib_deps = DRA818, TinyGPSPlus, ArduinoQAPRS=https://bitbucket.org/valentintintin/arduinoqaprs/get/3fd5cb6341d5.zip
[env:unotest]
platform = atmelavr
board = uno
framework = arduino
build_flags = -D TEST -D TX_30_S
lib_deps = ${common.lib_deps}
[env:nanoprod]
platform = atmelavr
board = nanoatmega328
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = -D USE_BUTTON
-D TX_30_S
[env:nanotest]
platform = atmelavr
board = nanoatmega328
framework = arduino
build_flags = -D TEST
#-D CONTINUE_TX
-D USE_BUTTON
-D TX_30_S
lib_deps = ${common.lib_deps}