1. 06 May, 2017 1 commit
  2. 31 Mar, 2017 1 commit
  3. 02 Mar, 2017 1 commit
  4. 04 Jan, 2017 1 commit
  5. 18 Oct, 2016 1 commit
  6. 10 May, 2016 2 commits
  7. 11 Jan, 2016 1 commit
    • Damien George's avatar
      py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. · 5b3f0b7f
      Damien George authored
      The first argument to the type.make_new method is naturally a uPy type,
      and all uses of this argument cast it directly to a pointer to a type
      structure.  So it makes sense to just have it a pointer to a type from
      the very beginning (and a const pointer at that).  This patch makes
      such a change, and removes all unnecessary casting to/from mp_obj_t.
      5b3f0b7f
  8. 31 Oct, 2015 1 commit
    • Damien George's avatar
      all: Add py/mphal.h and use it in all ports. · 731f3592
      Damien George authored
      py/mphal.h contains declarations for generic mp_hal_XXX functions, such
      as stdio and delay/ticks, which ports should provide definitions for.  A
      port will also provide mphalport.h with further HAL declarations.
      731f3592
  9. 04 May, 2015 1 commit
  10. 01 Jan, 2015 1 commit
  11. 04 Dec, 2014 1 commit
    • Damien George's avatar
      stmhal: Overhaul network drivers; has generic network protocol in C. · 29a1ec1b
      Damien George authored
      This patch overhauls the network driver interface.  A generic NIC must
      provide a set of C-level functions to implement low-level socket control
      (eg socket, bind, connect, send, recv).  Doing this, the network and
      usocket modules can then use such a NIC to implement proper socket
      control at the Python level.
      
      This patch also updates the CC3K and WIZNET5K drivers to conform to the
      new interface, and fixes some bugs in the drivers.  They now work
      reasonably well.
      29a1ec1b
  12. 31 Oct, 2014 1 commit
  13. 22 Oct, 2014 1 commit
  14. 30 Sep, 2014 3 commits
    • Damien George's avatar
      stmhal: Fix wiznet5k init of SPI bus. · e5cc4b25
      Damien George authored
      e5cc4b25
    • Damien George's avatar
      drivers, wiznet5k: Wrap exported functions in a macro for renaming. · 9d2bf9c4
      Damien George authored
      3rd party drivers should not export generic names like "close".
      9d2bf9c4
    • Damien George's avatar
      stmhal: Add network and usocket module. · 3a1c4c5b
      Damien George authored
      As per issue #876, the network module is used to configure NICs
      (hardware modules) and configure routing.  The usocket module is
      supposed to implement the normal Python socket module and selects the
      underlying NIC using routing logic.
      
      Right now the routing logic is brain dead: first-initialised,
      first-used.  And the routing table is just a list of registered NICs.
      
      cc3k and wiznet5k work, but not at the same time due to C name clashes
      (to be fixed).
      
      Note that the usocket module has alias socket, so that one can import
      socket and it works as normal.  But you can also override socket with
      your own module, using usocket at the backend.
      3a1c4c5b
  15. 17 Sep, 2014 1 commit
  16. 01 Sep, 2014 2 commits