aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-02Implement machine_sqrt using VSQRTmux
2014-03-01Merge pull request #330 from pfalcon/cortex-aDamien George
Support building "unix" port for ARM
2014-03-01py: Implement bit-shift and not operations for mpz.Damien George
Implement not, shl and shr in mpz library. Add function to create mpzs on the stack, used for memory efficiency when rhs is a small int. Factor out code to parse base-prefix of number into a dedicated function.
2014-03-01nlrthumb.S: Comment out ".cpu cortex-m4", it causes problems on Cortex-A.Paul Sokolovsky
2014-03-01nlr.h: Do proper arch selection, using the same tests as nlr*.S .Paul Sokolovsky
2014-02-28MICROPY_USE_READLINE: Selects link lib, so should be defined in mpconfigport.mkPaul Sokolovsky
This change allows to build unix version without libreadline installed.
2014-02-27Merge pull request #329 from dhylands/exti-cleanupDamien George
Remove param from python API of ext_register
2014-02-26Remove param from python API of ext_registerDave Hylands
Minor cleanup.
2014-02-26GC: Fix printf formats for debugging; add gc_dump_alloc_table.Damien George
2014-02-26py: Remove more var arg names fro macros with var args.Damien George
2014-02-26py: Reduce size of mp_obj_fun_native_t struct by packing ints.Damien George
2014-02-26py: Take out bitfield entries from their own structure.Damien George
Don't need to wrap bitfields in their own struct. Compiler does the correct thing without it.
2014-02-26stm: Reinstate code to handle CC3000 EXTI (commented out for now).Damien George
2014-02-26py: Remove name of var arg from macros with var args.Damien George
2014-02-26py: Start to implement shl/shr for mpz. Fix return void.Damien George
2014-02-26stm: Open header file in text mode (in make-pins).Damien George
2014-02-26Merge pull request #325 from dhylands/ledDamien George
Update LED configuration
2014-02-26Merge pull request #324 from dhylands/board-checkDamien George
Print an error if an invalid BOARD is specified
2014-02-26Merge pull request #318 from dhylands/extiDamien George
Add EXTI support
2014-02-26Merge pull request #323 from dhylands/fix-float-printDamien George
Fix floating point printing of negative numbers in the range (0, -1.0)
2014-02-26Update LED configurationDave Hylands
2014-02-26Print an error if a non-valid BOARD is specified.Dave Hylands
2014-02-25Fix floating point printing of negative numbers in the range (0, -1.0)Dave Hylands
2014-02-24py: Fix mpn_sub, was increasing wrong source pointer.Damien George
Also change int -> machine_int_t where appropriate.
2014-02-24stm: Add option to pyb_usb_dev_init() to use USB HID interface.Damien George
With this option selected, only HID on its own works, not VCP+HID.
2014-02-23Add EXTI supportDave Hylands
Revamp usrsw to use new exti code. Add user switch callback function.
2014-02-23stm: Make pendsv_nlr_jump work when debugging is enabled.Damien George
Stack layout is different when -g used, so need to handle the pendsv jump differently. Addresses Issue #315.
2014-02-23stm: Add USART enum for pyboard skin labels.Damien George
2014-02-22Merge pull request #316 from iabdalkader/fatfs_lfnDamien George
Add Configurable LFN support to FatFS
2014-02-22Add Configurable LFN support to FatFSmux
2014-02-22Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-02-22Add arbitrary precision integer support.Damien George
Some functionality is still missing (eg and, or, bit shift), and some things are buggy (eg subtract).
2014-02-22Add basic super() test.Paul Sokolovsky
2014-02-22py: Put number parsing code together in parsenum.c.Damien George
2014-02-22py: Rename strtonum to mp_strtonum.Damien George
strtonum clashes with BSD function of same name, and our version is different so warrants a unique name. Addresses Issue #305.
2014-02-22py: Fix casting and printing of small int.Damien George
2014-02-22Merge pull request #314 from pfalcon/parse-node-refactorDamien George
parse: Refactor parse node encoding to support full range of small ints.
2014-02-22parse: Refactor parse node encoding to support full range of small ints.Paul Sokolovsky
Based on suggestion by @dpgeorge at https://github.com/micropython/micropython/pull/313
2014-02-21parse: Note that fact that parser's small ints are different than VM small int.Paul Sokolovsky
Specifically, VM's small ints are 31 bit, while parser's only 28. There's already MP_OBJ_FITS_SMALL_INT(), so, for clarity, rename MP_FIT_SMALL_INT() to MP_PARSE_FITS_SMALL_INT().
2014-02-21showbc: Update for recent int varlen storage refactor.Paul Sokolovsky
TODO: De-duplicate DECODE_UINT, etc. definitions.
2014-02-21__import__: Catch relative import attempts and throw NotImplementedError.Paul Sokolovsky
2014-02-20emitbc: Correct buffer sizes for varlen int encoding.Paul Sokolovsky
Assuming we have truncating (floor) division, way to do ceiling division by N is to use formula (x + (N-1)) / N. Specifically, 63 bits, if stored 7 bits per byte, require exactly 9 bytes. 64 bits overflow that and require 10 bytes.
2014-02-20compile: Add comments ergarding non-implemented relative imports.Paul Sokolovsky
2014-02-20py: Fix type of integer in decoding int.Damien George
2014-02-19Merge pull request #312 from pfalcon/int-varlenDamien George
Support varlen encoding for arbitrary int and uint numbers
2014-02-19stm: Update PYBOARD4 pin mapping.Damien George
2014-02-19Merge pull request #310 from dhylands/pin_mapDamien George
Add pin mapping code.
2014-02-19Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-02-19stm: Add RTC start-up info, and uPy bindings.Damien George
2014-02-20import: Implement "from pkg.mod import sym" syntax properly.Paul Sokolovsky
http://docs.python.org/3.3/library/functions.html#__import__ : "When the name variable is of the form package.module, normally, the top-level package (the name up till the first dot) is returned, not the module named by name. However, when a non-empty fromlist argument is given, the module named by name is returned."