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

可否加入 ardunio 框架。 #18

Open
microcai opened this issue Dec 4, 2023 · 0 comments
Open

可否加入 ardunio 框架。 #18

microcai opened this issue Dec 4, 2023 · 0 comments

Comments

@microcai
Copy link

microcai commented Dec 4, 2023

RT.

各种 spi/i2c 之类的外设,都有基于 arduino 的驱动。如果 at32 没有 ardunio 意味着这些外设都要自己写驱动。非常影响开发进度。重复造轮子。

如果在 platformio.ini 里 写上 board = genericAT32Fxxx , 然后写上 framework = ardunio 就能使用就最好了。
这样可以让工程从 stm32/at32 上一键切换。

而且 at32 还可以完全放弃和 stm32 的二进制兼容。只要框架兼容,就可以保证同一份源码可以同时编译为 stm32/at32 固件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant