Wykres commitów

1936 Commity (66f35d1331ff0a7df12c7692f10f805b3bd75e36)

Autor SHA1 Wiadomość Data
nightwalker-87 66f35d1331
Merge pull request #1210 from hydroconstructor/develop
Fix for libusb_kernel_driver_active & error handling for st.st_size
2022-01-23 21:22:15 +01:00
hydroconstructor d0ed1253ce
Update doc/man/st-util.1
Co-authored-by: Grzegorz Szymaszek <gszymaszek@short.pl>
2022-01-23 23:28:07 +04:00
hydroconstructor f6cfd1bfe3 user gszy comment
Comment was:
removing the MAX_FILE_SIZE ifdef/define/endif,
replacing the st.st_size > (off_t)SSIZE_MAX test with st.st_size > (intmax_t) SIZE_MAX,
perhaps removing the sizeof(st.st_size) != sizeof(size_t) test as well.
done here
2022-01-23 23:22:05 +04:00
hydroconstructor 6b229537f6
Merge branch 'stlink-org:develop' into develop 2022-01-20 11:02:12 +04:00
nightwalker-87 3be2c70a67 General Project Update
- [doc] Updated system requirements
-> cmake >= 3.10.2
-> libusb >= 1.0.21 (except for FreeBSD)
-> gtk >= 3.22.30
- Updated CHANGELOG.md
- Updated list of contributors
2022-01-16 18:10:01 +01:00
nightwalker-87 541ab17476
Merge pull request #1213 from antoinefaure/erase
Erase addr size / section of the flash memory with st-flash
2022-01-15 01:49:13 +01:00
Antoine Faure 74957efc9d Factorize address checks 2022-01-14 16:14:17 +13:00
nightwalker-87 2c62079ed1 Removed stlink/v1 support for macOS 10.14 2022-01-14 00:17:44 +01:00
Antoine Faure 8667990506 Allow to completely erase a page when size is not aligned 2022-01-13 11:41:14 +13:00
Antoine Faure a2a04dd1b7 Update log 2022-01-13 09:22:14 +13:00
Antoine Faure 77b3319fc9 Use stlink_erase_flash_section in stlink_write_flash 2022-01-13 09:12:39 +13:00
hydroconstructor 1e7d89fc13 Removing env. var. STLINK_DEVICE from docs
In #1210 from codebase was removed functionality to specify ST-LINK by environment variable. This still mentioned in documentation, so I updated it.
2022-01-10 20:24:29 +04:00
Antoine Faure f277fdb677 Make sure address and size are each aligned with a page 2022-01-10 12:53:44 +13:00
Antoine Faure 8a1535e2d2 Check parameters validity 2022-01-10 12:53:44 +13:00
Antoine Faure d3bf1453fd Get each page size before erasing 2022-01-10 12:53:44 +13:00
hydroconstructor b519c63e50 #1214 issue fix
Error in file size comparizon.
Due to type casting, instead of compare file size with max. singed int value, it compares with -1. Then function returns with error message.
2022-01-09 19:02:22 +04:00
Antoine Faure 42790f3f16 st-flash erase addr size 2022-01-07 10:44:31 +13:00
hydroconstructor 4132973ddf usb.c refactoring request: remove getenv("STLINK_DEVICE")
There is no enironment variable "STLINK_DEVICE" in user system, and program do not set it. So I removed all code which works with it.
2022-01-07 00:45:25 +04:00
hydroconstructor ab5c47b6ce Update usb.c (correct typo)
There are 2 calls _stlink_usb_exit_dfu_mode In usb.c (at lines 1284 and 1293) and no single call _stlink_usb_exit_debug_mode. Apparently typo on line 1293
2022-01-06 20:19:01 +04:00
hydroconstructor 89f54e0884 Update usb.c 2022-01-05 13:51:47 +04:00
nightwalker-87 7cc1fdae6b
Merge pull request #1207 from Crest/freebsd
Included SSIZE_MAX from limits.h in src/common.c
2022-01-01 20:26:18 +01:00
nightwalker-87 2b106912c9 Added user review to README.md 2022-01-01 20:24:59 +01:00
Crest da Zoltral 60edcf811b Include SSIZE_MAX from limits.h
The existing includes don't pull in limits.h on FreeBSD breaking
the build on FreeBSD.
2021-12-23 20:27:38 +01:00
nightwalker-87 cb0f91a4f9
Merge pull request #1202 from Crest/openbsd
Fixed compliation for OpenBSD 7.0
2021-12-01 12:17:53 +01:00
Jan Bramkamp 8dfebbe589 Define the MINIMUM_API_LEVEL for OpenBSD
Every platform has to declare the minimum libusb API level
required by libstlink on it.
2021-11-24 01:48:12 +01:00
Jan Bramkamp f95aec7994 Teach cmake to find libusb-1.0 port/pkg on OpenBSD
On OpenBSD libusb is provided by the libusb1 port/package.
2021-11-24 01:45:24 +01:00
nightwalker-87 e97f438075
Merge pull request #1197 from c-grant/develop
Updated gdb-server.c to allow external memory access on STM32H73xx
2021-11-06 22:23:15 +01:00
c-grant e94b5db1b4 Update gdb-server.c 2021-11-05 23:45:52 -04:00
c-grant ce8e1c4942 Update gdb-server.c 2021-11-04 21:50:12 -04:00
nightwalker-87 beffed4879
Merge pull request #1188 from andysan/chipid_checks
Improved chipid checks and printouts
2021-09-16 22:34:52 +02:00
nightwalker-87 4d556ce150
Update src/stlink-lib/chipid.c
Co-authored-by: Grzegorz Szymaszek <gszymaszek@short.pl>
2021-09-16 00:57:54 +02:00
Andreas Sandberg b29a740b15 Silence warning chipid files with STLINK_FLASH_TYPE_UNKNOWN
The chipid configuration parser currently emits a warning when it
encounters a file with the flash type set to
STLINK_FLASH_TYPE_UNKNOWN. In practice, this means that the warning
will always be printed since 'unknown_device.chip' uses this
value. Make STLINK_FLASH_TYPE_UNKNOWN a permitted value in the config
file parser.
2021-09-08 22:11:59 +01:00
Andreas Sandberg c676779988 Fix incorrect chipid params comparison
The current chipid params comparison code is based on a simple
memcmp. This doesn't work since the structure contains a string
pointer. Replace it with a simple field-by-field comparison.
2021-09-08 22:10:25 +01:00
Andreas Sandberg 478cf82aed Include flash_size_reg in chipid params dumps 2021-09-08 22:09:24 +01:00
nightwalker-87 deae7975e6
Merge pull request #1186 from pcnorden/patch-1
[doc] Corrected file path in tutorial
2021-09-08 19:50:04 +02:00
nightwalker-87 1c5446a91e
Merge pull request #1185 from andysan/stlink3_nomsd
Added support for STLINK-V3 devices with no MSD
2021-09-08 19:44:08 +02:00
nightwalker-87 32a80be93e
Merge pull request #1183 from slyshykO/msvc-ssize_max
Define 'SSIZE_MAX' if not defined
2021-09-08 19:41:53 +02:00
pcnorden 6471a60460
Changed broken link to new address of udev rules
Changed and checked that it should work with the new link.
Also changed the number of files to 4 since there are 4 udev rule files in the directory.
2021-09-08 17:20:58 +02:00
Andreas Sandberg 95ccd02207 Add support for V3 devices with no MSD
Add support for ST-Link V3 devices without MSD that identify using
USB PID 0x3754. This PID has been observed on a Nucleo board where MSD
was disabled.
2021-09-07 23:15:26 +01:00
Oleksiy Slyshyk 7c582b7526 define SSIZE_MAX if not defined 2021-09-01 07:55:26 +03:00
nightwalker-87 0489af7d4d General Project Update
- [doc] Updated version requirements
- Updated CHANGELOG.md
2021-08-29 18:08:18 +02:00
nightwalker-87 7c4ad1c14d
Merge pull request #1181 from gszy/chip-files
Updated chip config files from the library structs
2021-08-29 16:37:52 +02:00
Grzegorz Szymaszek e51309f842
Update chip config files from the library structs
In general, the chip config files should be kept in sync with the old
library structs. Regenerate the files (using an ad hoc script) from the
current library.

The file name is generated from the chip description, all
non-alphanumeric characters are replaced with underscores. It turns out
some files have to have their names changed.
2021-08-29 15:51:07 +02:00
nightwalker-87 c8fc6561fe Bugfixes
- Corrected paths for chip-id files (Closes #1180)
- Fixed 32-bit build (Closes #985) (Closes #1175)
- Patch for GitHub Actions Workflow (Ubuntu)
2021-08-29 15:08:54 +02:00
nightwalker-87 db8f789400 Merge branch 'develop' of https://github.com/stlink-org/stlink into develop 2021-08-15 15:14:48 +02:00
nightwalker-87 607d1d3b85 General Project Update
- Updated CHANGELOG.md
- Updated list of contributors
2021-08-15 15:14:45 +02:00
nightwalker-87 c758341d52
Merge pull request #1179 from slyshykO/fix-few-msvc-warn
Fixed few warnings for msvc about type conversion with possible lost data
2021-08-15 14:54:42 +02:00
Oleksiy Slyshyk 698b97bbdd fixes printf format formating 2021-08-15 12:30:09 +03:00
Oleksiy Slyshyk bef3321ea4 Fixes few warnings for msvc about type conversion with possible lost data. 2021-08-15 12:18:46 +03:00
nightwalker-87 b433200061
Merge pull request #1178 from slyshykO/fix-copypaste-issue
Removed redundant array
2021-08-14 14:12:10 +02:00