XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Not Prioritized
    • SITSW-7506
    • 11.02.00
    • am243x-lp

      On AM243-LP MCU PLUS SDK, pick an example under: C:\ti\mcu_plus_sdk_am243x_INSTALL_PATH\examples\empty\am243x-lp\r5fss0-0_nortos\ti-arm-clang

      1. Add UART and have the configurations same as the AM243-EVM DMA LLD application.
      2. Upon building the application, the errors generated are: 
       Compiling: am243x:r5fss0-0:nortos:ti-arm-clang empty.debug.out: generated/ti_drivers_config.c
      C:/ti/ccs1270/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb -Wall -Werror -g -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function  -D_DEBUG_=1  -IC:/ti/ccs1270/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS/include/c -IC:/ti/mcu_plus_sdk_am243x_10_00_00_20/source -Igenerated   -DSOC_AM243X   -MMD -o obj/debug//ti_drivers_config.obj generated/ti_drivers_config.c
      generated/ti_drivers_config.c:45:27: error: use of undeclared identifier 'CONFIG_UART_NUM_INSTANCES'
      uint32_t gUartConfigNum = CONFIG_UART_NUM_INSTANCES;
                                ^
      generated/ti_drivers_config.c:47:25: error: use of undeclared identifier 'CONFIG_UART_NUM_INSTANCES'
      UART_Config gUartConfig[CONFIG_UART_NUM_INSTANCES] =
                              ^
      2 errors generated.
      gmake: *** [makefile:153: ti_drivers_config.obj] Error 1 

      The issue is that gUartConfig and gUartConfigNum shows up in the generated map file but it is not supposed to be there. Internally the SysConfig uses the file: C:\ti\mcu_plus_sdk_am243x_INSTALL_PATH\source\sysconfig\drivers\.meta\uart\templates\uart_config_v0_lld.c.xdt

      But in the map file the two variables defined above: gUartConfig and gUartConfigNum are named inside of C:\ti\mcu_plus_sdk_am243x_INSTALL_PATH\source\sysconfig\drivers\.meta\uart\templates\uart_config_v0.c.xdt

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

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-5733 - UART DMA LLD Build issue
                SYNCHRONIZED
                • Last Sync Date: