; 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 = micro

[env]
build_flags = -Wall
lib_deps = 
    SPI
    Adafruit MPR121
    Control Surface
    MIDIUSB

[env:micro]
platform = atmelavr
board = micro
framework = arduino
board_build.f_cpu = 16000000L

[env:debug]
platform = atmelavr
build_type = debug
extends = env:micro

[env:matrix]
platform = atmelavr
build_type = debug
extends = env:micro
build_flags = -D DEBUG_MATRIX
