Skip to main content
Eleon BORLINI
ST Employee
October 27, 2021
Solved

What is the size of the generated (C) code once Unico has completed its job?

..

    This topic has been closed for replies.
    Eleon BORLINI
    Eleon BORLINIBest answer
    ST Employee
    October 27, 2021

    Unico-GUI generates configurations in terms of .ucf files. A .ucf file for MLC configuration usually contains few hundreds of lines (each line is a write operation to sensor registers). The .ucf file can be converted to a header file (.h), to easily integrate this write operations in a C-code (e.g. a driver). An example of integration of .h file in a platform independent driver is available HERE.

    Examples of .ucf and .h files are available in our application examples in GitHub.

    As you can see from the .h files contained in the GitHub repository the size can be from few Kilobytes to few tens/hundreds of Kilobytes.

    1 reply

    Eleon BORLINI
    Eleon BORLINIAuthorBest answer
    ST Employee
    October 27, 2021

    Unico-GUI generates configurations in terms of .ucf files. A .ucf file for MLC configuration usually contains few hundreds of lines (each line is a write operation to sensor registers). The .ucf file can be converted to a header file (.h), to easily integrate this write operations in a C-code (e.g. a driver). An example of integration of .h file in a platform independent driver is available HERE.

    Examples of .ucf and .h files are available in our application examples in GitHub.

    As you can see from the .h files contained in the GitHub repository the size can be from few Kilobytes to few tens/hundreds of Kilobytes.