Wykres commitów

42 Commity (0d16dbac9a7cb89dddc92f1c5b1a1274362d6906)

Autor SHA1 Wiadomość Data
nightwalker-87 8fad9be9d0 [refactoring] Clean-up for stlink-lib
- Moved declarations for read/write functions to read_write.h .
- Checked & revised header includes
- Changed some datatypes for write_buffer_to_sram() to avoid explicit
casting.
2023-06-25 15:45:33 +02:00
nightwalker-87 101d77bf7e Formatting & style fixes. 2023-06-24 23:55:12 +02:00
nightwalker-87 2c337615c9 [refactoring] Clean-up for stlink-flash & -info
- Ensure proper function declaration
- Checked & revised header includes
2023-06-11 14:29:23 +02:00
nightwalker-87 755c20c08e Replace data types with fixed width typedefs (C99)
- Unified variable type: size_t --> uint32_t
- Removed unnecessary explicit casts
- Minor formatting fixes
2023-06-10 20:07:19 +02:00
nightwalker-87 67ae7a12d8 Added comments for testing modules 2023-06-09 01:16:18 +02:00
nightwalker-87 5e85fd0639 Replace data types with fixed width typedefs (C99)
- Unified variable types (Closes #909)
short --> int16_t
unsigned short --> uint16_t
int --> int32_t
unsigned int --> uint32_t
long --> int32_t
unsigned long --> uint32_t
long long --> int64_t
unsigned long long --> uint64_t

- Added missing header includes
2023-05-08 02:05:55 +02:00
nightwalker-87 f93adb92f2 Fixes for project compilation
- Cleanup for CMakeLists.txt
- [doc] Added list of cmake path variables
- Fixed stlink-gui install path (Closes #1270) (Closes #1271)
- Replaced path variable for chips directory
2022-10-24 01:49:03 +02:00
nightwalker-87 a06d13552d General Project Update
- [doc] Minor spelling fixes.
- [doc] Updated tool options in tutorial.md
- [doc] Clean-up in tutorial.md
- Corrected memory size supplements
- [doc] Addtional link on STM32 Clone MCUs
2021-05-02 20:38:40 +02:00
anton 6bd99d4b55 flash_loader: fixed interrupt masking 2021-04-06 22:03:52 +05:00
anton ee43e3b357 Unification of the reset function 2021-04-06 21:13:54 +05:00
anton da37fec19e Applied missing changes to tests 2021-03-27 21:12:00 +05:00
Oleksiy Slyshyk 79b225945b link for WIN32 & APPLE with stlink-static 2020-11-12 22:39:49 +02:00
nightwalker-87 c1918c0ff6 Aligned coding style
- Added config for uncrustify style settings
- Applied changes to source files
- Moved some header files
2020-06-12 22:28:16 +02:00
nightwalker-87 c7041cc2be Reorganised project source directories
(Closes #976)
2020-06-04 21:53:17 +02:00
Geoffrey Brown ea17f9ac77 added connect under reset code 2020-05-22 14:40:26 -04:00
nightwalker-87 da68271a03
Merge pull request #955 from stlink-org/dist
Update for package distribution & refactoring of build settings
2020-05-19 16:38:34 +02:00
nightwalker-87 7ef06378aa Refactoring for build settings
Tidy up install paths & directories:
-> modprobe.d & udev rules
  (both are now ON per default on Linux)
-> stlink-gui supplements
-> man pages
- Fixed paths according to GNUInstallDirs
- cmake: Restructured library config
- Test files & gui now use shared library
2020-05-19 11:28:35 +02:00
Chen Guokai 931141869e Fix missing cmp and wrong expected value for freq 2020-05-07 18:52:34 +08:00
Chen Guokai e11b077da3 Fix https://github.com/stlink-org/stlink/issues/893
* Add --freq argument for st-flash
2020-05-07 18:16:07 +08:00
Rafael Lee 0f1bf6e341
Add test cases for new syntax 2020-05-01 11:21:15 +08: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 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 05cf37570d
Merge pull request #938 from chenguokai/issue937
Fixed uninitialized cpuid
2020-04-20 11:09:21 +02:00
Chen Guokai 5f983a6095 Fix uninitialized cpuid 2020-04-20 14:39:00 +08:00
nightwalker-87 aa38587e3c Restored functionality of make test builds
(Fixes #926)
2020-04-17 12:54:43 +02:00
nightwalker-87 c2c480846a Project cleanup
- Updated old project references
- Alligned code style in /tests
- Added note on OS support to README.md
2020-04-17 00:37:03 +02:00
nightwalker-87 6f934a396e Whitespace cleanup 2020-04-15 16:20:17 +02:00
Chen Guokai 12faa5332c Fix memory overlap 2020-04-10 22:07:52 +08:00
nightwalker-87 1818d9375d Fixed indentation & whitespace. 2020-04-05 14:57:59 +02:00
nightwalker-87 587fb48ce4 Updated cmake configuration
- Alligned formatting
- Updated version requirement
- Updated pkg-maintainer
- [doc] Added note in compiling manual
- Fixed install paths in build script
- Updated C-flag -std=gnu99 to gnu11
2020-04-05 14:25:45 +02:00
Oleksiy Slyshyk 784fdde0ae check if app's need for libssp. 2020-03-21 14:48:40 +02:00
orinem 79d91786f7 Stop the sulk with GPL2016 on Windows (#602)
* Fixes for VS2017.
* Added a getopt implementation.
* Added a unistd.h.
* Corrected closing of sockets for Windows versions.
* Fixed gdbserver CMakeLists.txt to play nice with VS2017.
* Fixed include of getopt.h and unistd.h for WIN32.
* Added a unistd.h.
* Corrected closing of sockets for Windows versions.
* Fixed gdbserver CMakeLists.txt to play nice with VS2017.
* Override /MD to /MT for MSVC to match libusb's builds.
* MSVC settings should be if (MSVC).
* Don't busy-wait for long periods in usleep().
* Dynamic link to MSVC libusb binaries.
* Added Visual Studio section to compiling.md.
* Added -D_CRT_NONSTDC_NO_WARNINGS to MSVC flags.
* Prevented some more warnings under MSVC.
2017-06-17 08:05:47 +02:00
Bertrand Songis e71a2417c3 Compilation fixes (errors / warnings) (#552) 2017-01-30 23:16:36 +01:00
Jerry Jacobs 4868a62fbf Prepare for win64 static executable builds 2017-01-28 11:30:30 +01:00
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
fabien.lementec 21c970f139 warning, add FLASH_OPTS_INITIALIZER 2016-09-07 07:06:43 +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
Jerry Jacobs a17b4079ca Reorganise aux files, add sg test to CMakeLists 2016-08-03 20:28:32 +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 486cc10c70 Add forgotten tests/CMakeLists.txt 2016-05-21 00:28:14 +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 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