-
Notifications
You must be signed in to change notification settings - Fork 9
/
platformio.ini
executable file
·42 lines (38 loc) · 1.31 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
;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-core
default_envs = nano
; shared by all the development environments
[env]
monitor_speed = 115200
build_flags = -Wl,-Map,firmware.map
; items defined here will be available to the preprocessor in your code
; -D ROBOT_NAME=ROBOT_ORION
; -D BUILD_ENV_NAME=$PIOENV
; -D BUILD_PLATFORM=$PIOPLATFORM
; -D BUILD_TIME=$UNIX_TIME
; If you do not have a Python install, comment out the extra_scripts line
extra_scripts = post:post-build-script.py
check_flags = -DCPPCHECK
; if they are not auto-detected, here are some examples for defining serial ports
; linux ports
; upload_port = /dev/ttyUSB0
; monitor_port = /dev/ttyUSB0
; windows ports
; upload_port = COM3
; monitor_port = COM5
; mac ports
; upload_port = /dev/cu.wchusbserial*
; monitor_port = /dev/cu.wchusbserial*
[env:nano]
platform = atmelavr
board = nanoatmega328
framework = arduino