Damien George
f003310dee
qemu-arm: Enable MICROPY_PY_ALL_SPECIAL_METHODS.
...
The qemu-arm port is for testing, so should have features enabled.
2016-08-17 12:37:28 +10:00
Damien George
675d1c9c60
ports: Remove typedef of machine_ptr_t, it's no longer needed.
...
This type was used only for the typedef of mp_obj_t, which is now defined
by the object representation. So we can now remove this unused typedef,
to simplify the mpconfigport.h file.
2016-08-15 11:02:59 +10:00
Damien George
be989be861
qemu-arm: Enable builtin override feature, and enable more tests.
...
Hopefully these tests run reliably on Travis.
2016-03-15 13:45:32 +00:00
Damien George
4300c7dba2
py: Remove dependency on printf/fwrite in mp_plat_print.
...
See issue #1500 .
2015-10-15 00:05:55 +01:00
Delio Brignoli
cceff157dd
qemu-arm: Enable array slice assignment to get memoryview1 test to pass.
2015-07-20 15:53:22 +01:00
Damien George
7e758b1cf8
stmhal, qemu-arm: Enable sys.maxsize attribute.
2015-04-04 22:04:53 +01:00
Paul Sokolovsky
562fa575a6
qemu-arm: Handle sys.exit() to allow skip tests in testsuite.
2015-02-28 00:31:18 +02:00
Damien George
b191038198
qemu-arm: Enable source line numbers, for easier debugging.
2015-02-16 17:45:34 +00:00
Damien George
99dde4ed1f
qemu-arm: Enable GC and native code-gen; enable more tests.
2015-01-12 12:07:42 +00:00
Damien George
4a5895c4eb
py: Disable stack checking by default; enable on most ports.
2015-01-09 00:10:55 +00:00
Damien George
85e8e2ed5b
qemu-arm: Add 'test' target to Makefile to run and verify test suite.
...
Replaces RUN_TEST=1 definition; now "make test" in qemu-arm directory
will run tests/basics/ and check that they all succeed.
This patch also enables the test on Travis CI.
2015-01-09 00:03:21 +00:00
Paul Sokolovsky
91386eee26
ports: Define mp_off_t.
2014-11-17 00:16:14 +02:00
Damien George
3c658a4e75
py: Fix bug where GC collected native/viper/asm function data.
...
Because (for Thumb) a function pointer has the LSB set, pointers to
dynamic functions in RAM (eg native, viper or asm functions) were not
being traced by the GC. This patch is a comprehensive fix for this.
Addresses issue #820 .
2014-08-24 16:28:17 +01:00
Damien George
40f3c02682
Rename machine_(u)int_t to mp_(u)int_t.
...
See discussion in issue #50 .
2014-07-03 13:25:24 +01:00
Damien George
4480cb3711
Provide definition of alloca() in mpconfigport.h.
2014-06-08 13:25:33 +01:00
Damien George
ee3fd46f13
Rename configuration variables controling Python features.
...
Now of the form MICROPY_PY_*. See issue #35 .
2014-05-24 23:03:12 +01:00
Damien George
58ebde4664
Tidy up some configuration options.
...
MP_ALLOC_* -> MICROPY_ALLOC_*
MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX
MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL
MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX
MICROPY_EXTRA_* -> MICROPY_PORT_*
See issue #35 .
2014-05-21 20:32:59 +01:00
Paul Sokolovsky
44a949d58c
qemu-arm: Disable "io" module.
2014-05-19 22:33:35 +03:00
Ilya Dmitrichenko
2face99cfe
qemu-arm: more generic port name.
2014-04-21 21:04:04 +01:00