Wykres commitów

15 Commity (fd8d8e6139ed778003952eb71c0916ec9069f91e)

Autor SHA1 Wiadomość Data
andrew 2e6cf7d806 Fix use of uninitialized flash_loader_t in stm32l1_write_half_pages
stm32l1_write_half_pages uses a local flash_loader_t that is never
initialized.

This results in stlink_flash_loader_run using uninitialized values for
fl->buf_addr and fl->loader_addr when copying the buffer
and initializing the source register and PC before running the core to
execute the flashloader.

Pass the flash_loader_t from stlink_flashloader_write through to
stm32l1_write_half_pages and use that one instead of an uninitialized
local structure.
2023-08-27 13:33:57 -07: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 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 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 b1c4de647c Naming convention for header includes 2023-05-03 14:02:26 +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 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
nightwalker-87 da3d9e3f1e Formatting and whitespace clean-up 2022-01-21 21:31:54 +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 c1918c0ff6 Aligned coding style
- Added config for uncrustify style settings
- Applied changes to source files
- Moved some header files
2020-06-12 22:28:16 +02:00
nightwalker-87 c7041cc2be Reorganised project source directories
(Closes #976)
2020-06-04 21:53:17 +02:00