From ef84c79681977a119ee1f259d46554045b51e73f Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Fri, 28 Jun 2024 20:28:55 +0800 Subject: [PATCH] application: change helloworld compiler option default to O0 for better debug experience Signed-off-by: Huaqi Fang <578567190@qq.com> --- application/baremetal/helloworld/Makefile | 2 +- application/baremetal/helloworld/npk.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/baremetal/helloworld/Makefile b/application/baremetal/helloworld/Makefile index 4691ad56..c4011ad6 100644 --- a/application/baremetal/helloworld/Makefile +++ b/application/baremetal/helloworld/Makefile @@ -6,6 +6,6 @@ SRCDIRS = . src INCDIRS = . inc -COMMON_FLAGS := -O2 +COMMON_FLAGS := -O0 include $(NUCLEI_SDK_ROOT)/Build/Makefile.base diff --git a/application/baremetal/helloworld/npk.yml b/application/baremetal/helloworld/npk.yml index d8836ab4..715348b7 100644 --- a/application/baremetal/helloworld/npk.yml +++ b/application/baremetal/helloworld/npk.yml @@ -19,7 +19,7 @@ dependencies: ## Package Configurations configuration: app_commonflags: - value: -O2 + value: -O0 type: text description: Application Compile Flags