From 937a7bae74963a13197d6e978eb723e3ccace0fe Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Sun, 3 Jul 2016 14:40:35 +0200 Subject: [PATCH 1/2] Added docs. --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82b3e96db2a..ba6644a333b 100644 --- a/README.md +++ b/README.md @@ -1 +1,23 @@ -# carkot \ No newline at end of file +This repository contains source code for Kotlin minicar control facility. + + + Raspberry Pi. + + Download Raspberry Pi FS image (for 16G microSD) here: +https://drive.google.com/file/d/0B16LpTmDcUUhLWwyMW5YUDZ5UW8/view?usp=sharing +unbzip2 it, and put it to the card with +sudo dd of=/dev/mmcblk0 if=./microsd.img bs=1M + + Use user 'kotlin', password 'JetBrains', or 'pi', password 'raspberri'. + + If not using provided image, please add file 49-stlinkv2-1.rules +with content + SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b", \ + MODE:="0666", \ + SYMLINK+="stlinkv2-1_%n" +to directory /etc/udev/rules.d. + + To flash a binary program manually, use provided st-flash utility, like this + st-flash write program.bin 0x08000000 + + Also not that st-util can be used as GDB stub for on-device development. From 0a8cb879508b14bd2760ce7c379fe7adfc33a01d Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Sun, 3 Jul 2016 14:41:57 +0200 Subject: [PATCH 2/2] Fix typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba6644a333b..2f55ddc4afa 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ https://drive.google.com/file/d/0B16LpTmDcUUhLWwyMW5YUDZ5UW8/view?usp=sharing unbzip2 it, and put it to the card with sudo dd of=/dev/mmcblk0 if=./microsd.img bs=1M - Use user 'kotlin', password 'JetBrains', or 'pi', password 'raspberri'. + Use user 'kotlin', password 'JetBrains', or 'pi', password 'raspberry'. If not using provided image, please add file 49-stlinkv2-1.rules with content