1. 21 May, 2014 1 commit
    • Damien George's avatar
      Tidy up some configuration options. · 58ebde46
      Damien George authored
      MP_ALLOC_* -> MICROPY_ALLOC_*
      MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX
      MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL
      MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX
      MICROPY_EXTRA_* -> MICROPY_PORT_*
      
      See issue #35.
      58ebde46
  2. 11 May, 2014 1 commit
  3. 09 May, 2014 1 commit
  4. 08 May, 2014 1 commit
    • stijn's avatar
      Windows MSVC port · 01d6be4d
      stijn authored
      Extend the windows port so it compiles with the toolchain from Visual Studio 2013
      01d6be4d
  5. 07 May, 2014 1 commit
  6. 03 May, 2014 4 commits
    • Damien George's avatar
      Add license header to (almost) all files. · 04b9147e
      Damien George authored
      Blanket wide to all .c and .h files.  Some files originating from ST are
      difficult to deal with (license wise) so it was left out of those.
      
      Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
      04b9147e
    • stijn's avatar
      mingw: Fix number of exponent digits in floating point formatting · 72521a1c
      stijn authored
      By default mingw outputs 3 digits instead of the standard 2 so all float
      tests using printf fail. Using setenv at the start of the program fixes this.
      To accomodate calling platform specific initialization a
      MICROPY_MAIN_INIT_FUNC macro is used which is called in mp_init()
      72521a1c
    • stijn's avatar
      mingw: Add implementation of realpath() · 4cd21dee
      stijn authored
      The mingw port used _fullpath() until now, but the behaviour is not exactly
      the same as realpath()'s on unix; major difference being that it doesn't
      return an error for non-existing files, which would bypass main's error
      checking and bail out without any error message.
      
      Also realpath() will return forward slashes only since main() relies on that.
      4cd21dee
    • stijn's avatar
      mingw: Add 'open' as extra builtin and add define MICROPY_MOD_SYS_STDFILES · 55131942
      stijn authored
      This one was probable missed when creating mpconfigport.h, but the underlying
      code (file.c) gets compiled and works perfectly so no reason to omit it.
      55131942
  7. 20 Apr, 2014 1 commit
  8. 07 Apr, 2014 1 commit
  9. 13 Mar, 2014 1 commit
  10. 28 Jan, 2014 1 commit
  11. 19 Jan, 2014 1 commit
  12. 18 Jan, 2014 1 commit
  13. 17 Jan, 2014 1 commit
  14. 07 Jan, 2014 3 commits
  15. 04 Jan, 2014 1 commit
  16. 03 Jan, 2014 2 commits
  17. 30 Dec, 2013 1 commit
  18. 21 Dec, 2013 1 commit
    • Damien's avatar
      Change object representation from 1 big union to individual structs. · d99b0528
      Damien authored
      A big change.  Micro Python objects are allocated as individual structs
      with the first element being a pointer to the type information (which
      is itself an object).  This scheme follows CPython.  Much more flexible,
      not necessarily slower, uses same heap memory, and can allocate objects
      statically.
      
      Also change name prefix, from py_ to mp_ (mp for Micro Python).
      d99b0528
  19. 09 Nov, 2013 1 commit
  20. 22 Oct, 2013 1 commit
  21. 20 Oct, 2013 2 commits
  22. 16 Oct, 2013 1 commit
  23. 15 Oct, 2013 1 commit
  24. 12 Oct, 2013 2 commits