Replies: 2 comments 1 reply
-
This comment may help a little bit.
I have not written any that is remotely up to date. It would be nice if someone who create a new port would document the process.
Kind of - the HAL functions, some of which are optional. grblHAL is in large parts "bare metal" and only relies upon external libraries for the more advanced functionality like USB and network communication. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently trying to port GrblHAL to two microcontrollers: the APM32F103VCT6 (featuring 256KiB Flash, 64KiB SRAM, 96MHz) and the APM32F407VGT6 (with 1MiB Flash, 192KiB SRAM, 4KiB Backup SRAM, 168MHz). These chips offer a rich set of peripherals, powerful performance, and, most importantly, they are extremely cost-effective (e.g., the APM32F407VGT6 is available for as low as 12 RMB on JLC).
Despite having spent about four to five hours reviewing GrblHAL-related content and scouring the internet, including (but not limited to) the following resources:
I still find myself completely at a loss. I haven't been able to find any clear guidance on how to port GrblHAL on Google, and I don't know where to begin. Simply cloning an existing STM32XX implementation would only make me more confused and directionless.
I'm desperately looking for:
init_printf
,之后就能随意使用了:Any help would be greatly appreciated! Please excuse my English, which may not be perfect. Should there be any ambiguity or questions in the English phrasing, please kindly refer to my original Chinese text for clarification.
我正尝试将 GrblHAL 移植到apm32F103VCT6(有256KiB Flash 64KiB SRAM 96MHz 主频)和apm32F407VGT6(有1MiB Flash 192KiB SRAM 4KiB备份 168MHz 主频)这两款微控制器上。这些芯片不仅外设丰富、性能强劲,更重要的是它们价格低廉(例如 APM32F407VGT6 在嘉立创最低仅售 12 元人民币)。
尽管我已经花费了四五个小时查阅 GrblHAL 相关资料并搜索互联网,包括但不限于:
请原谅我都平庸无能,我在谷歌上找不到任何明确的指导如何移植grbl hal 的结果,我不知道从哪里开始,去克隆某个已经实现的stm32xx的实现并开始只会让我更加混乱找不到方向。
我依然感到非常困惑。我在谷歌上找不到任何明确的 GrblHAL 移植指南,也不知道从何开始。直接克隆一个已有的 STM32XX 实现只会让我更加迷茫,找不到方向。
我急切地想知道:
io_putchar
函数,然后在初始化时将其传递给init_printf
,之后就能随意使用了:对于任何帮助,我将不胜感激!请原谅我的英语可能不尽完美,如果英文表述中存在任何歧义或疑问,请以我的中文原文为准。
Beta Was this translation helpful? Give feedback.
All reactions