-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
executable file
·35 lines (29 loc) · 1.03 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
;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 = ukmarsbot-motorlab
default_envs = ukmarsbot-linux-release
; shared by all the development environments
[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 linux. You may need to select a com port
[env:ukmarsbot-linux-release]
; upload_port = /dev/ttyUSB0
; monitor_port = /dev/rfcomm4
[env:ukmarsbot-linux-release-floating-printf]
build_flags = -Wl,-Map,firmware.map -Wl,-u,vfprintf -lprintf_flt -lm
; this version defines an extra macro to let cppcheck find all the functions
[env:extra_check_flags]
check_flags = -DCPPCHECK