Wykres commitów

2158 Commity (develop)

Autor SHA1 Wiadomość Data
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 e662da00ca Updated debian pkg config for distribution 2021-08-22 12:44:01 +02:00
nightwalker-87 5caf9a8b39 Merge remote-tracking branch 'coworker/debian' 2021-08-21 23:51:31 +02:00
Luca Boccassi 4f40a42456 Update changelog for 1.7.0+ds-1 2021-08-15 14:49:00 +01:00
Luca Boccassi 9e3fac499e Update symbols file for 1.7.0 2021-08-15 14:44:16 +01:00
Luca Boccassi 78b510ee3d Update install files, paths have been fixed upstream 2021-08-15 14:41:10 +01:00
Luca Boccassi 30396b2803 Drop guipath.patch and refresh cross.patch for v1.7.0 2021-08-15 14:31:48 +01: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
Luca Boccassi 729ef9d3cd Merge tag 'v1.7.0' into debian 2021-08-15 14:14:26 +01:00
Luca Boccassi 1fab90289f Bump debhelper-compat to 13, no changes 2021-08-15 14:11:09 +01:00
Luca Boccassi e768f737cd Bump Standards-Version to 4.5.1, no changes 2021-08-15 14:10:49 +01: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
Sam Bazley 1e674cff1a Correct flash_pagesize to use hex format 2021-08-01 22:11:23 +01:00
nightwalker-87 9605d21b5b
Merge pull request #1169 from gszy/fix-parsing-hexs
Fixed parsing hex numbers in chip config files
2021-08-01 13:04:40 +02:00
nightwalker-87 f58e536d43
Merge pull request #1168 from gszy/devices-boards-mkdn-hdrs
Use proper Markdown headers for supported MCUs
2021-08-01 13:03:33 +02:00
nightwalker-87 50069e3500
Merge pull request #1166 from gszy/prevent-segfault-on-null-params
Fixed segfault if chip was not found in chip config files
2021-08-01 13:01:34 +02:00
nightwalker-87 265b716b2b
Merge pull request #1167 from gszy/drop-exec-bit-where-unnecessary
Drop execute bits from source code files
2021-07-31 12:26:30 +02:00
Grzegorz Szymaszek ebac01c8d4
Warn if chip config file contains unrecognized flash type 2021-07-30 10:30:45 +02:00
Grzegorz Szymaszek 929af2b047
Add a constant for the valid flash types range
Add a STLINK_FLASH_TYPE_MAX constant that can be used to check if a
flash type (an integer) is in the range of valid enum stlink_flash_type
values.
2021-07-30 10:14:17 +02:00
Grzegorz Szymaszek e4b17475d1
Fix parsing hex numbers in chip config files
process_chipfile() used to improperly parse hex numbers in chip config
files (*.chip), because it used atoi(), which read all such numbers
as 0. This resulted, among other issues, in chip_id being set to 0 for
all read chips. Such chip id could not match any actual MCU.

Replace the atoi() calls with sscanf(…, "%i", …), where %i should match
integers in base 10, 8 and 16, depending on the number prefix.
2021-07-30 07:50:30 +02:00
Grzegorz Szymaszek b4245eadd0
Use proper Markdown headers for supported MCUs
Use actual level 2 headers[1] instead of emulating them with bold/strong
tags[2].

[1]: https://spec.commonmark.org/0.29/#atx-headings
[2]: https://spec.commonmark.org/0.29/#emphasis-and-strong-emphasis
2021-07-29 16:03:52 +02:00
nightwalker-87 26a63c11a4 [doc] Updated list of devices & boards
(Closes #1164)
2021-07-28 22:03:03 +02:00
Grzegorz Szymaszek 35156b186d
Drop execute bits from source code files 2021-07-28 18:47:25 +02:00
Grzegorz Szymaszek 1dd94a16a8
Do not segfault if cannot find chip in config files
stlink_chipid_get_params() used to segfault on memcmp() when
struct stlink_chipid_params *params was NULL. This could happen if
either:
- there were no chip config files (*.chip), or
- process_chipfile() failed to parse chip_id from the chip config files.
The latter case is caused by the usage of atoi() to parse the chip id.
Since the chip id is stored in hex, atoi() returns 0; such id cannot be
matched to any actual chip.

The segfault occurs on commit a52e1bc548,
in file src/stlink-lib/chipid.c:957
(a52e1bc548/src/stlink-lib/chipid.c (L957)).

Check if params is NULL, in such case, set it to p2, which should not be
NULL as long as struct stlink_chipid_params devices[] exists.

May fix (workaround) #1163.
2021-07-28 18:24:19 +02:00
nightwalker-87 a52e1bc548 Minor bugfixes 2021-07-16 16:00:27 +02:00
nightwalker-87 dc5388d94c Merge branch 'testing' into develop
- Moved chip-specific parameters into separate files (#1129)
- Aligned chip names & references
- General spelling & formatting fixes
- Set of fixes and improvements (#1154)

(Closes #237)
2021-07-16 15:01:13 +02:00
nightwalker-87 6e0dbfe972 Removed Travis CI integration
Free Trial plan is no longer usable as credits are used up.
2021-07-16 14:05:11 +02:00
nightwalker-87 f8b9bac4e5
Merge pull request #1162 from Ant-ON/l152re_fix
Fixed get_stm32l0_flash_base address for STM32L152RE
2021-07-16 11:36:47 +02:00
Anton 2a3c57747f Fixed get flash base address for STM32L152RE 2021-07-15 15:59:35 +05:00
nightwalker-87 61e7109b22
Merge pull request #1159 from c-grant/develop
[STM32H72X/3X]: Added full access to all device memory
2021-07-14 18:45:47 +02:00
c-grant 88398228a7 Update gdb-server.c 2021-07-13 22:10:04 -04:00
nightwalker-87 a2a687873b
Merge pull request #1157 from Ant-ON/l0_soft_loader_fix
Removed limit check for WRITEMEM_32BIT
2021-06-27 12:15:48 +02:00