Wykres commitów

1926 Commity (541ab17476d3718b8cd3331f18edfeb784289993)

Autor SHA1 Wiadomość Data
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
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
Antoine Faure 42790f3f16 st-flash erase addr size 2022-01-07 10:44:31 +13: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
Oleksiy Slyshyk 03153d083c removed redundant array 2021-08-14 10:57:13 +03:00
nightwalker-87 a6d19d794e
Merge pull request #1176 from slyshykO/fix-msvc-build
Fixed compilation for MSVC
2021-08-13 23:15:44 +02:00
Oleksiy Slyshyk e5152c45c3 chipid.c: drop empty lines at end 2021-08-13 23:22:50 +03:00
Oleksiy Slyshyk 9ec951c008 uncrustify chipid.c 2021-08-13 23:18:46 +03:00
Oleksiy Slyshyk 274be86616
Update src/stlink-lib/chipid.c
Co-authored-by: Grzegorz Szymaszek <gszymaszek@short.pl>
2021-08-13 22:40:24 +03:00
nightwalker-87 af384e9693
Update src/stlink-lib/chipid.c
Co-authored-by: Grzegorz Szymaszek <gszymaszek@short.pl>
2021-08-13 21:23:00 +02:00
Oleksiy Slyshyk 41d7ca710e fix compilation for MSVC 2021-08-13 20:02:26 +03:00
nightwalker-87 165776ad41
Merge pull request #1173 from sambazley/stm32wle
Added support for STM32WLEx
2021-08-05 23:23:35 +02:00
nightwalker-87 a93160c784
Merge pull request #1172 from sambazley/pagesize_hex
Corrected flash_pagesize to use hex format
2021-08-05 23:18:44 +02:00
Sam Bazley fe48a98cb1 Add STM32WLEx support 2021-08-01 22:12:56 +01:00