1. 16 Apr, 2016 1 commit
    • Jan Čapek's avatar
      py: Add rules for automated extraction of qstrs from sources. · d76c65f5
      Jan Čapek authored
      - add template rule that converts a specified source file into a qstring file
      
      - add special rule for generating a central header that contains all
        extracted/autogenerated strings - defined by QSTR_DEFS_COLLECTED
        variable. Each platform appends a list of sources that may contain
        qstrings into a new build variable: SRC_QSTR. Any autogenerated
        prerequisities are should be appened to SRC_QSTR_AUTO_DEPS variable.
      
      - remove most qstrings from py/qstrdefs, keep only qstrings that
        contain special characters - these cannot be easily detected in the
        sources without additional annotations
      
      - remove most manual qstrdefs, use qstrdef autogen for: py, cc3200,
        stmhal, teensy, unix, windows, pic16bit:
      
         - remove all micropython generic qstrdefs except for the special strings that contain special characters (e.g. /,+,<,> etc.)
         - remove all port specific qstrdefs except for special strings
         - append sources for qstr generation in platform makefiles (SRC_QSTR)
      d76c65f5
  2. 13 Apr, 2016 2 commits
  3. 09 Mar, 2016 2 commits
  4. 08 Mar, 2016 1 commit
  5. 14 Feb, 2016 3 commits
  6. 06 Feb, 2016 2 commits
  7. 23 Jan, 2016 1 commit
    • Dave Hylands's avatar
      stmhal: Add support for building frozen files. · 42a6364a
      Dave Hylands authored
      This allows FROZEN_DIR=some-directory to be specified on the make
      command line, which will then add all of the files contained within
      the indicated frozen directory as frozen files in the image.
      
      There is no change in flash/ram usage if not using the feature.
      
      This is especially useful on smaller MCUs (like the 401) which only
      has 64K flash file system.
      42a6364a
  8. 07 Jan, 2016 1 commit
  9. 10 Dec, 2015 1 commit
  10. 26 Nov, 2015 1 commit
  11. 25 Nov, 2015 1 commit
  12. 10 Nov, 2015 1 commit
  13. 31 Oct, 2015 2 commits
  14. 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
  15. 19 Oct, 2015 2 commits
  16. 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
  17. 07 Aug, 2015 3 commits
  18. 02 Aug, 2015 1 commit
  19. 29 Jul, 2015 3 commits
  20. 20 Jul, 2015 1 commit
  21. 10 Jun, 2015 1 commit
  22. 12 May, 2015 1 commit
  23. 04 May, 2015 1 commit
  24. 18 Apr, 2015 1 commit
  25. 05 Apr, 2015 1 commit
  26. 22 Mar, 2015 1 commit
  27. 04 Mar, 2015 1 commit
  28. 22 Feb, 2015 1 commit
  29. 13 Feb, 2015 1 commit