[SOLVED] question on mpy-cross

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: question on mpy-cross

Post by jimmo » Fri May 03, 2019 11:14 pm

Yes, a uf2 file is just instructions to the bootloader with chunks of data and destination addresses. Like a .hex file but binary. There are tools for generating this.

The main thing (and this is not complicated, just a matter of reading and figuring it out) is to make sure the firmware image you build has the right memory layout (i.e. leaving enough room for their bootloader etc).

For an example of this (layout changing for different bootloader config), look at how the USE_MBOOT flag in main MicroPython works by selecting a different linker script.

Looks like the meowbit is quite new, maybe they just haven't gotten around to releasing their repo yet. Might be worth emailing them directly?

User avatar
shazz
Posts: 46
Joined: Tue Apr 30, 2019 6:35 pm
Contact:

Re: question on mpy-cross

Post by shazz » Fri May 03, 2019 11:20 pm

Dave... I just saw that you're the guy behind the Brainpad micropython sourcecode.... how much the meowbit is different from the brainpad arcace ?

https://github.com/dhylands/BRAINPAD
8bits should be enough...

User avatar
shazz
Posts: 46
Joined: Tue Apr 30, 2019 6:35 pm
Contact:

Re: question on mpy-cross

Post by shazz » Sat May 04, 2019 1:43 am

jimmo wrote:
Fri May 03, 2019 11:14 pm
Looks like the meowbit is quite new, maybe they just haven't gotten around to releasing their repo yet. Might be worth emailing them directly?
I did last week, I tried Slack, their support email... no answer :( Weird company but cool toy :)
8bits should be enough...

User avatar
shazz
Posts: 46
Joined: Tue Apr 30, 2019 6:35 pm
Contact:

Re: question on mpy-cross

Post by shazz » Sat May 04, 2019 2:20 pm

Finally got in touch with them using Chinese websites (thanks Google translate....)
Code is available now!
https://github.com/KittenBot/micropython_meowbit

So cool.
8bits should be enough...

apollo2mond
Posts: 8
Joined: Wed May 29, 2019 6:17 pm

Re: question on mpy-cross

Post by apollo2mond » Wed May 29, 2019 6:39 pm

@ robert-hh

hi robert,
could you upload on github the latest binary for v1.11 mpy-cross.exe as done for v1.10?

many thanks in advance, uwe

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: [SOLVED] question on mpy-cross

Post by Roberthh » Thu May 30, 2019 7:24 am

@apollo2mond mpy-cross v1.11 is now at https://github.com/robert-hh/Shared-Stuff

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: [SOLVED] question on mpy-cross

Post by rcolistete » Thu May 30, 2019 9:48 pm

Roberthh wrote:
Thu May 30, 2019 7:24 am
@apollo2mond mpy-cross v1.11 is now at https://github.com/robert-hh/Shared-Stuff
If possible, please update "mpy-cross_micropython_org_linux".
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: [SOLVED] question on mpy-cross

Post by Roberthh » Fri May 31, 2019 5:36 am

Of course & done.

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: [SOLVED] question on mpy-cross

Post by rcolistete » Sat Jun 01, 2019 1:59 pm

Roberthh wrote:
Fri May 31, 2019 5:36 am
Of course & done.
Thanks !
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

zmaier
Posts: 14
Joined: Thu May 16, 2019 12:44 pm

Re: [SOLVED] question on mpy-cross

Post by zmaier » Tue Jun 18, 2019 12:57 pm

Hi, any change to get a running mpy-cross.exe compatilble with windows 64Bit?

Post Reply