Skip to content

Commit

Permalink
Preparing platformIO configuration as build system
Browse files Browse the repository at this point in the history
platformIO can be used as build system with this config
  • Loading branch information
matthiasdanner authored May 14, 2017
1 parent 846bf41 commit b86d78e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Marlin/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,20 @@ src_dir = ./
envs_dir = ../.pioenvs
lib_dir = ../.piolib
libdeps_dir = ../.piolibdeps
env_default = mega2560
env_default = anet

[common]
lib_deps = [email protected]

[env:anet]
platform = atmelavr
framework = arduino
board = sanguino_atmega1284p
build_flags = -I $BUILDSRC_DIR
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
upload_speed = 57600

[env:mega2560]
platform = atmelavr
framework = arduino
Expand Down

0 comments on commit b86d78e

Please sign in to comment.