[python] MicroPython upgrade checklist file

This commit is contained in:
Léa Saviot
2019-08-21 11:13:39 +02:00
parent c421cf709d
commit 9759bd91d0

14
python/upgrade.md Normal file
View File

@@ -0,0 +1,14 @@
Steps to upgrade MicroPython:
- Clone the micropython project and checkout the current version
- Find the current patches and save them or make sure they were integrated to the next micropython version
git diff Path/to/epsilon/py Path/to/micropython/py
- Checkout the new version in the micropython project
- Copy the micropython py files in epsilon py folder
- Update epsilon/python/Makefile and epsilon/python/port/genhdr/qstrdefs.in.h following the instructions in the files
- Update other epsilon/python/port/genhdr/ files :
Get a clean copy of MicroPython
Copy our mpconfigport.h over the "bare-arm" port of MicroPython
"make" the bare-arm port of MicroPython (don't worry if it doesn't finish)
Copy the wanted build/genhdr files to epsilon/python/port/genhdr/
- Put back the patches from the first step if needed