1. Aug 02, 2018
  2. Aug 01, 2018
    • donmr's avatar
      Mem write odd (#730) · 27ce268a
      donmr authored
      * Use local variable for read_result instead of *ret, and fix
      calculation of *ret for EOF case.
      
      * Found a problem when reading an odd (%4) number of bytes at the end
      of a file.  fread (on stm32) get them (say 3 bytes), then askes for
      more.  do_semihosting gets a read return of 0 and tries to write that.
      mem_write alters the address to be aligned and overwrites then 3 bytes
      from the last read.
      
      This change simply tells mem_write to do nothing if len is 0.
      
      * Fix Issues from Fabien-Chouteau's review of my previous patch in isue #727.
      
      * Revert change to mem_write() so it does not confuse fixes to do_semihosting().
      
      * Add cast to avoid warning.
      
      * Restore change to mem_write to return immeadiately if len == 0.
      Add more comments on further possible issues and ways to handle them.
      Using a branch to separate this change from others as it may need
      more discussion and go on for a while...
      
      * Remove cast of "-1" to uint32_t.  It's now compared to a ssize_t
      and the compiler should be fine with that without any cast.
      27ce268a
    • donmr's avatar
      Fix to cast in changes for SYS_READ. (#731) · ea98ab7b
      donmr authored
      * Remove cast of "-1" to uint32_t.  It's now compared to a ssize_t
      and the compiler should be fine with that without any cast.
      ea98ab7b
  3. Jul 28, 2018
    • donmr's avatar
      Fixes to SYS_READ changes in PR #727 per review. (#729) · 07a76b01
      donmr authored
      * Use local variable for read_result instead of *ret, and fix
      calculation of *ret for EOF case.
      
      * Found a problem when reading an odd (%4) number of bytes at the end
      of a file.  fread (on stm32) get them (say 3 bytes), then askes for
      more.  do_semihosting gets a read return of 0 and tries to write that.
      mem_write alters the address to be aligned and overwrites then 3 bytes
      from the last read.
      
      This change simply tells mem_write to do nothing if len is 0.
      
      * Fix Issues from Fabien-Chouteau's review of my previous patch in isue #727.
      
      * Revert change to mem_write() so it does not confuse fixes to do_semihosting().
      
      * Add cast to avoid warning.
      07a76b01
  4. Jul 27, 2018
  5. Jul 11, 2018
  6. Jul 07, 2018
  7. Jun 27, 2018
  8. Jun 01, 2018
  9. May 19, 2018
  10. May 05, 2018
  11. Apr 17, 2018
    • Vasiliy Glazov's avatar
      Disable static library installation by default (#702) · b1b2a2f0
      Vasiliy Glazov authored
      * Disable static library installation by default
      * Added parameter for not install static lib
      * Rename and move to top parameter for install static libs.
      b1b2a2f0
    • Slyshyk Oleksiy's avatar
      fix #700 (#701) · 88935336
      Slyshyk Oleksiy authored
      * first try to fix #700
      Use CMAKE_INSTALL_PREFIX for install paths
      
      * check IS_DIRECTORY LIB_INSTALL_DIR
      * fix incorrect VAR usage in condition
      * changed debian/rules according to @bluca patch
      88935336
  12. Apr 10, 2018
  13. Apr 02, 2018
  14. Mar 29, 2018
  15. Mar 28, 2018
  16. Mar 26, 2018
  17. Mar 16, 2018
    • Luca Boccassi's avatar
      Debian packaging, CMake and README.md fixes (#683) · e9fe4e51
      Luca Boccassi authored
      * Use https for debian/copyright
      
      * Update dates and fix stanzas in debian/copyright
      
      No need to have 2 stanzas for the same license
      
      * Add BSD-3-clause body in debian/copyright
      
      * Remove generated boilerplate from debian/rules
      
      * Enable compiler hardening flags in debian/rules
      
      * Fix source package name according to repo and docs
      
      * Set source package section to electronics
      
      See https://packages.debian.org/unstable/electronics/ for a full list
      
      * Add long descriptions to packages
      
      * Add gbp.conf file
      
      * Update changelog for 1.5.0 release
      
      * Remove dirs files, not needed anymore
      
      * Rename library package to match SONAME
      
      As per Debian policy, shared library packages must be named after
      their SONAME version.
      
      * libstlink0: break+replace libstlink since it took over its files
      
      * Remove triggers, not needed anymore
      
      debhelper tools will generate the triggers file automatically since
      the package name was corrected
      
      * List GPL2+ in debian/copyright for flashloaders
      
      * Do not append -shared to shared library on *NIX
      
      Only on Windows it's necessary to have different file names, on *NIX
      the extension is what disambiguates between a static library (.a) and
      a shared library (.so).
      
      * Clarify license of flashloaders in README.md
      
      Fixes #682
      
      * List all individual authors in debian/copyright
      
      The Debian FTP masters nowadays require that all authors are listed in
      debian/copyright. Print the list of authors from git.
      
      * Move modprobe and udev files from shared library package to tools package
      
      Multiple versions of a shared library might be installed on the same
      system. Do not ship unversioned files in their packages, or they will
      conflict and fail to install.
      
      * stlink-tools: break+replace libstlink
      
      It took ownership of udev and modprobe files from libstlink
      
      * Fix pkgconfig include dir: remove project version
      
      The headers are installed in /usr/include/stlink without a version
      number.
      
      * Add libstlink1 symbols file
      
      Generated with:
      
       dpkg-gensymbols -P/tmp -v1.5.0 -V -e/tmp/libstlink.so.1.5.0
        -plibstlink1 -Odebian/libstlink1.symbols
      
      * Bump Standards-Version to 4.1.3
      
      Main changes are shared library rename and files moved, and HTTPS
      URLs.
      
      https://www.debian.org/doc/packaging-manuals/upgrading-checklist.txt
      
      * Add debian/watch file for notifications
      
      The Debian package tracker can automatically notify when a new
      version is out.
      e9fe4e51
  18. Mar 07, 2018
  19. Mar 01, 2018
  20. Feb 28, 2018
  21. Feb 20, 2018
  22. Feb 18, 2018
  23. Feb 16, 2018
  24. Feb 06, 2018
  25. Nov 17, 2017
  26. Oct 26, 2017
  27. Oct 10, 2017
  28. Sep 29, 2017
  29. Sep 17, 2017
  30. Sep 08, 2017