[gnea/grbl-Mega Issue#92] Using grbl with other MCUs

未分类 bolang 4个月前 (10-15) 25次浏览

Issue #92 | 状态: 进行中 | 作者: PerThomas | 创建时间: 2019-02-27


Hi
I wonder if anybody have an idea of whether or not it is a lot work to port grbl to be used with other MSCs. I considering using grbl on a project that uses an STM32 micro-controller to control some stepper motors.

Im an experienced programmer myself, but would appreciate a few pointer on where to start


评论 (6)

#1 – PerThomas 于 2019-02-27

I meant MCUs


#2 – langwadt 于 2019-02-27

it’s quite straight forward I’ve ported it to STM32. basically; reimplement serial.c, eeprom.c, the atomic access, fix all the GPIO access and setup a timer for the step interrupt

https://github.com/langwadt/grbl_stm32


#3 – chamnit 于 2019-02-27

It’s not too bad. But I am working on an abstraction to make it easier. Been busy but intend to release it eventually.


#4 – PerThomas 于 2019-02-28

Thanks a lot for quick reply, I will have a look 😊

best regards

Per Thomas Hille

__
Fra: Sonny Jeon
Sendt: onsdag 27. februar 2019 20.26
Til: gnea/grbl-Mega
Kopi: Per-Thomas Hille; Author
Emne: Re: [gnea/grbl-Mega] Using grbl with other MCUs (#92)

It’s not too bad. But I am working on an abstraction to make it easier. Been busy but intend to release it eventually.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/gnea/grbl-Mega/issues/92#issuecomment-467996857>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Adbawpj7-_mXkQhcELifs-AiBXhyIjV7ks5vRtv-gaJpZM4bUzKS>.

When you communicate with us or otherwise interact with Semcon, we will process personal data that you provide to us or we collect about you, please read more in our Privacy Policy<https://semcon.com/data-privacy-policy/>.


#5 – PerThomas 于 2019-02-28

Thanks a lot, I will have a look 😊, Im sure I will figure out something with the hints below.

I will let you know how it goes.

best regards

Per Thomas Hille

__
Fra: langwadt
Sendt: onsdag 27. februar 2019 18.18
Til: gnea/grbl-Mega
Kopi: Per-Thomas Hille; Author
Emne: Re: [gnea/grbl-Mega] Using grbl with other MCUs (#92)

it’s quite straight forward I’ve ported it to STM32. basically; reimplement serial.c, eeprom.c, the atomic access, fix all the GPIO access and setup a timer for the step interrupt

https://github.com/langwadt/grbl_stm32

[https://avatars3.githubusercontent.com/u/1613189?s=400&v=4]<https://github.com/langwadt/grbl_stm32>

GitHub – langwadt/grblstm32: grbl for stm32 with nucleo stepper drivers<https://github.com/langwadt/grblstm32>
github.com
grbl for stm32 with nucleo stepper drivers. Contribute to langwadt/grbl_stm32 development by creating an account on GitHub.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/gnea/grbl-Mega/issues/92#issuecomment-467950897>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AdbawgijFqVm0HFvawL_6enowQJgubh2ks5vRr31gaJpZM4bUzKS>.

When you communicate with us or otherwise interact with Semcon, we will process personal data that you provide to us or we collect about you, please read more in our Privacy Policy<https://semcon.com/data-privacy-policy/>.


#6 – bdring 于 2019-02-28

I have ported it to 2 other MCUs. It was pretty easy because the code is so well written and easy to follow.

PSoC5 (arm) This was was very easy and I did it over a long weekend.
ESP32 This was a bigger project and probably took a couple months of part time work.

My advice is to work backwards from the peripherals. Get all the timers and PWMs working and the rest is pretty easy.


原始Issue: https://github.com/gnea/grbl-Mega/issues/92

喜欢 (0)