Skip to content

Commit ef84c79

Browse files
committed
application: change helloworld compiler option default to O0 for better debug experience
Signed-off-by: Huaqi Fang <[email protected]>
1 parent f22e629 commit ef84c79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

application/baremetal/helloworld/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ SRCDIRS = . src
66

77
INCDIRS = . inc
88

9-
COMMON_FLAGS := -O2
9+
COMMON_FLAGS := -O0
1010

1111
include $(NUCLEI_SDK_ROOT)/Build/Makefile.base

application/baremetal/helloworld/npk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies:
1919
## Package Configurations
2020
configuration:
2121
app_commonflags:
22-
value: -O2
22+
value: -O0
2323
type: text
2424
description: Application Compile Flags
2525

0 commit comments

Comments
 (0)