From 7d47af12d8c6b565c039ae6157d94cd2fa9a8957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Cie=C5=9Blik?= Date: Thu, 21 May 2026 23:15:56 +0200 Subject: [PATCH] Fix cppcheck and Doxygen CI failures startup.c: mark Flash source pointer as const (cppcheck constVariablePointer). Doxyfile: remove HTML_TIMESTAMP which was dropped in Doxygen 1.9.8+. --- Doxyfile | 1 - src/startup.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Doxyfile b/Doxyfile index bf26cee..9cd468e 100644 --- a/Doxyfile +++ b/Doxyfile @@ -13,7 +13,6 @@ WARN_IF_UNDOCUMENTED = YES WARN_NO_PARAMDOC = YES GENERATE_HTML = YES HTML_OUTPUT = html -HTML_TIMESTAMP = NO GENERATE_LATEX = NO HAVE_DOT = NO OPTIMIZE_OUTPUT_FOR_C = YES diff --git a/src/startup.c b/src/startup.c index adc3edd..b57b0f6 100644 --- a/src/startup.c +++ b/src/startup.c @@ -156,7 +156,7 @@ __attribute__((section(".isr_vector"), used)) const vector_fn vectors[64] = { void Reset_Handler(void) { /* copy .data initializers from Flash to RAM */ - uint32_t *src = &_sidata; + const uint32_t *src = &_sidata; uint32_t *dst = &_sdata; // cppcheck-suppress comparePointers while (dst < &_edata) {