Skip to content

Commit

Permalink
application: change helloworld compiler option default to O0 for bett…
Browse files Browse the repository at this point in the history
…er debug experience

Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Jun 28, 2024
1 parent f22e629 commit ef84c79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/baremetal/helloworld/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ SRCDIRS = . src

INCDIRS = . inc

COMMON_FLAGS := -O2
COMMON_FLAGS := -O0

include $(NUCLEI_SDK_ROOT)/Build/Makefile.base
2 changes: 1 addition & 1 deletion application/baremetal/helloworld/npk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
## Package Configurations
configuration:
app_commonflags:
value: -O2
value: -O0
type: text
description: Application Compile Flags

Expand Down

0 comments on commit ef84c79

Please sign in to comment.