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.

SIMPLELINK-WIFI-CC3120-SDK-PLUGIN: Build CC3120 SDK

Part Number: SIMPLELINK-WIFI-CC3120-SDK-PLUGIN
Other Parts Discussed in Thread: CC3120

Hi,

CC3120 SDK: simplelink_sdk_wifi_plugin_2_30_00_10

Modified the following files:

./source/ti/drivers/net/wifi/porting/cc_pal.c

/source/ti/drivers/net/wifi/source/device.c

How to rebuild the SDK?

Thank.

Andre

  • Hi Andre,

    If you're editing the porting layer, you can import the simplelink project into your IDE (source/ti/drivers/net/wifi/) and rebuild. Make sure you're linking to your updated simplelink.a library wherever you want to use it.

    We don't support changing the host driver itself though. You should only be editing the files in the porting folder if you are porting to a different host.

    Best regards,
    Sarah

  • Hi Sarah,

    Thank you for your reply.

    I am using CCS Version 8.0 .

    I don't know how to compile cc_pal.c.
    I don't know how to generate a new simplelink.a.

    Can you tell me more?

    Best regards,
    Andre
  • Hi Sarah,

    The picture below is the project used by my CCS.

    I modified the source/ti/drivers/net/wifi/porting/cc_pal.c  file in the Includes directory.

    How can I compile the files in the Includes directory?

    Hoping to get your help. 

    Thank you

    Andre

  • Hi Andre,

    You can import the SimpleLink library project into CCS like you do any example (the path within the SDK is in my first response). Make sure you have the changes you want in cc_pal.c, then left-click on the project and select Rebuild. It will generate a new simplelink.a for you in the Debug folder. You can move that new simplelink.a to any folder or link to it in your workspace.

    You cannot rebuild source from the Include path. You need to replace the .c file in your project.

    Best regards,
    Sarah
  • Hi Sarah,

    Thank you for your reply.

    I will source / TI / drive / net / WIFI / import CCS project error as follows:
    See details below.
    Error: Import failed for project 'simplelink' because its meta-data cannot be interpreted. Please contact support.

    How to solve this problem?

    Best regards,
    Andre
  • Hi Andre,

    Apologies, I should have remembered to warn you there's a known issue in the file path for that version. You have to delete the file source/ti/drivers/net/wifi/ccs/.project from your SDK to import the SimpleLink project correctly. That file was left in the path by accident, so you don't need to save it and can safely delete it.

    Best regards,
    Sarah