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.

Compiling modified SYSBIOS UART driver

Hi all,

I am currently working on modifying UART driver in sys/bios for cortex m3 family LM3S9D96 controller.I also have CCSV5. I downloaded the MCUSDK and able to modify the driver according to my needs. Now I want to compile the driver as an individual component. I gone through the data sheet(spruch4a.pdf) provided and did modifications in mcusdk.mak file. How do I proceed from here? Do I need to download arm-gcc tool chain for cortex m3 family or CCSV5 is enough to compile it?

I appreciate any guidance.

Thnaks

  • You can run the "gmake" command described in section 9.1 of spruhd4a.pdf. This will rebuild all of the driver libraries. The location of the codegen tools are specified in the mcusdk.mak file.

    Todd

  • Hi Todd,

    Thanks for your reply. It has been useful for me.

    I followed your guidelines and could able to compile the mcusdk. However, I am facing one problem. I have modified the UART driver in sys/bios in the directory /ti/mcusdk_1_00_00_68/packages/ti/drivers ie UART.C and UART.h. These two files are utilizing the UART driver functions from ti/mcusdk_1_00_00_68/products/StellarisWare_9107/driverlib. When I make changes in uart.c from driverlib, there are no changes resulting when compiled. Even if I make some syntactical mistake, the compiler is not showing any error.

    Help me solve this problem.

    Thanks

  • If you make changes to the driverlib files (e.g. uart.c and uart.h), you'll need to rebuild driverlib. To do this, import the driverlib CCS project and rebuild it.

    Todd