forked from ukmars/ukmarsbot-mazerunner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
executable file
·45 lines (38 loc) · 1.34 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
;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
[platformio]
src_dir = mazerunner
default_envs = ukmarsbot-windows
; shared by all the development environments
; you may need to change the board type to nanoatmega328new
; if the bootloader fails.
[env]
platform = atmelavr
board = nanoatmega328
framework = arduino
monitor_speed = 115200
build_flags = -Wl,-Map,firmware.map
extra_scripts = post:post-build-script.py
; select this on windows. You may need to select a com port
[env:ukmarsbot-windows]
upload_port = COM3
monitor_port = COM5
; select this for mac. autodetection of the com port is less robust
; so the example below gives a pattern to try
[env:ukmarsbot-mac]
monitor_port = /dev/cu.wchusbserial*
upload_port = /dev/cu.wchusbserial*
; select this on linux. You may need to select a com port
[env:ukmarsbot-linux]
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
; this version defines an extra macro to let cppcheck find all the functions
[env:extra_check_flags]
check_flags = -DCPPCHECK