Skip to content

Commit bfa213b

Browse files
committed
Improve the compilation
1 parent 07de27c commit bfa213b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bsp/renesas/ra2a1-ek/SConstruct

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,11 @@ objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
5050
# include drivers
5151
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'HAL_Drivers', 'SConscript')))
5252

53+
#删除FSP生成的文件
54+
file_to_remove = "bsp_linker_info.h"
55+
if os.path.exists(file_to_remove):
56+
print(f"Removing {file_to_remove} before build...")
57+
os.remove(file_to_remove)
58+
5359
# make a building
5460
DoBuilding(TARGET, objs)

0 commit comments

Comments
 (0)