From 23cffb2c210d14936f5d5c2160bea36306f475fd Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 27 Aug 2019 20:50:48 -0500 Subject: [PATCH] Add an env to get the Include Tree --- buildroot/share/git/mftest | 1 + platformio.ini | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/buildroot/share/git/mftest b/buildroot/share/git/mftest index bb08c1976e..3960ccff59 100755 --- a/buildroot/share/git/mftest +++ b/buildroot/share/git/mftest @@ -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' ;; diff --git a/platformio.ini b/platformio.ini index a688e0562e..ce49569dff 100644 --- a/platformio.ini +++ b/platformio.ini @@ -595,3 +595,15 @@ lib_deps = ${common.lib_deps} lib_ignore = U8glib-HAL src_filter = ${common.default_src_filter} + 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 = +