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

Compilation with TICLANG compiler fails if a BLE5Stack API function is called without argument

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • SimpleLink CC13x2-26x2 SDK BLE5 Stack
    • BLE_AGAMA-4033
    • Hide
      BLE Stack BLE5-2.2.6
      BLE Stack BLE5-2.2.7 RC9
      Show
      BLE Stack BLE5-2.2.6 BLE Stack BLE5-2.2.7 RC9
    • Hide
      BLE Stack BLE5-2.2.8
      BLE Stack BLE5-2.2.8 RC3
      Show
      BLE Stack BLE5-2.2.8 BLE Stack BLE5-2.2.8 RC3
    • Hide
      CC26X2R1
      CC1352R1
      CC1352P1
      CC1352P-2
      CC1352P-4
      CC2652R1
      CC2652RB(BAW)
      CC2642R-Q1
      CC2652R7
      CC1352P7-1
      CC1352P7-4
      CC2652xSIP/A
      CC2651R
      CC2651P
      Show
      CC26X2R1 CC1352R1 CC1352P1 CC1352P-2 CC1352P-4 CC2652R1 CC2652RB(BAW) CC2642R-Q1 CC2652R7 CC1352P7-1 CC1352P7-4 CC2652xSIP/A CC2651R CC2651P

      BLE5Stack API functions called without argument trigger compilation errors ("expected expression") when compiling with TICLANG compiler (all versions).

      Suggested workaround: An empty string ("") should be passed as argument for the BLE5Stack API functions expecting void as argument. For example, the function ```bStatus_t GAPBondMgr_GenerateEccKeys (void)``` should be called as following ```GAPBondMgr_GenerateEccKeys("");```.
      Passing an empty string ("") to BLE5Stack API functions expecting void as argument has no effect on the BLE5Stack functioning.

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

              Created:
              Updated:
              Resolved: