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.

CCS/CC3120MOD: CC3120MOD

Part Number: CC3120MOD
Other Parts Discussed in Thread: CC1352R,

Tool/software: Code Composer Studio

Hello,

The problem is with CC3120 driver porting, when using the functions from driver. For example the first function which should be used sl_Start( ; ; ; ).

The CC3120MOD is connected with SPI with CC1352R

The code is:

#include <ti/drivers/net/wifi/porting/user.h>
#include <ti/drivers/net/wifi/source/objInclusion.h>

#include <ti/drivers/net/wifi/simplelink.h>
#include <ti/drivers/net/wifi/device.h>

_i16 Role;

Role = sl_Start(NULL, NULL, NULL);

Error: 

Description Resource Path Location Type
#148 declaration is incompatible with "signed short Role" (declared at line 43) WiFi_Module.c /manDown_CC1352R1_nortos_ccs line 45 C/C++ Problem

Regards,

Ilian

  • Hi,

    I use my own file for WiFi functions.

    The code is below:

    /***** Includes *****/
    #include <WiFi_Module.h>


    #include <ti/drivers/net/wifi/porting/user.h>
    //#include <ti/drivers/net/wifi/source/objInclusion.h>

    #include <ti/drivers/net/wifi/simplelink.h>
    //#include <ti/drivers/net/wifi/device.h>
    //#include <ti/drivers/net/wifi/errors.h>
    //#include <ti/drivers/net/wifi/eventreg.h>
    //#include <ti/drivers/net/wifi/fs.h>
    //#include <ti/drivers/net/wifi/netapp.h>
    //#include <ti/drivers/net/wifi/netcfg.h>
    //#include <ti/drivers/net/wifi/netutil.h>
    //#include <ti/drivers/net/wifi/sl_socket.h>
    //#include <ti/drivers/net/wifi/slnetifwifi.h>
    //#include <ti/drivers/net/wifi/trace.h>
    //#include <ti/drivers/net/wifi/wlan.h>
    //#include <ti/drivers/net/wifi/wlanconfig.h>

    void wifiStart(void)
    {
    _i16 Role;

    Role = sl_Start(NULL, NULL, NULL);

    if (Role < 0)
    {
    while(1);
    }
    }

    When I call the function wifiStart(void), from the main file, I have an error:

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "........." not built

    It seems, that the linker can not find functions from WiFi SDK Plug in.

    Thanks!

  • I'm closing this thread as your issue is already supported in a different thread.

    Br,

    Kobi