mattytrentini / mpbuild

MicroPython build tool
MIT License
9 stars 5 forks source link

Extension: Wrapper around mpbuild which handles micropython git repos #19

Open hmaerki opened 2 months ago

hmaerki commented 2 months ago

Use case of octoprobe:

Given a url to a micropython repo, for example https://github.com/micropython/micropython@v1.24.0-preview. Given octoprobe has 2 mcu tentacles connected: rp2, pyboard.

Now octoprobe will call mpbuild for the to 2 mcu tentacles, program the tentacles and run the tests.

Implementation

The same for the other mcu tentacles.

Whats next

I plan to implement such a wrapper for octoprobe but I am interested in your opinions.

Josverl commented 2 months ago

If you want to do more than just rp2, you could consider using mpflash for flashing. It's been built with that purpose in mind and cause I found myself maintaining the same code in multiple projects.

Chaining or integration with mpbuild makes sense.

It also has a basicgit module that suffices for common tasks.

mattytrentini commented 2 months ago

It seems that this issue is just requesting that mpbuild returns the build folder?

And, possibly, can also be used as a module?

If that's correct, I'll close this ticket and create new ones more targeted at those features.