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

Arduino Support #26

Closed
NoNamedCat opened this issue Aug 29, 2023 · 8 comments
Closed

Arduino Support #26

NoNamedCat opened this issue Aug 29, 2023 · 8 comments

Comments

@NoNamedCat
Copy link

Hello, thank you for this project once again.
I want to add Arduino support for the PY32F002.
As IOsetting mentioned earlier, there are some projects that do this for another chip called AIR001.
I've collected some test sketches and can confirm that if I upload the hexadecimal to the PY32F002, it works perfectly.
So, I'm thinking of cloning the repository and adapting the source code for this MCU.
I have some questions about how to do this.
Is it correct to take the source code from the repository and adapt it for this MCU?
Would any of you be interested in doing this?
Is it worth doing this?
Some of you have mentioned that the resources of this MCU might not be sufficient for the Arduino environment.
Based on the results and libraries ported by the other project, do you believe this to be the case?
Thank you and warm regards!

@NoNamedCat
Copy link
Author

This is the site for the project:

https://wiki.luatos.com/chips/air001/index.html

@IOsetting
Copy link
Owner

I seldom use Arduino so I don't have an idea, maybe you can fork it and make further changes to make it support PY32 types?
BTW I don't like their ISP tool because it need .NET runtime, I don't use .NET in Ubuntu. If I got time I would write one in C.

@IOsetting
Copy link
Owner

@NoNamedCat I don't know what is going on, I didn't see any new replies in this thread, but I found a lot new replies in my mailbox. Regarding the USB-DAP adapter problem, I don't know much about USB HID either, maybe you can find help in DAPLink discussions

@NoNamedCat
Copy link
Author

https://github.com/py32duino/Arduino-PY32

Arduino for the PY32F series is real now :)

@IOsetting
Copy link
Owner

That's great news, the Arduino support will definitely attract more users.

@NoNamedCat
Copy link
Author

NoNamedCat commented Nov 13, 2023

Totally agree. That makes my dreams come true. I really want the cheapest possible Arduino compatible board.
Here... I give you another design. It has a CH340X for automatic reset and boot mode entering and flashing.

wagiminator/MCU-Flash-Tools#2

The same with the older design. You can use the design as you wish. You can use it in this web page. You can sell it. You can do what you want, You don't need to credit me for that.

The board should be compatible with the puysisp tool that wagiminator created.

@NoNamedCat
Copy link
Author

Should i close this issue?

@IOsetting
Copy link
Owner

I don't mind if it is open, but if you like, yes, of course you can close it.

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

2 participants