ucmb is not experimental anymore
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15078 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f07ce0dda2
commit
61e40ad46d
@ -15,7 +15,7 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/ucmb-tools
|
define Package/ucmb-tools
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
TITLE:=Microcontroller Message Bus tools (EXPERIMENTAL)
|
TITLE:=Microcontroller Message Bus tools
|
||||||
DEPENDS:=+kmod-ucmb
|
DEPENDS:=+kmod-ucmb
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ define KernelPackage/ucmb
|
|||||||
DEPENDS:=@LINUX_2_6 +kmod-spi-gpio +kmod-crc16
|
DEPENDS:=@LINUX_2_6 +kmod-spi-gpio +kmod-crc16
|
||||||
KCONFIG:=CONFIG_SPI=y \
|
KCONFIG:=CONFIG_SPI=y \
|
||||||
CONFIG_SPI_MASTER=y
|
CONFIG_SPI_MASTER=y
|
||||||
TITLE:=Microcontroller Message Bus (EXPERIMENTAL)
|
TITLE:=Microcontroller Message Bus
|
||||||
FILES:=$(PKG_BUILD_DIR)/ucmb.$(LINUX_KMOD_SUFFIX)
|
FILES:=$(PKG_BUILD_DIR)/ucmb.$(LINUX_KMOD_SUFFIX)
|
||||||
AUTOLOAD:=$(call AutoLoad,93,ucmb)
|
AUTOLOAD:=$(call AutoLoad,93,ucmb)
|
||||||
endef
|
endef
|
||||||
@ -32,6 +32,8 @@ define KernelPackage/ucmb/description
|
|||||||
The device node considers every read/write to be one packet. The maximum packet
|
The device node considers every read/write to be one packet. The maximum packet
|
||||||
size is either PAGE_SIZE (at least 4kb) or the microcontroller specific packet size
|
size is either PAGE_SIZE (at least 4kb) or the microcontroller specific packet size
|
||||||
limit, which is likely to be a lot smaller than PAGE_SIZE.
|
limit, which is likely to be a lot smaller than PAGE_SIZE.
|
||||||
|
To register an ucmb device, simply create a struct ucmb_platform_data
|
||||||
|
and register it via ucmb_device_register() from another kernel module.
|
||||||
Example implementations for the microcontroller-side code can be found in
|
Example implementations for the microcontroller-side code can be found in
|
||||||
the utils/ucmb/microcontroller_examples subdirectory of the OpenWRT packages feed.
|
the utils/ucmb/microcontroller_examples subdirectory of the OpenWRT packages feed.
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user