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/EK-TM4C123GXL: I can't modify UARTTivaDMA.c file.Changes that I make do not apply to the compilation.

Part Number: EK-TM4C123GXL

Tool/software: TI-RTOS

Hello,

I am using TI-RTOS empty example as a template for my application.

Lately I wanted to modify UARTTivaDMA.c file. I wanted to simplify UART_write funtion so it would just trigger previously configured DMA channel, not configuring a chanel every time I'm sending via UART.

Sadly I noticed that whatever changes I make it does not compile and my changes do not have any efect.

Is it that I'm doing something wrong? Is there a way to recompile delivered files with my changes?

  • Hi Ewaryst,

    This file is part of a library (e.g. C:\ti\tirtos_tivac_2_16_01_14\products\tidrivers_tivac_2_16_01_13\packages\ti\drivers\lib\drivers_tivaware.aem4f). Are you rebuilding this library after you make the changes? Details for rebuilding are in the User Guide.

    Another option is to simply include the UARTTivaDMA.c file into your project. Since it is first in the link, it will be used instead of the functions from that file in the library.

    Todd
  • Hello Todd,

    I am just trying to just copy UARTTivaDMA c and h files into my project. Right now everything seems to bo fine. Thanks for the advice, I am surprised that I did not see this myself. Well I think it is just a metter of experience. Thanks very much again.