summaryrefslogtreecommitdiffstats
path: root/package/micropython/micropython.mk
Commit message (Collapse)AuthorAgeFilesLines
* micropython: bump version to v1.9.4Chris Packham2018-08-091-1/+1
| | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* micropython: bump version to v1.9.3Blomme, Maarten2018-04-161-3/+4
| | | | | | | | | (With correct formatting now) The build step now requires building mpy-cross first. Signed-off-by: Blomme, Maarten <Maarten.Blomme@flir.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* micropython: bump version to v1.8.7Chris Packham2017-01-241-3/+3
| | | | | | | | | The install step now requires CROSS_COMPILE as some C files are generated at install time. Also remove patches that have been applied upstream. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* micropython: add upstream patch to fix build failuresChris Packham2016-09-121-1/+2
| | | | | | | | | | | This allows micropython to build with a host python version of 2.6. Fixes: http://autobuild.buildroot.net/results/212cee82cc9db81cf1524925d106e01fc1e62ce5 http://autobuild.buildroot.net/results/4f72a602702f4eac1fe8c4a385ebfeb6e1c50df2 Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* micropython: replace local fix with upstream oneChris Packham2016-09-051-0/+1
| | | | | | | | | The fix from commit 26248571b625 ("micropython: fix build failures") was applied upstream. This replaces the local buildroot fix with the patch that was accepted upstream. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* micropython: bump version to v1.8.3Chris Packham2016-08-251-1/+8
| | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* micropython: bump to v1.6Chris Packham2016-02-061-1/+1
| | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/micropython: bump to version 1.5.2Jörg Krause2016-01-181-1/+1
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* micropython: Bump version to v1.5Chris Packham2015-11-241-1/+1
| | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* micropython: Bump version to v1.4.6Chris Packham2015-09-241-4/+1
| | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* micropython: Invert fallback detection logicChris Packham2015-09-241-1/+1
| | | | | | | | | | | Rather than specifying architectures that do not have explicit support in micropython invert the logic and set MICROPY_GCREGS_SETJMP=1 if the architecture does not have explicit support. MIPS is listed as being supported but this support consists of automatically defining MICROPY_GCREGS_SETJMP 1 based on __mips__ being defined. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* micropython: fix build for MIPS64 n32Vicente Olivert Riera2015-09-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch applies an upstream patch to fix a compile error like this one: modffi.c: In function 'ffifunc_call': modffi.c:358:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] values[i] = (ffi_arg)a; This error can be highlighted when building micropython for MIPS64 n32 because ffi_arg is 64-bit wide and the pointers on MIPS64 n32 are 32-bit wide, so it's trying to case an integer to a pointer (or vice versa) of a different size. We should cast first the pointer (or the integer) to a pointer sized integer (intptr_t) to fix that problem. This patch was merged upstream as a result of this pull request: https://github.com/micropython/micropython/pull/1471 Fixes: http://autobuild.buildroot.net/results/e22/e2253de3f96e9a53e75b4cecaf56c1df2950803f/ [Thomas: use a single assignement for MICROPYTHON_PATCH.] Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* micropython: Add upstream patch to fix 64-bit buildsChris Packham2015-09-201-0/+1
| | | | | | | | | | | | | | | Fixes the following error when building for a 64-bit target ../py/objint_mpz.c:54:5: error: right shift count >= width of type [-Werror] (MP_SSIZE_MAX >> MPZ_DIG_SIZE * 4) & DIG_MASK, ^ ../py/objint_mpz.c:54:5: error: initializer element is not constant ../py/objint_mpz.c:54:5: error: (near initialization for 'maxsize_dig[4]') Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* micropython: Set MICROPY_GCREGS_SETJMP=1 for xtensa and shChris Packham2015-09-191-1/+1
| | | | | | | | These architectures don't have explicit exception handling support in micropython but can use the setjmp fallback behaviour instead. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* micropython: new packageChris Packham2015-09-171-0/+32
Micro Python is a lean and fast implementation of the Python 3 programming language that is optimised to run on a microcontroller. [Thomas: fix minor typo in Config.in noticed by Vicente.] Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud