Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-10025

RTS function add_device should take const char * as first parameter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-8105
    • Hide
      C7000_1.4.0.LTS
      C6000_8.2.0
      C6000_8.3.0
      MSP430_20.2.0.LTS
      C2000_20.8.0.STS
      PRU_2.3.0
      ARM_20.2.0.LTS
      C2000_20.2.0.LTS
      Show
      C7000_1.4.0.LTS C6000_8.2.0 C6000_8.3.0 MSP430_20.2.0.LTS C2000_20.8.0.STS PRU_2.3.0 ARM_20.2.0.LTS C2000_20.2.0.LTS
    • Hide
      C7000_1.4.1.LTS*
      MSP430_18.12.7.LTS*
      ARM_18.12.7.LTS*
      C6000_8.2.10*
      C6000_8.3.9*
      C2000_20.2.3.LTS*
      C2000_18.12.7.LTS*
      PRU_2.3.4*
      ARM_20.2.3.LTS*
      MSP430_20.2.3.LTS*
      Show
      C7000_1.4.1.LTS* MSP430_18.12.7.LTS* ARM_18.12.7.LTS* C6000_8.2.10* C6000_8.3.9* C2000_20.2.3.LTS* C2000_18.12.7.LTS* PRU_2.3.4* ARM_20.2.3.LTS* MSP430_20.2.3.LTS*
    • default

      The TI RTS function add_device, which is used to add a custom output device so that it can be used with C I/O functions like printf, should declare its first argument, the device name, as "const char *" instead of "char *". Without this fix, you will get a warning in C++ if you try to use add_device: conversion from a string literal to "char *" is deprecated

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: