33 lines
685 B
INI
33 lines
685 B
INI
; 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]
|
|
default_envs = leonardo
|
|
|
|
[env]
|
|
framework = arduino
|
|
|
|
[env:nodemcuv2]
|
|
platform = espressif8266
|
|
board = nodemcuv2
|
|
build_flags =
|
|
-D DIALING_PIN=D5
|
|
-D PULSE_PIN=D6
|
|
|
|
[env:leonardo]
|
|
platform = atmelavr
|
|
board = leonardo
|
|
lib_deps =
|
|
Keyboard
|
|
build_flags =
|
|
-D FEATURE_KEYBOARD
|
|
-D DIALING_PIN=13
|
|
-D PULSE_PIN=12
|