BeagleBoard-exercises icon indicating copy to clipboard operation
BeagleBoard-exercises copied to clipboard

Cannot open pwm_cfg.h

Open oscarjgv24 opened this issue 6 years ago • 1 comments

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

oscarjgv24 avatar Sep 02 '17 13:09 oscarjgv24

Sorry, I didn't see this. Are you still having this problem?

MarkAYoder avatar Dec 15 '20 00:12 MarkAYoder