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.

Missing files on BleToWifiGateway example application

Other Parts Discussed in Thread: CC3200

Hello, I am currently trying to compile the example application for the BleToWifiGateway. I already have downloaded and installed all required files listed on the design guide.

I have no problems compiling the first project, the "ti_rtos_config" one, but when I try to compile the second one "oslib" it seems like it's trying to include a non-existing folder, the FreeRTOS one to be precise "ti/BleToWifiGateway_1.0.0/src/third_party/FreeRTOS". I have tried to download myself FreeRTOS from it's page and locating into that path, but it seems some files doesn't match with the ones which are suppossed to ship with the installer. In fact, my download of FreeRTOS does not include any "FreeRTOS/source/portable/CCS/ARM_CM3" folder, which is one of the folders I'm missing.

I paste here the compile errors to make clearer what I'm trying to say:

>> Compilation failure
subdir_rules.mk:28: recipe for target 'osi_freertos.obj' failed
gmake: *** No rule to make target 'C:/ti/BleToWifiGateway_1.0.0/src/third_party/FreeRTOS/source/croutine.c', needed by 'croutine.obj'.
gmake: *** No rule to make target 'C:/ti/BleToWifiGateway_1.0.0/src/third_party/FreeRTOS/source/portable/MemMang/heap_3.c', needed by 'heap_3.obj'.
gmake: *** No rule to make target 'C:/ti/BleToWifiGateway_1.0.0/src/third_party/FreeRTOS/source/list.c', needed by 'list.obj'.
"C:/ti/BleToWifiGateway_1.0.0/src/oslib/osi_freertos.c", line 43: fatal error #1965: cannot open source file "FreeRTOS.h"
1 catastrophic error detected in the compilation of "C:/ti/BleToWifiGateway_1.0.0/src/oslib/osi_freertos.c".
Compilation terminated.
gmake: *** [osi_freertos.obj] Error 1
gmake: *** No rule to make target 'C:/ti/BleToWifiGateway_1.0.0/src/third_party/FreeRTOS/source/portable/CCS/ARM_CM3/port.c', needed by 'port.obj'.
gmake: *** No rule to make target 'C:/ti/BleToWifiGateway_1.0.0/src/third_party/FreeRTOS/source/portable/CCS/ARM_CM3/portasm.asm', needed by 'portasm.obj'.
gmake: *** No rule to make target 'C:/ti/BleToWifiGateway_1.0.0/src/third_party/FreeRTOS/source/queue.c', needed by 'queue.obj'.
gmake: *** No rule to make target 'C:/ti/BleToWifiGateway_1.0.0/src/third_party/FreeRTOS/source/tasks.c', needed by 'tasks.obj'.
gmake: *** No rule to make target 'C:/ti/BleToWifiGateway_1.0.0/src/third_party/FreeRTOS/source/timers.c', needed by 'timers.obj'.
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Hi Alex,

    I was under the impression that all required files, including FreeRTOS should be included in the BLE to Wifi Bridge SW package. That does not seem to be the case here.

    Anyway, as you have already found out, the FreeRTOS branch for CC3200 is not included in the regular FreeRTOS download. The only way to get the right version is to download the CC3200 SDK. Please try that and see if this resolves your problem.

    Cheers,
    Fredrik
  • Hi Fredrik, thank you for your answer, it solves the problem. But, when I compile the oslib project with the default free_rtos configuration, it gives me two warnings of implicit declarated functions:

    #225-D  function "portCLZ" declared implicitly	tasks.c	/oslib	line 2156
    #225-D  function "prvPortStartFirstTask" declared implicitly	port.c	/oslib	line 348
    

    I've tried to search this errors and they are so much common than the previous one, most answers suggest to install "CC3200 Add-On" and "TI-RTOS for simplelink" from the CCS App Center, which I have already done without any luck. Do you know how could I fix this?

    I have also noticed that the oslib package has two configurations, "free_rtos" and "ti_rtos" and with the ti one it compiles as expected.

  • Hi alex22, I have notice that you have solved this problem. Could you please tell me how to handle this? best wishes