Commit Graph

8 Commits

Author SHA1 Message Date
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 b73085d288 stm: add pyb.sd_test; flash cache flushed only via MSD. 2013-12-20 11:45:06 +00:00
Damien 8c3da5c2c5 stm: flush storage cache immediately; improve user interface. 2013-12-17 18:36:19 +00:00
Damien ec643130d0 stm: add timer to storage cache so it can be flushed. 2013-12-11 00:38:40 +00:00
Damien 0f6545139b Implement simple servo control using PWM. 2013-10-23 20:39:20 +01:00
Damien afe12bca23 Fix IRQ priority issue to give working USB; and some cleanup. 2013-10-19 18:13:48 +01:00
Damien 00ff04fc49 Working SysTick, code factoring, some boot-up code. 2013-10-19 14:40:54 +01:00
Damien 995b8aabb1 Partially implement proper flash storage. 2013-10-18 23:44:05 +01:00