Unverified Commit b7d76bd5 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Add RTTI menu to support apps which need RTTI (#338)

By default RTTI (Run-Time Type Information) is disabled because most apps
don't need run time type info enabled.  However, certain libraries expect
to be able to query types of objects at runtime, so add a menu to enable it.
parent c0411eef
......@@ -2,6 +2,7 @@ menu.BoardModel=Model
menu.flash=Flash Size
menu.freq=CPU Speed
menu.opt=Optimize
menu.rtti=RTTI
menu.dbgport=Debug Port
menu.dbglvl=Debug Level
menu.boot2=Boot Stage 2
......@@ -105,6 +106,10 @@ rpipico.menu.opt.Fast=Fast (-Ofast) (maybe slower)
rpipico.menu.opt.Fast.build.flags.optimize=-Ofast
rpipico.menu.opt.Debug=Debug (-Og)
rpipico.menu.opt.Debug.build.flags.optimize=-Og
rpipico.menu.rtti.Disabled=Disabled
rpipico.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
rpipico.menu.rtti.Enabled=Enabled
rpipico.menu.rtti.Enabled.build.flags.rtti=
rpipico.menu.dbgport.Disabled=Disabled
rpipico.menu.dbgport.Disabled.build.debug_port=
rpipico.menu.dbgport.Serial=Serial
......@@ -228,6 +233,10 @@ rpipicopicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
rpipicopicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
rpipicopicoprobe.menu.opt.Debug=Debug (-Og)
rpipicopicoprobe.menu.opt.Debug.build.flags.optimize=-Og
rpipicopicoprobe.menu.rtti.Disabled=Disabled
rpipicopicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
rpipicopicoprobe.menu.rtti.Enabled=Enabled
rpipicopicoprobe.menu.rtti.Enabled.build.flags.rtti=
rpipicopicoprobe.menu.dbgport.Disabled=Disabled
rpipicopicoprobe.menu.dbgport.Disabled.build.debug_port=
rpipicopicoprobe.menu.dbgport.Serial=Serial
......@@ -351,6 +360,10 @@ rpipicopicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
rpipicopicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
rpipicopicodebug.menu.opt.Debug=Debug (-Og)
rpipicopicodebug.menu.opt.Debug.build.flags.optimize=-Og
rpipicopicodebug.menu.rtti.Disabled=Disabled
rpipicopicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
rpipicopicodebug.menu.rtti.Enabled=Enabled
rpipicopicodebug.menu.rtti.Enabled.build.flags.rtti=
rpipicopicodebug.menu.dbgport.Disabled=Disabled
rpipicopicodebug.menu.dbgport.Disabled.build.debug_port=
rpipicopicodebug.menu.dbgport.Serial=Serial
......@@ -508,6 +521,10 @@ adafruit_feather.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_feather.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_feather.menu.opt.Debug=Debug (-Og)
adafruit_feather.menu.opt.Debug.build.flags.optimize=-Og
adafruit_feather.menu.rtti.Disabled=Disabled
adafruit_feather.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_feather.menu.rtti.Enabled=Enabled
adafruit_feather.menu.rtti.Enabled.build.flags.rtti=
adafruit_feather.menu.dbgport.Disabled=Disabled
adafruit_feather.menu.dbgport.Disabled.build.debug_port=
adafruit_feather.menu.dbgport.Serial=Serial
......@@ -667,6 +684,10 @@ adafruit_featherpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_featherpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_featherpicoprobe.menu.opt.Debug=Debug (-Og)
adafruit_featherpicoprobe.menu.opt.Debug.build.flags.optimize=-Og
adafruit_featherpicoprobe.menu.rtti.Disabled=Disabled
adafruit_featherpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_featherpicoprobe.menu.rtti.Enabled=Enabled
adafruit_featherpicoprobe.menu.rtti.Enabled.build.flags.rtti=
adafruit_featherpicoprobe.menu.dbgport.Disabled=Disabled
adafruit_featherpicoprobe.menu.dbgport.Disabled.build.debug_port=
adafruit_featherpicoprobe.menu.dbgport.Serial=Serial
......@@ -826,6 +847,10 @@ adafruit_featherpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_featherpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_featherpicodebug.menu.opt.Debug=Debug (-Og)
adafruit_featherpicodebug.menu.opt.Debug.build.flags.optimize=-Og
adafruit_featherpicodebug.menu.rtti.Disabled=Disabled
adafruit_featherpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_featherpicodebug.menu.rtti.Enabled=Enabled
adafruit_featherpicodebug.menu.rtti.Enabled.build.flags.rtti=
adafruit_featherpicodebug.menu.dbgport.Disabled=Disabled
adafruit_featherpicodebug.menu.dbgport.Disabled.build.debug_port=
adafruit_featherpicodebug.menu.dbgport.Serial=Serial
......@@ -983,6 +1008,10 @@ adafruit_itsybitsy.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_itsybitsy.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_itsybitsy.menu.opt.Debug=Debug (-Og)
adafruit_itsybitsy.menu.opt.Debug.build.flags.optimize=-Og
adafruit_itsybitsy.menu.rtti.Disabled=Disabled
adafruit_itsybitsy.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_itsybitsy.menu.rtti.Enabled=Enabled
adafruit_itsybitsy.menu.rtti.Enabled.build.flags.rtti=
adafruit_itsybitsy.menu.dbgport.Disabled=Disabled
adafruit_itsybitsy.menu.dbgport.Disabled.build.debug_port=
adafruit_itsybitsy.menu.dbgport.Serial=Serial
......@@ -1142,6 +1171,10 @@ adafruit_itsybitsypicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_itsybitsypicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_itsybitsypicoprobe.menu.opt.Debug=Debug (-Og)
adafruit_itsybitsypicoprobe.menu.opt.Debug.build.flags.optimize=-Og
adafruit_itsybitsypicoprobe.menu.rtti.Disabled=Disabled
adafruit_itsybitsypicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_itsybitsypicoprobe.menu.rtti.Enabled=Enabled
adafruit_itsybitsypicoprobe.menu.rtti.Enabled.build.flags.rtti=
adafruit_itsybitsypicoprobe.menu.dbgport.Disabled=Disabled
adafruit_itsybitsypicoprobe.menu.dbgport.Disabled.build.debug_port=
adafruit_itsybitsypicoprobe.menu.dbgport.Serial=Serial
......@@ -1301,6 +1334,10 @@ adafruit_itsybitsypicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_itsybitsypicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_itsybitsypicodebug.menu.opt.Debug=Debug (-Og)
adafruit_itsybitsypicodebug.menu.opt.Debug.build.flags.optimize=-Og
adafruit_itsybitsypicodebug.menu.rtti.Disabled=Disabled
adafruit_itsybitsypicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_itsybitsypicodebug.menu.rtti.Enabled=Enabled
adafruit_itsybitsypicodebug.menu.rtti.Enabled.build.flags.rtti=
adafruit_itsybitsypicodebug.menu.dbgport.Disabled=Disabled
adafruit_itsybitsypicodebug.menu.dbgport.Disabled.build.debug_port=
adafruit_itsybitsypicodebug.menu.dbgport.Serial=Serial
......@@ -1458,6 +1495,10 @@ adafruit_qtpy.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_qtpy.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_qtpy.menu.opt.Debug=Debug (-Og)
adafruit_qtpy.menu.opt.Debug.build.flags.optimize=-Og
adafruit_qtpy.menu.rtti.Disabled=Disabled
adafruit_qtpy.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_qtpy.menu.rtti.Enabled=Enabled
adafruit_qtpy.menu.rtti.Enabled.build.flags.rtti=
adafruit_qtpy.menu.dbgport.Disabled=Disabled
adafruit_qtpy.menu.dbgport.Disabled.build.debug_port=
adafruit_qtpy.menu.dbgport.Serial=Serial
......@@ -1617,6 +1658,10 @@ adafruit_qtpypicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_qtpypicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_qtpypicoprobe.menu.opt.Debug=Debug (-Og)
adafruit_qtpypicoprobe.menu.opt.Debug.build.flags.optimize=-Og
adafruit_qtpypicoprobe.menu.rtti.Disabled=Disabled
adafruit_qtpypicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_qtpypicoprobe.menu.rtti.Enabled=Enabled
adafruit_qtpypicoprobe.menu.rtti.Enabled.build.flags.rtti=
adafruit_qtpypicoprobe.menu.dbgport.Disabled=Disabled
adafruit_qtpypicoprobe.menu.dbgport.Disabled.build.debug_port=
adafruit_qtpypicoprobe.menu.dbgport.Serial=Serial
......@@ -1776,6 +1821,10 @@ adafruit_qtpypicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_qtpypicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_qtpypicodebug.menu.opt.Debug=Debug (-Og)
adafruit_qtpypicodebug.menu.opt.Debug.build.flags.optimize=-Og
adafruit_qtpypicodebug.menu.rtti.Disabled=Disabled
adafruit_qtpypicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_qtpypicodebug.menu.rtti.Enabled=Enabled
adafruit_qtpypicodebug.menu.rtti.Enabled.build.flags.rtti=
adafruit_qtpypicodebug.menu.dbgport.Disabled=Disabled
adafruit_qtpypicodebug.menu.dbgport.Disabled.build.debug_port=
adafruit_qtpypicodebug.menu.dbgport.Serial=Serial
......@@ -1933,6 +1982,10 @@ adafruit_stemmafriend.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_stemmafriend.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_stemmafriend.menu.opt.Debug=Debug (-Og)
adafruit_stemmafriend.menu.opt.Debug.build.flags.optimize=-Og
adafruit_stemmafriend.menu.rtti.Disabled=Disabled
adafruit_stemmafriend.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_stemmafriend.menu.rtti.Enabled=Enabled
adafruit_stemmafriend.menu.rtti.Enabled.build.flags.rtti=
adafruit_stemmafriend.menu.dbgport.Disabled=Disabled
adafruit_stemmafriend.menu.dbgport.Disabled.build.debug_port=
adafruit_stemmafriend.menu.dbgport.Serial=Serial
......@@ -2092,6 +2145,10 @@ adafruit_stemmafriendpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_stemmafriendpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_stemmafriendpicoprobe.menu.opt.Debug=Debug (-Og)
adafruit_stemmafriendpicoprobe.menu.opt.Debug.build.flags.optimize=-Og
adafruit_stemmafriendpicoprobe.menu.rtti.Disabled=Disabled
adafruit_stemmafriendpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_stemmafriendpicoprobe.menu.rtti.Enabled=Enabled
adafruit_stemmafriendpicoprobe.menu.rtti.Enabled.build.flags.rtti=
adafruit_stemmafriendpicoprobe.menu.dbgport.Disabled=Disabled
adafruit_stemmafriendpicoprobe.menu.dbgport.Disabled.build.debug_port=
adafruit_stemmafriendpicoprobe.menu.dbgport.Serial=Serial
......@@ -2251,6 +2308,10 @@ adafruit_stemmafriendpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_stemmafriendpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_stemmafriendpicodebug.menu.opt.Debug=Debug (-Og)
adafruit_stemmafriendpicodebug.menu.opt.Debug.build.flags.optimize=-Og
adafruit_stemmafriendpicodebug.menu.rtti.Disabled=Disabled
adafruit_stemmafriendpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_stemmafriendpicodebug.menu.rtti.Enabled=Enabled
adafruit_stemmafriendpicodebug.menu.rtti.Enabled.build.flags.rtti=
adafruit_stemmafriendpicodebug.menu.dbgport.Disabled=Disabled
adafruit_stemmafriendpicodebug.menu.dbgport.Disabled.build.debug_port=
adafruit_stemmafriendpicodebug.menu.dbgport.Serial=Serial
......@@ -2408,6 +2469,10 @@ adafruit_trinkeyrp2040qt.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_trinkeyrp2040qt.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_trinkeyrp2040qt.menu.opt.Debug=Debug (-Og)
adafruit_trinkeyrp2040qt.menu.opt.Debug.build.flags.optimize=-Og
adafruit_trinkeyrp2040qt.menu.rtti.Disabled=Disabled
adafruit_trinkeyrp2040qt.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_trinkeyrp2040qt.menu.rtti.Enabled=Enabled
adafruit_trinkeyrp2040qt.menu.rtti.Enabled.build.flags.rtti=
adafruit_trinkeyrp2040qt.menu.dbgport.Disabled=Disabled
adafruit_trinkeyrp2040qt.menu.dbgport.Disabled.build.debug_port=
adafruit_trinkeyrp2040qt.menu.dbgport.Serial=Serial
......@@ -2567,6 +2632,10 @@ adafruit_trinkeyrp2040qtpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_trinkeyrp2040qtpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_trinkeyrp2040qtpicoprobe.menu.opt.Debug=Debug (-Og)
adafruit_trinkeyrp2040qtpicoprobe.menu.opt.Debug.build.flags.optimize=-Og
adafruit_trinkeyrp2040qtpicoprobe.menu.rtti.Disabled=Disabled
adafruit_trinkeyrp2040qtpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_trinkeyrp2040qtpicoprobe.menu.rtti.Enabled=Enabled
adafruit_trinkeyrp2040qtpicoprobe.menu.rtti.Enabled.build.flags.rtti=
adafruit_trinkeyrp2040qtpicoprobe.menu.dbgport.Disabled=Disabled
adafruit_trinkeyrp2040qtpicoprobe.menu.dbgport.Disabled.build.debug_port=
adafruit_trinkeyrp2040qtpicoprobe.menu.dbgport.Serial=Serial
......@@ -2726,6 +2795,10 @@ adafruit_trinkeyrp2040qtpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_trinkeyrp2040qtpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_trinkeyrp2040qtpicodebug.menu.opt.Debug=Debug (-Og)
adafruit_trinkeyrp2040qtpicodebug.menu.opt.Debug.build.flags.optimize=-Og
adafruit_trinkeyrp2040qtpicodebug.menu.rtti.Disabled=Disabled
adafruit_trinkeyrp2040qtpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_trinkeyrp2040qtpicodebug.menu.rtti.Enabled=Enabled
adafruit_trinkeyrp2040qtpicodebug.menu.rtti.Enabled.build.flags.rtti=
adafruit_trinkeyrp2040qtpicodebug.menu.dbgport.Disabled=Disabled
adafruit_trinkeyrp2040qtpicodebug.menu.dbgport.Disabled.build.debug_port=
adafruit_trinkeyrp2040qtpicodebug.menu.dbgport.Serial=Serial
......@@ -2883,6 +2956,10 @@ adafruit_macropad2040.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_macropad2040.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_macropad2040.menu.opt.Debug=Debug (-Og)
adafruit_macropad2040.menu.opt.Debug.build.flags.optimize=-Og
adafruit_macropad2040.menu.rtti.Disabled=Disabled
adafruit_macropad2040.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_macropad2040.menu.rtti.Enabled=Enabled
adafruit_macropad2040.menu.rtti.Enabled.build.flags.rtti=
adafruit_macropad2040.menu.dbgport.Disabled=Disabled
adafruit_macropad2040.menu.dbgport.Disabled.build.debug_port=
adafruit_macropad2040.menu.dbgport.Serial=Serial
......@@ -3042,6 +3119,10 @@ adafruit_macropad2040picoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_macropad2040picoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_macropad2040picoprobe.menu.opt.Debug=Debug (-Og)
adafruit_macropad2040picoprobe.menu.opt.Debug.build.flags.optimize=-Og
adafruit_macropad2040picoprobe.menu.rtti.Disabled=Disabled
adafruit_macropad2040picoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_macropad2040picoprobe.menu.rtti.Enabled=Enabled
adafruit_macropad2040picoprobe.menu.rtti.Enabled.build.flags.rtti=
adafruit_macropad2040picoprobe.menu.dbgport.Disabled=Disabled
adafruit_macropad2040picoprobe.menu.dbgport.Disabled.build.debug_port=
adafruit_macropad2040picoprobe.menu.dbgport.Serial=Serial
......@@ -3201,6 +3282,10 @@ adafruit_macropad2040picodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_macropad2040picodebug.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_macropad2040picodebug.menu.opt.Debug=Debug (-Og)
adafruit_macropad2040picodebug.menu.opt.Debug.build.flags.optimize=-Og
adafruit_macropad2040picodebug.menu.rtti.Disabled=Disabled
adafruit_macropad2040picodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_macropad2040picodebug.menu.rtti.Enabled=Enabled
adafruit_macropad2040picodebug.menu.rtti.Enabled.build.flags.rtti=
adafruit_macropad2040picodebug.menu.dbgport.Disabled=Disabled
adafruit_macropad2040picodebug.menu.dbgport.Disabled.build.debug_port=
adafruit_macropad2040picodebug.menu.dbgport.Serial=Serial
......@@ -3406,6 +3491,10 @@ arduino_nano_connect.menu.opt.Fast=Fast (-Ofast) (maybe slower)
arduino_nano_connect.menu.opt.Fast.build.flags.optimize=-Ofast
arduino_nano_connect.menu.opt.Debug=Debug (-Og)
arduino_nano_connect.menu.opt.Debug.build.flags.optimize=-Og
arduino_nano_connect.menu.rtti.Disabled=Disabled
arduino_nano_connect.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
arduino_nano_connect.menu.rtti.Enabled=Enabled
arduino_nano_connect.menu.rtti.Enabled.build.flags.rtti=
arduino_nano_connect.menu.dbgport.Disabled=Disabled
arduino_nano_connect.menu.dbgport.Disabled.build.debug_port=
arduino_nano_connect.menu.dbgport.Serial=Serial
......@@ -3613,6 +3702,10 @@ arduino_nano_connectpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
arduino_nano_connectpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
arduino_nano_connectpicoprobe.menu.opt.Debug=Debug (-Og)
arduino_nano_connectpicoprobe.menu.opt.Debug.build.flags.optimize=-Og
arduino_nano_connectpicoprobe.menu.rtti.Disabled=Disabled
arduino_nano_connectpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
arduino_nano_connectpicoprobe.menu.rtti.Enabled=Enabled
arduino_nano_connectpicoprobe.menu.rtti.Enabled.build.flags.rtti=
arduino_nano_connectpicoprobe.menu.dbgport.Disabled=Disabled
arduino_nano_connectpicoprobe.menu.dbgport.Disabled.build.debug_port=
arduino_nano_connectpicoprobe.menu.dbgport.Serial=Serial
......@@ -3820,6 +3913,10 @@ arduino_nano_connectpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
arduino_nano_connectpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
arduino_nano_connectpicodebug.menu.opt.Debug=Debug (-Og)
arduino_nano_connectpicodebug.menu.opt.Debug.build.flags.optimize=-Og
arduino_nano_connectpicodebug.menu.rtti.Disabled=Disabled
arduino_nano_connectpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
arduino_nano_connectpicodebug.menu.rtti.Enabled=Enabled
arduino_nano_connectpicodebug.menu.rtti.Enabled.build.flags.rtti=
arduino_nano_connectpicodebug.menu.dbgport.Disabled=Disabled
arduino_nano_connectpicodebug.menu.dbgport.Disabled.build.debug_port=
arduino_nano_connectpicodebug.menu.dbgport.Serial=Serial
......@@ -3941,6 +4038,10 @@ cytron_maker_pi_rp2040.menu.opt.Fast=Fast (-Ofast) (maybe slower)
cytron_maker_pi_rp2040.menu.opt.Fast.build.flags.optimize=-Ofast
cytron_maker_pi_rp2040.menu.opt.Debug=Debug (-Og)
cytron_maker_pi_rp2040.menu.opt.Debug.build.flags.optimize=-Og
cytron_maker_pi_rp2040.menu.rtti.Disabled=Disabled
cytron_maker_pi_rp2040.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
cytron_maker_pi_rp2040.menu.rtti.Enabled=Enabled
cytron_maker_pi_rp2040.menu.rtti.Enabled.build.flags.rtti=
cytron_maker_pi_rp2040.menu.dbgport.Disabled=Disabled
cytron_maker_pi_rp2040.menu.dbgport.Disabled.build.debug_port=
cytron_maker_pi_rp2040.menu.dbgport.Serial=Serial
......@@ -4064,6 +4165,10 @@ cytron_maker_pi_rp2040picoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
cytron_maker_pi_rp2040picoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
cytron_maker_pi_rp2040picoprobe.menu.opt.Debug=Debug (-Og)
cytron_maker_pi_rp2040picoprobe.menu.opt.Debug.build.flags.optimize=-Og
cytron_maker_pi_rp2040picoprobe.menu.rtti.Disabled=Disabled
cytron_maker_pi_rp2040picoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
cytron_maker_pi_rp2040picoprobe.menu.rtti.Enabled=Enabled
cytron_maker_pi_rp2040picoprobe.menu.rtti.Enabled.build.flags.rtti=
cytron_maker_pi_rp2040picoprobe.menu.dbgport.Disabled=Disabled
cytron_maker_pi_rp2040picoprobe.menu.dbgport.Disabled.build.debug_port=
cytron_maker_pi_rp2040picoprobe.menu.dbgport.Serial=Serial
......@@ -4187,6 +4292,10 @@ cytron_maker_pi_rp2040picodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
cytron_maker_pi_rp2040picodebug.menu.opt.Fast.build.flags.optimize=-Ofast
cytron_maker_pi_rp2040picodebug.menu.opt.Debug=Debug (-Og)
cytron_maker_pi_rp2040picodebug.menu.opt.Debug.build.flags.optimize=-Og
cytron_maker_pi_rp2040picodebug.menu.rtti.Disabled=Disabled
cytron_maker_pi_rp2040picodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
cytron_maker_pi_rp2040picodebug.menu.rtti.Enabled=Enabled
cytron_maker_pi_rp2040picodebug.menu.rtti.Enabled.build.flags.rtti=
cytron_maker_pi_rp2040picodebug.menu.dbgport.Disabled=Disabled
cytron_maker_pi_rp2040picodebug.menu.dbgport.Disabled.build.debug_port=
cytron_maker_pi_rp2040picodebug.menu.dbgport.Serial=Serial
......@@ -4392,6 +4501,10 @@ sparkfun_promicrorp2040.menu.opt.Fast=Fast (-Ofast) (maybe slower)
sparkfun_promicrorp2040.menu.opt.Fast.build.flags.optimize=-Ofast
sparkfun_promicrorp2040.menu.opt.Debug=Debug (-Og)
sparkfun_promicrorp2040.menu.opt.Debug.build.flags.optimize=-Og
sparkfun_promicrorp2040.menu.rtti.Disabled=Disabled
sparkfun_promicrorp2040.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
sparkfun_promicrorp2040.menu.rtti.Enabled=Enabled
sparkfun_promicrorp2040.menu.rtti.Enabled.build.flags.rtti=
sparkfun_promicrorp2040.menu.dbgport.Disabled=Disabled
sparkfun_promicrorp2040.menu.dbgport.Disabled.build.debug_port=
sparkfun_promicrorp2040.menu.dbgport.Serial=Serial
......@@ -4599,6 +4712,10 @@ sparkfun_promicrorp2040picoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
sparkfun_promicrorp2040picoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
sparkfun_promicrorp2040picoprobe.menu.opt.Debug=Debug (-Og)
sparkfun_promicrorp2040picoprobe.menu.opt.Debug.build.flags.optimize=-Og
sparkfun_promicrorp2040picoprobe.menu.rtti.Disabled=Disabled
sparkfun_promicrorp2040picoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
sparkfun_promicrorp2040picoprobe.menu.rtti.Enabled=Enabled
sparkfun_promicrorp2040picoprobe.menu.rtti.Enabled.build.flags.rtti=
sparkfun_promicrorp2040picoprobe.menu.dbgport.Disabled=Disabled
sparkfun_promicrorp2040picoprobe.menu.dbgport.Disabled.build.debug_port=
sparkfun_promicrorp2040picoprobe.menu.dbgport.Serial=Serial
......@@ -4806,6 +4923,10 @@ sparkfun_promicrorp2040picodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
sparkfun_promicrorp2040picodebug.menu.opt.Fast.build.flags.optimize=-Ofast
sparkfun_promicrorp2040picodebug.menu.opt.Debug=Debug (-Og)
sparkfun_promicrorp2040picodebug.menu.opt.Debug.build.flags.optimize=-Og
sparkfun_promicrorp2040picodebug.menu.rtti.Disabled=Disabled
sparkfun_promicrorp2040picodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
sparkfun_promicrorp2040picodebug.menu.rtti.Enabled=Enabled
sparkfun_promicrorp2040picodebug.menu.rtti.Enabled.build.flags.rtti=
sparkfun_promicrorp2040picodebug.menu.dbgport.Disabled=Disabled
sparkfun_promicrorp2040picodebug.menu.dbgport.Disabled.build.debug_port=
sparkfun_promicrorp2040picodebug.menu.dbgport.Serial=Serial
......@@ -4939,6 +5060,10 @@ generic.menu.opt.Fast=Fast (-Ofast) (maybe slower)
generic.menu.opt.Fast.build.flags.optimize=-Ofast
generic.menu.opt.Debug=Debug (-Og)
generic.menu.opt.Debug.build.flags.optimize=-Og
generic.menu.rtti.Disabled=Disabled
generic.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
generic.menu.rtti.Enabled=Enabled
generic.menu.rtti.Enabled.build.flags.rtti=
generic.menu.dbgport.Disabled=Disabled
generic.menu.dbgport.Disabled.build.debug_port=
generic.menu.dbgport.Serial=Serial
......@@ -5090,6 +5215,10 @@ genericpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
genericpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
genericpicoprobe.menu.opt.Debug=Debug (-Og)
genericpicoprobe.menu.opt.Debug.build.flags.optimize=-Og
genericpicoprobe.menu.rtti.Disabled=Disabled
genericpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
genericpicoprobe.menu.rtti.Enabled=Enabled
genericpicoprobe.menu.rtti.Enabled.build.flags.rtti=
genericpicoprobe.menu.dbgport.Disabled=Disabled
genericpicoprobe.menu.dbgport.Disabled.build.debug_port=
genericpicoprobe.menu.dbgport.Serial=Serial
......@@ -5241,6 +5370,10 @@ genericpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
genericpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
genericpicodebug.menu.opt.Debug=Debug (-Og)
genericpicodebug.menu.opt.Debug.build.flags.optimize=-Og
genericpicodebug.menu.rtti.Disabled=Disabled
genericpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
genericpicodebug.menu.rtti.Enabled=Enabled
genericpicodebug.menu.rtti.Enabled.build.flags.rtti=
genericpicodebug.menu.dbgport.Disabled=Disabled
genericpicodebug.menu.dbgport.Disabled.build.debug_port=
genericpicodebug.menu.dbgport.Serial=Serial
......@@ -5414,6 +5547,10 @@ challenger_2040_wifi.menu.opt.Fast=Fast (-Ofast) (maybe slower)
challenger_2040_wifi.menu.opt.Fast.build.flags.optimize=-Ofast
challenger_2040_wifi.menu.opt.Debug=Debug (-Og)
challenger_2040_wifi.menu.opt.Debug.build.flags.optimize=-Og
challenger_2040_wifi.menu.rtti.Disabled=Disabled
challenger_2040_wifi.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
challenger_2040_wifi.menu.rtti.Enabled=Enabled
challenger_2040_wifi.menu.rtti.Enabled.build.flags.rtti=
challenger_2040_wifi.menu.dbgport.Disabled=Disabled
challenger_2040_wifi.menu.dbgport.Disabled.build.debug_port=
challenger_2040_wifi.menu.dbgport.Serial=Serial
......@@ -5573,6 +5710,10 @@ challenger_2040_wifipicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
challenger_2040_wifipicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
challenger_2040_wifipicoprobe.menu.opt.Debug=Debug (-Og)
challenger_2040_wifipicoprobe.menu.opt.Debug.build.flags.optimize=-Og
challenger_2040_wifipicoprobe.menu.rtti.Disabled=Disabled
challenger_2040_wifipicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
challenger_2040_wifipicoprobe.menu.rtti.Enabled=Enabled
challenger_2040_wifipicoprobe.menu.rtti.Enabled.build.flags.rtti=
challenger_2040_wifipicoprobe.menu.dbgport.Disabled=Disabled
challenger_2040_wifipicoprobe.menu.dbgport.Disabled.build.debug_port=
challenger_2040_wifipicoprobe.menu.dbgport.Serial=Serial
......@@ -5732,6 +5873,10 @@ challenger_2040_wifipicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
challenger_2040_wifipicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
challenger_2040_wifipicodebug.menu.opt.Debug=Debug (-Og)
challenger_2040_wifipicodebug.menu.opt.Debug.build.flags.optimize=-Og
challenger_2040_wifipicodebug.menu.rtti.Disabled=Disabled
challenger_2040_wifipicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
challenger_2040_wifipicodebug.menu.rtti.Enabled=Enabled
challenger_2040_wifipicodebug.menu.rtti.Enabled.build.flags.rtti=
challenger_2040_wifipicodebug.menu.dbgport.Disabled=Disabled
challenger_2040_wifipicodebug.menu.dbgport.Disabled.build.debug_port=
challenger_2040_wifipicodebug.menu.dbgport.Serial=Serial
......@@ -5889,6 +6034,10 @@ challenger_2040_lte.menu.opt.Fast=Fast (-Ofast) (maybe slower)
challenger_2040_lte.menu.opt.Fast.build.flags.optimize=-Ofast
challenger_2040_lte.menu.opt.Debug=Debug (-Og)
challenger_2040_lte.menu.opt.Debug.build.flags.optimize=-Og
challenger_2040_lte.menu.rtti.Disabled=Disabled
challenger_2040_lte.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
challenger_2040_lte.menu.rtti.Enabled=Enabled
challenger_2040_lte.menu.rtti.Enabled.build.flags.rtti=
challenger_2040_lte.menu.dbgport.Disabled=Disabled
challenger_2040_lte.menu.dbgport.Disabled.build.debug_port=
challenger_2040_lte.menu.dbgport.Serial=Serial
......@@ -6048,6 +6197,10 @@ challenger_2040_ltepicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
challenger_2040_ltepicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
challenger_2040_ltepicoprobe.menu.opt.Debug=Debug (-Og)
challenger_2040_ltepicoprobe.menu.opt.Debug.build.flags.optimize=-Og
challenger_2040_ltepicoprobe.menu.rtti.Disabled=Disabled
challenger_2040_ltepicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
challenger_2040_ltepicoprobe.menu.rtti.Enabled=Enabled
challenger_2040_ltepicoprobe.menu.rtti.Enabled.build.flags.rtti=
challenger_2040_ltepicoprobe.menu.dbgport.Disabled=Disabled
challenger_2040_ltepicoprobe.menu.dbgport.Disabled.build.debug_port=
challenger_2040_ltepicoprobe.menu.dbgport.Serial=Serial
......@@ -6207,6 +6360,10 @@ challenger_2040_ltepicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
challenger_2040_ltepicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
challenger_2040_ltepicodebug.menu.opt.Debug=Debug (-Og)
challenger_2040_ltepicodebug.menu.opt.Debug.build.flags.optimize=-Og
challenger_2040_ltepicodebug.menu.rtti.Disabled=Disabled
challenger_2040_ltepicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
challenger_2040_ltepicodebug.menu.rtti.Enabled=Enabled
challenger_2040_ltepicodebug.menu.rtti.Enabled.build.flags.rtti=
challenger_2040_ltepicodebug.menu.dbgport.Disabled=Disabled
challenger_2040_ltepicodebug.menu.dbgport.Disabled.build.debug_port=
challenger_2040_ltepicodebug.menu.dbgport.Serial=Serial
......@@ -6412,6 +6569,10 @@ melopero_shake_rp2040.menu.opt.Fast=Fast (-Ofast) (maybe slower)
melopero_shake_rp2040.menu.opt.Fast.build.flags.optimize=-Ofast
melopero_shake_rp2040.menu.opt.Debug=Debug (-Og)
melopero_shake_rp2040.menu.opt.Debug.build.flags.optimize=-Og
melopero_shake_rp2040.menu.rtti.Disabled=Disabled
melopero_shake_rp2040.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
melopero_shake_rp2040.menu.rtti.Enabled=Enabled
melopero_shake_rp2040.menu.rtti.Enabled.build.flags.rtti=
melopero_shake_rp2040.menu.dbgport.Disabled=Disabled
melopero_shake_rp2040.menu.dbgport.Disabled.build.debug_port=
melopero_shake_rp2040.menu.dbgport.Serial=Serial
......@@ -6619,6 +6780,10 @@ melopero_shake_rp2040picoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
melopero_shake_rp2040picoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
melopero_shake_rp2040picoprobe.menu.opt.Debug=Debug (-Og)
melopero_shake_rp2040picoprobe.menu.opt.Debug.build.flags.optimize=-Og
melopero_shake_rp2040picoprobe.menu.rtti.Disabled=Disabled
melopero_shake_rp2040picoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
melopero_shake_rp2040picoprobe.menu.rtti.Enabled=Enabled
melopero_shake_rp2040picoprobe.menu.rtti.Enabled.build.flags.rtti=
melopero_shake_rp2040picoprobe.menu.dbgport.Disabled=Disabled
melopero_shake_rp2040picoprobe.menu.dbgport.Disabled.build.debug_port=
melopero_shake_rp2040picoprobe.menu.dbgport.Serial=Serial
......@@ -6826,6 +6991,10 @@ melopero_shake_rp2040picodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
melopero_shake_rp2040picodebug.menu.opt.Fast.build.flags.optimize=-Ofast
melopero_shake_rp2040picodebug.menu.opt.Debug=Debug (-Og)
melopero_shake_rp2040picodebug.menu.opt.Debug.build.flags.optimize=-Og
melopero_shake_rp2040picodebug.menu.rtti.Disabled=Disabled
melopero_shake_rp2040picodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
melopero_shake_rp2040picodebug.menu.rtti.Enabled=Enabled
melopero_shake_rp2040picodebug.menu.rtti.Enabled.build.flags.rtti=
melopero_shake_rp2040picodebug.menu.dbgport.Disabled=Disabled
melopero_shake_rp2040picodebug.menu.dbgport.Disabled.build.debug_port=
melopero_shake_rp2040picodebug.menu.dbgport.Serial=Serial
......@@ -6947,6 +7116,10 @@ upesy_rp2040_devkit.menu.opt.Fast=Fast (-Ofast) (maybe slower)
upesy_rp2040_devkit.menu.opt.Fast.build.flags.optimize=-Ofast
upesy_rp2040_devkit.menu.opt.Debug=Debug (-Og)
upesy_rp2040_devkit.menu.opt.Debug.build.flags.optimize=-Og
upesy_rp2040_devkit.menu.rtti.Disabled=Disabled
upesy_rp2040_devkit.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
upesy_rp2040_devkit.menu.rtti.Enabled=Enabled
upesy_rp2040_devkit.menu.rtti.Enabled.build.flags.rtti=
upesy_rp2040_devkit.menu.dbgport.Disabled=Disabled
upesy_rp2040_devkit.menu.dbgport.Disabled.build.debug_port=
upesy_rp2040_devkit.menu.dbgport.Serial=Serial
......@@ -7070,6 +7243,10 @@ upesy_rp2040_devkitpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
upesy_rp2040_devkitpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
upesy_rp2040_devkitpicoprobe.menu.opt.Debug=Debug (-Og)
upesy_rp2040_devkitpicoprobe.menu.opt.Debug.build.flags.optimize=-Og
upesy_rp2040_devkitpicoprobe.menu.rtti.Disabled=Disabled
upesy_rp2040_devkitpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
upesy_rp2040_devkitpicoprobe.menu.rtti.Enabled=Enabled
upesy_rp2040_devkitpicoprobe.menu.rtti.Enabled.build.flags.rtti=
upesy_rp2040_devkitpicoprobe.menu.dbgport.Disabled=Disabled
upesy_rp2040_devkitpicoprobe.menu.dbgport.Disabled.build.debug_port=
upesy_rp2040_devkitpicoprobe.menu.dbgport.Serial=Serial
......@@ -7193,6 +7370,10 @@ upesy_rp2040_devkitpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
upesy_rp2040_devkitpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
upesy_rp2040_devkitpicodebug.menu.opt.Debug=Debug (-Og)
upesy_rp2040_devkitpicodebug.menu.opt.Debug.build.flags.optimize=-Og
upesy_rp2040_devkitpicodebug.menu.rtti.Disabled=Disabled
upesy_rp2040_devkitpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
upesy_rp2040_devkitpicodebug.menu.rtti.Enabled=Enabled
upesy_rp2040_devkitpicodebug.menu.rtti.Enabled.build.flags.rtti=
upesy_rp2040_devkitpicodebug.menu.dbgport.Disabled=Disabled
upesy_rp2040_devkitpicodebug.menu.dbgport.Disabled.build.debug_port=
upesy_rp2040_devkitpicodebug.menu.dbgport.Serial=Serial
......
......@@ -52,7 +52,7 @@ compiler.c.elf.flags={compiler.warning_flags} {compiler.defines} {compiler.flags
compiler.S.cmd=arm-none-eabi-gcc
compiler.S.flags=-c {compiler.warning_flags} -g -x assembler-with-cpp -MMD {compiler.includes} -g
compiler.cpp.cmd=arm-none-eabi-g++
compiler.cpp.flags=-c {compiler.warning_flags} {compiler.defines} {compiler.flags} {compiler.includes} -fno-rtti -std=gnu++17 -g
compiler.cpp.flags=-c {compiler.warning_flags} {compiler.defines} {compiler.flags} {compiler.includes} {build.flags.rtti} -std=gnu++17 -g
compiler.ar.cmd=arm-none-eabi-ar
compiler.ar.flags=rcs
......@@ -80,7 +80,8 @@ compiler.elf2hex.extra_flags=
# Board configuration, set in boards.txt. Present here to ensure substitution works
build.flash_length=
build.eeprom_start=
build.flags.optimize=
build.flags.optimize=-Os
build.flags.rtti=-fno-rtti
build.fs_start=
build.fs_end=
build.usbstack_flags=
......
......@@ -42,6 +42,12 @@ def BuildOptimize(name):
print("%s.menu.opt.%s=%s (%s) %s" % (name, l[0], l[1], l[2], l[3]))
print("%s.menu.opt.%s.build.flags.optimize=%s" % (name, l[0], l[2]))
def BuildRTTI(name):
print("%s.menu.rtti.Disabled=Disabled" % (name))
print("%s.menu.rtti.Disabled.build.flags.rtti=-fno-rtti" % (name))
print("%s.menu.rtti.Enabled=Enabled" % (name))
print("%s.menu.rtti.Enabled.build.flags.rtti=" % (name))
def BuildBoot(name):
for l in [ ("Generic SPI /2", "boot2_generic_03h_2_padded_checksum"), ("Generic SPI /4", "boot2_generic_03h_4_padded_checksum"),
("IS25LP080 QSPI /2", "boot2_is25lp080_2_padded_checksum"), ("IS25LP080 QSPI /4", "boot2_is25lp080_4_padded_checksum"),
......@@ -97,6 +103,7 @@ def BuildGlobalMenuList():
print("menu.flash=Flash Size")
print("menu.freq=CPU Speed")
print("menu.opt=Optimize")
print("menu.rtti=RTTI")
print("menu.dbgport=Debug Port")
print("menu.dbglvl=Debug Level")
print("menu.boot2=Boot Stage 2")
......@@ -130,6 +137,7 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, boarddefine, flashsizem
BuildFlashMenu(n, flashsizemb * 1024 * 1024, fssizelist)
BuildFreq(n)
BuildOptimize(n)
BuildRTTI(n)
BuildDebugPort(n)
BuildDebugLevel(n)
if a == "picodebug":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment