Commit Graph

  • a96cc824bd py: Support arm and thumb ARM ISAs, in addition to thumb2. Paul Sokolovsky 2014-06-22 01:14:28 +03:00
  • 59c675a64c py: Include mpconfig.h before all other includes. Paul Sokolovsky 2014-06-21 22:43:22 +03:00
  • 89b38d96c9 Add NORETURN to __fatal_error mux 2014-06-21 18:43:44 +02:00
  • 5c8db48541 Fix asser_func warning/error mux 2014-06-21 17:24:55 +02:00
  • 4c4b9d15ab mkrules.mk: Pass $(COPT) to link stage. Paul Sokolovsky 2014-06-20 20:33:20 +03:00
  • 0fc7efb663 makefile: Pass STRIPFLAGS_EXTRA to strip. Paul Sokolovsky 2014-06-20 20:25:35 +03:00
  • 17a49431d4 unix: Allow to override MICROPY_GCREGS_SETJMP from cmdline. Paul Sokolovsky 2014-06-20 20:17:43 +03:00
  • 7cd46a12ae unix: Add CFLAGS_EXTRA & LDFLAGS_EXTRA for command line usage. Paul Sokolovsky 2014-06-20 19:27:51 +03:00
  • 7e56e55252 unix: Refactor order file munging fo MacOSX. Paul Sokolovsky 2014-06-20 19:25:54 +03:00
  • eecf3e90c6 unix: Group CFLAGS related stuff together. Paul Sokolovsky 2014-06-20 19:19:06 +03:00
  • 2099b6897f unix: Allow to override compiler warning options without touching the rest. Paul Sokolovsky 2014-06-20 19:17:35 +03:00
  • f605172d2b tests/float/: Skip tests if "math" module is not available. Paul Sokolovsky 2014-06-20 01:50:49 +03:00
  • 3b6f7b95eb py: Separate MICROPY_PY_BUILTINS_COMPLEX from MICROPY_PY_BUILTINS_FLOAT. Paul Sokolovsky 2014-06-20 01:48:35 +03:00
  • 7efbd325bb Merge pull request #697 from stinos/gc-debug Paul Sokolovsky 2014-06-20 17:33:02 +03:00
  • 09e3f8f0d1 Merge pull request #707 from eblot/master-v1.1.1-build-fixes Paul Sokolovsky 2014-06-20 17:29:58 +03:00
  • b6af4c8104 Added hexfile target Windel Bouwman 2014-06-20 16:14:55 +02:00
  • 74c710187c bench: Three ways to process a byte buffer. Paul Sokolovsky 2014-06-19 22:27:13 +03:00
  • 59ced651b5 bench: Add test for map() vs inplace operations in array-likes. Paul Sokolovsky 2014-06-19 21:54:51 +03:00
  • 17db096505 bench: Add tests for constructing various containers from iterator. Paul Sokolovsky 2014-06-19 21:44:33 +03:00
  • e53d2197e4 bench: Add test for function call overhead. Paul Sokolovsky 2014-06-19 03:20:34 +03:00
  • f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ Emmanuel Blot 2014-06-19 18:54:34 +02:00
  • bf3366a48b Add missing “assert.h” file header inclusion from “nlr.h” Emmanuel Blot 2014-06-19 18:47:38 +02:00
  • fe81eea967 Add MICROPY_HW_MICRO_NAME to boards config mux 2014-06-19 14:40:00 +02:00
  • b0851e5949 Merge pull request #700 from swegener/for-upstream Damien George 2014-06-18 14:59:39 +01:00
  • c3cabf4e33 bare-arm, stmhal, teensy: Duplicate -nostdlib to CFLAGS Sven Wegener 2014-06-14 17:41:13 +02:00
  • afc67c6dc5 bare-arm, stmhal: Fix --nostdlib to -nostdlib Sven Wegener 2014-06-14 17:41:13 +02:00
  • 9acb5e4cf0 gc: Turn off debugging info again stijn 2014-06-18 12:29:03 +02:00
  • def10cecd1 gc: Keep debug statements at beginning of scope where possible stijn 2014-06-18 10:20:41 +02:00
  • 720f55cc4b Merge pull request #698 from dhylands/adc-fix Damien George 2014-06-17 20:52:47 +01:00
  • bcb3ab451b stmhal: Toggle LED using ODR ^= pin_mask. Damien George 2014-06-17 19:57:17 +01:00
  • 535b88133c Fix problem with ADC reads and multiple channels Dave Hylands 2014-06-16 09:41:58 -07:00
  • bbcea3f62b gc: More verbose debugging stijn 2014-06-16 10:44:29 +02:00
  • 4f1b7fec9f Updated teensy to build. Dave Hylands 2014-06-15 22:33:14 -07:00
  • 2547928148 stmhal: Add Python function to set UART for REPL. Damien George 2014-06-15 09:47:27 +01:00
  • c0711cbefa stmhal: Fix type signatures on functions that take variable args. Damien George 2014-06-15 09:32:42 +01:00
  • e79c6696c5 stmhal: Fix file print methods to use print instead of printf. Damien George 2014-06-15 09:10:07 +01:00
  • 34ab8dd6dd stmhal: Update and improve LCD driver. Damien George 2014-06-15 00:41:47 +01:00
  • 0294661da5 parsenum: Signedness issues. Paul Sokolovsky 2014-06-14 17:56:44 +03:00
  • 812025bd83 Merge pull request #693 from iabdalkader/assert Damien George 2014-06-14 15:51:40 +01:00
  • 5f6f47a688 Make __assert_func weak mux 2014-06-14 17:02:50 +02:00
  • 00db5c81e1 Add __assert_func only if DEBUG=1 mux 2014-06-14 15:53:11 +02:00
  • 34e7b67d3c Add __assert_func mux 2014-06-14 14:41:11 +02:00
  • e3cfc0d33d objstr: Refactor to work with char pointers instead of indexes. Paul Sokolovsky 2014-06-14 06:06:36 +03:00
  • 7ddbd1bee7 unicode: Add trivial implementation of unichar_charlen(). Paul Sokolovsky 2014-06-14 06:29:58 +03:00
  • b0bb458810 unicode: String API is const byte*. Paul Sokolovsky 2014-06-14 06:18:34 +03:00
  • 2ec38a17d4 objstr: Be 8-bit clean even for repr(). Paul Sokolovsky 2014-06-13 21:23:00 +03:00
  • e9036c295c Merge branch 'stinos-gc-pointers' Damien George 2014-06-13 22:34:11 +01:00
  • c037694957 py, gc: Revert ret_ptr to void*, casting to byte* for memset. Damien George 2014-06-13 22:33:31 +01:00
  • 63b2237323 Merge branch 'gc-pointers' of github.com:stinos/micropython into stinos-gc-pointers Damien George 2014-06-13 22:30:46 +01:00
  • e22cddbe2a stream: Use mp_obj_is_true() for EOF testing. Paul Sokolovsky 2014-06-13 23:46:21 +03:00
  • f33385f56d gc: Use byte* pointers instead of void* for pointer arithmetic stijn 2014-06-12 17:42:20 +02:00
  • 8340c48389 py: Revert change of include, "" back to <> for mpconfigport.h. Damien George 2014-06-12 19:50:17 +01:00
  • fbdf2f1d63 py: Rename builtin "io" to "_io". Paul Sokolovsky 2014-06-12 01:22:25 +03:00
  • 8a0801ad24 py: Make 3 functions static. Damien George 2014-06-11 19:55:46 +01:00
  • 73c98d8709 py: Fix static defn in qstr; include mpconfigport.h with "" (not <>). Damien George 2014-06-11 19:18:03 +01:00
  • 0c0f446840 objfun: Remove no longer used mp_obj_fun_prepare_simple_args(). Paul Sokolovsky 2014-06-11 20:24:32 +03:00
  • f4bf065dac tests: Add testcases for "complicated" args to generator functions. Paul Sokolovsky 2014-06-11 20:22:30 +03:00
  • 5f4a667ea4 objgenerator: Finish refactor to use mp_setup_code_state(). Paul Sokolovsky 2014-06-11 20:17:38 +03:00
  • f77d0c5bb3 objgenerator: First iteration of refactor to use mp_setup_code_state(). Paul Sokolovsky 2014-06-11 20:06:14 +03:00
  • 49df795d1d objfun: Factor out mp_setup_code_state() function to set up code_state object. Paul Sokolovsky 2014-06-11 17:56:43 +03:00
  • 820896746c stmhal, file: Seek to end of file if opened in 'a' mode. Damien George 2014-06-11 16:01:52 +01:00
  • b7572ad11b stmhal, file: Implement a,x,+ open modes, seek and tell. Damien George 2014-06-11 15:41:14 +01:00
  • 58cbb4d661 py: Implement __contains__ special method. Damien George 2014-06-10 23:07:56 +01:00
  • 62f7ba7a81 Merge pull request #675 from Rosuav/seq_simplify Paul Sokolovsky 2014-06-09 23:40:04 +03:00
  • 1f44e118f0 Remove unnecessary bounds check from mp_seq_get_fast_slice_indexes. Chris Angelico 2014-06-10 03:59:55 +10:00
  • 195de3247b objtype: Fix passing of class param to inherited classmethods. Paul Sokolovsky 2014-06-08 22:28:44 +03:00
  • 639863d36e objtype: Optimize stack usage mp_obj_class_lookup(). Paul Sokolovsky 2014-06-08 20:50:12 +03:00
  • 57b4dfa9c9 stmhal: Fix pyb.bootloader so it works for gcc-4.9.0. Damien George 2014-06-08 14:01:43 +01:00
  • 26a95ae1e7 windows: Move include of malloc.h outside #ifdef msvc. Damien George 2014-06-08 13:50:57 +01:00
  • 4297fed1c3 tests: Run 'micropython' tests on pyboard. Damien George 2014-06-08 13:46:03 +01:00
  • 70c289a7a6 Merge branch 'marcusva-alloca' Damien George 2014-06-08 13:26:02 +01:00
  • 4480cb3711 Provide definition of alloca() in mpconfigport.h. Damien George 2014-06-08 13:25:33 +01:00
  • df896eceef Merge branch 'alloca' of github.com:marcusva/micropython into marcusva-alloca Damien George 2014-06-08 13:18:14 +01:00
  • 9e951498b2 tests: Add more tests for default keyword-only args. Damien George 2014-06-08 12:58:32 +01:00
  • 049a7a8153 py: Simplify function call of a bytecode object. Damien George 2014-06-08 00:37:40 +01:00
  • c06427c019 tests: Fix default arg test. Damien George 2014-06-08 00:12:32 +01:00
  • b4efac14cd py: Make sure getattr() works with non-interned strings (by interning them). Paul Sokolovsky 2014-06-08 01:13:35 +03:00
  • d31a093f9c Merge branch 'master' of github.com:micropython/micropython Damien George 2014-06-07 22:02:35 +01:00
  • 5473f743f3 objtype: Enable __lt__ method support for instances. Paul Sokolovsky 2014-06-08 00:01:46 +03:00
  • f0778a7ccb py: Implement default keyword only args. Damien George 2014-06-07 22:01:00 +01:00
  • b9b9354e6c modsys: Add optional support for sys.platform. Paul Sokolovsky 2014-06-07 23:40:04 +03:00
  • 7e4a2b0edc py: Add generic mp_not_implemented() func to use instead of assert(). Paul Sokolovsky 2014-06-07 23:22:41 +03:00
  • aabd83ea20 py: Merge mp_execute_bytecode into fun_bc_call. Damien George 2014-06-07 14:16:08 +01:00
  • 82ed3d62f6 py, mk: Revert change where build variables set with ?=. Damien George 2014-06-07 13:14:45 +01:00
  • a9b5248e18 Merge pull request #672 from marcusva/makefile Damien George 2014-06-07 13:03:29 +01:00
  • dc931934b3 Merge pull request #674 from marcusva/fbsd-patches Damien George 2014-06-07 13:00:35 +01:00
  • 585a3394df - Cast the struct stat sb.st_ino field to machine_int_t explicitly to avoid a cast error in MP_OBJ_NEW_SMALL_INT(). This is necessary for FreeBSD, where st_ino is of different size - If MP_CLOCKS_PER_SEC is defined on the target host, simply define CLOCK_DIV as a fraction, regardless of the value of MP_CLOCKS_PER_SEC. FreeBSD uses a non-POSIX compliant value of 128 for CLOCKS_PER_SEC Marcus von Appen 2014-06-07 09:50:18 +02:00
  • 0c90eb1658 - FreeBSD provides alloca() via stdlib.h, in contrast to Linux and Windows - Move the includes for alloca() intp mpconfigport.h Marcus von Appen 2014-06-07 09:36:04 +02:00
  • 8ffc02495f - Let the build environment decide about the toolchain to be used, in case there are special tweaks and paths to be considered. Just provide some defaults, in case the values are undefined. - py-version.sh does not need any bash specific features. - Use libdl only on Linux for now. FreeBSD provides dl*() calls from libc. Marcus von Appen 2014-06-07 09:16:42 +02:00
  • c61be8e1e1 Merge pull request #662 from stinos/windows-pathsep Damien George 2014-06-07 00:05:59 +01:00
  • 180751fbf3 Merge pull request #670 from Rosuav/stringhash Paul Sokolovsky 2014-06-07 00:10:10 +03:00
  • de09caaa37 Bring the C and Python compute_hash functions into consistency Chris Angelico 2014-06-07 06:55:27 +10:00
  • d72bc2713a objint: Fix corner case in buffer access. Paul Sokolovsky 2014-06-06 23:08:37 +03:00
  • b56a53dfd6 Merge pull request #667 from Rosuav/testfixes Paul Sokolovsky 2014-06-06 22:23:23 +03:00
  • 8c75bd26e2 Merge pull request #668 from dhylands/print-prec Paul Sokolovsky 2014-06-06 22:12:42 +03:00
  • b69f9fa31f Fix str.modulo when precision is specified. Dave Hylands 2014-06-05 23:09:02 -07:00
  • 380f147d2e modgc: Real 64-bit cleanness. Paul Sokolovsky 2014-06-06 03:01:39 +03:00
  • a3ef8087e8 modgc: 64-bit cleanness. Paul Sokolovsky 2014-06-06 02:34:17 +03:00
  • 047db2299c Turn the Travis CI test skipping mechanism into something more generic Chris Angelico 2014-06-06 07:45:55 +10:00
  • 88b11b50e5 Figure out the test_name before using it (significant only to Travis skips) Chris Angelico 2014-06-06 07:41:30 +10:00