Get SAMD51 CXX flags from script

This commit is contained in:
Scott Lahteine 2020-07-06 00:11:21 -05:00
parent e48489482c
commit 9f5b8c9bbc

View File

@ -266,7 +266,8 @@ build_flags = ${common_DUE_archim.build_flags} -funwind-tables -mpoke-function
[env:SAMD51_grandcentral_m4] [env:SAMD51_grandcentral_m4]
platform = atmelsam platform = atmelsam
board = adafruit_grandcentral_m4 board = adafruit_grandcentral_m4
build_flags = ${common.build_flags} -std=gnu++17 -Wno-register build_flags = ${common.build_flags} -std=gnu++17
extra_scripts = ${common.extra_scripts}
build_unflags = -std=gnu++11 build_unflags = -std=gnu++11
src_filter = ${common.default_src_filter} +<src/HAL/SAMD51> src_filter = ${common.default_src_filter} +<src/HAL/SAMD51>
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}