1. 15 Feb, 2017 5 commits
  2. 14 Feb, 2017 13 commits
  3. 13 Feb, 2017 5 commits
  4. 12 Feb, 2017 1 commit
    • Paul Sokolovsky's avatar
      unix/moduselect: Implement ipoll() method with no-allocation policy. · 16a3534a
      Paul Sokolovsky authored
      ipoll() allows to poll streams without allocating any memory: this method
      returns an iterator (a poll object itself), and the iterator yields
      preallocated "callee-owned tuple" with polling results for each active
      stream. The only operation a caller is allowed to do with this tuple is
      extracting values from it (storing the tuple as a whole somewhere is
      not allowed).
  5. 10 Feb, 2017 3 commits
  6. 09 Feb, 2017 5 commits
  7. 08 Feb, 2017 4 commits
    • Paul Sokolovsky's avatar
      extmod/machine_signal: Implement Signal .on() and .off() methods. · 181f7d14
      Paul Sokolovsky authored
      Each method asserts and deasserts signal respectively. They are equivalent
      to .value(1) and .value(0) but conceptually simpler (and may help to avoid
      confusion with inverted signals, where "asserted" state means logical 0
    • Damien George's avatar
      stmhal/Makefile: Drop use of -mabi=aapcs-linux; link libgcc by default. · 7ae9bee7
      Damien George authored
      The aapcs-linux ABI is not required, instead the default aapcs ABI is
      enough.  And using the default ABI means that the provided libgcc will now
      link with the firmware without warnings about variable vs fixed enums.
      Although the binary size increases by about 1k, RAM usage is slightly
      decreased.  And libgcc may prove useful in the future for things like
      long-long division.
    • Dave Hylands's avatar
      py/nlr: Fix execstack builds for ARM. · aa34c553
      Dave Hylands authored
      It seems that the gcc toolchain on the RaspberryPi
      likes %progbits instead of @progbits. I verified that
      %progbits also works under x86, so this should
      fix #2848 and fix #2842
      I verified that unix and mpy-cross both compile
      on my RaspberryPi and on my x64 machine.
    • Damien George's avatar
      py/map: Change mp_uint_t to size_t where appropriate. · af622eb2
      Damien George authored
      The internal map/set functions now use size_t exclusively for computing
      addresses.  size_t is enough to reach all of available memory when
      computing addresses so is the right type to use.  In particular, for
      nanbox builds it saves quite a bit of code size and RAM compared to the
      original use of mp_uint_t (which is 64-bits on nanbox builds).
  8. 07 Feb, 2017 4 commits