1. 31 Oct, 2015 2 commits
  2. 24 Oct, 2015 1 commit
    • Paul Sokolovsky's avatar
      Makefiles: Remove duplicate object files when linking. · 0dbd928c
      Paul Sokolovsky authored
      Scenario: module1 depends on some common file from lib/, so specifies it
      in its SRC_MOD, and the same situation with module2, then common file
      from lib/ eventually ends up listed twice in $(OBJ), which leads to link
      errors.
      
      Make is equipped to deal with such situation easily, quoting the manual:
      "The value of $^ omits duplicate prerequisites, while $+ retains them and
      preserves their order." So, just use $^ consistently in all link targets.
      0dbd928c
  3. 19 Oct, 2015 2 commits
  4. 08 Oct, 2015 1 commit
    • Dave Hylands's avatar
      stmhal: Fix USB CDC-only mode under Windows. · 01d64914
      Dave Hylands authored
      This fix adds PIDs 9801 and 9802 to the pybcdc.inf file.
      
      When in CDC only mode, it presents itself as a Communcations
      device rather than as a composite device. Presenting as a
      composite device with only the CDC interface seems to confuse
      windows.
      
      To test and make sure that the correct pybcdc.inf was being used,
      I used USBDeview from http://www.nirsoft.net/utils/usb_devices_view.html
      to uninstall any old pyboard drivers (Use Control-F and search
      for pyboard). I found running USBDeview as administrator worked best.
      
      Installing the driver in CDC+MSC mode first is recommended (since the
      pybcdc.inf file in on the internal flash drive). Then when you switch
      modes everything seems to work properly.
      
      I used https://github.com/dhylands/upy-examples/blob/master/boot_switch.py
      to easily switch the pyboard between the various USB modes for testing.
      01d64914
  5. 07 Aug, 2015 3 commits
  6. 02 Aug, 2015 1 commit
  7. 29 Jul, 2015 3 commits
  8. 20 Jul, 2015 1 commit
  9. 10 Jun, 2015 1 commit
  10. 12 May, 2015 1 commit
  11. 04 May, 2015 1 commit
  12. 18 Apr, 2015 1 commit
  13. 05 Apr, 2015 1 commit
  14. 22 Mar, 2015 1 commit
  15. 04 Mar, 2015 1 commit
  16. 22 Feb, 2015 1 commit
  17. 13 Feb, 2015 2 commits
  18. 22 Jan, 2015 1 commit
  19. 12 Jan, 2015 1 commit
  20. 01 Jan, 2015 1 commit
  21. 27 Dec, 2014 3 commits
  22. 18 Dec, 2014 1 commit
    • Damien George's avatar
      lib/libm: Add acosh, asinh, atanh, tan; get working with stmhal. · f04329e9
      Damien George authored
      acoshf, asinhf, atanhf were added from musl.  mathsincos.c was
      split up into its original, separate files (from newlibe-nano-2).
      tan was added.
      
      All of the important missing float functions are now implemented,
      and pyboard now passes tests/float/math_fun.py (finally!).
      f04329e9
  23. 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
  24. 02 Dec, 2014 1 commit
  25. 31 Oct, 2014 1 commit
  26. 29 Oct, 2014 1 commit
  27. 23 Oct, 2014 1 commit
  28. 22 Oct, 2014 1 commit
  29. 12 Oct, 2014 1 commit
  30. 09 Oct, 2014 1 commit
  31. 06 Oct, 2014 1 commit