nightwalker-87
6870c82a4f
Merge pull request #1234 from Sylensky/feature/chipid-optimization
...
Optimisation for processing chipid files
2022-05-14 16:42:19 +02:00
Lucas Sinn
8dfb7973e7
made chipfile buffer size bigger
2022-03-28 09:18:30 +02:00
Lucas Sinn
3b328b26bd
adding additional check if .chip files contain empty lines
2022-03-16 09:31:19 +01:00
Lucas Sinn
86a37544f1
added option_base, option_size for F401xD_xE
2022-03-14 13:00:07 +01:00
Lucas Sinn
a99a626e69
moved dump_a_chip to debug output, minor code style fix
2022-03-14 12:48:47 +01:00
Lucas Sinn
564434297c
readded get chipid parameters on print info
2022-03-14 12:47:23 +01:00
Lucas Sinn
cb03d5c21d
optimized processing of chipidfile
...
'moved chip dump to stdout instead of stderr'
'closing open fd after file is fully read'
'reduced file read buffer size'
2022-03-08 13:22:46 +01:00
Lucas Sinn
a6939cb9d4
init chipids only when actually interacting with device
2022-03-08 11:22:01 +01:00
nightwalker-87
c4762e69a7
Merge pull request #1227 from AlexKlimaj/stm32wl_option_bytes
...
Added writing and reading for STM32WL option bytes
2022-02-16 21:23:48 +01:00
Alex Klimaj
77fff346aa
Add writing and reading STM32WL option bytes
2022-02-16 12:34:37 -07:00
nightwalker-87
468b1d2daa
[libusb] Added Security framework for macOS
2022-02-04 22:24:42 +01:00
nightwalker-87
978462d048
Updated libusb to v1.0.25 (macOS + Windows)
2022-02-04 21:53:00 +01:00
nightwalker-87
c2e74c2da3
Merge pull request #1221 from slyshykO/cstd
...
Set C standard through cmake variables
2022-02-04 19:38:56 +01:00
nightwalker-87
924e1ec93b
Merge pull request #1220 from hydroconstructor/chipid_cleanup-common-c-refactor
...
[refactoring] sourcefile 'common.c'
2022-02-04 19:37:25 +01:00
Oleksiy Slyshyk
cf6bdbfe4b
set C standart through cmake variables,
...
remove redundant -Ox options
2022-01-31 13:01:06 +02:00
nightwalker-87
0011064797
Rolled-back deletion of recent changes
2022-01-30 15:47:55 +01:00
nightwalker-87
a41dd17852
Merge branch 'develop' into chipid_cleanup-common-c-refactor
2022-01-30 15:10:00 +01:00
nightwalker-87
935c6af9b4
Updated description for F1 CL chip
2022-01-30 14:54:46 +01:00
nightwalker-87
849503b76b
Merge pull request #1218 from hydroconstructor/common-c-refactor
...
Refactoring for sourcefile 'common.c'
2022-01-29 19:40:11 +01:00
nightwalker-87
e2dcf074d5
Fixed defines (CHIPID + COREID) & duplicates
2022-01-29 19:33:19 +01:00
nightwalker-87
d98d3a50ed
Minor formatting fixes & clean-up
2022-01-29 18:13:12 +01:00
nightwalker-87
5b320357a6
Minor formatting fixes & clean-up
2022-01-29 17:56:26 +01:00
nightwalker-87
d9e79fe295
Merge branch 'develop' into common-c-refactor
2022-01-28 22:07:34 +01:00
nightwalker-87
1ee98d76e9
Merge branch 'develop' into chipid_cleanup-common-c-refactor
2022-01-28 21:46:40 +01:00
nightwalker-87
e5cc884c7f
Merge pull request #1216 from stlink-org/chipid_cleanup
...
[refactoring] General maintenance for code structure
2022-01-28 21:39:00 +01:00
hydroconstructor
618a03a5df
common c refactor
...
Try to resolve conflicts with chipid_cleanup branch
2022-01-29 00:36:16 +04:00
nightwalker-87
66f35d1331
Merge pull request #1210 from hydroconstructor/develop
...
Fix for libusb_kernel_driver_active & error handling for st.st_size
2022-01-23 21:22:15 +01:00
hydroconstructor
d0ed1253ce
Update doc/man/st-util.1
...
Co-authored-by: Grzegorz Szymaszek <gszymaszek@short.pl>
2022-01-23 23:28:07 +04:00
hydroconstructor
f6cfd1bfe3
user gszy comment
...
Comment was:
removing the MAX_FILE_SIZE ifdef/define/endif,
replacing the st.st_size > (off_t)SSIZE_MAX test with st.st_size > (intmax_t) SIZE_MAX,
perhaps removing the sizeof(st.st_size) != sizeof(size_t) test as well.
done here
2022-01-23 23:22:05 +04:00
nightwalker-87
3f5d9bd0f6
Bugfixes and minor additions
...
- Fixed wrong chip id for F42x_F43x boards.
- Added support note for STM32 clones.
- Minor formatting improvements.
- Updated libusb API_VERSION list.
2022-01-23 13:13:57 +01:00
nightwalker-87
da3d9e3f1e
Formatting and whitespace clean-up
2022-01-21 21:31:54 +01:00
hydroconstructor
fecd2baeae
Refactoring common.c
...
Added forgotten defines
2022-01-21 23:26:44 +04:00
nightwalker-87
8d96e769f3
Updated device parametres
...
- Human-readable FLASH_TYPE in .chip files
- Added enum for STM32_CORE_IDs
2022-01-20 23:19:10 +01:00
hydroconstructor
4ce20d07e0
stlink-org#1216 refactoring of common.c
...
File divided to some parts. Functions with "flash" in names extracted to common_flash.c, with "option" extracted to option.c etc.
Removed unnecessary headers.
Removed one single function which was used nowhere.
And so on.
Project built under Windows and seems to be working.
2022-01-20 13:46:42 +04:00
hydroconstructor
e5ff479d48
#1216 refactoring of common.c
...
File divided to some parts. Functions with "flash" in names extracted to common_flash.c, with "option" extracted to option.c etc.
Removed unnecessary headers.
Removed one single function which was used nowhere.
And so on.
Project built under Windows and seems to be working.
2022-01-20 12:54:14 +04:00
hydroconstructor
6b229537f6
Merge branch 'stlink-org:develop' into develop
2022-01-20 11:02:12 +04:00
nightwalker-87
80b05c547e
Updated MCU core-ids
2022-01-17 00:39:57 +01:00
nightwalker-87
a5d644160b
Fixed define names and removed old include.
2022-01-16 20:28:53 +01:00
nightwalker-87
e90ad8c26b
Merge branch 'develop' into chipid_cleanup
2022-01-16 19:57:36 +01:00
nightwalker-87
7509295222
[refactoring] Clean-up for headers & defines
...
- Removed additional extern "C" linkage specs
- Removed commented sections
- Moved out further device specific defines
- Renamed defines STM32_CHIP_ID_*
2022-01-16 19:31:22 +01:00
nightwalker-87
3be2c70a67
General Project Update
...
- [doc] Updated system requirements
-> cmake >= 3.10.2
-> libusb >= 1.0.21 (except for FreeBSD)
-> gtk >= 3.22.30
- Updated CHANGELOG.md
- Updated list of contributors
2022-01-16 18:10:01 +01:00
nightwalker-87
c854df5edd
Updated MCU core-ids
2022-01-15 01:58:42 +01:00
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
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