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.

switch from tirtos 2.00.01.23 to 2.10.01.38 (for TIVA)

Other Parts Discussed in Thread: TM4C1231H6PGE

I use TIVA tm4C1231h6pge.

I want to switch from tirtos 2.00.01.23 to 2.10.01.38. I use UART, I2C and Watchdog, and my old cfg file is like this:

...
var TIRTOS = xdc.useModule('ti.tirtos.TIRTOS');
var UART = xdc.useModule('ti.drivers.UART');
UART.libType = UART.LibType_NonInstrumented;
var Watchdog = xdc.useModule('ti.drivers.Watchdog');
Watchdog.libType = Watchdog.LibType_NonInstrumented;
var I2C = xdc.useModule('ti.drivers.I2C');
I2C.libType = I2C.LibType_NonInstrumented;
...

switching to tirtos 2.10.01.38 I have the following warnings:

warning: ti.drivers.UART: "/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/tirtos_tivac_2_10_01_38/packages/ti/drivers/UART.xs", line 51: ti.drivers.UART : Setting the UART.libType field is no longer supported. Please use the ti.tirtos.TIRTOS.libType field to enable/disable logging and assert checking.
warning: ti.drivers.Watchdog: "/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/tirtos_tivac_2_10_01_38/packages/ti/drivers/Watchdog.xs", line 44: ti.drivers.Watchdog : Setting the Watchdog.libType field is no longer supported. Please use the ti.tirtos.TIRTOS.libType field to enable/disable logging and assert checking.
warning: ti.tirtos.TIRTOS: "/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/tirtos_tivac_2_10_01_38/packages/ti/tirtos/TIRTOS.xs", line 89: ti.tirtos.TIRTOS : The I2C module is deprecated. Please set ti.tirtos.TIRTOS.useI2C to true in the .cfg instead (via graphical tool or text editor).
warning: ti.tirtos.TIRTOS: "/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/tirtos_tivac_2_10_01_38/packages/ti/tirtos/TIRTOS.xs", line 112: ti.tirtos.TIRTOS : The UART module is deprecated. Please set ti.tirtos.TIRTOS.useUART to true in the .cfg instead (via graphical tool or text editor).
warning: ti.tirtos.TIRTOS: "/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/tirtos_tivac_2_10_01_38/packages/ti/tirtos/TIRTOS.xs", line 122: ti.tirtos.TIRTOS : The Watchdog module is deprecated. Please set ti.tirtos.TIRTOS.useWatchdog to true in the .cfg instead (via graphical tool or text editor).

So I wonder how do I should modify the cfg file.

I suppose that I have to use

ti.tirtos.TIRTOS.useUART = true
ti.tirtos.TIRTOS.useI2C = true
ti.tirtos.TIRTOS.useWatchdog = true

but I don't how to translate the libType settings. IS suggested to use ti.tirtos.TIRTOS.libType, but this is system wide setting, isn't it? I have 3 different settings for libType

I also wonder I2C.libType field is still supported, since I don't get a warning about it.

best regards

Max