Commit Graph

  • 9d68e9ccdd py: Implement integer overflow checking for * and << ops. Damien George 2014-03-12 15:38:15 +00:00
  • bb4a43f35c py: Fix some bugs in mpz; add mpz_from_ll and mpz_set_from_ll. Damien George 2014-03-12 15:36:06 +00:00
  • dd38d90724 Initial checkin with STM HAL Dave Hylands 2014-03-11 23:55:41 -07:00
  • 8bfec2b538 Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h. Damien George 2014-03-10 13:27:02 +00:00
  • 0a8458c353 Merge branch 'format-float' of github.com:dhylands/micropython into dhylands-format-float Damien George 2014-03-10 13:19:55 +00:00
  • 0527f0c338 Merge pull request #335 from dhylands/fix-makeqstrdata Damien George 2014-03-10 13:16:54 +00:00
  • ca5a241e48 Add proper floating point printing support. Dave Hylands 2014-03-10 00:10:01 -07:00
  • 0308f964a0 Fix makeqstrdata.py to work in Python 2.7 Dave Hylands 2014-03-10 00:07:35 -07:00
  • 5322ec0962 stm: Add DMA support to Audio object. Damien George 2014-03-09 19:59:17 +00:00
  • 2da9830b92 py: Make objstr support buffer protocol (read only). Damien George 2014-03-09 19:58:18 +00:00
  • 0ec6bd47cb py: Fix printing of type name. Damien George 2014-03-09 16:29:36 +00:00
  • 5e34909a12 unix: Make usage info reflect actual usage of -X option. Damien George 2014-03-08 19:04:47 +00:00
  • c3d35c6ac7 stm: Put pyb module in ROM. Damien George 2014-03-08 16:40:08 +00:00
  • 01d50d0d58 stm: Wrap some functions in MICROPY_ENABLE_FLOAT. Damien George 2014-03-08 15:28:51 +00:00
  • 0c36da0b59 Implement ROMable modules. Add math module. Damien George 2014-03-08 15:24:39 +00:00
  • 8fd7d7e102 Merge branch 'master' of github.com:micropython/micropython Damien George 2014-03-08 15:20:36 +00:00
  • 360b25ab0f stm: Add udelay (delay in microseconds). Damien George 2014-03-08 15:17:10 +00:00
  • cd000645f8 stm: Improve DAC (audio) bindings. Damien George 2014-03-08 15:14:53 +00:00
  • 5260810d70 py: Wrap mpz float functions in MICROPY_ENABLE_FLOAT. Damien George 2014-03-08 15:04:54 +00:00
  • fdf0da5436 makeqstrdata: print error to stderr. Damien George 2014-03-08 15:03:25 +00:00
  • 6fc765c928 py: Revert to old gc_realloc for now. Damien George 2014-03-07 00:21:51 +00:00
  • f08ddef676 py: Add comments to new gc_realloc, it has some bugs. Damien George 2014-03-06 23:59:01 +00:00
  • 73d579354b py: Small cosmetic changes to gc_realloc. Damien George 2014-03-06 00:02:16 +00:00
  • 7bf724da21 Merge pull request #334 from iabdalkader/realloc Damien George 2014-03-05 23:56:04 +00:00
  • fbaa1479f4 Fix gc_realloc to expand in place mux 2014-03-05 23:23:04 +02:00
  • 635927bbce unix: Add to usage print-out telling about -X option. Damien George 2014-03-04 08:39:47 +00:00
  • a11906d03b Merge pull request #333 from pfalcon/heapsize-cmdline Damien George 2014-03-04 08:38:37 +00:00
  • a374d9c860 unix: Allow to set heap size using "-X heapsize=N" option. Paul Sokolovsky 2014-03-01 12:21:53 +02:00
  • 25f5a30e73 py: Fix overriding of default arguments. Damien George 2014-03-03 23:25:08 +00:00
  • f41fdd05b0 py: Unify syntax error handling in compiler; check defualt arg syntax. Damien George 2014-03-03 23:19:11 +00:00
  • 715101580b py: Factor and improve issubclass. Damien George 2014-03-03 22:38:13 +00:00
  • 2ab1797d1d Merge pull request #332 from pfalcon/namedtuple Damien George 2014-03-03 22:12:32 +00:00
  • e74f52b76c namedtuple: Inherit unary/binary ops from tuple base class. Paul Sokolovsky 2014-02-27 22:49:47 +02:00
  • d86d22e1e7 Add mp_obj_is_subclass_fast() - intended for fast argument checking. Paul Sokolovsky 2014-02-27 22:48:25 +02:00
  • d08fd68664 Add basic collections.namedtuple implementation. Paul Sokolovsky 2014-02-27 22:22:04 +02:00
  • 61f9b1c621 unix: Add GC support for ARM architecture. Paul Sokolovsky 2014-03-01 12:22:55 +02:00
  • 86227ce7b0 Merge pull request #331 from iabdalkader/master Damien George 2014-03-02 00:39:18 +00:00
  • 6882dbd9f8 Implement machine_sqrt using VSQRT mux 2014-03-02 00:33:39 +02:00
  • 75a35c496d Merge pull request #330 from pfalcon/cortex-a Damien George 2014-03-01 19:57:02 +00:00
  • 06201ff3d6 py: Implement bit-shift and not operations for mpz. Damien George 2014-03-01 19:50:50 +00:00
  • 9c7e984a05 nlrthumb.S: Comment out ".cpu cortex-m4", it causes problems on Cortex-A. Paul Sokolovsky 2014-02-27 18:03:37 +02:00
  • 82a165d9be nlr.h: Do proper arch selection, using the same tests as nlr*.S . Paul Sokolovsky 2014-02-27 18:01:43 +02:00
  • 793838a919 MICROPY_USE_READLINE: Selects link lib, so should be defined in mpconfigport.mk Paul Sokolovsky 2014-02-27 18:10:40 +02:00
  • 7ae69c6dc4 Merge pull request #329 from dhylands/exti-cleanup Damien George 2014-02-27 09:33:31 +00:00
  • 1fcbb966bd Remove param from python API of ext_register Dave Hylands 2014-02-26 20:24:51 -08:00
  • ce1162ab15 GC: Fix printf formats for debugging; add gc_dump_alloc_table. Damien George 2014-02-26 22:55:59 +00:00
  • 41eb6086b7 py: Remove more var arg names fro macros with var args. Damien George 2014-02-26 22:40:35 +00:00
  • d5e81826ec py: Reduce size of mp_obj_fun_native_t struct by packing ints. Damien George 2014-02-26 17:47:05 +00:00
  • 510477557d py: Take out bitfield entries from their own structure. Damien George 2014-02-26 17:40:52 +00:00
  • 98fb8935bc stm: Reinstate code to handle CC3000 EXTI (commented out for now). Damien George 2014-02-26 17:04:12 +00:00
  • 1dc76af7bf py: Remove name of var arg from macros with var args. Damien George 2014-02-26 16:57:08 +00:00
  • c5ac2ac590 py: Start to implement shl/shr for mpz. Fix return void. Damien George 2014-02-26 16:56:30 +00:00
  • f8a4fbbb79 stm: Open header file in text mode (in make-pins). Damien George 2014-02-26 16:30:33 +00:00
  • 43122c320b Merge pull request #325 from dhylands/led Damien George 2014-02-26 16:07:18 +00:00
  • 4273498cb8 Merge pull request #324 from dhylands/board-check Damien George 2014-02-26 16:03:59 +00:00
  • c4361227ba Merge pull request #318 from dhylands/exti Damien George 2014-02-26 16:01:54 +00:00
  • e70700851a Merge pull request #323 from dhylands/fix-float-print Damien George 2014-02-26 09:17:22 +00:00
  • 34f66023d4 Update LED configuration Dave Hylands 2014-02-26 00:05:34 -08:00
  • c3813ff50d Print an error if a non-valid BOARD is specified. Dave Hylands 2014-02-26 00:04:01 -08:00
  • 49b5533000 Fix floating point printing of negative numbers in the range (0, -1.0) Dave Hylands 2014-02-25 15:11:17 -08:00
  • aca141269e py: Fix mpn_sub, was increasing wrong source pointer. Damien George 2014-02-24 21:32:52 +00:00
  • 2ee55c312d stm: Add option to pyb_usb_dev_init() to use USB HID interface. Damien George 2014-02-24 01:12:04 +00:00
  • ee31f71d39 Add EXTI support Dave Hylands 2014-02-19 22:28:36 -08:00
  • 790eed6f93 stm: Make pendsv_nlr_jump work when debugging is enabled. Damien George 2014-02-23 00:31:11 +00:00
  • ee462489f1 stm: Add USART enum for pyboard skin labels. Damien George 2014-02-23 00:30:48 +00:00
  • ed73fcd7d2 Merge pull request #316 from iabdalkader/fatfs_lfn Damien George 2014-02-22 22:36:24 +00:00
  • 1e2cf746d4 Add Configurable LFN support to FatFS mux 2014-02-22 22:09:00 +02:00
  • 9982f2795d Merge branch 'master' of github.com:micropython/micropython Damien George 2014-02-22 19:27:44 +00:00
  • 438c88dd2f Add arbitrary precision integer support. Damien George 2014-02-22 19:25:23 +00:00
  • 135002a086 Add basic super() test. Paul Sokolovsky 2014-02-22 18:54:27 +02:00
  • 2077397118 py: Put number parsing code together in parsenum.c. Damien George 2014-02-22 18:12:43 +00:00
  • 2613ffde43 py: Rename strtonum to mp_strtonum. Damien George 2014-02-22 17:49:15 +00:00
  • 0379b55ab0 py: Fix casting and printing of small int. Damien George 2014-02-22 17:34:09 +00:00
  • b25ef4db3b Merge pull request #314 from pfalcon/parse-node-refactor Damien George 2014-02-22 17:07:01 +00:00
  • 56e5ef203b parse: Refactor parse node encoding to support full range of small ints. Paul Sokolovsky 2014-02-22 16:39:45 +02:00
  • bbf0e2fe12 parse: Note that fact that parser's small ints are different than VM small int. Paul Sokolovsky 2014-02-21 02:04:32 +02:00
  • 1d30b11685 showbc: Update for recent int varlen storage refactor. Paul Sokolovsky 2014-02-21 02:31:05 +02:00
  • feacaa12ac __import__: Catch relative import attempts and throw NotImplementedError. Paul Sokolovsky 2014-02-21 01:15:20 +02:00
  • a8d31b28bc emitbc: Correct buffer sizes for varlen int encoding. Paul Sokolovsky 2014-02-20 13:25:05 +02:00
  • a1aba36feb compile: Add comments ergarding non-implemented relative imports. Paul Sokolovsky 2014-02-20 13:21:31 +02:00
  • 4d79d5dd7c py: Fix type of integer in decoding int. Damien George 2014-02-20 00:00:04 +00:00
  • b74501c98f Merge pull request #312 from pfalcon/int-varlen Damien George 2014-02-19 23:56:23 +00:00
  • 2e87c62cf6 stm: Update PYBOARD4 pin mapping. Damien George 2014-02-19 23:38:42 +00:00
  • 948a58d56e Merge pull request #310 from dhylands/pin_map Damien George 2014-02-19 23:19:18 +00:00
  • 1b182a30d0 Merge branch 'master' of github.com:micropython/micropython Damien George 2014-02-19 23:15:40 +00:00
  • 302646625b stm: Add RTC start-up info, and uPy bindings. Damien George 2014-02-19 23:15:09 +00:00
  • fb7f94392d import: Implement "from pkg.mod import sym" syntax properly. Paul Sokolovsky 2014-02-20 00:29:54 +02:00
  • 047cd40313 Bytecode int varlen encoding: support arbitrary values for signed ints too. Paul Sokolovsky 2014-02-19 15:47:59 +02:00
  • 0f96ec8268 Bytecode uint varlen encoding: support arbitrary values. Paul Sokolovsky 2014-02-18 21:21:22 +02:00
  • 51dabac096 Add pin mapping code. Dave Hylands 2014-02-17 17:57:13 -08:00
  • 46239413d0 stm: Implement mp_import_stat. Damien George 2014-02-17 22:44:20 +00:00
  • 4d0588df56 objint_longlong: Don't assert on invalid syntax, raise SyntaxError instead. Paul Sokolovsky 2014-02-18 00:21:11 +02:00
  • 517e1706bd Merge pull request #309 from pfalcon/stm-sys-path Damien George 2014-02-17 22:21:25 +00:00
  • ff77dc567c Merge pull request #307 from iabdalkader/master Damien George 2014-02-17 22:17:56 +00:00
  • 4aee119f94 stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"]. Paul Sokolovsky 2014-02-18 00:06:37 +02:00
  • d0ffda91cc Fix usart_obj_tx_char mux 2014-02-17 21:49:07 +02:00
  • f34947703a Merge pull request #303 from dhylands/fix-netduino-disc Damien George 2014-02-17 09:48:53 +00:00
  • 70c56acafb Merge pull request #302 from pfalcon/readme-update Damien George 2014-02-17 09:47:27 +00:00
  • 90928f1194 Fix build for netduino and stm32f4disc Dave Hylands 2014-02-16 23:14:49 -08:00
  • 402dc31aa7 stm: Factor out GPIO code to its own file. Add functions to set GPIO mode. Damien George 2014-02-16 23:44:23 +00:00