This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Source and makefiles to allow rebuild of Bluetopia linux addon library

Other Parts Discussed in Thread: TI-BT-STACK-LINUX-ADDON, PROCESSOR-SDK-AM335X

Hi,

I'm trying to build bluetopia library for a custom Sitara platform.

The BSP for the platform is compiled with mfloatabi=softfp

When I try to build the library, following the instructions I get the following errors of the form:

error: ../BluetopiaPM/lib/libBTPM_S.a(BTPMMAIN_S.o) uses VFP register arguments, ../BluetopiaPM/bin/SS1BTPM does not

To solve the problem I want to rebuld the libraries in the Bluetopia package with my BSPs compile options,

but when I try to build, I get the following error:

make: *** No rule to make target `../BluetopiaPM/lib/libBTPM_S.a', needed by `../BluetopiaPM/bin/SS1BTPM'. Stop.

When I look in the make rule files under core, they are empty!

How do I rebuild the libraries?

Are all the source files required present?

Best Regards,

Paul

  • Hi , Your query has been assigned to BT expert. We will get back to you shortly
    Saurabh
  • Hi Paul,

    The source files for the Bluetopia/Bluetopia PM stack are not shared since the stack is only delivered as a compiled library. So you will not be able to rebuild the stack. The Sample Applications that run on top of the ti dual-mode bluetooth stack are shared in both forms : source code and compiled application. The build process included in the TI-BT-STACK-LINUX-ADDON is for rebuilding these sample applications from the source code while also linking the stack libraries.

    That being said, all the Sitara linux SDKs like the PROCESSOR-SDK-AM335X support -mfloat-abi=hard by default. With that there is no need to recompile anything in the TI-BT-STACK-LINUX-ADDON, since everything is already compiled and ready for out of the box demo.

    Best regards,
    Vihang