arm.c 193 B

1234567891011
  1. /* Shared buffer between ARM and PRU0 */
  2. extern volatile char shared_buf[100];
  3. int main()
  4. {
  5. /* Invoke PRU */
  6. /* Perform a read from the shared buffer */
  7. return shared_buf[10];
  8. }