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.

LAUNCHXL-CC3235SF: gmake build error with azure-iot-pal-simplelink-master

Part Number: LAUNCHXL-CC3235SF
Other Parts Discussed in Thread: SYSCONFIG

I am trying to build azure-iot-pal-simplelink-master provided at https://github.com/TexasInstruments/azure-iot-pal-simplelink#DPS

I am getting error on the step 2: Build the Azure PAL and SDK libraries :

-------------------------

D:\ti\azure-iot-pal-simplelink-master\build_all>d:\ti\ccs1120\xdctools_3_62_01_16_core\gmake clean

cleaning packages ...
xdctools_3_61_00_16_core\gmake.exe: *** [D:/ti/xdctools_3_61_00_16_core\packages\xdc\bld\xdc_top.mak:374: _startime] Error 127
gmake: *** [Makefile:63: clean] Error 2

------------------------------

Same error it gives if I try command gmake all.

I am using SimpleLink CC3235 SDK version 4.10

CCS tool version 11.2

I have updated the path in products.mak file as instructed on the above link.

----------------Products.mak--------start--------------------------------

################################################################
# When not part of the plugin, fill these out manually #
################################################################
######################## All platforms ########################
XDC_INSTALL_DIR ?= D:/ti/xdctools_3_61_00_16_core
SYSCONFIG_TOOL ?=

######################## Optional ########################
FREERTOS_INSTALL_DIR ?=

################################################################
# Fill in the variable set corresponding to your platform #
# Only one set should be used at a time #
################################################################

##################### For CC32XX ####################
SIMPLELINK_CC32XX_SDK_INSTALL_DIR ?= D:/ti/simplelink_cc32xx_sdk_4_10_00_07

# Toolchains: Leave assignment empty to disable a toolchain
ti.targets.arm.elf.M4 ?= D:/ti/ccs1120/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS
iar.targets.arm.M4 ?=
gnu.targets.arm.M4 ?=

----------------Products.mak--------End--------------------------------

I have also set the path in environment variables of my PC:

Can anyone please help with debugging the issue?

Thanks,

Pradeep

  • Hi Pradeep,

    The error 127 usually stems from a path error. I would suggest confirming the path by doing echo $PATH to confirm the shell can find it. Ultimately, I would suggest instead to use the simplelink plugin sdk. Is there a reason you are using the git repo of the azure libraries?

    Kind regards,

    Rogelio

  • Hi Rogelio,

    I checked path with echo command and it gives path of all folders separated by ';' . This match with what I have shared previously. 

    I have already executed simplesample_http example in simplelink sdk 4.1. This example didn;t had communication with MQTT protocol. Then I tried using iothub_client_sample_mqtt example from the same. It executes but no packets are received at Server end though this example shows message that packets are accepted by IoT Hub for transmit.

    Do you suggest I should continue working on samples given in simplelink_sdk 4.1 examples folder rather then using git hub repo?

    Thanks,

    Pradeep

  • Hi Pradeep,

    I would suggest to continue with the sdk as this repo seems to only have the simplesample demo which you have already ran. Also the github repo itself recommends it 

    I would start a new thread with questions on the errors or problems you got using MQTT while using the SDK

    Kind Regards,

    Rogelio

  • Thanks Rogelio.