nightwalker-87
06c66ed308
Updated documentation
...
- Added note on windows binary installation
- Contributors now listed in separate file
(Closes #738 ) (Closes #795 )
2020-05-10 16:45:13 +02:00
nightwalker-87
7bb34fcfb2
Update for windows binary packaging
...
- Updated steps for release preparation
- Changed destination for binary archives
(Closes #798 )
2020-05-10 00:47:37 +02:00
nightwalker-87
5e0e29984c
Updated travis CI test-builds
...
- Added builds for clang -m32 on arch: AMD64
- Corrected invalid config settings
- Added clang-9 builds for linux
- Moved scripts to root directory
- Added MinGW cross-test-build for linux
2020-05-06 19:48:21 +02:00
nightwalker-87
9b478a04e0
Simplified subdir structure for packaging
2020-04-29 19:20:47 +02:00
nightwalker-87
1f9724e821
Removed deprecated debian pkg config settings
2020-04-29 17:08:41 +02:00
nightwalker-87
ce6ffe7030
Refactoring for package distribution
...
- New cpack package-config for DEB and RPM
- Toolchain file for cross-building
- Script to automate MinGW cross-building
- Added file headers for .cmake files
- Added dpkg and rpm to required pkgs
2020-04-29 16:24:14 +02:00
nightwalker-87
38a5c14877
Updated CHANGELOG.md
2020-04-27 23:29:01 +02:00
nightwalker-87
e87bdff95b
General Project Update
...
- Updated project README
- Updated .gitignore
- Updated project contributors
- Added contribution guidelines
2020-04-27 20:20:50 +02:00
nightwalker-87
5899409949
Merge pull request #947 from stlink-org/pkg
...
[refactoring] Cleanup of cmake build process
2020-04-26 16:45:25 +02:00
nightwalker-87
f827006231
Refactoring for cmake build settings
...
- Moved additional header files to /src
- Simplified header-paths
- Added missing license title for getopt
- Added comments and sections to CMakeLists
- Improved file structure (partially)
- Co-build st-util with st-info & st-flash
- GUI: Renamed .ui file to match executable
- Added install targets for executables
- Added missing "uninstall" cmd to Makefile
2020-04-25 22:34:18 +02:00
nightwalker-87
ade7118910
Merge branch 'develop' into pkg
2020-04-24 16:39:01 +02:00
nightwalker-87
5a1efc01f7
Updated cmake settings
...
- Distinguish test binaries from binaries
- Build all binaries to /bin subfolder
- Added comments to explain settings
- Moved header files for logging and mmap
2020-04-24 15:01:28 +02:00
nightwalker-87
22f44856ab
Updated compiling manual
...
- Removed requirement for 7zip on Windows
- Added note on GNUInstallDir presets (#557 )
2020-04-24 01:08:02 +02:00
nightwalker-87
3e3f782e5e
Updated pkgconfig
...
(Closes #944 )
2020-04-23 22:52:00 +02:00
nightwalker-87
39f22639ef
Updated license file for deb package
2020-04-23 11:04:38 +02:00
nightwalker-87
5db2dc4c04
cmake replaces 7zip for package extraction
...
The exctraction of the libusb library archive on windows no longer
requires an external unarchiver.
2020-04-23 11:03:15 +02:00
nightwalker-87
b53a207da4
Merge pull request #945 from chenguokai/issue663
...
Enhanced output for error msg "addr not a multiple of pagesize, not supported"
2020-04-22 12:21:10 +02:00
Xim
180bb70cee
Merge branch 'develop' into issue663
2020-04-22 18:06:35 +08:00
nightwalker-87
eac7eb687e
Merge pull request #942 from Glaeqen/glaeqen-msvc-guide
...
Added compilation guideline for MSVC toolchain
2020-04-22 11:56:36 +02:00
nightwalker-87
027c4b4cd1
Merge pull request #941 from grevaillot/to_merge/option2
...
[refactoring] Cleanup for option bytes and flash settings
2020-04-22 11:47:29 +02:00
nightwalker-87
8de09dca2a
Merge pull request #934 from grevaillot/to_merge/gdbserver-v1v2
...
st-util: removed now useless v1/v2 STLink version stuff
2020-04-22 11:35:29 +02:00
Guillaume Revaillot
5e0fd8b61c
doc: remove stlink version parameter selectors doc and examples
2020-04-22 11:15:58 +02:00
Guillaume Revaillot
ad0e52540e
doc: update doc to mention STLINK_DEVICE and --probe parameters if
...
applicable in all man files
2020-04-22 11:15:51 +02:00
Chen Guokai
e9facddc3c
Add more note about flash page size
2020-04-22 17:10:27 +08:00
Guillaume Revaillot
8e69625531
write option byte: final refactor
...
now that all flash family methods are aligned, refactor
main method to avoid duplicated lock/unlock, add info traces, and
map methods based on familly instead of a small subset of selected
devices.
nb1: f0/f1 support is still missing
nb2: option read/write is still conditioned by presence of option_base
and option_size in chipid.c, but adding more chips should only be
a matter of adding these two informations.
2020-04-22 10:36:41 +02:00
Guillaume Revaillot
f29e1a6a03
common: warn on unsupported access.
...
should only happen currently after adding a new flash family.
2020-04-22 10:36:41 +02:00
Guillaume Revaillot
853468d174
common: whitespace fixes
2020-04-22 10:36:41 +02:00
Guillaume Revaillot
a69a6fb681
use defines
2020-04-22 10:36:41 +02:00
Guillaume Revaillot
c4d9936976
common: implement flash check error for l0 and f0
2020-04-22 10:36:41 +02:00
Guillaume Revaillot
f23de8741a
update l0/l1 option code:
...
merge l0/l1, code is the same except flash base, add wait states and relock
2020-04-22 10:36:41 +02:00
Guillaume Revaillot
70043c426c
update gx option code: use helpers.
2020-04-22 10:36:41 +02:00
Guillaume Revaillot
9e53550d24
update l4 option code to use helpers, based on l496.
...
use generic unlock for l4, rename l496 to l4x, add wait flash busy,
complete chip id for l476 (and other)
2020-04-22 10:36:41 +02:00
Guillaume Revaillot
2cff67a59b
update f2 and f4 option read/write code routines
...
1) no need to unlock option flash to read it.
"The option byte are always read-accessible and write-protected by default."
current device specific option read code now only differs from generic read code
by reading option bytes in the flash option byte register instead of option base.
2) f4 and f2 have similar registers : use the same write code, with flash/option lock
helpers. add flash busy wait and relock at end of access.
3) add f446 option info to chip id
2020-04-22 10:36:41 +02:00
Guillaume Revaillot
29cfb7deb6
common: add some l0/l1 support in helpers
...
give l0/l1 some love - l0/l1 are a bit specific regarding keys,
bits, and lock registers.
Also make handling of f0/f1 explicit: ultimate goal is to have some
sanity check and clear codepath in that code in case some new target
is added - and that the whole code uses these helpers.
some work should be done to refactor a bit the flash register mapping
based on family, but not yet.
lo lock
2020-04-22 10:36:41 +02:00
Guillaume Revaillot
4a2881413a
common: add some flash option lock/unlock helpers
2020-04-22 10:36:41 +02:00
Chen Guokai
1752c123b4
Fix issue 663 with enhanced error output
2020-04-22 15:02:23 +08:00
nightwalker-87
9373f13393
Updated CHANGELOG.md
2020-04-21 15:55:39 +02:00
nightwalker-87
60be843f00
Merge pull request #943 from grevaillot/to_merge/probe_unconnected_target
...
handle probed STlink programmer with unconnected target properly
2020-04-21 15:42:27 +02:00
nightwalker-87
9b19f92254
Fixed compilation errors
...
- Moved include of GNUInstallDirs module in cmake-routine
- Removed old ci-leftover in Makefile
- cmake: Fixed name pattern for libusb module (Fixes #940 )
- Wrong command option formatting for 7zip (Fixes #936 )
Extraction of downloaded libusb archive on Windows failed since commit
a8c1f41f1b
.
2020-04-21 14:49:25 +02:00
Glaeqen
d7e1e6a11e
Added compilation guideline for MSVC toolchain
2020-04-21 00:18:51 +02:00
Guillaume Revaillot
598af1c1af
use constant for optkey
2020-04-20 15:55:22 +02:00
Guillaume Revaillot
498de0cc8c
option write : remove size check, this has already been done earlier
2020-04-20 15:24:11 +02:00
Guillaume Revaillot
e8503fb9b0
stlink.h: document a bit flash types.
...
f1 xl should probably merged back into f0, with dual bank bit set.
2020-04-20 15:24:11 +02:00
nightwalker-87
05cf37570d
Merge pull request #938 from chenguokai/issue937
...
Fixed uninitialized cpuid
2020-04-20 11:09:21 +02:00
nightwalker-87
fb9f777091
Merge pull request #931 from stlink-org/cmake_pkg
...
Reconfiguration of package build process
2020-04-20 11:00:24 +02:00
Chen Guokai
5f983a6095
Fix uninitialized cpuid
2020-04-20 14:39:00 +08:00
nightwalker-87
bc869d75e5
Fixes to prevent merge conflict
2020-04-20 01:46:26 +02:00
nightwalker-87
48a9db00be
Removed remnants of unused build target
2020-04-20 01:45:19 +02:00
nightwalker-87
c7874f805c
Fixes to prevent merge conflict
2020-04-20 01:28:29 +02:00
nightwalker-87
145ca6d64a
General Project Update
...
- Updated github branch template
- Updated project CHANGELOG.md
2020-04-19 23:39:40 +02:00