Commit Graph

10 Commits

Author SHA1 Message Date
Damien George 2a5e6538b9 stm: Add comments for storage read from cache. 2014-01-04 12:34:36 +00:00
stevie67 2c62e262b2 Fix issue #62: Cache loses data
Use the storage cache not only for writing but also for reading. This
avoids reading stale data and thus data loss.
2014-01-04 03:02:32 +01: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 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