-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplatformio.ini
40 lines (34 loc) · 890 Bytes
/
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
; 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]
monitor_speed = 250000
build_flags =
-D MONITOR_SPEED=${env.monitor_speed}
-D HARDWARE_REVISION
; -D SERIAL_DEBUG
; -D DEBUG_ADDRESS
-D DEV_TOOLS
extra_scripts = pre:name_firmware.py
[env:uno]
platform = atmelavr
board = uno
framework = arduino
build_flags =
${env.build_flags}
-D RURP_BOARD_NAME=\"${this.board}\"
-D SERIAL_ON_IO
[env:leonardo]
platform = atmelavr
board = leonardo
framework = arduino
build_flags =
${env.build_flags}
-D RURP_BOARD_NAME=\"${this.board}\"
-D DATA_BUFFER_SIZE=1024