From df5faeb7edc4fe5af2236bf5b2441e83aad7b106 Mon Sep 17 00:00:00 2001 From: Ivan Ruzavin Date: Thu, 1 Aug 2024 09:59:22 +0200 Subject: [PATCH] Updated query for MCUs --- scripts/recursive_build.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/recursive_build.py b/scripts/recursive_build.py index c11f3b198..7557742ed 100644 --- a/scripts/recursive_build.py +++ b/scripts/recursive_build.py @@ -58,10 +58,7 @@ def get_all_mcus(sdk_version): FROM SDKToDevice INNER JOIN Devices ON SDKToDevice.device_uid = Devices.uid WHERE SDKToDevice.sdk_uid = '{sdk_version}' - AND SDKToDevice.device_uid NOT LIKE '%PIM%' - AND SDKToDevice.device_uid NOT LIKE '%CARD%' - AND SDKToDevice.device_uid NOT LIKE '%SPARKFUN%' - AND SDKToDevice.device_uid NOT LIKE '%SIBRAIN%'; + AND SDKToDevice.device_uid NOT LIKE '%\\_%' ESCAPE '\\'; """) rows = cursor.fetchall() if rows: