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+.
This commit is contained in:
1
Doxyfile
1
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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user