From d5f9b0387c2ce1374f4126b835c085bbb443db43 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Tue, 15 Oct 2024 07:49:37 +0200 Subject: [PATCH] Correct build issues in tests when using gcc 13.3.1 --- Testing/board/cdefault.yml | 1 - Testing/board/main.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Testing/board/cdefault.yml b/Testing/board/cdefault.yml index b0502ee..f612f28 100644 --- a/Testing/board/cdefault.yml +++ b/Testing/board/cdefault.yml @@ -94,7 +94,6 @@ default: ASM: - -masm=auto Link: - - --specs=nano.specs - -Wl,-Map=$elf()$.map - -lm - -Wl,--wrap=SysTick_Handler diff --git a/Testing/board/main.cpp b/Testing/board/main.cpp index 16db7d7..44c422d 100644 --- a/Testing/board/main.cpp +++ b/Testing/board/main.cpp @@ -81,7 +81,7 @@ void run_test_group() unsigned char *outputs = nullptr; uint32_t total_bytes; - printf("Test %d\r\n",id); + printf("Test %ld\r\n",id); #if defined (__ICACHE_PRESENT) SCB_InvalidateICache(); #endif @@ -102,7 +102,7 @@ void run_test_group() } else { - printf("No output generated for %d\r\n",id); + printf("No output generated for %ld\r\n",id); } printf("\r\n"); }