]> rtime.felk.cvut.cz Git - ortcan-www.git/commitdiff
USB-CAN firmware build instructions.
authorpisa <pisa@web>
Sat, 14 Jul 2012 12:12:29 +0000 (14:12 +0200)
committerocera <ocera@rtime.felk.cvut.cz>
Sat, 14 Jul 2012 12:12:29 +0000 (14:12 +0200)
lincan/usbcan/index.mdwn

index 8ee0e820ad90db4ca6bae0113f9ab2bd3ece8402..aec87a8f10882bb365500edc534cf55493918451 100644 (file)
@@ -9,6 +9,25 @@ as Linux kernel side support (for both [[LinCAN|lincan]] driver and SocketCAN fo
 LPC2148+SJA1000 and LPC1768 based hardware is supported by firmware which
 is based on [[LinCAN|lincan]] driver sources adapted to run on bare MCU hardware.
 
+The firmware sources are included in can-usb1 branch of [[LinCAN|lincan]] GIT repository.
+
+    git clone --branch can-usb1 git://ortcan.git.sourceforge.net/gitroot/ortcan/lincan
+    cd lincan
+
+Edit build-embedded.sh to select required target board. The default select LPC2148+SJA1000
+configuration. Change to next for LPC1768 based board
+
+    BUILD_DIR=embedded-build/lpc1768
+    OMK_CONFIG=embedded/board/arm/lpc17xx-common/config/config.usbcan
+
+The firmware can be found in appropriate build output directory
+
+    embedded-build/lpc1768/_compiled/bin
+
+The uLAN USB boot block is expected by default LPC1768 firmware build
+for for firmware flashing and startup but variant for direct startup
+can be compiled as well.
+
 SocketCAN Linux side support is included in branch vanekjir branch of
 [Real-Time Systems group][rtime]'s clone of [SocketCAN GIT][rtime-socketcan-devel].