X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=utils%2Fucmb%2FMakefile;h=9828c69586cb8664f8b408bda64f48adbc3e279d;hp=8bce64afd45e0e7c5e3514abb2ebd8fce05ae6a5;hb=ba66eb396db0ab47c5627fc47d872821ad2d4118;hpb=b4f7fe73452286e868d0645f5b1ded08619d58c8 diff --git a/utils/ucmb/Makefile b/utils/ucmb/Makefile index 8bce64afd4..9828c69586 100644 --- a/utils/ucmb/Makefile +++ b/utils/ucmb/Makefile @@ -18,7 +18,7 @@ define KernelPackage/ucmb DEPENDS:=@LINUX_2_6 +kmod-spi-gpio +kmod-crc16 KCONFIG:=CONFIG_SPI=y \ CONFIG_SPI_MASTER=y - TITLE:=Microcontroller Message Bus (EXPERIMENTAL) + TITLE:=Microcontroller Message Bus FILES:=$(PKG_BUILD_DIR)/ucmb.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,93,ucmb) endef @@ -32,6 +32,8 @@ define KernelPackage/ucmb/description 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 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 the utils/ucmb/microcontroller_examples subdirectory of the OpenWRT packages feed. endef