diff --git a/gr5515_sk/liteos_m/BUILD.gn b/gr5515_sk/liteos_m/BUILD.gn index dfd3136..2022de2 100755 --- a/gr5515_sk/liteos_m/BUILD.gn +++ b/gr5515_sk/liteos_m/BUILD.gn @@ -15,5 +15,4 @@ import("//kernel/liteos_m/liteos.gni") module_name = get_path_info(rebase_path("."), "name") kernel_module(module_name) { - deps = [ "$product_path/hdf_config:hdf_hcs" ] } diff --git a/gr5515_sk/liteos_m/config.gni b/gr5515_sk/liteos_m/config.gni index 6dd7cd3..0ed897a 100755 --- a/gr5515_sk/liteos_m/config.gni +++ b/gr5515_sk/liteos_m/config.gni @@ -44,7 +44,7 @@ board_cflags = [ "-std=c99", "--inline", "-ggdb", - "-O0", + "-O1", "-ffunction-sections", "-fdata-sections", "-mfloat-abi=softfp",