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.

RTOS/SIMPLELINK-CC3220-SDK: cc3220s

Part Number: SIMPLELINK-CC3220-SDK

Tool/software: TI-RTOS

Hi

I am going to add the local ota to my project, but the code size is critical for my project.

Please advise if there is any guideline about the integration, and if need to add all the local ota example code to my project

thanks

Regards

Nicky

  • Hi Nicky,

    What are you trying to do with the local ota project?
    Are you are planning to use the internal HTTP server to upload the ota package to the CC3220? If so, there isn't really anything specific that you can remove from the local OTA project, as all of the code is needed.
    If you are not going to use the internal HTTP server, then you can get rid of the code that handles the HTTP server. This would be link_local_task.c, as well as some code in local_ota_task.c that involves the HTTP server. Other than that, you'll still need the OTA library to be included, and the OTA state machine handling code in local_ota_task.c, which makes up the bulk of the code size.

    Do keep in mind that you should turn on optimization in the compiler settings if you want to reduce the code size as much as possible. By default, compiler optimization is off for ease of debug. Let me know if you need more clarification on optimizing your project's code size, or if you have other questions.

    Regards,
    Michael