Damien George
ecd1272d16
esp8266: Switch bignum implementation from long-long to mpz.
2016-03-02 22:43:10 +02:00
Damien George
3d1d92acfc
mpy-cross: Give a more sensible error message when file doesn't exist.
2016-03-02 16:12:00 +00:00
Noah Rosamilia
6bb9d3ea3e
docs/uctypes.rst: Fix typo (steamlined -> streamlined).
2016-03-02 00:25:10 +02:00
Paul Sokolovsky
dc320164d8
unix/modsocket: Add comment regarding close() error checking (which is none).
2016-03-02 00:20:48 +02:00
Damien George
4f72aa86bf
py/qstrdefs: Add mkdir and remove qstrs for user-mountable filesystems.
2016-02-29 10:54:00 +00:00
Paul Sokolovsky
2740dd85f2
tests/vfs_fat_ramdisk: Add testcase for .rename().
2016-02-29 01:24:18 +02:00
Paul Sokolovsky
e0821830b0
extmod/vfs_fat: Add .rename() method.
2016-02-29 01:23:53 +02:00
Paul Sokolovsky
09e363316f
extmod/vfs_fat_misc: Fix cc3200 port build.
2016-02-29 01:15:19 +02:00
Paul Sokolovsky
9fb36af9af
tests/vfs_fat_ramdisk: Allow to run in native mode (don't use "with").
2016-02-29 01:03:32 +02:00
Paul Sokolovsky
08fed6992f
extmod/vfs_fat_misc: Add func prototype for pedantic warnings.
2016-02-29 00:48:45 +02:00
Paul Sokolovsky
6ef65e70af
extmod/vfs_fat: Add fat_vfs_import_stat(), reusable import stat routine.
...
Moved from stmhal.
2016-02-29 00:44:32 +02:00
Paul Sokolovsky
eaa96a7610
tests/vfs_fat_ramdisk: Add testcase for .mkdir().
2016-02-29 00:06:44 +02:00
Paul Sokolovsky
bbe832a0b2
extmod/vfs_fat: Add .mkdir() method.
2016-02-29 00:03:20 +02:00
Paul Sokolovsky
6f469209e9
extmod/vfs_fat: Fix unused param warning/error.
2016-02-28 20:45:51 +02:00
Paul Sokolovsky
57425b648f
tests/vfs_fat_ramdisk: Add testcase for .remove().
2016-02-28 20:30:59 +02:00
Paul Sokolovsky
19749db7bf
extmod/vfs_fat: Add .remove() method.
...
Based on stmhal implementation - rather small, so just duplicating.
2016-02-28 20:30:07 +02:00
Paul Sokolovsky
9c081b740b
tests/vfs_fat_ramdisk: Add .listdir() testcase.
2016-02-28 17:19:12 +02:00
Paul Sokolovsky
cd6d189f48
extmod/vfs_fat: Move listdir() method from stmhal for reuse.
2016-02-28 17:17:24 +02:00
danicampora
8a18084571
cc3200: Update WiPy software version to 1.2.0
2016-02-27 00:19:53 +01:00
Damien George
ac23662550
unix: Enabled importing of persistent bytecode (.mpy files).
2016-02-25 10:12:30 +00:00
Damien George
476c15290d
stmhal: Enabled importing of persistent bytecode (.mpy files).
2016-02-25 10:12:30 +00:00
Damien George
56f76b873a
mpy-cross: Add new component, a cross compiler for MicroPython bytecode.
...
This component allows to generate .mpy files (pre compiled bytecode)
which can be executed within any MicroPython runtime/VM.
2016-02-25 10:12:21 +00:00
Damien George
ea23520403
py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime.
...
This new compile-time option allows to make the bytecode compiler
configurable at runtime by setting the fields in the mp_dynamic_compiler
structure. By using this feature, the compiler can generate bytecode
that targets any MicroPython runtime/VM, regardless of the host and
target compile-time settings.
Options so far that fall under this dynamic setting are:
- maximum number of bits that a small int can hold;
- whether caching of lookups is used in the bytecode;
- whether to use unicode strings or not (lexer behaviour differs, and
therefore generated string constants differ).
2016-02-25 10:05:46 +00:00
danicampora
57b96a7be2
docs: Correct machine.Timer code examples related to duty cycle.
2016-02-23 20:22:26 +01:00
danicampora
8e1fdf2eb3
docs: Add note on machine.Timer class regarding PWM output pins.
2016-02-23 19:53:59 +01:00