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
anton
aa70b89b6e
WRITEMEM_32BIT: removed checks limit
2021-06-23 22:06:16 +05:00
nightwalker-87
c6ecdac78f
Merge pull request #1154 from Ant-ON/l0_soft_loader_fix
...
Set of fixes and improvements
2021-06-22 21:09:48 +02:00
nightwalker-87
01418b5666
Merge pull request #1150 from gustavolaureano/develop
...
Fix for 'libusb_devices were leaked' when no STLINK programmer was found
2021-06-16 12:55:24 +02:00
Gustavo
ca896108ee
fix for when the device list was not initialized
2021-06-15 20:45:19 +02:00
Gustavo
93db93a0ad
fix for 'libusb_devices were leaked' when no stlink was found
2021-06-06 13:03:59 +02:00
nightwalker-87
e571908055
Merge branch 'develop' of https://github.com/stlink-org/stlink into develop
2021-06-03 11:53:32 +02:00
nightwalker-87
15bc572e3f
Merge pull request #1147 from Ant-ON/h7_db_fix
...
Fixed clearance of the H7 dual bank flag
2021-06-03 11:39:57 +02:00
nightwalker-87
007f39333e
Corrected false character in some defines
2021-05-31 23:35:37 +02:00
nightwalker-87
98e0a75d74
Merge branch 'chipid_extend' into 'testing'
...
(Closes #1145 )
2021-05-31 23:06:12 +02:00
nightwalker-87
2e6c909c3e
General Project Update
...
- Removed GitHub-CI VE for Ubuntu 16.04 (deprecated)
- Minor fixes for some comments
2021-05-30 23:51:12 +02:00
Anton
4949c23771
Fixed clear the H7 dual bank flag
2021-05-28 09:04:57 +05:00
nightwalker-87
f7f750b642
Merge pull request #1129 from rewolff/chipid
...
[refactoring] Moved chip-specific parameters into separate files
2021-05-26 23:57:54 +02:00
nightwalker-87
1d35f95ae0
Updated chip-id descriptions
2021-05-26 23:16:59 +02:00
anton
9acf539c70
Optimizing the half page write fallback
2021-05-26 23:04:39 +05:00
anton
293db13e1d
Changed the half page write fallback to 32 bit write mode
2021-05-25 22:25:29 +05:00
anton
b93f8b2204
Added half page write fallback for stm32L0/L1
2021-05-24 23:10:26 +05:00
anton
9eb81e1e0a
Expanded and revised list of chips
2021-05-24 21:35:02 +05:00
nightwalker-87
4cfbe08515
Merge branch 'chipid' into testing
2021-05-24 12:23:09 +02:00
nightwalker-87
f885091305
General Project Update
...
- Updated CHANGELOG.md
- Updated GitHub security policy
- [doc] Updated steps for release procedure
- [doc] Updated list of supported OS
- Removed old clang_analyze script
- Minor fix in travis build script
2021-05-24 12:13:56 +02:00
R.E. Wolff
157c587b93
cleanup integer handling in chipid and text flags
2021-05-23 10:50:43 +02:00