Wykres commitów

2133 Commity (a60c24cbc040fe63b12172e93d0d99778b30eaca)

Autor SHA1 Wiadomość Data
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
nightwalker-87 115f7c846a Transition to new enum stm32_chipids 2022-01-09 23:53:30 +01:00
nightwalker-87 9b07c1dc19 Transition to new enum stm32_flash_type 2022-01-09 22:55:56 +01:00
nightwalker-87 5cde863c03 Switch-over to new chip-files 2022-01-09 21:52:55 +01:00
nightwalker-87 14498bb3c0 Restructuring of STM32 definitions
- Moved enum stlink_stm32_chipids to stm32.h
- Moved additional MCU defines to stlink.h
- Minor formatting improvements
- Commented comparison for old/new chipid db
2022-01-09 16:39:54 +01: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
nightwalker-87 f55dd8d08f [refactoring] Clean-up for chipid files (L1, L4) 2022-01-06 21:24:29 +01:00
nightwalker-87 e62b9e1f2a [refactoring] Clean-up & update for chipid files
- F0, F1, F2, F3, F4, F7
- G0, G4
- H7
- L0, L5, U5
- WB, WL
2022-01-06 19:30:49 +01: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 5c303b3165 Merge branch 'develop' into 'chipid_cleanup' 2022-01-02 22:54:07 +01:00
nightwalker-87 0d02a46a8f [refactoring] Clean-up for chipid files
- Spelling fix in tutorial.md
- REN param description --> dev_type
- ADD param ref_manual_id
- CHNG stlink_chipid_params
- MV old chipids to chipid_db_old.h
- Updated chipid files (F1, F2, WB, WLE)
2022-01-02 22:51:30 +01: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