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.

Cannot build secure_iot application for TM4C129

Other Parts Discussed in Thread: EK-TM4C129EXL

Having very similar problems to this. Simply cannot build the secure_iot Out-of-Box demo for the EK-TM4C129EXL Launchpad.

Just cannot seem to link in these required headers... ( haven't even started on WolfSSL yet! )

>> Compilation failure
subdir_rules.mk:28: recipe for target 'cloud_task.obj' failed
"/Userspace/ti/tirtos_tivac_2_16_00_08/products/ns_1_11_00_10/packages/ti/net/socket.h", line 62: fatal error #1965: cannot open source file "sys/socket.h"
1 catastrophic error detected in the compilation of "../cloud_task.c".
Compilation terminated.
gmake: *** [cloud_task.obj] Error 1
Building file: ../command_task.c
Invoking: ARM Compiler
"/Applications/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="/Userspace/ti/tirtos_tivac_2_16_00_08/products/ndk_2_24_03_35/packages/ti/ndk/inc/bsd" --include_path="/Applications/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include" --include_path="C:/cyassl/wolfssl-3.6.6" --include_path="/Userspace/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b" --include_path="/Users/drlou/ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages/ti/net" -g --gcc --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="command_task.d" --cmd_file="configPkg/compiler.opt" "../command_task.c"

>> Compilation failure
subdir_rules.mk:35: recipe for target 'command_task.obj' failed
"../command_task.c", line 28: fatal error #1965: cannot open source file "ti/net/network.h"
1 catastrophic error detected in the compilation of "../command_task.c".
Compilation terminated.
gmake: *** [command_task.obj] Error 1

Goal here is to learn a bit about the CCSv7 ecosystem, and get even the simplest things done. Days have been wasted here.

this is a fresh reinstall of CCS7. Oddly, I think I compiled the secure_iot demo with no problem last week, using a previous install. 

What simple thing am I missing here?

  • I have split your post into a new thread and moved it to the Tiva device forum for the experts there to help.

    From searching for related issues, I found this thread which I believe is related to the issue you are facing.

  • Where exactly is the Tiva device forum? Would you kindly send me an exact link to your re-post so I can follow my own question?

    Guys: Small suggestion? The user's out-of-Box experience should be profoundly, nearly miraculously simple. It's in TI's interest that this first experience take less than an hour, tops...

    We're all used to working hard to solve the hard problems, but re-compiling firmware already shipped on the board should be 'packaged' as an almost trivial exercise for the noob.

  • LouEEEE! said:
    Where exactly is the Tiva device forum? Would you kindly send me an exact link to your re-post so I can follow my own question?

    In the email that you receive, if you click on the title it is a link to the post and will take you directly to it, even if it is re-directed to another forum.

  • Lou,

    The Tiva Forum is at
    E2E / Support Forums / Microcontrollers / TM4C Microcontrollers (Tiva was recently renamed TM4C)

    As for the building headaches, I share the pain - sometimes examples or libraries just don't seem to work! I did not particularly try to run the example you are talking about, but one mission I got into was to implement dual mode Bluetooth into a Tiva custom board, using Panasonic 1326B module (which is a TI CC2564B based product). After a long long long time, the solution was actually to redesign our hardware and use a more friendly module!

    Cheers

    Bruno
  • Yikes. That's slightly terrifying... ( ! )