diff --git a/Tools/ardupilotwaf/ardupilotwaf.py b/Tools/ardupilotwaf/ardupilotwaf.py index 000e1efc75..49c8e703cf 100644 --- a/Tools/ardupilotwaf/ardupilotwaf.py +++ b/Tools/ardupilotwaf/ardupilotwaf.py @@ -76,6 +76,7 @@ COMMON_VEHICLE_DEPENDENT_LIBRARIES = [ 'AP_Gripper', 'AP_RTC', 'AC_Sprayer', + 'AP_Scripting', ] def get_legacy_defines(sketch_name): diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 6116cb81b4..2a3d07ce7a 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -93,7 +93,7 @@ class Board: if cfg.options.enable_scripting: env.DEFINES.update( - ENABLE_SCRIPTING = 'TRUE', + ENABLE_SCRIPTING = 1, ) if 'clang' in cfg.env.COMPILER_CC: