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.

TMS570LC4357: User assembly code in .asm file

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool/software:

I would like to make the jumpTable global in os_portasm.asm file, something like:

;USER CODE BEGIN (0)
        .global    jumpTable
;USER CODE END

similar to how Halcogen creates user code sections for .c files.

In particular, I want to be able to add user assembly code to an .asm Halcogen generated file without Halcogen overwitting it every time I re-generate code.

Do such markers exist for assembly files?

Kind regards.

  • Hi Jerry,

    Seems like this is not possible to .asm files, the user code section looks like applicable for only .c, .h and .cmd files only.

    ;USER CODE BEGIN (0)
            .global    jumpTable
    ;USER CODE END

    I tried this and i also tried other things but all the time the USER CODE block always replacing by new generated code in .asm file.

    So, this seems to be not possible.

    If you want to customize .asm API's then the only way is that we should manually create new .asm file and add the API and modify according to our requirements. And as the manually added files will not get replaced by HALCoGen generated code, our changes will remain as it is.

    --
    Thanks & regards,
    Jagadish.

  • Thank you Jagadish,

    Maybe this feature can be suggested for the next version of Halcogen?

    Wishing all the best,

    Jerry

  • Hi Jerry,

    I will log this as a requirement for HALCoGen,

    However, there is no plan for new release in HALCoGen. Because a small modification on the tools of these functional safety devices involves lot of citification process.

    --
    Thanks & regards,
    Jagadish.