New user needs help with error messages

Trying to build firmware for 3D printer. error messages attached. where go from here?
NO “BIGTREE_SKR_2” in “buildroot/share/PlatformIO/boards” This might be root of problem.

“message”: “src_filter configuration option in section [env:include_tree] is deprecated and will be removed in the next release! Please use build_src_filter instead”,

“message”: “src_filter configuration option in section [env:DUE] is deprecated and will be removed in the next release! Please use build_src_filter instead”,

“message”: “src_filter configuration option in section [env:esp32] is deprecated and will be removed in the next release! Please use build_src_filter instead”,

“message”: “src_build_flags configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use build_src_flags instead”,

“message”: “src_filter configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use build_src_filter instead”,

“message”: “src_build_flags configuration option in section [env:simulator_windows] is deprecated and will be removed in the next release! Please use build_src_flags instead”,

“message”: “src_filter configuration option in section [env:SAMD51_grandcentral_m4] is deprecated and will be removed in the next release! Please use build_src_filter instead”,

“message”: "src_filter configuration option in section [env:malyan_M300] is deprecated and will be removed in the next release! Please use

“message”: "src_filter configuration option in section [env:STM32F103CB_malyan] is deprecated and will be removed in the next release!

“message”: “src_filter configuration option in section [env:teensy31] is deprecated and will be removed in the next release! Please use build_src_filter instead”,

“message”: “src_filter configuration option in section [env:teensy35] is deprecated and will be removed in the next release! Please use build_src_filter instead”,

“message”: “src_filter configuration option in section [env:teensy36] is deprecated and will be removed in the next release! Please use build_src_filter instead”,

“message”: “src_filter configuration option in section [env:teensy41] is deprecated and will be removed in the next release! Please use build_src_filter instead”,

Hi Clay!

Please edit your post remove the complete error message and post it again as pre-formatted text. This will significantly increase the readability of the error message! See How to post logs and code in PlatformIO Community Forum

Thanks in advance!

There are 4 things to note:

  • Move the folder out of OneDrive and put it to a “normal” folder on your hard drive like C:\users\compu\Documents\PlatformIO\Projects\BIGTREETECH\
  • Make sure that BIGTREE_SKR_2.json exists - See the very first error message
  • Remove monitor_flags as this is not a valid setting in platformio.ini. There is a monitor_filters
    See monitor_filters — PlatformIO latest documentation
  • Also note the message: “src_filter configuration option in section [env:include_tree] is deprecated and will be removed in the next release! Please use build_src_filter instead”
    See build_src_filter — PlatformIO latest documentation

Probably the best way would be to contact the author and aks for help at https://github.com/MarlinFirmware/Marlin/issues

Thanks, moved files. guess tree was too long. compilation still failed , but due to BIGTREE_SKR_2 - STM32F407VGT6 with TMC2209 drivers issues. Will have to contact BigTree.

1 Like

Confused on src_filter. tried adding text from link to base platformio.ini, did not remove src notes.

This comes from using an outdated Marlin version. The latest versions use build_src_filter instead of src_filter correctly.

Note that this message alone is not an error, just a warning.

I assume you’re using a Marlin version not from https://github.com/MarlinFirmware/Marlin but from some other repository of the 3d printer manufacturer? Which one exactly?

1 Like

this is where I got directed to when doing a search. GitHub - bigtreetech/SKR-2

The last update in that repo was 4 years ago and the version is 2.0.9.2 whereby MarlinFirmware/Marlin was updated 3 weeks ago and the latest version is 2.1.3.

Thanks, pulled down version you referred to. Totally out to lunch now, will have to wait for response from Bigtreetech, the skr2 looks to have had major issues and they may have trashed it altogether. Unfortunately I possess 2 of them Rev A and Rev B. can close this discussion.