This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uVision to ARM DEVELOPMENT STUDIO import (using FUSA )

We are using the FUSA and keil uVison IDE for the project and wanting to test the new Android Development Studio IDE.

But import didn't go as smoothly.Getting multiple  'Error: L6218E: Undefined symbol' errors.

Partial list:

Error: L6218E: Undefined symbol _setup_stack_from_initial_sp (referred from system_stm32wbxx.o).
Error: L6218E: Undefined symbol __scatterload_rt2 (referred from system_stm32wbxx.o).
Error: L6218E: Undefined symbol __cpp_initialize__aeabi_ (referred from system_stm32wbxx.o).
Error: L6218E: Undefined symbol main (referred from system_stm32wbxx.o).

..

Have I missed something in the import procedure? 

Parents
  • Hi again DS1

    I can reproduce the linker warnings you see with the code snippet you gave above, but only if I don't provide a main() function.

    Where is your main() function?  Is it in some source code in the project, or maybe in a library?

    If it is some source code, then check that all your source code folders have been imported as expected.
    If it is in a library, then examine the link step to check that you've specified any necessary libraries.

    Also, please check the "ImportReport.txt" file.  Does it warn of anything that it could not import?

    Do let us know how you get on

    Stephen

Reply
  • Hi again DS1

    I can reproduce the linker warnings you see with the code snippet you gave above, but only if I don't provide a main() function.

    Where is your main() function?  Is it in some source code in the project, or maybe in a library?

    If it is some source code, then check that all your source code folders have been imported as expected.
    If it is in a library, then examine the link step to check that you've specified any necessary libraries.

    Also, please check the "ImportReport.txt" file.  Does it warn of anything that it could not import?

    Do let us know how you get on

    Stephen

Children
  • Hi Stephan.

    Trying to fix is step by step, thanks again for the patience.

    ImportReport.txt says that it reverted to default compiler.instead using the FUSA compiler. How can I set DS to use FUSA compiler?

    Source
    Location : C:\Projects\PNG\PNG_ManifestRepo\PNG_MCU_STM32WB55RGVX\TestFW_Fusa.uvprojx
    Target Name : TestFW_FuSa
    Arm Compiler version : Arm Compiler 6.6.4

    Destination
    DS Workspace : xxx\Development Studio Workspace
    Project Name : TestFW_Fusa_TestFW_FuSa
    Location : xx\Development Studio Workspace\TestFW_Fusa_TestFW_FuSa
    Toolchain : Arm Compiler for Embedded 6
    WARNING : Specified source Arm Compiler version is not found, default one is selected
     

  • To add the FuSa compiler into Arm DS, use Windows > Preferences > Arm DS > Toolchains.
    For more info, see developer.arm.com/.../Register-a-compiler-toolchain

    Once the FuSa compiler is added, delete your project from the workspace and then re-import it afresh.

    If you'd rather not delete your project, you can re-configure your project to use the new compiler.  Right-mouse click on the project select Properties > C/C++ Build > Tool Chain Editor.  However, this can result in a loss of current compiler settings, so this is not recommended.

    Hope this helps

    Stephen