Skip to content

Instantly share code, notes, and snippets.

@vmayoral
Created March 5, 2014 20:13
Show Gist options
  • Save vmayoral/9375643 to your computer and use it in GitHub Desktop.
Save vmayoral/9375643 to your computer and use it in GitHub Desktop.
root@erlerobot:~/pru/PRUSS-C/PRUSS_LIB/example# pwd
/root/pru/PRUSS-C/PRUSS_LIB/example
root@erlerobot:~/pru/PRUSS-C/PRUSS_LIB/example# echo $PATH
/root/pru/PRUSS-C/PRUSS_LIB:/root/pru/ARMLinuxA8/bin:/root/pru/ARMLinuxA8/:/root/pru/ARMLinuxA8/example:/root/catkin_ws/devel/bin:/opt/ros/groovy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
root@erlerobot:~/pru/PRUSS-C/PRUSS_LIB/example# echo $PRUSS_BASE_PATH
/root/pru/PRUSS-C/PRUSS_LIB
root@erlerobot:~/pru/PRUSS-C/PRUSS_LIB/example# echo $PRUSS_BASE_DIR
/root/pru/PRUSS-C/PRUSS_LIB
root@erlerobot:~/pru/PRUSS-C/PRUSS_LIB/example# make
make: Warning: File `Makefile' has modification time 4.5e+08 s in the future
mkdir -p build
clpru --silicon_version=3 -o1 -Dam335x -I/ARMLinuxA8/lib -I/ARMLinuxA8/include -I/AM335X_StarterWare_02_00_01_01/include -I/AM335X_StarterWare_02_00_01_01/include/arm7a -I/AM335X_StarterWare_02_00_01_01/include/hw -I/AM335X_StarterWare_02_00_01_01/platform/beaglebone blinkled.c -z /ARMLinuxA8/example/AM3359_PRU.cmd -o build/blinkled.out -m blinkled.out.map
>> WARNING: "-I/ARMLinuxA8/lib -I/ARMLinuxA8/include -I/AM335X_StarterWare_02_00_01_01/include -I/AM335X_StarterWare_02_00_01_01/include/arm7a -I/AM335X_StarterWare_02_00_01_01/include/hw -I/AM335X_StarterWare_02_00_01_01/platform/beaglebone": Path not found. Use semicolons (not spaces) to separate pathnames in environment variable PRU_C_DIR.
"blinkled.c", line 1: fatal error: cannot open source file "gpio_v2.h"
1 catastrophic error detected in the compilation of "blinkled.c".
Compilation terminated.
>> Compilation failure
make: *** [build/blinkled.out] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment