Damien George
5260810d70
py: Wrap mpz float functions in MICROPY_ENABLE_FLOAT.
11 years ago
Damien George
fdf0da5436
makeqstrdata: print error to stderr.
11 years ago
Damien George
6fc765c928
py: Revert to old gc_realloc for now.
11 years ago
Damien George
f08ddef676
py: Add comments to new gc_realloc, it has some bugs.
11 years ago
Damien George
73d579354b
py: Small cosmetic changes to gc_realloc.
11 years ago
Damien George
7bf724da21
Merge pull request #334 from iabdalkader/realloc
Fix gc_realloc to expand in place
11 years ago
mux
fbaa1479f4
Fix gc_realloc to expand in place
* Issue #322
11 years ago
Damien George
635927bbce
unix: Add to usage print-out telling about -X option.
11 years ago
Damien George
a11906d03b
Merge pull request #333 from pfalcon/heapsize-cmdline
unix: Allow to set heap size using "-X heapsize=N" option.
11 years ago
Paul Sokolovsky
a374d9c860
unix: Allow to set heap size using "-X heapsize=N" option.
11 years ago
Damien George
25f5a30e73
py: Fix overriding of default arguments.
Addresses issue #327 .
11 years ago
Damien George
f41fdd05b0
py: Unify syntax error handling in compiler; check defualt arg syntax.
Checks for non-default args following default args, and errors out.
Addresses issue #328 .
11 years ago
Damien George
715101580b
py: Factor and improve issubclass.
11 years ago
Damien George
2ab1797d1d
Merge pull request #332 from pfalcon/namedtuple
Implement collections.namedtuple
11 years ago
Paul Sokolovsky
e74f52b76c
namedtuple: Inherit unary/binary ops from tuple base class.
11 years ago
Paul Sokolovsky
d86d22e1e7
Add mp_obj_is_subclass_fast() - intended for fast argument checking.
I.e. as replacement of MP_OBJ_IS_TYPE(), which takes into account subclassing.
11 years ago
Paul Sokolovsky
d08fd68664
Add basic collections.namedtuple implementation.
11 years ago
Paul Sokolovsky
61f9b1c621
unix: Add GC support for ARM architecture.
11 years ago
Damien George
86227ce7b0
Merge pull request #331 from iabdalkader/master
Implement machine_sqrt using VSQRT
11 years ago
mux
6882dbd9f8
Implement machine_sqrt using VSQRT
11 years ago
Damien George
75a35c496d
Merge pull request #330 from pfalcon/cortex-a
Support building "unix" port for ARM
11 years ago
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.
11 years ago
Paul Sokolovsky
9c7e984a05
nlrthumb.S: Comment out ".cpu cortex-m4", it causes problems on Cortex-A.
11 years ago
Paul Sokolovsky
82a165d9be
nlr.h: Do proper arch selection, using the same tests as nlr*.S .
11 years ago
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.
11 years ago
Damien George
7ae69c6dc4
Merge pull request #329 from dhylands/exti-cleanup
Remove param from python API of ext_register
11 years ago
Dave Hylands
1fcbb966bd
Remove param from python API of ext_register
Minor cleanup.
11 years ago
Damien George
ce1162ab15
GC: Fix printf formats for debugging; add gc_dump_alloc_table.
11 years ago
Damien George
41eb6086b7
py: Remove more var arg names fro macros with var args.
11 years ago
Damien George
d5e81826ec
py: Reduce size of mp_obj_fun_native_t struct by packing ints.
11 years ago
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.
11 years ago
Damien George
98fb8935bc
stm: Reinstate code to handle CC3000 EXTI (commented out for now).
11 years ago
Damien George
1dc76af7bf
py: Remove name of var arg from macros with var args.
11 years ago
Damien George
c5ac2ac590
py: Start to implement shl/shr for mpz. Fix return void.
11 years ago
Damien George
f8a4fbbb79
stm: Open header file in text mode (in make-pins).
11 years ago
Damien George
43122c320b
Merge pull request #325 from dhylands/led
Update LED configuration
11 years ago
Damien George
4273498cb8
Merge pull request #324 from dhylands/board-check
Print an error if an invalid BOARD is specified
11 years ago
Damien George
c4361227ba
Merge pull request #318 from dhylands/exti
Add EXTI support
11 years ago
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)
11 years ago
Dave Hylands
34f66023d4
Update LED configuration
11 years ago
Dave Hylands
c3813ff50d
Print an error if a non-valid BOARD is specified.
11 years ago
Dave Hylands
49b5533000
Fix floating point printing of negative numbers in the range (0, -1.0)
11 years ago
Damien George
aca141269e
py: Fix mpn_sub, was increasing wrong source pointer.
Also change int -> machine_int_t where appropriate.
11 years ago
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.
11 years ago
Dave Hylands
ee31f71d39
Add EXTI support
Revamp usrsw to use new exti code.
Add user switch callback function.
11 years ago
Damien George
790eed6f93
stm: Make pendsv_nlr_jump work when debugging is enabled.
Stack layout is different when -g used, so need to handle the pendsv
jump differently. Addresses Issue #315 .
11 years ago
Damien George
ee462489f1
stm: Add USART enum for pyboard skin labels.
11 years ago
Damien George
ed73fcd7d2
Merge pull request #316 from iabdalkader/fatfs_lfn
Add Configurable LFN support to FatFS
11 years ago
mux
1e2cf746d4
Add Configurable LFN support to FatFS
11 years ago
Damien George
9982f2795d
Merge branch 'master' of github.com:micropython/micropython
11 years ago