1. 27 Jul, 2015 1 commit
  2. 12 May, 2015 2 commits
  3. 28 Apr, 2015 1 commit
  4. 21 Apr, 2015 1 commit
  5. 04 Mar, 2015 2 commits
  6. 21 Jan, 2015 1 commit
    • Damien George's avatar
      py: Remove mp_obj_str_builder and use vstr instead. · 05005f67
      Damien George authored
      With this patch str/bytes construction is streamlined.  Always use a
      vstr to build a str/bytes object.  If the size is known beforehand then
      use vstr_init_len to allocate only required memory.  Otherwise use
      vstr_init and the vstr will grow as needed.  Then use
      mp_obj_new_str_from_vstr to create a str/bytes object using the vstr
      memory.
      
      Saves code ROM: 68 bytes on stmhal, 108 bytes on bare-arm, and 336 bytes
      on unix x64.
      05005f67
  7. 01 Jan, 2015 1 commit
  8. 27 Dec, 2014 1 commit
  9. 29 Nov, 2014 1 commit
  10. 12 Oct, 2014 2 commits
  11. 29 Aug, 2014 1 commit
  12. 08 Aug, 2014 1 commit
  13. 06 Aug, 2014 1 commit
  14. 05 Aug, 2014 1 commit
  15. 01 Aug, 2014 1 commit
  16. 31 Jul, 2014 1 commit
    • Damien George's avatar
      stmhal: Change 0:/ and 1:/ to /flash and /sd; add CWD support. · 65dd7bc1
      Damien George authored
      Some important changes to the way the file system is structured on the
      pyboard:
      
      1. 0: and 1: drive names are now replaced with POSIX inspired
      directories, namely /flash and /sd.
      
      2. Filesystem now supports the notion of a current working directory.
      Supports the standard Python way of manipulating it: os.chdir and
      os.getcwd.
      
      3. On boot up, current directory is /flash if no SD inserted, else /sd
      if SD inserted.  Then runs boot.py and main.py from the current dir.
      This is the same as the old behaviour, but is much more consistent and
      flexible (eg you can os.chdir in boot.py to change where main.py is run
      from).
      
      4. sys.path (for import) is now set to '' (current dir), plus /flash
      and /flash/lib, and then /sd and /sd/lib if SD inserted.  This, along
      with CWD, means that import now works properly.  You can import a file
      from the current directory.
      
      5. os.listdir is fixed to return just the basename, not the full path.
      
      See issue #537 for background and discussion.
      65dd7bc1
  17. 19 Jul, 2014 1 commit
  18. 03 Jul, 2014 1 commit
  19. 19 Jun, 2014 1 commit
  20. 03 May, 2014 2 commits
  21. 02 May, 2014 1 commit
  22. 26 Apr, 2014 1 commit
  23. 05 Apr, 2014 2 commits
  24. 30 Mar, 2014 1 commit
    • Damien George's avatar
      Merge map.h into obj.h. · df6567e6
      Damien George authored
      Pretty much everyone needs to include map.h, since it's such an integral
      part of the Micro Python object implementation.  Thus, the definitions
      are now in obj.h instead.  map.h is removed.
      df6567e6
  25. 29 Mar, 2014 1 commit
  26. 25 Mar, 2014 1 commit
  27. 22 Mar, 2014 1 commit