Wykres commitów

1971 Commity (468b1d2daa853b975c33ab69876c486734f2c6a7)

Autor SHA1 Wiadomość Data
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
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