Skip to content

Cannot open pwm_cfg.h #2

@oscarjgv24

Description

@oscarjgv24

Hi,

I am having this problem and cant seem to fix it.

I ran the install.sh and prureboot.sh in the pru library and then proceeded to test the examples for the pwm generation. Followed the suggestions in the README file

Run the programs in this order:

  1. Go to [http://elinux.org/EBC_Exercise_30_PRU_via_remoteproc_and_RPMsg] for instructions on how to set up your Bone for PRU development via remoteproc.
  2. ./setup.sh - Runs config-pin to make set all pin muxes to pruout
  3. make pwm-test - Compile pwm-test.c
  4. ./pwm-test - Writes the on/off times into shared memory
  5. make install - Compiles the PRU code and starts running it

and I got this error.

countOn: 17, countOff: 3, count: 20
countOn: 18, countOff: 2, count: 20
munmap succeeded
root@beaglebone:/var/lib/cloud9/pru/examples/pwm# make install
CC main_pru1.c
"main_pru1.c", line 38: fatal error #1965: cannot open source file "pru_cfg.h"
1 catastrophic error detected in the compilation of "main_pru1.c".
Compilation terminated.

Compilation failure
Makefile:94: recipe for target 'gen/main_pru1.object' failed
make: *** [gen/main_pru1.object] Error 1
root@beaglebone:/var/lib/cloud9/pru/examples/pwm#

Could you help?

Regards,
Oscar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions