?? makefile_rtlinux
字號:
# Makefile for the test example with RTLinux V3all: testcom.oinclude ../../../rtl.mkclean: rm -f *.otest: all @echo "" @echo "This is the test for the rt_com driver." @echo "If you connect a modem to ttyS0 it" @echo "will respond OK to each AT command sended." @echo "First we remove any existing rtl-modules" @echo "You may see error warnings from \"make\" - ignore them" @echo "Type <return> to continue" @read junk -rmmod testcom -rmmod rt_com (cd $(RTL_DIR); scripts/rmrtl) @echo "Now insert the fifo and scheduler" @echo "Type <return> to continue" @read junk (cd $(RTL_DIR); scripts/insrtl) @echo "Now insert the driver module rt_com" @echo "Type <return> to continue" @read junk @setserial /dev/ttyS0 uart none @insmod ../rt_com.o @echo "Now start the real-time task module" @echo "Type <return> to continue" @read junk @insmod testcom.o @sleep 3 @echo "Now let's stop the application" @echo "Type <return> to finish" @read junk @rmmod testcom @rmmod rt_cominclude $(RTL_DIR)/Rules.make
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -