Tool/software: TI C/C++ Compiler
I am trying to create two -array type files for the .text and .data segments so I can load them on a bare metal machine.
I had hoped to create C arrays, using --array option, but I haven't been able to figure out the details.
Are there any examples of PRUHex.cmd files set up to do this?
My problem is that the .data segment start address is not included in the file. I can fix that by getting the data segment to load into PRU DMem before the .stack and .bss segments. I tried removing section names, but that didn't have any effect that I can see.
The other workable issue is that it seems to create two files - one for the code segment and one for the data segment. Ideally, i would get these into one file.
I have been through section 12 of the PRU assembly language reference yet can't get the desired output.