This is an automated email from the ASF dual-hosted git repository.
kasjer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 895222b0b compiler/xc32: Add speed profile
895222b0b is described below
commit 895222b0bbf64d6b04591fb9f9f350efb0cf1910
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Fri Jun 26 09:56:06 2026 +0200
compiler/xc32: Add speed profile
Other compiler.yml file do have speed profile
and this profile is selected by coremark
This adds speed profile that is same as optimized
as -Ofast or -O3 does not work in free xc32 compiler
Signed-off-by: Jerzy Kasenberg <[email protected]>
---
compiler/xc32/compiler.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/compiler/xc32/compiler.yml b/compiler/xc32/compiler.yml
index 61263d8df..fb6635ca8 100644
--- a/compiler/xc32/compiler.yml
+++ b/compiler/xc32/compiler.yml
@@ -28,6 +28,7 @@ compiler.path.objcopy: "xc32-objcopy"
compiler.flags.base: [-std=gnu11, -fno-common, -mnewlib-libc,
-ffunction-sections, -fdata-sections]
compiler.flags.default: [compiler.flags.base, -O2, -g3]
compiler.flags.optimized: [compiler.flags.base, -O2, -g3]
+compiler.flags.speed: [compiler.flags.base, -O2, -g3]
compiler.flags.debug: [compiler.flags.base, -Og, -g3]
compiler.as.flags: [-x, assembler-with-cpp]