1. 30 Jan, 2021 11 commits
  2. 29 Jan, 2021 21 commits
  3. 27 Jan, 2021 1 commit
    • nanjekyejoannah's avatar
      docs/develop: Add MicroPython Internals chapter. · 4eaebc19
      nanjekyejoannah authored
      This commit adds many new sections to the existing "Developing and building
      MicroPython" chapter to make it all about the internals of MicroPython.
      
      This work was done as part of Google's Season of Docs 2020.
      4eaebc19
  4. 24 Jan, 2021 2 commits
  5. 23 Jan, 2021 5 commits
    • Vincent Duvert's avatar
      cc3200: Fix debug build. · 45f0b6ab
      Vincent Duvert authored
      * Fix a typo in the Makefile that prevented the debug build to be actually
        enabled when BTYPE=debug is used.
      
      * Add a missing header in modmachine.c that is used when a debug build is
        created.
      45f0b6ab
    • Vincent Duvert's avatar
      cc3200/ftp: Add quotes to PWD response and allow FEAT prior to login. · 342dc617
      Vincent Duvert authored
      This commit improves some FTP implementation details for better
      compatibility with FTP clients:
      
      * The PWD command now puts quotes around the directory name before
        returning it.  This fixes BBEdit’s FTP client, which performs a PWD after
        each CWD and gets confused if the returned directory path is not
        surrounded by quotes.
      
      * The FEAT command is now allowed before logging in. This fixes the lftp
        client, which send FEAT first and gets confused (tries to use TLS) if the
        server responds with 332.
      342dc617
    • Oliver Joos's avatar
      unix/modtime: Fix time() precision on unix ports with non-double floats. · 290dc1d5
      Oliver Joos authored
      With MICROPY_FLOAT_IMPL_FLOAT the results of utime.time(), gmtime() and
      localtime() change only every 129 seconds.  As one consequence
      tests/extmod/vfs_lfs_mtime.py will fail on a unix port with LFS support.
      
      With this patch these functions only return floats if
      MICROPY_FLOAT_IMPL_DOUBLE is used.  Otherwise they return integers.
      290dc1d5
    • Oliver Joos's avatar
      tests/extmod: Add test for the precision of utime functions. · 419134be
      Oliver Joos authored
      According to documentation time() has a precision of at least 1 second.
      This test runs for 2.5 seconds and calls all utime functions every 100ms.
      Then it checks if they returned enough different results.  All functions
      with sub-second precision will return ~25 results.  This test passes with
      15 results or more.  Functions that do not exist are skipped silently.
      419134be
    • IhorNehrutsa's avatar