X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=utils%2Fucmb%2FMakefile;h=8bce64afd45e0e7c5e3514abb2ebd8fce05ae6a5;hp=793fb9ee2e8b6b39eeaa5b8bb36b831b6010e2f7;hb=7f835873de98db76814d5ac733dfad67b89f61f6;hpb=4275481fd28de79943534364ab478e7b7e32018b diff --git a/utils/ucmb/Makefile b/utils/ucmb/Makefile index 793fb9ee2e..8bce64afd4 100644 --- a/utils/ucmb/Makefile +++ b/utils/ucmb/Makefile @@ -23,6 +23,19 @@ define KernelPackage/ucmb AUTOLOAD:=$(call AutoLoad,93,ucmb) endef +define KernelPackage/ucmb/description + The Microcontroller Message Bus is a tiny SPI-GPIO based communication + channel used to talk to microcontrollers over GPIO pins. + The lowlevel protocol is CRC16 protected, so one can be pretty sure + that the data transmitted and received through the /dev/ucmb node is not corrupted. + So no further checks should be needed at upper protocol layers. + 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. + Example implementations for the microcontroller-side code can be found in + the utils/ucmb/microcontroller_examples subdirectory of the OpenWRT packages feed. +endef + define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) ./driver/* $(PKG_BUILD_DIR)/