Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update references to OCSDK objects

When building the bms_monitor an On-Chip SDK project, you may see a warning like the following warning:

Warning[Lt009]: Inconsistent wchar_t size
assert.obj(libbmslibip_stack.a) and 239 other objects in 4 different libraries have wchar_t size 16 bits
bmsgpio_monitor_apiapp.o and 26 other objects, some of them in dl7M_tln.a and 8 other libraries have wchar_t size 32 bits

This occurs because the stack library for WBMS was built using IAR 7.x, and the wchar_t size changed in IAR 8.x.  The stack and bms_monitor application On-Chip SDK applications do not use wchar_t so it is safe to ignore this warning.

You can suppress it in the project settings:

In Project->Options->Linker->Diagnostics
Select >Linker→Diagnostics, select Suppress these diagnostics and specify Lt009

...