Add an env to get the Include Tree

This commit is contained in:
Scott Lahteine 2019-08-27 20:50:48 -05:00
parent 9223261ea9
commit 23cffb2c21
2 changed files with 13 additions and 0 deletions

View file

@ -19,6 +19,7 @@ TESTENV=${1:-'-'}
# Allow shorthand for test name
case $TESTENV in
tree) platformio run --project-dir . -e include_tree ; exit 1 ;;
due) TESTENV='DUE' ;;
esp) TESTENV='esp32' ;;
lin*) TESTENV='linux_native' ;;

View file

@ -595,3 +595,15 @@ lib_deps = ${common.lib_deps}
lib_ignore = U8glib-HAL
src_filter = ${common.default_src_filter} +<src/HAL/HAL_SAMD51>
debug_tool = jlink
#
# Just print the dependency tree
#
[env:include_tree]
platform = atmelavr
framework = arduino
board = megaatmega2560
build_flags = -c -H -std=gnu++11 -Wall -Os
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
src_filter = +<src/Marlin.cpp>