You can choose to:
- Run Directly: Use
mysnake.kodirectly. - Compile First: Compile
mysnake.cand then run the resulting.kofile.
- Change Directory:
- Navigate to the folder that contains
mysnake.candMakefile.
- Navigate to the folder that contains
- Source Environment:
- Execute
source /ad/eng/courses/ec/ec535/bashrc_ec535.
- Execute
- Compile:
- Make the source file and move the
.kofile to the root directory:make
- Make the source file and move the
-
Device Setup:
- Set up the device and the serial console.
- Press-and-Hold the S2 Button: Do this before, during, and for the first 3 seconds after connecting the power.
-
Pin Connections:
- Up-Command: GPIO_26
- Right-Command: GPIO_46
- Down-Command: GPIO_47
- Left-Command: GPIO_27
- Create Device Node:
mknod /dev/myscreensaver c 61 0 insmod /root/myscreensaver.ko
- Directly use .ko:
insmod /root/mysnake.ko