summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornightwalker-87 <15526941+Nightwalker-87@users.noreply.github.com>2023-12-25 14:40:10 +0100
committernightwalker-87 <15526941+Nightwalker-87@users.noreply.github.com>2023-12-25 14:40:10 +0100
commit8c581c3eec91248de028c332a06ea276bbb2e969 (patch)
tree28da958dabed8cedecb44772f1cbfb05bcb7e72e
parent816730f4f7517611e5ff3a03067ae0a673fb72bd (diff)
Updated CHANGELOG.md
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/stlink-lib/common_flash.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c477eb5..c1f9986 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -95,6 +95,7 @@ Fixes:
- [compilation] Corrected path to stlink/chips subdirectory ([#1276](https://github.com/stlink-org/stlink/pull/1276), [#1279](https://github.com/stlink-org/stlink/pull/1279))
- [compilation] Fixed GUI compilation failure on OpenBSD i386 ([#1284](https://github.com/stlink-org/stlink/pull/1284))
- [STM32U5x5]: Last bytes are not written (flashed) when len(<binary>)%16 <= 8 ([#1303](https://github.com/stlink-org/stlink/pull/1303), [#1315](https://github.com/stlink-org/stlink/pull/1315))
+- [STM32WLE]: Erase flash fails on second page ([#1305](https://github.com/stlink-org/stlink/pull/1305), commit [#7dcb130](https://github.com/stlink-org/stlink/commit/7dcb1302d8b91b2217c4ce50cb255aa8e78ab001))
- Fixed unbounded write and check return values of sscanf ([#1306](https://github.com/stlink-org/stlink/pull/1306))
- Added null check for return value of stlink_chipid_get_params() ([#1307](https://github.com/stlink-org/stlink/pull/1307))
- Fixed warning in a few *.cmake files ([#1309](https://github.com/stlink-org/stlink/pull/1309))
diff --git a/src/stlink-lib/common_flash.c b/src/stlink-lib/common_flash.c
index ef6b837..6a519f1 100644
--- a/src/stlink-lib/common_flash.c
+++ b/src/stlink-lib/common_flash.c
@@ -387,9 +387,7 @@ int32_t check_flash_error(stlink_t *sl) {
res &= ~PGAERR;
}
- if (res) {
- ELOG("Flash programming error: %#010x\n", res);
- }
+ if (res) ELOG("Flash programming error: %#010x\n", res);
return (-1);
}