Edd Barrett
67ab5ee779
On OpenBSD MAP_ANONYMOUS is called MAP_ANON.
11 years ago
Edd Barrett
8146aea8ef
malloc.h is obsolete.
11 years ago
Damien George
8bbd112938
Update README with disclaimer for changing code; use gmake on BSD.
11 years ago
Damien George
df884fe4cc
py: change declaration of mp_map_t in obj.h (for issue #24 ).
11 years ago
Damien George
17b161333b
Merge pull request #21 from pfalcon/readline-improve
Support Readline history and make it optional
11 years ago
Damien George
209d1b1835
py: add int() and float() built-ins, partially implemented.
11 years ago
Paul Sokolovsky
fa027672da
Make GNU Readline usage optional (USE_READLINE define). Still enabled.
Readline is GPL, so linking with it casts the binary GPL.
11 years ago
Paul Sokolovsky
903b24f041
Add readline history support.
11 years ago
Dr-Syn
31aa47d56a
Update README.md
Updated to reflect build requirements for Ubuntu/Mint linuxes
11 years ago
Damien George
83c437cb0d
Merge pull request #12 from pfalcon/minor-fixes
Minor fixes
11 years ago
Damien George
6baf76e28b
py: make closures work.
11 years ago
Paul Sokolovsky
2efbc622cb
Typo fix in comment.
11 years ago
Paul Sokolovsky
e1151e463d
Use rm -rf to remove build dir, so it doesn't error out if dir doesn't exist.
11 years ago
Damien George
8cc96a35e5
Put unicode functions in unicode.c, and tidy their names.
11 years ago
Damien George
212c296c0b
Make unix-cpy cross platform; remove dependency of asmx64 on mpconfig.
11 years ago
Damien George
cd340c44c2
Merge branch 'cross-plat' of https://github.com/pfalcon/micropython into pfalcon-cross-plat
11 years ago
Paul Sokolovsky
e85c38992d
Make "unix" target be crossplatform and support x86, x64, ARM hosts.
11 years ago
Damien
046147dcd5
Small change to handling of integers in run-tests.
11 years ago
Damien
39977a56da
Add basic functionality tests for the Python bit.
11 years ago
Damien
dae7eb7226
py: add dict length function, and fix rt_store_set.
11 years ago
Damien
732407f1bf
Change memory allocation API to require size for free and realloc.
11 years ago
Damien
a1c8e5737c
Update README.md.
11 years ago
Damien
02a7c41e76
py: implement POP_BLOCK in VM.
11 years ago
Damien George
319b28a355
Merge pull request #3 from pfalcon/for-upstream
Trivial fixes for building unix version
11 years ago
Damien
5ebbfe7e51
Add 2 files to a gitignore.
11 years ago
Damien
2eda70874e
Add tests to test compiler and emitted byte code.
11 years ago
Paul Sokolovsky
729fd12fbf
Don't error out if build/ directory already exists.
11 years ago
Paul Sokolovsky
44d0f3cfa2
Handle return value of read() call.
11 years ago
Damien
de690d128b
Add unix-cpy, used to test Micro Python byte code against CPython.
11 years ago
Damien
b86e3f9293
py: implement some basic exception matching.
11 years ago
Damien
8f9e2ee157
Add code in VM to handle nested exceptions correctly.
11 years ago
Damien
dd12d1378f
Parse upper-case hex numbers correctly.
11 years ago
Damien
7f7636e41c
Add CODECONVENTIONS, and modify i2c module to conform.
11 years ago
Hagen Kaye
1e6a25882c
Merge branch 'master' of https://github.com/dpgeorge/micropython
11 years ago
Hagen Kaye
07590c2739
changes to Makefile and main.c to add i2c.c
11 years ago
Hagen Kaye
6474598c65
Added i2c python interface object
11 years ago
Damien
d0cad1905a
Small edits to main README.
11 years ago
Damien
b8ecc29f3b
Add PYBv3 EAGLE files, gerbers, schematic, BOM and assembly guide.
11 years ago
Damien
5bbc3cdc0e
stm: Tidy up some wlan code.
11 years ago
Damien
6f95432407
stm: fix some compiler warnings in CC3000 code.
11 years ago
Damien
d9d6201b52
py: simplify __next__ method for generators.
11 years ago
Damien
d99b05282d
Change object representation from 1 big union to individual structs.
A big change. Micro Python objects are allocated as individual structs
with the first element being a pointer to the type information (which
is itself an object). This scheme follows CPython. Much more flexible,
not necessarily slower, uses same heap memory, and can allocate objects
statically.
Also change name prefix, from py_ to mp_ (mp for Micro Python).
11 years ago
Damien
e2880aa2fd
Fix a few compiler warnings.
11 years ago
Damien
ba66a8fc57
Small changes to README.
11 years ago
Damien
b4c688e2f0
Add basic instructions to README.
11 years ago
Damien
f0d0940638
Add tools/dfu.py, and use it in stm/Makefile.
11 years ago
Damien
5e6ebd77d2
Add LICENSE and README.
11 years ago
Damien
b73085d288
stm: add pyb.sd_test; flash cache flushed only via MSD.
11 years ago
Damien
a3dcd9e80c
py: add more Python built-in functions.
11 years ago
Damien
8c3da5c2c5
stm: flush storage cache immediately; improve user interface.
11 years ago