Closed fiveangle closed 6 years ago
There should be nothing in that PR that changes Teensy builds, it was isolated to the LPC176x platform.
so platformio is being "helpful" comment out line 49 (#include <adc.h>
) of LPC1768/HAL.h
, it fixes the build, you will need to add whatever library it is pulling in to the ignore list for your platform because it spots that header in code it isn't going to build as it's the wrong platform and gets confused.
Sounds more like a bug with LDF because the entire src/HAL/HAL_LPC1768
tree is supposed to be categorically ignored from the INI:
[common] default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
indeed the LDF is the helpful part of platformio that is consistently annoying me, along with it trying to build libraries for incompatible envs as long as they were already downloaded for another env
@p3p - Hey Chris, you may want to recheck to see if it's still worth manually specifying all libraries as a w/a for LDF because it seems there indeed was a bug in the src_filter function resolved in PIO 3.6.3b1
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
12093 broke Teensy AVR platforms due to Teensy ADC library not compatible
Configs: https://github.com/fiveangle/Marlin/tree/bf2bisect1/Marlin