You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
the enum constants is not possible to use in preprocessor conditions #587
Hi @linvinus
I already think about that and have some private request about that.
What is the status of the STM32 porting in Marlin?
If I'm not wrong this core is integrated in the 2.x version?
Originally this is @hasenbanck who start some action in this repo about that.
What is the status of the STM32 porting in Marlin?
In this year several new the electronic board,based on SMT32 , for 3D printers was released.
For example:
SKR E3 DIP V1.0 (STM32F103)
SKR E3 mini (STM32F103)
FYSETC Cheetah Board (STM32F103)
So marlin port for STM32 will be more and more popular.
If I'm not wrong this core is integrated in the 2.x version?
Yes marlin 2.0 (bugfix-2.0.x branch) is already supporting STM32F1 and STM32F4 based electronic boards, but currently it in alpha state, mostly working but have some problems, not all of them may reveal at compiling time.
@linvinus The issues you have linked seem to affect the STM32F1 HAL (HAL_STM32F1), which uses another Arduino Core. Are you sure that it also affects the STM32 HAL? (HAL_STM32) Marlin right now has THREE STM32 HALs. I and some other developers added a generalized STM32 HAL, but not all boards made the switch yet.
Do you simply assume that the problem is there (when using this core) or
did you test it? The issue you linked also seem to fix the problem inside
Marlin (referenced PR).
Activity
fpistm commentedon Jul 31, 2019
Hi @linvinus
I already think about that and have some private request about that.
What is the status of the STM32 porting in Marlin?
If I'm not wrong this core is integrated in the 2.x version?
Originally this is @hasenbanck who start some action in this repo about that.
linvinus commentedon Jul 31, 2019
In this year several new the electronic board,based on SMT32 , for 3D printers was released.
For example:
SKR E3 DIP V1.0 (STM32F103)
SKR E3 mini (STM32F103)
FYSETC Cheetah Board (STM32F103)
So marlin port for STM32 will be more and more popular.
Yes marlin 2.0 (bugfix-2.0.x branch) is already supporting STM32F1 and STM32F4 based electronic boards, but currently it in alpha state, mostly working but have some problems, not all of them may reveal at compiling time.
Official status is here MarlinFirmware/Marlin#14345
fpistm commentedon Jul 31, 2019
OK, thanks for the feedback.
hasenbanck commentedon Jul 31, 2019
@linvinus The issues you have linked seem to affect the STM32F1 HAL (HAL_STM32F1), which uses another Arduino Core. Are you sure that it also affects the STM32 HAL? (HAL_STM32) Marlin right now has THREE STM32 HALs. I and some other developers added a generalized STM32 HAL, but not all boards made the switch yet.
linvinus commentedon Jul 31, 2019
@hasenbanck Oopse, you are right!
marlin use platformio which have ststm32 module,
According to platformio documentation https://docs.platformio.org/en/latest/platforms/ststm32.html
by default stm32duino is used, so i decide to report here.
I'm sorry, my mistake!
But any way the same problem is present here.
hasenbanck commentedon Jul 31, 2019
linvinus commentedon Aug 1, 2019
As I said above, I did not know that Marlin uses three different HALs, so no, I have not tested stm32duino as a core yet.
fpistm commentedon Aug 1, 2019
Well, until a clear the status.
I will wait.
@hasenbanck IIRW you told me Marlin waited for a Hardware Timer library, FYI the PR was submitted.
xC0000005 commentedon Aug 1, 2019
I think this has already been fixed. Most boards add a set of #defines similar to this:
Arduino_Core_STM32/variants/MALYANM200_F070CB/variant.h
Line 43 in 85fd492
And that hardware timer library should make it possible to support most ST boards from one HAL. Good stuff.
fpistm commentedon Aug 2, 2019
Ok, looking deeply in issues referenced by @linvinus.
Pins PXn are already a define not enum.
This was covered by #309 thanks @ghent360 for Marlin and merged thanks #356.
This new issue is probably linked to @rogerclarkmelbourne core: Arduino_STM32
ex:
https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/a3a56866505eeca4b49fc435700dcd4bd5540c8c/STM32F1/variants/generic_stm32f103c/board/board.h#L79-L83
So I close this one as already solved.
Thanks all for your feedback.