Hello Team,
Iam trying to port a project assembled in PASM to the PRU- compile/assembler v2.1.2
When compiling one of the sources, I run into the below issue.
Building file: ../switch_MII_Rcv.asm'
'Invoking: PRU Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-pru_2.1.2/bin/clpru" -v3 --include_path="C:/ti/ccsv6/ccs_base/pru/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-pru_2.1.2/include" -g --define=am5718 --define=icss1 --define=pru0 --diag_wrap=off --diag_warning=225 --display_error_number --endian=little --hardware_mac=on --preproc_with_compile --preproc_dependency="switch_MII_Rcv.pp" "../switch_MII_Rcv.asm"
"../switch_MII_Rcv.asm", INTERNAL ERROR!: FB_CHECK_QUEUE_2 defined differently in each pass
This may be a serious problem. Please contact customer support with a
description of the problem and a sample of the sourcefile that caused this
message to appear.
Though this compiles fine on PASM, Iam unable to do so in the PRU assembler.
Let me know if further diagnostic information is necessary(and how to retrienve the same).
The label FB_CHECK_QUEUE_2 is uniquely defined in the source.
Please let me know if a fix/workaround is possible.
Appreciate your help!
Thanks,
Prashant.