Commit Graph

979 Commits

Author SHA1 Message Date
mux 6882dbd9f8 Implement machine_sqrt using VSQRT 2014-03-02 00:33:39 +02:00
Damien George 75a35c496d Merge pull request #330 from pfalcon/cortex-a
Support building "unix" port for ARM
2014-03-01 19:57:02 +00:00
Damien George 06201ff3d6 py: Implement bit-shift and not operations for mpz.
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-01 19:50:50 +00:00
Paul Sokolovsky 9c7e984a05 nlrthumb.S: Comment out ".cpu cortex-m4", it causes problems on Cortex-A. 2014-03-01 10:05:53 +02:00
Paul Sokolovsky 82a165d9be nlr.h: Do proper arch selection, using the same tests as nlr*.S . 2014-03-01 10:05:33 +02:00
Paul Sokolovsky 793838a919 MICROPY_USE_READLINE: Selects link lib, so should be defined in mpconfigport.mk
This change allows to build unix version without libreadline installed.
2014-02-28 11:09:29 +02:00
Damien George 7ae69c6dc4 Merge pull request #329 from dhylands/exti-cleanup
Remove param from python API of ext_register
2014-02-27 09:33:31 +00:00
Dave Hylands 1fcbb966bd Remove param from python API of ext_register
Minor cleanup.
2014-02-26 20:24:51 -08:00
Damien George ce1162ab15 GC: Fix printf formats for debugging; add gc_dump_alloc_table. 2014-02-26 22:55:59 +00:00
Damien George 41eb6086b7 py: Remove more var arg names fro macros with var args. 2014-02-26 22:40:35 +00:00
Damien George d5e81826ec py: Reduce size of mp_obj_fun_native_t struct by packing ints. 2014-02-26 17:47:05 +00:00
Damien George 510477557d py: Take out bitfield entries from their own structure.
Don't need to wrap bitfields in their own struct.  Compiler does the
correct thing without it.
2014-02-26 17:40:52 +00:00
Damien George 98fb8935bc stm: Reinstate code to handle CC3000 EXTI (commented out for now). 2014-02-26 17:04:12 +00:00
Damien George 1dc76af7bf py: Remove name of var arg from macros with var args. 2014-02-26 16:57:08 +00:00
Damien George c5ac2ac590 py: Start to implement shl/shr for mpz. Fix return void. 2014-02-26 16:56:30 +00:00
Damien George f8a4fbbb79 stm: Open header file in text mode (in make-pins). 2014-02-26 16:30:33 +00:00
Damien George 43122c320b Merge pull request #325 from dhylands/led
Update LED configuration
2014-02-26 16:07:18 +00:00
Damien George 4273498cb8 Merge pull request #324 from dhylands/board-check
Print an error if an invalid BOARD is specified
2014-02-26 16:03:59 +00:00
Damien George c4361227ba Merge pull request #318 from dhylands/exti
Add EXTI support
2014-02-26 16:01:54 +00:00
Damien George e70700851a Merge pull request #323 from dhylands/fix-float-print
Fix floating point printing of negative numbers in the range (0, -1.0)
2014-02-26 09:17:22 +00:00
Dave Hylands 34f66023d4 Update LED configuration 2014-02-26 00:05:34 -08:00
Dave Hylands c3813ff50d Print an error if a non-valid BOARD is specified. 2014-02-26 00:04:01 -08:00
Dave Hylands 49b5533000 Fix floating point printing of negative numbers in the range (0, -1.0) 2014-02-25 15:24:25 -08:00
Damien George aca141269e py: Fix mpn_sub, was increasing wrong source pointer.
Also change int -> machine_int_t where appropriate.
2014-02-24 21:32:52 +00:00
Damien George 2ee55c312d stm: Add option to pyb_usb_dev_init() to use USB HID interface.
With this option selected, only HID on its own works, not VCP+HID.
2014-02-24 01:12:04 +00:00