Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py: Removed some unnecessary exception objects. | Damien George | 2014-03-25 |
| | | | | | They still exist in commented-out form in objexcept.c if they are ever needed. | ||
* | Proper support for registering builtin modules in ROM. | Damien George | 2014-03-25 |
| | | | | | Comes with some refactoring of code and renaming of files. All modules are now named mod*.[ch]. | ||
* | Merge pull request #373 from iabdalkader/module_register | Damien George | 2014-03-25 |
|\ | | | | | Add mp_obj_module_register | ||
| * | Add mp_obj_module_register | mux | 2014-03-25 |
| | | | | | | | | | | * Add function to load static modules. * Use module_register to pyb module. | ||
* | | Merge pull request #375 from dhylands/stmhal-adc | Damien George | 2014-03-25 |
|\ \ | | | | | | | Some changes that I forgot to push with my last pull request | ||
| * | | Fix netduino to build | Dave Hylands | 2014-03-24 |
|/ / | | | | | | | Fix adc to work with resolution changes. | ||
* | | objexcept: Add "args" exception attribute, as well as StopIteration.value. | Paul Sokolovsky | 2014-03-25 |
| | | |||
* | | rt_load_method(): Add missing qstr_str() when getting type name. | Paul Sokolovsky | 2014-03-25 |
| | | |||
* | | stmhal: Make pyb.ADC the ADC class (not a function). | Damien George | 2014-03-24 |
| | | |||
* | | stmhal - fixed up adc stuff | Dave Hylands | 2014-03-24 |
| | | | | | | | | | | | | | | | | 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. | ||
* | | stmhal: Add comment to DAC driver for function to implement. | Damien George | 2014-03-24 |
| | | |||
* | | stmhal: Add DAC driver. | Damien George | 2014-03-24 |
| | | |||
* | | Update README. | Damien George | 2014-03-24 |
| | | |||
* | | Add tools/pyboard.py, a simple module to communicate with the pyboard. | Damien George | 2014-03-24 |
| | | | | | | | | | | Using pyboard.py you can use Python running on your PC to execute commands on the connected pyboard. See examples in that file. | ||
* | | stmhal: Improve REPL CTRL commands. | Damien George | 2014-03-24 |
| | | |||
* | | stmhal: Fix bug with USB CDC transmit buffer wrap around. | Damien George | 2014-03-24 |
| | | |||
* | | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-03-24 |
|\ \ | |||
| * \ | Merge pull request #367 from pfalcon/del-name | Damien George | 2014-03-24 |
| |\ \ | | |/ | |/| | py: Implement support for "except Exception as var" clause. | ||
| | * | py: Implement support for "except Exception as var" clause. | Paul Sokolovsky | 2014-03-23 |
| |/ | | | | | | | | | | | | | | | 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." | ||
* | | stmhal: Make Led, Servo and Accel their class, not a function. | Damien George | 2014-03-24 |
| | | |||
* | | stmhal: Update help function. | Damien George | 2014-03-24 |
| | | |||
* | | py: Remove obsolete declarations; make mp_obj_get_array consistent. | Damien George | 2014-03-24 |
|/ | |||
* | runtime: RT_BINARY_OP_EXCEPTION_MATCH: don't fall thru in case of wrong types. | Paul Sokolovsky | 2014-03-23 |
| | |||
* | vm: Abstract working with tagged pointers in VM using macro accessors. | Paul Sokolovsky | 2014-03-23 |
| | | | | | Based on issues raised during recent review and inconsistency of different implementations. | ||
* | stmhal: Fix issues with USB CDC init and receive. | Damien George | 2014-03-23 |
| | | | | | | | | | 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. | ||
* | stmhal: Improved interface to accelerometer. | Damien George | 2014-03-23 |
| | |||
* | stmhal: Remove servo LED debugging. | Damien George | 2014-03-23 |
| | |||
* | stm/stmhal: Change gammaf to tgammaf. | Damien George | 2014-03-23 |
| | |||
* | Merge pull request #365 from xbe/tgamma | Damien George | 2014-03-23 |
|\ | | | | | py/builtinmath.c: use tgamma() instead of gamma(). | ||
| * | py/builtinmath.c: use tgamma() instead of gamma(). | xbe | 2014-03-23 |
| | | | | | | | | gamma() is now deprecated. | ||
* | | Merge pull request #354 from xbe/osx-fix | Damien George | 2014-03-23 |
|\ \ | | | | | | | Fix OS X detection. | ||
| * | | Fix OS X detection. | xbe | 2014-03-22 |
| | | | | | | | | | | | | Switch to checking for the __APPLE__ and __MACH__ macros. | ||
* | | | stmhal: Change flash MSD from fixed to removable drive. | Damien George | 2014-03-23 |
| | | | |||
* | | | stmhal: Copy changes to math.c from stm port. | Damien George | 2014-03-23 |
|/ / | |||
* | | Merge pull request #356 from iabdalkader/d2f | Damien George | 2014-03-23 |
|\ \ | |/ |/| | Implement __aeabi_f2d and __aeabi_d2f | ||
| * | Implement __aeabi_f2d and __aeabi_d2f | mux | 2014-03-22 |
| | | |||
* | | Merge pull request #364 from pfalcon/mpz-unbreak-int-long | Damien George | 2014-03-23 |
|\ \ | | | | | | | objint_mpz: Quick&dirty implementation of bitwise operations. | ||
| * | | objint_mpz: Quick&dirty implementation of bitwise operations. | Paul Sokolovsky | 2014-03-23 |
| | | | | | | | | | | | | | | | | | | | | | 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). | ||
* | | | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-03-23 |
|\| | | |||
| * | | run-tests: Dump output of failing tests to files again. | Paul Sokolovsky | 2014-03-23 |
| | | | | | | | | | | | | This was a long-standing regression from converting script from sh to python. | ||
* | | | stmhal: Improve LED intensity get/set method. | Damien George | 2014-03-23 |
| | | | |||
* | | | py: Improve dir(): extract names from type->methods table. | Damien George | 2014-03-23 |
| | | | |||
* | | | stmhal: Rename servo_TIM2_Handle -> TIM2_Handle. | Damien George | 2014-03-22 |
|/ / | |||
* | | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-03-22 |
|\ \ | |||
| * | | objgenerator: Add comments for latest mp_obj_gen_instance_t refactors. | Paul Sokolovsky | 2014-03-22 |
| | | | |||
* | | | stmhal: Add intensity method for blue LED. | Damien George | 2014-03-22 |
| | | | | | | | | | | | | | | | As part of this, rejig the way TIM3 is initialised, since it's now shared by USB CDC and the blue LED PWM. | ||
* | | | stmhal: Add input() and pyb.input() functions. | Damien George | 2014-03-22 |
| | | | |||
* | | | py: Remove some unnecessary exception objects. | Damien George | 2014-03-22 |
|/ / | |||
* | | py: Add 'object' object. | Damien George | 2014-03-22 |
| | | |||
* | | py: Add function to convert long int to float. | Damien George | 2014-03-22 |
| | |