Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Feb 9, 2024
1 parent a865bbf commit 9454e1b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions firmware.scons
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,15 @@ env = ENV.Clone(
FW_LIB_OPTS={
"Default": {
"CCFLAGS": [
"-Og" if ENV["LIB_DEBUG"] and fw_build_meta["type"] == "firmware" else "-Os",
"-Og"
if ENV["LIB_DEBUG"] and fw_build_meta["type"] == "firmware"
else "-Os",
],
"CPPDEFINES": [
"NDEBUG",
"FURI_DEBUG" if ENV["LIB_DEBUG"] and fw_build_meta["type"] == "firmware" else "FURI_NDEBUG",
"FURI_DEBUG"
if ENV["LIB_DEBUG"] and fw_build_meta["type"] == "firmware"
else "FURI_NDEBUG",
],
# You can add other entries named after libraries
# If they are present, they have precedence over Default
Expand All @@ -57,7 +61,9 @@ env = ENV.Clone(
],
"CPPDEFINES": [
"NDEBUG",
"FURI_DEBUG" if ENV["DEBUG"] and fw_build_meta["type"] == "firmware" else "FURI_NDEBUG",
"FURI_DEBUG"
if ENV["DEBUG"] and fw_build_meta["type"] == "firmware"
else "FURI_NDEBUG",
],
},
"flipper_application": {
Expand All @@ -66,7 +72,9 @@ env = ENV.Clone(
],
"CPPDEFINES": [
"NDEBUG",
"FURI_DEBUG" if ENV["DEBUG"] and fw_build_meta["type"] == "firmware" else "FURI_NDEBUG",
"FURI_DEBUG"
if ENV["DEBUG"] and fw_build_meta["type"] == "firmware"
else "FURI_NDEBUG",
],
},
},
Expand Down

0 comments on commit 9454e1b

Please sign in to comment.