Skip to content
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

new Issue with STM32 compiles #15085

Closed
jmdearras opened this issue Aug 28, 2019 · 13 comments
Closed

new Issue with STM32 compiles #15085

jmdearras opened this issue Aug 28, 2019 · 13 comments

Comments

@jmdearras
Copy link
Contributor

jmdearras commented Aug 28, 2019

Description

Library conflict of some sort:

Compiling .pioenvs\BIGTREE_SKR_MINI\lib35e\U8glib-HAL_ID1932\lib\u8g_com_arduino_parallel.c.o
In file included from C:\users\jimde\.platformio\packages\framework-arduinoststm32-maple\STM32F1\cores\maple/boards.h:38:0,
                 from C:\users\jimde\.platformio\packages\framework-arduinoststm32-maple\STM32F1\cores\maple/wirish.h:54,
                 from C:\users\jimde\.platformio\packages\framework-arduinoststm32-maple\STM32F1\cores\maple/Arduino.h:30,
                 from .piolibdeps\BIGTREE_SKR_MINI\U8glib-HAL_ID1932\src\lib\u8g_com_arduino_common.c:46:
C:\users\jimde\.platformio\packages\framework-arduinoststm32-maple\STM32F1\cores\maple/wirish_types.h:65:9: error: unknown type name 'bool'
 typedef bool boolean;

I have seen this before.

Steps to Reproduce

  1. update all libraries
  2. pull latest marlin bugfix-2.0.x
  3. replace the two files with the attached
  4. compile

Expected behavior: [What you expect to happen]
good compile
Actual behavior: [What actually happens]
many errors in the C:\users\jimde.platformio\packages\framework-arduinoststm32-maple\STM32F1\cores\maple/wirish_types.h
config.zip

Additional Information

  • Include a ZIP file containing your Configuration.h and Configuration_adv.h files.
  • Provide pictures or links to videos that clearly demonstrate the issue.
  • See How Can I Contribute for additional guidelines.
@thinkyhead
Copy link
Member

This is not something we can address in the Marlin code-base. Try deleting your .pio and ~/.platformio/.cache folders before doing more builds. It may pass once the framework authors figure out that bool is only a C++ type and not a C type.

@jmdearras
Copy link
Contributor Author

jmdearras commented Aug 29, 2019

@thinkyhead @thisiskeithb > This is not something we can address in the Marlin code-base. Try deleting your .pio and ~/.platformio/.cache folders before doing more builds. It may pass once the framework authors figure out that bool is only a C++ type and not a C type.

I did all that, and now get:
.piolibdeps\BIGTREE_SKR_MINI\TMCStepper_ID5513\src/TMCStepper.h:18:11: fatal error: SoftwareSerial.h: No such file or directory

i do not have any TMC steppers defined.

@jmdearras
Copy link
Contributor Author

jmdearras commented Aug 29, 2019

OK, commented out //#define SW_CAPABLE_PLATFORM defined(AVR) || defined(TARGET_LPC1768) || defined(ARDUINO_ARCH_ESP32) || defined(ARDUINO_ARCH_STM32F1) and it works.
in .piolibdeps\BIGTREE_SKR_MINI\TMCStepper_ID5513\src\TMCStepper.h
"defined(ARDUINO_ARCH_STM32F1)" probably should not be in that define.

@thisiskeithb
Copy link
Member

@jmdearras: Try grabbing a fresh copy and compile again. Some patches have been applied that should fix this issue.

@jmdearras
Copy link
Contributor Author

@thisiskeithb yes. I got a good compile with the SKR-MINI V1.1 for the first time with "stock" marlin!

@thisiskeithb
Copy link
Member

It was working fine for quite a while when compiling for the SKR Mini. I know because I sent a board to @thinkyhead recently it compiled without issue 😄.

@jmdearras
Copy link
Contributor Author

jmdearras commented Aug 29, 2019 via email

@tpruvot
Copy link
Contributor

tpruvot commented Aug 29, 2019

if you are not using this repo, will not help you :p btw, skr mini owner too

@jmdearras
Copy link
Contributor Author

if you are not using this repo, will not help you :p btw, skr mini owner too

@tpruvot I do not understand your reply?

@tpruvot
Copy link
Contributor

tpruvot commented Aug 29, 2019

the TMCStepper serial issue was "fixed" a week or two ago or so... i mean

@thisiskeithb
Copy link
Member

the TMCStepper serial issue was "fixed" a week or two ago or so... i mean

But this issue was due to recent changes made to U8glib-HAL.

@jmdearras
Copy link
Contributor Author

I AM using the current marlin. Turns out I had to delete my .platformio/.cache folder. How does this address the MKS_MINI_12864 issue?

@github-actions
Copy link

github-actions bot commented Jul 4, 2020

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.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants