1. 20 Jun, 2014 1 commit
    • Paul Sokolovsky's avatar
      unix: Allow to override compiler warning options without touching the rest. · 2099b689
      Paul Sokolovsky authored
      Some people want to enable even more warnings. Let them do it without putting
      burden on everyone. Some people vice versa think that current settings should
      be relaxed. In this regard, -Werror is the most problematic, it disallows to
      use #warning directive, and disallows to pass configuration settings on make
      command lines. Again, until decided how to deal with these globally, allow to
      work around these problems locally.
      2099b689
  2. 07 Jun, 2014 1 commit
  3. 28 May, 2014 1 commit
    • Paul Sokolovsky's avatar
      Revert "Fix DEBUG=1 builds" · 168a9ce8
      Paul Sokolovsky authored
      This reverts commit 6e76f7bc.
      
      This patch tries to workaround a previous clang workaround. Instead of going
      into workaround of workaround spiral, the original workaround should be tamed.
      168a9ce8
  4. 26 May, 2014 1 commit
    • Dave Hylands's avatar
      Fix DEBUG=1 builds · 6e76f7bc
      Dave Hylands authored
      Without this fix, I get the following error:
      
      CC gccollect.c
      gccollect.c: In function ‘gc_helper_get_regs’:
      gccollect.c:63:1: error: bp cannot be used in asm here
      6e76f7bc
  5. 24 May, 2014 1 commit
  6. 21 May, 2014 1 commit
  7. 14 May, 2014 1 commit
    • Paul Sokolovsky's avatar
      unix: Add "_os" module with stat(). · 0c124c31
      Paul Sokolovsky authored
      stat() is bad function to use using FFI, because its ABI is largely private.
      To start with, Glibc .so doesn't even have "stat" symbol. Then, layout of
      struct stat is too implementation-dependent. So, introduce _os to deal
      with stat() and other similar cases.
      0c124c31
  8. 11 May, 2014 1 commit
  9. 07 May, 2014 1 commit
  10. 20 Apr, 2014 1 commit
  11. 17 Apr, 2014 2 commits
  12. 16 Apr, 2014 3 commits
    • Andrew Scheller's avatar
      build directory can now be renamed · 70a7d7a9
      Andrew Scheller authored
      The autogenerated header files have been moved about, and an extra
      include dir has been added, which means you can give a custom
      BUILD=newbuilddir option to make, and everything "just works"
      
      Also tidied up the way the different Makefiles build their include-
      directory flags
      70a7d7a9
    • Andrew Scheller's avatar
      Add 'test' target to unix/Makefile · d5ce916f
      Andrew Scheller authored
      In conjunction with #504 this allows you to do things like:
      ```shell
      make -C unix clean && make -C unix test CC=gcc-4.7
      ```
      all from the top-level micropython directory :-)
      
      Something similar could probably be done for windows/Makefile too, but I don't have a cygwin setup to test with.
      d5ce916f
    • Andrew Scheller's avatar
      New config option MICROPY_FORCE_32BIT (defaulted to 0) · 571d5a33
      Andrew Scheller authored
      Makes it easier for 64-bit unix hosts to build 32-bit unix
      binaries (for testing)
      571d5a33
  13. 14 Apr, 2014 2 commits
  14. 04 Apr, 2014 1 commit
  15. 28 Feb, 2014 1 commit
  16. 14 Feb, 2014 1 commit
  17. 12 Feb, 2014 1 commit
  18. 11 Feb, 2014 2 commits
  19. 01 Feb, 2014 3 commits
  20. 28 Jan, 2014 2 commits
    • Damien George's avatar
    • Paul Sokolovsky's avatar
      unix: Initial implementation of FFI module. · 60a9fac8
      Paul Sokolovsky authored
      Foreign Function Interface module allows to load native dynamic libraries,
      call functions and access variables in them. This makes possible to write
      interface modules in pure Python.
      
      This module provides thin wrapper around libffi. ctypes compatibility might
      be possible to implement on top of this module (though ctypes allow to call
      functions without prototypes, which is not supported by libffi (i.e.
      implementation would be inefficient))).
      60a9fac8
  21. 26 Jan, 2014 1 commit
  22. 25 Jan, 2014 1 commit
  23. 24 Jan, 2014 1 commit
  24. 21 Jan, 2014 1 commit
  25. 20 Jan, 2014 1 commit
  26. 18 Jan, 2014 1 commit
  27. 14 Jan, 2014 1 commit
  28. 13 Jan, 2014 1 commit
  29. 08 Jan, 2014 2 commits
  30. 07 Jan, 2014 2 commits