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 4bf3a80f2 compiler/cortex-m7: Change optimization for debug
4bf3a80f2 is described below
commit 4bf3a80f260360bef519bb6d429bf13a750e476d
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Fri Apr 24 08:28:01 2026 +0200
compiler/cortex-m7: Change optimization for debug
Compiler settings had -O0 while all other compilers
use -Og for debug.
Now cortex-m7 is sync with other cortex linex
Signed-off-by: Jerzy Kasenberg <[email protected]>
---
compiler/arm-none-eabi-m7/compiler.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/arm-none-eabi-m7/compiler.yml
b/compiler/arm-none-eabi-m7/compiler.yml
index c9e133f09..a0d40b848 100644
--- a/compiler/arm-none-eabi-m7/compiler.yml
+++ b/compiler/arm-none-eabi-m7/compiler.yml
@@ -29,7 +29,7 @@ compiler.flags.base: [-mcpu=cortex-m7, -mthumb-interwork,
-mthumb, -Wall, -Werro
compiler.flags.default: [compiler.flags.base, -O1, -ggdb]
compiler.flags.optimized: [compiler.flags.base, -Os, -ggdb]
compiler.flags.speed: [compiler.flags.base, -O3, -ggdb]
-compiler.flags.debug: [compiler.flags.base, -O0, -ggdb]
+compiler.flags.debug: [compiler.flags.base, -Og, -ggdb]
compiler.as.flags: [-x, assembler-with-cpp]