Remove JLinkMem Dependency

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hi Kenny,

    OS_SetPRIMASK() does not use OS_JLINKMEM_BufferSize at all.
    Did you get this as a linker error message?
    You can completey remove OS_JLINKMEM_BufferSize only with the embOS source version but if you don't want to use the J-Link Buffer you can just disable the embOSView communication in the RTOSInit.c
    This is already done in the Release configuration.

    Please don't hesitate to contact us directly per email.
    You can find the embOS support email address in chapter "Support" of the embOS manual.

    Best regards,
  • Hi Til,

    Yes. That was a linker error that I posted.

    I don't have any code related to EMBOS View in my RTOS integration code only the definition of this variable. Currently I have just set it to zero.

    I have the object-code license. In this case is this the best I can do? It seems that the library wants that defined.
  • Hi Kenny,

    actually the linker error message is capable of being misunderstood because OS_JLINKMEM_BufferSize is not used in OS_SetPRIMASK() but at other places in the RTOS.asm.
    Setting it to zero is the correct solution as long as you have the object code version only.
    With the source code version you could remove it completely but that is not necessary.

    Please be aware it is not guaranteed that we answer here in a short time (or at all).
    Since you have a valid embOS license please use the support email address.
    This gives us the chance to answer your questions within a few minutes.

    Best regards,