Skip to content

Commit 3ba851b

Browse files
committed
Builder: Fix wrong Arduino framework name
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent ee2d4f3 commit 3ba851b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

builder/framework/arduino.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
platform = env.PioPlatform()
2626
board = env.BoardConfig()
2727

28-
FRAMEWORK_DIR = platform.get_package_dir("framework-siwiduino")
28+
FRAMEWORK_DIR = platform.get_package_dir("framework-logicromarduino")
2929
assert isdir(FRAMEWORK_DIR)
3030

3131
def fota_crc16(data:bytearray, length):
@@ -265,17 +265,17 @@ def gen_fota_file(target, source, env):
265265
# copy CCFLAGS to ASFLAGS (-x assembler-with-cpp mode)
266266
env.Append(ASFLAGS=env.get("CCFLAGS", [])[:])
267267

268-
def load_siwilib_debug():
268+
def load_logicrom_debug():
269269
for i, libs in enumerate(env["LIBS"]):
270270
if libs.startswith("logicrom") or libs.startswith("logicromnbiot"):
271271
env["LIBS"][i] = libs + "_debug"
272272

273273

274274
if board.get("build.logicromtype") == "debug":
275-
load_siwilib_debug()
275+
load_logicrom_debug()
276276

277277
if env.GetBuildType() == "debug":
278-
load_siwilib_debug()
278+
load_logicrom_debug()
279279

280280
#
281281
# Target: Build Core Library

0 commit comments

Comments
 (0)