Skip to content

Commit

Permalink
fix compile error and lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-hh committed Sep 13, 2023
1 parent 735afdf commit 25a00b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/builders/bouffalolab.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def __init__(self,
self.chip_name = bouffalo_chip
self.enable_frame_ptr = enable_frame_ptr

openthread_project_core_config_file = None
toolchain = os.path.join(root, os.path.split(os.path.realpath(__file__))[0], '../../../config/bouffalolab/toolchain')
toolchain = 'custom_toolchain="{}:riscv_gcc"'.format(toolchain)
if toolchain:
Expand Down Expand Up @@ -173,6 +172,7 @@ def __init__(self,
if enable_thread:
self.argsOpt.append('chip_enable_openthread=true')
self.argsOpt.append('chip_mdns="platform"')
self.argsOpt.append('chip_inet_config_enable_ipv4=false')
self.argsOpt.append('openthread_project_core_config_file="{}-openthread-core-bl-config.h"'.format(bouffalo_chip))
else:
self.argsOpt.append('chip_enable_openthread=false')
Expand Down

0 comments on commit 25a00b5

Please sign in to comment.