From 8cdba8e9dae07d858d207a35dd554c63e37aad8b Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 13 Oct 2021 14:36:19 +0300 Subject: [PATCH] Use ArduinoLibBuilder and handle "precompiled" option --- extra_script.py | 7 ------- library.json | 3 +-- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 extra_script.py diff --git a/extra_script.py b/extra_script.py deleted file mode 100644 index 0f3cfa1..0000000 --- a/extra_script.py +++ /dev/null @@ -1,7 +0,0 @@ -Import('env') -from os.path import join, realpath - -env.Append( - LIBPATH=[realpath(join('src', env.get('BOARD_MCU')))], - LIBS=['algobsec'] -) diff --git a/library.json b/library.json index 395aa75..277358d 100644 --- a/library.json +++ b/library.json @@ -14,8 +14,7 @@ "frameworks": "arduino", "platforms": "*", "build": { - "includeDir": "src/inc", - "extraScript": "extra_script.py" + "builder": "ArduinoLibBuilder" }, "examples": [ {