Uploaded image for project: 'CIFX Toolkit'
  1. CIFX Toolkit
  2. NXDRVTKIT-139

Unify OS_* functions in API header and supplied template implementation

    Details

    • Type: Change
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V2.7.0.0
    • Component/s: cifX/netX Toolkit
    • Labels:
      None
    • Sprint:
      SPCIOL IT3.1
    • Account:
      SDO Driver (SDODRIVER)

      Description

      • Prototype and stub of OS_Memset() differ in parameter type:
      void     OS_Memset(void* pvMem, unsigned char bFill, uint32_t ulSize); /* OS_Dependent.h */
      void     OS_Memset(void* pvMem, uint8_t       bFill, uint32_t ulSize); /* OS_Custom.c */
      • Small deviations in names of function parameters:
        • OS_Init(): void vs none
        • OS_Denit(): void vs none
        • OS_FileOpen(): pulFileSize vs pulFileLen
        • OS_Strncpy(): ulLen vs ulLength
      • OS_IrqLock() and OS_IrqUnlock() functions are not supplied in template file.

      • OS_Time() paramters should be changed to 64Bit types

      Fixing these will aid users implementing the toolkit.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  LContreras Luis Contreras [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: