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/TM4C123GH6PM: semaphore using led blinking program using tivac-TM4C123GH6pm

Part Number: TM4C123GH6PM


Tool/software: TI-RTOS

#include <ti/drivers/GPIO.h>

i am getting error in that previous reference code for header file.  sir so can u suggest any exact solution or different code using semaphore led blink (TM4C123G6HPM)

  • You need to include the full build log. Please do not copy/paste into a reply post. Paste it into a file and attach that file.

    Todd
  • **** Build of configuration Debug for project task_TivaTM4C123GH6PM ****
    
    "D:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
     
    making ../src/sysbios/sysbios.aem4f ...
    gmake[1]: Nothing to be done for 'all'.
    'Building file: "../mutex.c"'
    'Invoking: ARM Compiler'
    "D:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/Users/sateesh/workspace_v7/task_TivaTM4C123GH6PM" --include_path="C:/ti/bios_6_73_01_01/packages/ti/posix/ccs" --include_path="D:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --define=ccs="ccs" --define=PART_TM4C123GH6PM -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="mutex.d_raw" --cmd_file="configPkg/compiler.opt" "../mutex.c"
    
    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'mutex.obj' failed
    "../mutex.c", line 48: fatal error #1965: cannot open source file "ti/drivers/GPIO.h"
    1 catastrophic error detected in the compilation of "../mutex.c".
    Compilation terminated.
    gmake: *** [mutex.obj] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • It looks like you are using the stand-alone SYS/BIOS product. This product does not have drivers. I'd recommend using TI-RTOS (which includes SYS/BIOS). Once installed and located by CCS (easiest way is to install TI-RTOS and restart CCS and it will discover TI-RTOS), you can change the application to use TI-RTOS via the project properties->General->Products tab. Uncheck SYS/BIOS and check TI-RTOS.

    Todd

  • i change these settings sir .in project properties   but i am getting same error . am using 3386.gpiointerrupt  this file only.i think i need header files  "Board.h "  and  "ti/driver/GPIO.h " .so share these  header files i will add in  project.

  • Hi Sateesh,

    Sorry, this fell through the cracks. Can you do a clean and delete the src and debug directories in the project. Then do a build and attach the full build log again.

    Todd

    [9/24 Update: Marking this as TI Thinks Resolved due to no activity from original poster.]