⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile_rtlinux

📁 最新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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -