Commit Graph

9 Commits

Author SHA1 Message Date
Paul Sokolovsky
b62c30b4bc Generalize malloc-via-gc-heap support, make it available to unix port. 2014-02-11 16:20:02 +02:00
Paul Sokolovsky
58ff93bc7c Get rid of calloc().
If there's malloc and memset, then there's no need for calloc, especially if
we need to implement it ourselves.
2014-02-10 18:40:00 +02:00
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).
2013-12-21 18:17:45 +00:00
Damien
0f6545139b Implement simple servo control using PWM. 2013-10-23 20:39:20 +01:00
Damien
0c5827fc65 stm: improved GC, and cooked output for VCP. 2013-10-22 21:13:36 +01:00
Damien
3f69aca2e2 Make stm use garbage collector. 2013-10-21 23:46:04 +01:00
Damien
995b8aabb1 Partially implement proper flash storage. 2013-10-18 23:44:05 +01:00
Damien
4a175e1f11 Fix up linker script; improve startup code; printf to USB. 2013-10-17 22:50:21 +01:00
Damien
ed65605edc Inital commit of stm32f4xx framework. 2013-10-13 00:42:20 +01:00