From 42a3e49cf5e439ec511f761dc5d679d4a5137f43 Mon Sep 17 00:00:00 2001 From: jujihjuji <14168930+jujihjuji@user.noreply.gitee.com> Date: Tue, 21 Apr 2026 11:19:19 +0800 Subject: [PATCH] =?UTF-8?q?update(applications):=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AF=B9mavlink=E7=9B=B8=E5=85=B3=E6=96=87=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E7=B4=A2=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/SConscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/applications/SConscript b/applications/SConscript index 9bb9aba..7db4e5f 100644 --- a/applications/SConscript +++ b/applications/SConscript @@ -3,7 +3,11 @@ import os cwd = GetCurrentDir() src = Glob('*.c') -CPPPATH = [cwd] + +project_root = os.path.abspath(os.path.join(cwd, '..')) +mavlink_path = os.path.join(project_root, 'lib', 'mavlink', 'v2.0') + +CPPPATH = [cwd, mavlink_path] group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)