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.

  • Resolved

CCS/AWR1642BOOST-ODS: #35 #error directive: "Error: Check the compiler flags: SOC_XWR14XX or SOC_XWR16XX is not defined"

Prodigy 90 points

Replies: 2

Views: 78

Part Number: AWR1642BOOST-ODS

Tool/software: Code Composer Studio

Hello everyone. I am using an AWR1642BOOST. I want to toggle a GPIO00 using ccs (I haven't bought AWR1642BOOST to toggle gpios, just for getting familiar with arm core). When I add the header:

#include <ti/drivers/gpio/gpio.h>

the error below appears:

Description Resource Path Location Type

#35 #error directive: "Error: Check the compiler flags: SOC_XWR14XX or SOC_XWR16XX is not defined" .ccsproject /AWR1642_EM_test1 line 534, external location: F:\ti\mmwave_sdk_02_01_00_04\packages\ti\drivers\gpio\include\reg_gio.h C/C++ Problem

How can I resolve the problem?

Thanks.

  • Hi

    Can you please first compile and run the GPIO driver unit test?

    Description on how to build the driver unit test is provided in the SDK UG

    Thank you
    Cesar
  • I solved the problem by adding 

    SOC_XWR16XX to predefined symbols.

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.