This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HERCULES-F021FLASHAPI: link F021 library in IAR 8.5.10 question on w_char type

Part Number: HERCULES-F021FLASHAPI

we have worked with IAR support and we might have a way to link your F021 library in IAR 8.5.10. However I’ll need a confirmation from ti on one last hurdle:

Is w_char type either not used or used only internally inside the library (there is no “type casting” over data pointers passed into the library)?

  • Hi Calex36,

    As far as I know, the F021 flash library does not supports wchar_t of 4-bytes width. I have filled a ticket to update the library, but don't a timeline now.

  • Latest 

    Thanks for the response, but I’m not asking for 4byte support. I’m asking if w_char type is used at all in your F021 library.

     

    Your compiler automatically adds info about all basic types to the list inside the final library no matter if the type is used or not. So if you are

    not referencing the w_char type inside your project I can still safely use the library as it is. Despite my compilator warning that the types are incompatible.

    Your engineers can simply do a search for w_char inside their source code. This only takes few seconds if they didn’t lost the code.

  • Hi Calex36,

    I didn't find wchar_t in our source code (*.c and *.h).