aboutsummaryrefslogtreecommitdiff
path: root/stm
AgeCommit message (Collapse)Author
2014-01-06stm: Re-fix LED defines.Damien George
2014-01-06Merge branch 'master' of https://github.com/iabdalkader/micropythonDamien George
2014-01-06Fix LED pin enummux
* Fix LED pin enum, first one should start at 1 * Fix LED initialization typo
2014-01-05Merge pull request #89 from pfalcon/c99-tagged-structsDamien George
Convert many object types structs to use C99 tagged initializer syntax.
2014-01-05stm: pull-up usr switch on pyboard (fixes regression).Damien George
2014-01-05Convert many object types structs to use C99 tagged initializer syntax.Paul Sokolovsky
2014-01-05Add Initial Support for STM32F4DISCOVERY Boardmux
* Add a TARGET definition to Makefile (default PYBOARD). * Add support for discovery LEDs in led module. * Add support for discovery user switch in usersw * Add EXTI interrupt handler for discovery user switch on (PA0). * Parameterize led and usrsw modules pins and port. * Issue #83
2014-01-05stm: allow more flash for the binary.Damien George
2014-01-05stm: rename sw_xx to switch_xx; change Python bindings to new version.Damien George
2014-01-05Merge pull request #82 from iabdalkader/masterDamien George
Move user switch code into a separate module
2014-01-05Move user switch code into a separate modulemux
* Move user switch code from main.c into a separate module (usrsw) * Add usrsw.c to Makefile
2014-01-05Add fatfs readme/license.Damien George
2014-01-04Convert Python types to proper Python type hierarchy.Damien George
Now much more inline with how CPython does types.
2014-01-04Don't error out if build/ directory already exists.Paul Sokolovsky
2014-01-04Split qstr into pools, and put initial pool in ROM.Damien George
Qstr's are now split into a linked-list of qstr pools. This has 2 benefits: the first pool can be in ROM (huge benefit, since we no longer use RAM for the core qstrs), and subsequent pools use m_new for the next pool instead of m_renew (thus avoiding a huge single table for all the qstrs). Still would be better to use a hash table, but this scheme takes us part of the way (eventually convert the pools to hash tables). Also fixed bug with import. Also improved the way the module code is referenced (not magic number 1 anymore).
2014-01-04stm: Add comments for storage read from cache.Damien George
2014-01-04Fix issue #62: Cache loses datastevie67
Use the storage cache not only for writing but also for reading. This avoids reading stale data and thus data loss.
2014-01-04Add basic implementation of slice object.Paul Sokolovsky
So far, only start and stop integer indexes are supported. Step is not supported, as well as objects of arbitrary types.
2014-01-03Rename default config file to mpconfig.h, and port's to mpconfigport.h.Paul Sokolovsky
mpconfig.h will automatically pull mpconfigport.h.
2014-01-03Merge pull request #45 from iabdalkader/masterDamien George
Change dfu.py to be Python 2/3 compatible
2014-01-03Change mp_compile so that it returns a function object for the module.Damien George
2014-01-03Basic implementation of import.Damien George
import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function.
2014-01-03Change dfu.py to be Python 2/3 compatiblemux
* Chane dfu.py to use Python 3 syntax to avoid dependency on Python 2. * Update Makefile to call python instead of python2 * Fix #33
2014-01-03Change old use of module creation to new proper use.Damien George
2014-01-02Add module object, to be used eventually for import.Damien George
2013-12-30Use rm -rf to remove build dir, so it doesn't error out if dir doesn't exist.Paul Sokolovsky
2013-12-30Put unicode functions in unicode.c, and tidy their names.Damien George
2013-12-30Make unix-cpy cross platform; remove dependency of asmx64 on mpconfig.Damien George
2013-12-29Change memory allocation API to require size for free and realloc.Damien
2013-12-29Add CODECONVENTIONS, and modify i2c module to conform.Damien
2013-12-28changes to Makefile and main.c to add i2c.cHagen Kaye
2013-12-28Added i2c python interface objectHagen Kaye
2013-12-21stm: Tidy up some wlan code.Damien
2013-12-21stm: fix some compiler warnings in CC3000 code.Damien
2013-12-21Change object representation from 1 big union to individual structs.Damien
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-20Fix a few compiler warnings.Damien
2013-12-20Add tools/dfu.py, and use it in stm/Makefile.Damien
2013-12-20stm: add pyb.sd_test; flash cache flushed only via MSD.Damien
2013-12-17stm: flush storage cache immediately; improve user interface.Damien
2013-12-11stm: add basic Servo class, and stop and standby functions.Damien
2013-12-11stm: add timer to storage cache so it can be flushed.Damien
2013-12-06stm: add __WFI to sys_tick delay.Damien
2013-12-06stm: add Led object; add option to reset filesystem.Damien
2013-12-05stm: initial commit of working CC3000 driver, based on Adafruit.Damien
2013-11-30stm: servos on PA0-3; MMA filtering; timer for Python REPL.Damien
2013-11-30stm: disable audio function in systick.Damien
2013-11-30stm: add function to LCD module to show text.Damien
2013-11-30stm: reorder things in Makefile.Damien
2013-11-09STM: add LCD functions for pixel access; add RNG Py bindings.Damien
2013-11-09STM: add RNG support.Damien