Wykres commitów

85 Commity (develop)

Autor SHA1 Wiadomość Data
nightwalker-87 816730f4f7 [refactoring] Clean-up & bugfix for st-trace 2023-12-24 19:15:03 +01:00
nightwalker-87 e7f41b2965 Support for STLINK/v2 & /v3 max trace buffers 2023-12-24 12:08:08 +01:00
nightwalker-87 135a5472d9 Reverted commit ba335a47
"STM32F76xxx: Added flashing in dual bank mode"
2023-12-24 00:01:35 +01:00
nightwalker-87 ba335a47ab STM32F76xxx: Added flashing in dual bank mode
(Closes #1174)
2023-11-27 22:00:27 +01:00
nightwalker-87 ed558c9ac7
Merge branch 'develop' into develop 2023-11-23 20:12:57 +01:00
nightwalker-87 e212349460
Merge pull request #1354 from rcubee/c0
Added support for STM32C0x1.
2023-11-23 20:10:31 +01:00
Marcelo Barros de Almeida e286f243ef Fixing support for U5 chips (original U5x5.chip was not handling all U5 chips ) 2023-11-14 00:27:19 -03:00
rcubee 99a2be4d28 initial commit 2023-11-11 17:27:05 +01:00
Mirko e122764f21 forgot to include this 2023-11-08 22:58:05 +00:00
nightwalker-87 8fad9be9d0 [refactoring] Clean-up for stlink-lib
- Moved declarations for read/write functions to read_write.h .
- Checked & revised header includes
- Changed some datatypes for write_buffer_to_sram() to avoid explicit
casting.
2023-06-25 15:45:33 +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 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 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 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 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 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 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 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 b60a035404 Initial support for STM32 L5 & U5 devices
(References: #1005 #1096 #1247)
2023-01-01 13:32:14 +01:00
nightwalker-87 dfff59d39f Added support for STM32L4Q5 (Closes #1224) 2022-12-31 14:49:39 +01:00
nightwalker-87 194e6e9c6b General project clean-up
- Removed orphaned old dev-documentation
- Rearranged src files belonging to stlink-lib
- Revised & sorted option byte source code
- Updated devices_boards.md
2022-12-28 22:21:47 +01:00
Gwenhael Goavec-Merou c94b74e56a stm32l1: fix flash, dbgmcu and rcc registers 2022-08-25 19:18:57 +02:00
Alex Klimaj 77fff346aa Add writing and reading STM32WL option bytes 2022-02-16 12:34:37 -07: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 e2dcf074d5 Fixed defines (CHIPID + COREID) & duplicates 2022-01-29 19:33:19 +01:00
nightwalker-87 d9e79fe295
Merge branch 'develop' into common-c-refactor 2022-01-28 22:07:34 +01:00
hydroconstructor 618a03a5df common c refactor
Try to resolve conflicts with chipid_cleanup branch
2022-01-29 00:36:16 +04: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 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
nightwalker-87 80b05c547e Updated MCU core-ids 2022-01-17 00:39:57 +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 c854df5edd Updated MCU core-ids 2022-01-15 01:58:42 +01:00
Antoine Faure 74957efc9d Factorize address checks 2022-01-14 16:14:17 +13:00
Antoine Faure 8667990506 Allow to completely erase a page when size is not aligned 2022-01-13 11:41:14 +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
Antoine Faure 42790f3f16 st-flash erase addr size 2022-01-07 10:44:31 +13:00
nightwalker-87 e62b9e1f2a [refactoring] Clean-up & update for chipid files
- F0, F1, F2, F3, F4, F7
- G0, G4
- H7
- L0, L5, U5
- WB, WL
2022-01-06 19:30:49 +01: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