Jerry Jacobs
bd5dd33223
tests: Enable make test with CTest using add_test. Remove unnecessary library building for st-flash arg parser
2016-09-08 16:32:32 +02:00
Jerry Jacobs
b5bbf3d0b0
Merge pull request #444 from nekromant/master
...
RFC: Build libstlink shared library, add debian packaging
2016-09-07 21:02:30 +02:00
Anatoli
7c99eb0503
re-desing of command line parsing for st-flash; unit-tests for it; implement read into ihex;
2016-09-06 22:56:54 +02:00
Andrew Andrianov
a35cc23525
CMakeLists.txt: Add shared library build and debian packaging
...
Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
2016-09-02 23:00:33 +03:00
Fabien Chouteau
d0910c66d7
Prototype of ARM semihosting support
2016-08-10 17:28:11 +02:00
Jerry Jacobs
9aac78d184
Deprecate autotools
2016-08-03 20:02:50 +02:00
Jerry Jacobs
57cf59a869
cmake: Add proper detection of sys/mman.h. Fixes #450
...
Signed-off-by: Jerry Jacobs <jerry.jacobs@dualinventive.com>
2016-08-03 11:04:20 +02:00
Jean-Marie Lemetayer
113f3e3507
Fix multiple warnings
...
- Replace 'typedef reg' by 'struct stlink_reg'
- Prefix the 'sl' global variable with a 'g'
- Rename 'j' -> 'k' and 'i' -> 'j' variables
- Rename 'hex' variable into 'hextmp'
- Fix unused parameter
- Use a correct printf format for gsize
- Use correct MAX macro
- Use correct data casting
- Do not use 'GTK_STOCK_*' anymore
- Do not use 'gtk_tree_view_set_rules_hint'
- Remove unused functions
- Explicitly cast data type
- Enable Werror
2016-06-02 17:41:15 +02:00
Jerry Jacobs
f6229cae50
Fixup tests/usb.c to read from correct SRAM base, fixes #351
2016-05-21 00:23:23 +02:00
Jerry Jacobs
f8d711818d
cmake: Search for static libusb-1.0 library on OSX and link with ObjC,CoreFoundation and IOKit frameworks
2016-05-20 20:36:41 +02:00
Jerry Jacobs
48a8ac59e1
Move STLINK_DEBUG_* defines into enum, move flash_loader code into seperate header and c file
2016-05-20 20:03:57 +02:00
Jerry Jacobs
de1f05ce81
Move chipid defines and deduplicate chipid params code
2016-05-16 15:39:00 +02:00
Jerry Jacobs
742eba2cd6
Reorganize stlink-gui and update README, add building gui with Travis CI on linux
2016-05-11 12:03:56 +02:00
Jerry Jacobs
e454fe9819
Reorganize files:
...
* Header files moved into include/stlink
* doc/tutorial.{pdf/tex} converted to markdown for rendering by github and easy editing
* Remove `stlink-` suffix from some C source files and move into `src/tools`
2016-05-05 19:30:32 +02:00
Jerry Jacobs
d15a2535ca
CMake: Dont use pkg-config to find libusb on Mac OSX, rewrite to CMake find module (tested on homebrew only)
2016-05-05 12:52:58 +02:00
Jerry Jacobs
db5f0297bf
* Merge st-probe tool into st-info
...
* Fixup #318 serial print in stlink probe with trailing zeros
* Refactor stlink-usb.h with some doxygen-style comments
* Refactor some pieces of stlink_open_usb
2016-04-15 23:09:45 +02:00
Jerry Jacobs
2e1204175e
Add -fPIC compiler flag, remove st-info from libstlink.a which is already specified by the st-info tool
2016-04-15 16:05:36 +02:00
Jerry Jacobs
d9814ffe9a
Merge with master
2016-04-07 13:01:32 +02:00
Jerry Jacobs
32807fb950
cmake: Add -ggdb flag when CMAKE_BUILD_TYPE=Debug, add more usefull and stricter compiler flags when supported
2016-04-07 11:58:16 +02:00
Jerry Jacobs
ca08bed617
travis: Initial continues integration build on linux and osx
...
* Fixup README to render HTML from Markdown
* Fixup CMakeLists.txt to have a lower working minimum version
* Add .travis.yml and .travis.sh for autobuild
2016-04-07 11:35:50 +02:00
Jerry Jacobs
89711265a5
st-probe: Initial working stlink_probe_* API and CLI tool
2016-04-06 14:58:51 +02:00
Jerry Jacobs
61b41b03aa
Add st-info to CMakeLists.txt
2016-03-11 22:13:09 +01:00
Josh Bialkowski
308730bbad
fix MINGW test in cmake
2015-11-19 09:29:27 -08:00
Josh Bialkowski
d4d28e401f
first stab at a cmake build
2015-11-16 16:50:08 -08:00