BeagleBoard-exercises
BeagleBoard-exercises copied to clipboard
Cannot open pwm_cfg.h
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:
- 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.
-
./setup.sh
- Runs config-pin to make set all pin muxes to pruout -
make pwm-test
- Compile pwm-test.c -
./pwm-test
- Writes the on/off times into shared memory -
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
Sorry, I didn't see this. Are you still having this problem?