raise_wrist

Compilation Fails

This is the latest build under main, but libraries cannot be found.

The library has been confirmed to exist.

scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build_sf32lb52-lchspi-ulp_hcpu
Generating build_sf32lb52-lchspi-ulp_hcpu\bootloader\link_copy.lds ...
Generating build_sf32lb52-lchspi-ulp_hcpu\link_copy.lds ...
Building compilation database build_sf32lb52-lchspi-ulp_hcpu\compile_commands.json
Building compilation database build_sf32lb52-lchspi-ulp_hcpu\bootloader\compile_commands.json
Generating build_sf32lb52-lchspi-ulp_hcpu\ftab\link_copy.lds ...
Building compilation database build_sf32lb52-lchspi-ulp_hcpu\ftab\compile_commands.json
LINK build_sf32lb52-lchspi-ulp_hcpu\main.elf
C:/Users/mjl/.sifli/tools/arm-none-eabi-gcc/14.2.1/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lCWM_LIB_FULL: No such file or directory
collect2.exe: error: ld returned 1 exit status
scons: *** [build_sf32lb52-lchspi-ulp_hcpu\main.elf] Error 1
scons: building terminated because of errors.
PS C:\Users\mjl\Desktop\SIFi_Test\raise_wrist\project>

The cwm library does not exist under release 2.4.4.

Board: sf32lb52-lchspi-ulp_hcpu

C:/Users/mjl/Desktop/SIFi_Test/raise_wrist/project\proj.conf:43: warning: attempt to assign the value 'y' to the undefined symbol USING_CWM_LIB

error: Aborting due to Kconfig warnings

AssertionError: Fail to generate .config and rtconfig.h:
  File "C:\Users\mjl\Desktop\SIFi_Test\raise_wrist\project\SConstruct", line 12:
    PrepareEnv()
  File "C:\Users\mjl\sifli\SiFli-SDK\v2.4.4\tools\build\building.py", line 2735:
    InitBuild(None, rtconfig.OUTPUT_DIR, board)
  File "C:\Users\mjl\sifli\SiFli-SDK\v2.4.4\tools\build\building.py", line 1586:
    assert retcode == 0, "Fail to generate .config and rtconfig.h"
PS C:\Users\mjl\Desktop\SIFi_Test\raise_wrist\project> 

This is caused by a missing library file for the gcc version. We will submit a fix shortly; please wait for the upcoming update to the main branch.

The main branch has now been updated with the GCC version library. You can pull the latest repository and try building again.

1 Like

Successfully compiled!