diff --git a/buildroot/share/git/mftest b/buildroot/share/git/mftest index bb08c1976..3960ccff5 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 a688e0562..ce49569df 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 = +