aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-26vm: Implement raise statement w/o args (reraising last exception).Paul Sokolovsky
2014-03-26objgenerator: Implement return with value and .close() method.Paul Sokolovsky
Return with value gets converted to StopIteration(value). Implementation keeps optimizing against creating of possibly unneeded exception objects, so there're considerable refactoring to implement these features.
2014-03-25stmhal: Change Usart creation function to class make_new.Damien George
2014-03-25stmhal: Shuffle around some init functions in main().Damien George
2014-03-25stmhal: Add I2C support; change accel driver to use new I2C.Damien George
2014-03-25Merge pull request #370 from xbe/str-rfindDamien George
py/objstr.c: Implement str.rfind() and add tests for it, refactor find_subbytes().
2014-03-25py: Replace naive and teribble hash function with djb2.Damien George
2014-03-25py: Removed some unnecessary exception objects.Damien George
They still exist in commented-out form in objexcept.c if they are ever needed.
2014-03-25Proper support for registering builtin modules in ROM.Damien George
Comes with some refactoring of code and renaming of files. All modules are now named mod*.[ch].
2014-03-25Merge pull request #373 from iabdalkader/module_registerDamien George
Add mp_obj_module_register
2014-03-25Merge pull request #375 from dhylands/stmhal-adcDamien George
Some changes that I forgot to push with my last pull request
2014-03-24Fix netduino to buildDave Hylands
Fix adc to work with resolution changes.
2014-03-25objexcept: Add "args" exception attribute, as well as StopIteration.value.Paul Sokolovsky
2014-03-25rt_load_method(): Add missing qstr_str() when getting type name.Paul Sokolovsky
2014-03-25Add mp_obj_module_registermux
* Add function to load static modules. * Use module_register to pyb module.
2014-03-24stmhal: Make pyb.ADC the ADC class (not a function).Damien George
2014-03-24stmhal - fixed up adc stuffDave Hylands
Added support for the ADC channels and mappings to make_pins.py I'm not sure if the hal properly deals with the channel 16/18 differences between the 40x and 42x. It seems to deal with it partially. This particular aspect will need testing on a 42x or 43x.
2014-03-24stmhal: Add comment to DAC driver for function to implement.Damien George
2014-03-24stmhal: Add DAC driver.Damien George
2014-03-24Update README.Damien George
2014-03-24Add tools/pyboard.py, a simple module to communicate with the pyboard.Damien George
Using pyboard.py you can use Python running on your PC to execute commands on the connected pyboard. See examples in that file.
2014-03-24stmhal: Improve REPL CTRL commands.Damien George
2014-03-24stmhal: Fix bug with USB CDC transmit buffer wrap around.Damien George
2014-03-24Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-03-24stmhal: Make Led, Servo and Accel their class, not a function.Damien George
2014-03-24stmhal: Update help function.Damien George
2014-03-24py: Remove obsolete declarations; make mp_obj_get_array consistent.Damien George
2014-03-24Implement str.rfind() and add tests for it.xbe
2014-03-23py/objstr.c: Remove done TODOs.xbe
2014-03-24Merge pull request #367 from pfalcon/del-nameDamien George
py: Implement support for "except Exception as var" clause.
2014-03-23py: Implement support for "except Exception as var" clause.Paul Sokolovsky
For this, needed to implement DELETE_NAME bytecode (because var bound in except clause is automatically deleted at its end). http://docs.python.org/3/reference/compound_stmts.html#except : "When an exception has been assigned using as target, it is cleared at the end of the except clause."
2014-03-23runtime: RT_BINARY_OP_EXCEPTION_MATCH: don't fall thru in case of wrong types.Paul Sokolovsky
2014-03-23vm: Abstract working with tagged pointers in VM using macro accessors.Paul Sokolovsky
Based on issues raised during recent review and inconsistency of different implementations.
2014-03-23stmhal: Fix issues with USB CDC init and receive.Damien George
Late USB enumeration could clear settings after they had been set. Now fixed by not clearing some settings on init. RX was blocking if received characters were not being processed, so CTRL-C would not be picked up. Now "fixed" by not blocking, but instead discarding incoming characters if they overflow the buffer.
2014-03-23stmhal: Improved interface to accelerometer.Damien George
2014-03-23stmhal: Remove servo LED debugging.Damien George
2014-03-23stm/stmhal: Change gammaf to tgammaf.Damien George
2014-03-23Merge pull request #365 from xbe/tgammaDamien George
py/builtinmath.c: use tgamma() instead of gamma().
2014-03-23Merge pull request #354 from xbe/osx-fixDamien George
Fix OS X detection.
2014-03-23stmhal: Change flash MSD from fixed to removable drive.Damien George
2014-03-23py/builtinmath.c: use tgamma() instead of gamma().xbe
gamma() is now deprecated.
2014-03-22Fix OS X detection.xbe
Switch to checking for the __APPLE__ and __MACH__ macros.
2014-03-23stmhal: Copy changes to math.c from stm port.Damien George
2014-03-23Merge pull request #356 from iabdalkader/d2fDamien George
Implement __aeabi_f2d and __aeabi_d2f
2014-03-23Merge pull request #364 from pfalcon/mpz-unbreak-int-longDamien George
objint_mpz: Quick&dirty implementation of bitwise operations.
2014-03-23Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-03-23stmhal: Improve LED intensity get/set method.Damien George
2014-03-23py: Improve dir(): extract names from type->methods table.Damien George
2014-03-23objint_mpz: Quick&dirty implementation of bitwise operations.Paul Sokolovsky
Made solely to unbreak int-long.py test which in turn uncovered thinko with implementation of inplace ops. On mpz level, bitwise ops implemented only for same-sign numbers, and are not efficient (unconditional calling of mpn_cmp() is apparently superfluous).
2014-03-23run-tests: Dump output of failing tests to files again.Paul Sokolovsky
This was a long-standing regression from converting script from sh to python.