summaryrefslogtreecommitdiffstats
path: root/package/micropython
Commit message (Collapse)AuthorAgeFilesLines
* micropython: bump version to v1.9.4Chris Packham2018-08-092-2/+2
| | | | | 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-162-4/+5
| | | | | | | | | (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>
* package: remove Blackfin related codeThomas Petazzoni2018-04-151-3/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/*/Config.in: fix help text check-package warningsThomas Petazzoni2017-12-181-2/+3
| | | | | | | | | | | | | This commit fixes the warnings reported by check-package on the help text of all package Config.in files, related to the formatting of the help text: should start with a tab, then 2 spaces, then at most 62 characters. The vast majority of warnings fixed were caused by too long lines. A few warnings were related to spaces being used instead of a tab to indent the help text. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/m*/Config.in: fix ordering of statementsAdam Duskett2017-05-011-1/+1
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter m in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* micropython: bump version to v1.8.7Chris Packham2017-01-242-6/+4
| | | | | | | | | 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-122-1/+3
| | | | | | | | | | | 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-053-27/+2
| | | | | | | | | 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: fix build failuresChris Packham2016-09-041-0/+27
| | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/061c66987e9c33a6641c8183f5e0badae516fc1d http://autobuild.buildroot.net/results/62e5b5c6d9dca0f41fb4e7d462ebfbb02f8d29da http://autobuild.buildroot.net/results/a6437a49659a7b2983269e758dba9fa5a29240d7 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-252-2/+9
| | | | | 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-062-2/+2
| | | | | 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-182-2/+2
| | | | | 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-242-1/+3
| | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* micropython: needs dynamic libraryThomas Petazzoni2015-10-041-2/+3
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/06f/06fc79dad3d4c0c5f997f4c2e4b52014727764ac/ 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: Disable for BlackfinChris Packham2015-09-241-0/+3
| | | | | | | | | | | | | | | There are two problems building micropython for Blackfin. The first is some printf format specifier warnings/errors that seem to be triggered only for that architecture/compiler. This could be worked around by specifying CFLAGS=-Wno-error=format. The second problem is that libffi doesn't provide the closure implementation on Blackfin. There is no known workaround for this issue. For now disable micropython on Blackfin. 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-173-0/+66
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