nightwalker-87
041517bd4a
Fixed flashing on STM32G0/G4 dual bank devices
...
(Closes #1310 )
2023-06-25 15:31:13 +02:00
nightwalker-87
101d77bf7e
Formatting & style fixes.
2023-06-24 23:55:12 +02:00
nightwalker-87
d4b53b06b6
Merge pull request #1315 from stlink-org/testing
...
Merge branch `testing` into `develop`
2023-06-19 23:48:26 +02:00
nightwalker-87
b72f5b5acf
Fixed compilation on Windows
...
- [doc] Updated installation instructions
- Fixed cmd bug in mingw64-build.bat
- Fixed cmake building for WIN32
2023-06-12 11:56:21 +02:00
nightwalker-87
2c337615c9
[refactoring] Clean-up for stlink-flash & -info
...
- Ensure proper function declaration
- Checked & revised header includes
2023-06-11 14:29:23 +02:00
nightwalker-87
5d3f3ec7f4
Set flash_type for STM32H5 devices
2023-06-10 21:37:01 +02:00
nightwalker-87
755c20c08e
Replace data types with fixed width typedefs (C99)
...
- Unified variable type: size_t --> uint32_t
- Removed unnecessary explicit casts
- Minor formatting fixes
2023-06-10 20:07:19 +02:00
nightwalker-87
efc5c3713d
Fixed flash-write/verify error
...
(Closes #1303 )
2023-06-09 14:51:57 +02:00
nightwalker-87
fc990648c4
[refactoring] Clean-up for stlink-lib
...
- Ensure proper function declaration
- Checked & revised header includes
2023-06-09 12:55:25 +02:00
nightwalker-87
be2e7e3883
[refactoring] Clean-up for stlink-lib
...
- Ensure proper function declaration
- Moved some functions to related modules
- Checked & revised header includes
- Renamed "md5" to "lib_md5"
- New source file "md5"
2023-06-09 01:28:22 +02:00
nightwalker-87
67ae7a12d8
Added comments for testing modules
2023-06-09 01:16:18 +02:00
nightwalker-87
dbe13dedae
[doc] Added header comments for lib modules
...
- common.c/.h
- sg.c/.h
- usb.c/.h
2023-06-07 23:12:00 +02:00
nightwalker-87
c8eaebc58e
Improvents for library documentation
...
- Renamed header file reg.h to register.h
- Added unified header comments for files
- [doc] flash_loader.h: // Static functions
2023-06-07 22:44:59 +02:00
nightwalker-87
92ad99fe35
Minor fixes & additions
...
- G49x_G4Ax & WLEx: Added dualbank support
- G49x_G4Ax: Added option byte support
- Minor formatting improvements
- Replaced leftovers for non-fixed length types
2023-06-07 22:01:56 +02:00
nightwalker-87
5e85fd0639
Replace data types with fixed width typedefs (C99)
...
- Unified variable types (Closes #909 )
short --> int16_t
unsigned short --> uint16_t
int --> int32_t
unsigned int --> uint32_t
long --> int32_t
unsigned long --> uint32_t
long long --> int64_t
unsigned long long --> uint64_t
- Added missing header includes
2023-05-08 02:05:55 +02:00
nightwalker-87
a9c213958e
Merge pull request #1312 from gemesa/fix-broken-links
...
[doc] Fixed broken links
2023-05-07 19:40:42 +02:00
Andras Gemes
623570e3cc
Renamed 'supported devices.md' to 'supported_devices.md'
2023-05-07 12:39:03 +02:00
Andras Gemes
e4b2594b5a
Fixed broken links
2023-05-05 15:41:07 +02:00
nightwalker-87
b1c4de647c
Naming convention for header includes
2023-05-03 14:02:26 +02:00
nightwalker-87
5621d541d9
Resorted #defines in stm32flash.h
2023-05-03 13:55:19 +02:00
nightwalker-87
800c8616fb
Unified #define names for STM32 devices
2023-04-30 22:32:59 +02:00
nightwalker-87
823187216a
st-flash: auto-reset after mass erase
2023-04-30 20:46:37 +02:00
nightwalker-87
7c2c953ff6
Unified chipid enum naming for L0 series
2023-04-30 19:21:17 +02:00
nightwalker-87
ab286988b4
Corrected preprocessor header includes
2023-04-30 18:52:14 +02:00
nightwalker-87
1775184084
General Project Update
...
- Updated CHANGELOG.md
- Updated README.md
- Merged flash loader source files
2023-04-30 14:31:50 +02:00
nightwalker-87
01981ad890
Merge pull request #1309 from slyshykO/fix-cmake-else-warn2
...
Fixed warning in a few *.cmake files.
2023-04-30 12:48:15 +02:00
nightwalker-87
fe939f73b1
Merge branch 'develop' into fix-cmake-else-warn2
2023-04-29 23:16:27 +02:00
nightwalker-87
78b2893e5d
Merge pull request #1307 from IVOES/fix-inconsistent-null-check
...
Added null check for return value of stlink_chipid_get_params().
2023-04-29 23:15:54 +02:00
nightwalker-87
c48d117d3b
Merge pull request #1306 from IVOES/fix-unbounded-write
...
Fixed unbounded write and check return values of sscanf.
2023-04-29 23:14:07 +02:00
Oleksiy Slyshyk
222ff47165
fix warn in a few *.cmake
2023-04-28 17:59:47 +03:00
Mingjie Shen
8f97e62708
Check return values of sscanf()
...
Failing to check that a call to 'scanf' actually writes to an output
variable can lead to unexpected behavior at reading time.
2023-04-22 18:12:36 -04:00
Mingjie Shen
98902c271e
Add null check for return value of stlink_chipid_get_params()
...
Pass a null pointer to "%s" is undefined behaviour.
2023-04-22 00:53:29 -04:00
Mingjie Shen
0a5cad7ee8
Fix unbounded write of sscanf
...
Format string "%s" that does not control the length of data
written may overflow.
2023-04-22 00:03:54 -04:00
nightwalker-87
8de2b4dcfa
Merge pull request #1302 from signed-log/fix-broken-link
...
Fixed broken link in documentation.
2023-04-17 23:37:59 +02:00
Nicolas signed-log FORMICHELLA
39f306feaa
Fix broken doc link
2023-04-15 08:02:19 +02:00
nightwalker-87
1745bf5193
[doc] Human-readable flash_type in chip-id files
...
(Closes #1155 )
2023-04-08 02:16:48 +02:00
nightwalker-87
1d301a5498
Fix for option byte read ( Closes #1156 )
2023-04-07 23:33:28 +02:00
nightwalker-87
8da1ae8b15
Merge pull request #1300 from stlink-org/f2023_1
...
Initial support for STM32 L5 & U5 devices and minor changes
2023-04-06 20:13:58 +02:00
nightwalker-87
982408e6ee
Fixes regarding version support
...
- Updated version_support.md
- Updated version requirements for libusb
2023-04-05 21:33:49 +02:00
nightwalker-87
5946076723
General maintenance
...
- Updated pkg-version requirements
- Updated version_support.md
- Removed Ubuntu 18.04 from GH workflow
2023-04-04 23:54:56 +02:00
nightwalker-87
8af1dcb71e
Minor changes & fixes
...
- Simplified listing of supported devices
- Corrected #define STM32L5_PWR_CR1_VOS
- Check the return code of stlink_read_debug32
- Fix for flash register reading on L5x2 devices
2023-04-04 23:32:51 +02:00
nightwalker-87
e93fa5798b
Updated CHANGELOG.md
2023-03-19 18:46:22 +01:00
nightwalker-87
21633df34a
Minor compilation fixes
...
- Corrected install path for gui executable
- Changed directory for chip-id files
2023-03-19 15:43:37 +01:00
nightwalker-87
186e38a0fa
Minor fixes & additions
...
- [doc] Update on OS version support
- Minor fixes for G0-series from #1293
- [doc] Added core-IDs for WB/WL-series
- [doc] Correction for G0/L0-series core-IDs
- Set option_size to 128 B for G0-series (#1194 )
2023-03-18 21:53:27 +01:00
nightwalker-87
2ff79959f4
Minor fixes & additions
...
- Corrected flash_pagesize for STM32U5
- Updated STM32 core IDs
- Added chip-id file for STM32H5 devices
2023-03-18 21:19:15 +01:00
nightwalker-87
f875a7f0c9
Merge branch 'develop' into f2023_1
2023-02-14 21:16:21 +01:00
nightwalker-87
c72175133c
Merge pull request #1295 from stlink-org/doc
...
General fixes and improvements
2023-02-14 20:37:07 +01:00
nightwalker-87
c18293a82e
Minor fixes
...
- Updated Standards-Version for deb-package
- Fix for strcmp(value, "L4") in chipid.c
- Minor formatting fixes
2023-02-13 23:59:11 +01:00
nightwalker-87
1c6b5258ca
Merge branch 'develop' into doc
2023-01-15 14:21:21 +01:00
nightwalker-87
1bec78c428
Updated libusb checksum for WIN32
2023-01-15 14:20:48 +01:00