Beginners build question

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
Neil
Posts: 15
Joined: Tue Jul 14, 2015 8:51 pm

Beginners build question

Post by Neil » Fri Mar 18, 2016 7:45 am

Hi All,

This is probably a very stupid question, but it is my first attempt at cross compiling to create a custom pyboard dfu in preparation for when frozen bytecode come into the master branch.

I have installed all the appropriate tools on windows and have successfully built the project without errors. However, if I Hex compare my resultant DFU with the latest daily download build they differ significantly. My question is should I expect them to be the same or will equally valid builds come out differently at the binery level as a function of the specific toolchain used?

Ans secondly is there anyway to confirm a valid build without loading it onto a pyboard and seeing what happens.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Beginners build question

Post by dhylands » Fri Mar 18, 2016 4:23 pm

You'd have to be using the exact same toolchain that Damien uses to build the nightlies in order to get an exact match.

The pyboards are pretty much unbrickable, so even if you load something totally bogus you should still be able to recover by putting the chip into DFU mode and then flashing one of the nightlies.

Perhaps you should practice by flashing nightly A and then nightly B. You should see the banner change slightly between the 2 versions.

Post Reply