It has the correct label in the assembly code, START: , so it runs. I fixed that. Thanks.
Chris On Monday, July 20, 2020 at 2:21:39 PM UTC-7 Dennis Bieber wrote: > On Mon, 20 Jul 2020 13:58:13 -0700 (PDT), in > gmane.comp.hardware.beagleboard.user Christopher Hansen > <[email protected]> wrote: > > >My code on the PRU is in assembly, but it gets called from c, like this > >(PRU code here): > > > >#include <stdint.h> > >#include <pru_cfg.h> > >#include "resource_table_empty.h" > > > >// The function is defined in ledFlashASM.asm in same dir > >// Declaration is here, defination is linked to the .asm > >extern void start(void); > > > >void main(void) > >{ > > START(); > > Uhm... C is case sensitive, no? In which case your START() is not the > same as the extern start(). > > > -- > Dennis L Bieber > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/9e2b998a-ddb6-4978-a3c6-7c22730007cbn%40googlegroups.com.
