-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Unable to compile AT90USB due to PIO cust scripts + TMC2208 dvr error #15302
Comments
Upload script buildroot/share/atom/create_custom_upload_command_*.py are incompatible with PIO, causing compile failure. Removing for now to prevent this non-essential function from preventing compile. See MarlinFirmware#15302
Compile issue still exists. The minor issue with bob’s script is mitigated by disabling, but downstream compile error in TMC driver remains. I couldn’t come up with any way to fix. Fear it will take someone like p3p to give insight on what’s going on. |
Seeing similar issues getting TMCStepper to build with the SKR Pro v1.1 board. See #15324 |
FYI, issue obv still exists. We need to figure out the Trinamic driver issue to unblock all these unrelated platforms. With #15324 closed, is there a master issue that's tracking this ? |
Just ran into this issue myself with the AT90USB1286 - Printrboard ` .pio\libdeps\at90usb1286_dfu\TMCStepper_ID5513\src\source\TMC2208Stepper.cpp: In member function 'virtual uint32_t TMC2208Stepper::read(uint8_t)': .pio\libdeps\at90usb1286_dfu\TMCStepper_ID5513\src\source\TMC2208Stepper.cpp:220:16: error: 'class SoftwareSerial' has no member named 'stopListening'
` |
@fiveangle & @drphil3d, do you build in PlatformIO or in Arduino? I believe your boards have permanently installed drivers, so there is no need for TMC driver support, right? If so, you can add the following in the
Of course if that is an adequate solution the change needs to be submitted back in a PR, either by one of you, or myself if you let me know it solves your issue. |
That worked! This is what my environment looked like to start with '
[env:at90usb1286_dfu] Modified Environment that worked AT90USB1286 boards using DFU bootloader
[env:at90usb1286_dfu] ` |
@drphil3d Great! I posted a PR to change the INI file for that environment. I'm sure other environments could benefit from it, but I'm not sure which have boards where TMC drivers might be installed. I guess we'll wait until people complain about build issues on other environments. |
More than likely anyone using one of these old boards isn't going to be using tmc drivers. This should also be added to the CDC version. |
I didn't add it to the CDC version because at least one of those boards has interchangeable drivers. |
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. |
Description
Unable to compile for Printrboard RevF for 2 reasons (assuming 1 is toolchain change, as this worked March 26).
create_custom_upload_command_DFU.py
uploader script either never was compliant, or has become non-compilant with PIO, but my Python-foo is not good enough to track down the issue, although disablingextra_scripts
section forat90usb1286_dfu
ENV moves beyond this error (disabling auto-upload functionality)TMC2208Stepper.cpp:202:16: error: 'class SoftwareSerial' has no member named 'stopListening'
but configs do not include the driverSteps to Reproduce
https://github.com/fiveangle/Marlin/blob/bf2_printrbot_simple_metal_config/Marlin/Configuration.h
https://github.com/fiveangle/Marlin/blob/bf2_printrbot_simple_metal_config/Marlin/Configuration_adv.h
Rebase working-as-of March 26 configs onto current BF2 branch:
https://github.com/fiveangle/Marlin/blob/2019-09-18-pbsm/Marlin/Configuration.h
https://github.com/fiveangle/Marlin/blob/2019-09-18-pbsm/Marlin/Configuration_adv.h
Observe warnings resolved, but compile failure persists:
extra_scripts
inat90usb1286_dfu
env in platformio.iniThanks,
-=dave
The text was updated successfully, but these errors were encountered: