aboutsummaryrefslogtreecommitdiffstats
path: root/src/pru/internal.h
Commit message (Collapse)AuthorAgeFilesLines
* command: Don't pass max_size to command_encodef()Kevin O'Connor2017-08-141-1/+2
| | | | | | | | | The command_encodef() can read the max_size parameter directly from the 'struct command_encoder' passed into it. Also, there is no need to check that a message will fit in a buffer if the buffer is declared to be MESSAGE_MAX in size. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pru: Use a pointer when working with send_data array itemsKevin O'Connor2017-06-301-4/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pru: Rework command processing so that most of it is done on pru0Kevin O'Connor2017-06-301-2/+8
| | | | | | | | Change the command dispatch and response generation so that most of the work is done on pru0 instead of pru1. This allows more code to fit into the limited space on pru1. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pru: Add support for ADC inputKevin O'Connor2017-05-171-1/+32
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pru: Move communication code to second PRUKevin O'Connor2017-05-171-8/+29
| | | | | | | Perform input and output in the second PRU so that more space is available in the primary PRU. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pru: Initial support for the Beaglebone PRUKevin O'Connor2017-05-151-0/+18
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>