-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
41 lines (37 loc) · 1.87 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
; 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
[platformio]
description = Led Matrix project which contains 3 sub-projects to control FC-16 boards with led matrix 1088AS
default_envs = uno ; [ uno , nano ]
[common]
debug_flag = -D DEBUG
game_mode = -D GAME
game_mode_title = -D GAME_SNAKE ; [ GAME_TETRIS , GAME_SNAKE ]
marquee_mode = -D MARQUEE
test_hw_mode = -D TEST_HW ; To test whether MD72xx hardware is connected to Arduino in order to configure the MD_MAX72xx library flags
[env]
framework = arduino
; lib_extra_dirs = ../Arduino-Generic-Libraries/external-libs, ../Arduino-Generic-Libraries/lib ; Deprecated since version 6.0: The lib_extra_dirs option will be removed in the next major release
lib_deps =
MD_MAX72XX = symlink://../Arduino-Generic-Libraries/external-libs/MD_MAX72XX @ >=3.0
LinkedList = symlink://../Arduino-Generic-Libraries/external-libs/LinkedList_Library
Joystick_Lib = symlink://../Arduino-Generic-Libraries/lib/Joystick_Lib
Common_Lib = symlink://../Arduino-Generic-Libraries/lib/Common_Lib
build_flags = -Wno-unknown-pragmas
[env:uno]
platform = atmelavr
board = uno
lib_deps =
${env.lib_deps}
LowPower = symlink://../Arduino-Atmel-Libraries/external-libs/LowPower @ >=1.81
TrueRandom = symlink://../Arduino-Atmel-Libraries/external-libs/TrueRandom @ >=1.0
AtmelPower_Lib = symlink://../Arduino-Atmel-Libraries/lib/AtmelPower_Lib
;build_flags: [${common.game_mode} ${common.game_mode_title}, ${common.marquee_mode}, ${common.test_hw_mode} ] ${common.debug_flag}
build_flags = ${common.game_mode} ${common.game_mode_title}