Le mardi 18 août 2015 23:51:38 UTC-3, William Hermans a écrit : > > *Can I ask you why do you want to use C language and not bare assembly?* > > > I think the more important question would be: > > "why use asm when there is a C compiler" > > But like with anything else. Everyone is different. >
I tend to agree with that most of the time. Maybe I am biasing my question on a limited experience with PRU applications. >From my point of view PRU are good for relatively simple tasks, that should be fast and kept independent from ARM and the OS load. C seems to be a logic choice for the majority of the cases, but if (and here I beg to my only experience with PRU), there are some critical timing involved, like ensuring some actions are performed periodically. Is it possible and simple to keep track of the execution time (the number of pru clock cycles) a piece of code written in C takes to execute? -- 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]. For more options, visit https://groups.google.com/d/optout.
