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.
Tool/software: TI C/C++ Compiler
Hello everyone, I'm new to the TivaC programming
I'm using DMA to transfer UART FIFO to buffer and it has the following error when I want to setup uDMA control table aligned to 1024-byte boundary.
.
#pragma DATA_ALIGN(ucControlTable, 1024)
error:
expression must be an integral constant expression
Anyone could help me, thanks in advance
when I build the uDMA_demo it said
cannot open source file "drivers/cfal96x64x16.h" cfal96x64x16.c /udma_demo/drivers line 43 C/C++ Problem
, I use CSS7 and TI v16.9.3.LTS compiler
Thank you.
Hi,
Normally the example should be ready to compile without user making any changes. Not sure why your include path is not up to date. You need to have your include path to include <TivaWare_Installation>/examples/boards/ek_tm4c123gxl. The drivers folder will be found there.
Hi,
Thanks, I can successfully build the udma_demo. But when I return to my project, it still have the same error.:
Description Resource Path Location Type
#159 expression must be an integral constant expression DMA.cpp /DMA line 27 C/C++ Problem
I use c++ for my whole project? is this the problem?
Please help me
regards.