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/TM4C129ENCPDT: Upgrading TI-RTOS - Config File Format

Part Number: TM4C129ENCPDT

Tool/software: TI-RTOS

I am upgrading from TI-RTOS 2.14.04.313 to 2.16.01.14

I understand there were changes in some of the config file commands, specifically my question is moving:

var TIRTOS = xdc.useModule('ti.tirtos.TIRTOS');
TIRTOS.useSPI = true;
TIRTOS.useGPIO = true;

to the new format. 

from  

and here:  

I found the replacement for the TI-RTOS line, but is there an equivalent for enabling SPI and GPIO?

Thanks.

  • Hi Mike,

    We deprecated the TIRTOS module. To get the drivers library pulled in, add the following:

    var driversConfig = xdc.useModule('ti.drivers.Config');
    driversConfig.libType = driversConfig.LibType_NonInstrumented;
    //driversConfig.libType = driversConfig.LibType_Instrumented;

    I'd look at a .cfg file from an example in the 2.16 release. We tried to document the settings more. We also included several options that omitted in the 2.14 release (omitted because we were using the default setting...now we explicitly set them).

    Todd

  • Thanks Todd,

    It looks like the code you provided is the new replacement for 

    var TIRTOS = xdc.useModule('ti.tirtos.TIRTOS');

    My question is whether or not there is an equivalent for the SPI and GPIO modules? Or are the pulled in automatically with the above line plus

    var mwConfig = xdc.useModule('ti.mw.Config');

    I've already looked through all examples that came with 2.16 and there is no mention of explicitly calling out SPI or GPIO.

    Thanks

  • Mike,

    All the driver library (which includes SPI, GPIO, etc.) is now pulled in by the var driversConfig = xdc.useModule('ti.drivers.Config');. We don't support the drivers being displayed in ROV anymore, so the individual lines like TIRTOS.useGPIO = true; are not needed.

    The var mwConfig = xdc.useModule('ti.mw.Config') line pulls in middleware modules like FatFS.

    Todd