You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that I didn't run the hex conversion at this point because bin.cmd is missing. Also, you'll need to install the PRU compiler on the BeagleBone using 'apt-get update && apt-get install ti-pru-cgt-installer'.
@Guidomo To elaborate on @jadonk's suggestion in his Gist, you need to add the PAGE 2 block to your existing lnk.cmd (don't just replace the MEMORY section.) I'm using AM3359_PRU.cmd. Once I made my MEMORY section look like this, I was able to compile and link blinkled:
MEMORY
{
PAGE 0:
PRUIMEM: o = 0x00000000 l = 0x00001000 /* 8kB PRU0 Instruction RAM */
PAGE 1:
PRUDMEM: o = 0x00000000 l = 0x00001000 /* 8kB PRU Data RAM 0 */
PAGE 2:
MEM : org = 0x00026000 len = 0x00002000 CREGISTER=4
}
Hi,
when I try to compile the blinkled_pru.c file I get the following output:
undefined symbol: __PRU_CREG_MEM blinkled_pru.obj
first referenced in file: blinkled_pru.obj
error: unresolved symbols remain
error: errors encountered during linking; "PRU_tests.out" not built
hope somebody can help me.
The text was updated successfully, but these errors were encountered: