Commit Graph

964 Commits

Author SHA1 Message Date
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
Dave Hylands ee31f71d39 Add EXTI support
Revamp usrsw to use new exti code.
Add user switch callback function.
2014-02-23 11:26:22 -08:00
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.
2014-02-23 00:31:11 +00:00
Damien George ee462489f1 stm: Add USART enum for pyboard skin labels. 2014-02-23 00:30:48 +00:00
Damien George ed73fcd7d2 Merge pull request #316 from iabdalkader/fatfs_lfn
Add Configurable LFN support to FatFS
2014-02-22 22:36:24 +00:00
mux 1e2cf746d4 Add Configurable LFN support to FatFS 2014-02-22 22:09:00 +02:00
Damien George 9982f2795d Merge branch 'master' of github.com:micropython/micropython 2014-02-22 19:27:44 +00:00
Damien George 438c88dd2f Add arbitrary precision integer support.
Some functionality is still missing (eg and, or, bit shift), and some
things are buggy (eg subtract).
2014-02-22 19:25:23 +00:00
Paul Sokolovsky 135002a086 Add basic super() test. 2014-02-22 20:25:05 +02:00
Damien George 2077397118 py: Put number parsing code together in parsenum.c. 2014-02-22 18:12:43 +00:00
Damien George 2613ffde43 py: Rename strtonum to mp_strtonum.
strtonum clashes with BSD function of same name, and our version is
different so warrants a unique name.  Addresses Issue #305.
2014-02-22 17:49:15 +00:00
Damien George 0379b55ab0 py: Fix casting and printing of small int. 2014-02-22 17:34:09 +00:00
Damien George b25ef4db3b Merge pull request #314 from pfalcon/parse-node-refactor
parse: Refactor parse node encoding to support full range of small ints.
2014-02-22 17:07:01 +00:00
Paul Sokolovsky 56e5ef203b parse: Refactor parse node encoding to support full range of small ints.
Based on suggestion by @dpgeorge at
https://github.com/micropython/micropython/pull/313
2014-02-22 16:39:45 +02:00
Paul Sokolovsky bbf0e2fe12 parse: Note that fact that parser's small ints are different than VM small int.
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-21 03:27:09 +02:00
Paul Sokolovsky 1d30b11685 showbc: Update for recent int varlen storage refactor.
TODO: De-duplicate DECODE_UINT, etc. definitions.
2014-02-21 03:26:56 +02:00