Skip to content

Commit

Permalink
fix(platform): wrong optimization_flags for Arduino 1.8.x
Browse files Browse the repository at this point in the history
Introduced by stm32duino#2184.
Fixes stm32duino#2244.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Jan 9, 2024
1 parent 2c45eba commit 6e61906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ compiler.warning_flags.all=-Wall -Wextra

# EXPERIMENTAL feature: optimization flags
# - this is alpha and may be subject to change without notice
compiler.optimization_flags={compiler.optimization_flags}
compiler.optimization_flags={build.flags.optimize} {build.flags.debug}
compiler.optimization_flags.release={build.flags.optimize} {build.flags.debug}
compiler.optimization_flags.debug=-Og -g

Expand Down

0 comments on commit 6e61906

Please sign in to comment.