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.

TIBLUETOOTHSTACK-SDK: CC2640R2F: BLE_Simple_Central - what is #define USE_FPGA used for?

Part Number: TIBLUETOOTHSTACK-SDK
Other Parts Discussed in Thread: CC2640R2F, BLE-STACK

In the example project BLE_Simple_Central:

Does anyone know what the #define USE_FPGA is used for?

Is there a list somewhere of the optional predefined symbols and their intended effects for this project?

I can't find anything on DEBUG_SW_TRACE either.

(PS: This is a re-post. First post was sent to the wrong Forum.

I didn't notice: When you select CC2640R2F for the part, the forum gets changed to the SimpleLink™ WiFi CC31xx/CC32xx Forum.

That's not right, is it?)

  • Here is what I posted on your previous post:
    Hi Dan,

    In the BLE-Stack User's Guide there is a section dedicated to application defines:
    Developing a Bluetooth Low Energy Application > Creating a Custom Bluetooth Low Energy Application > Compiler Options > Options.
    This table is titled BLE Application Preprocessor Symbols and describes the application defines and what they mean.

    The stack options are listed in Developing a Bluetooth Low Energy Application > Creating a Custom Bluetooth Low Energy Application > Stack Configurations > Configuring Bluetooth low energy Protocol Stack Features

    Any defines not listed in these tables should not be used, or modified. I understand that this list is a bit limited, we have a better one in the CC26x2 SDK, in the same chapter, but these may have diverged from the last CC2640R2 SDK that you are referencing.

    Regarding the specific defines you mentioned:
    USE_FPGA : Internal (to TI) define used for testing sample applications on FPGA platform pre silicon
    DEBUG_SW_TRACE : Internal (to TI) define used for profiling the stack.

    Both of the above defines should not be used and may cause unexpected behavior.



    I have forwarded your feedback to your e2e manger.