diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-08-26 03:41:05 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-08-26 03:41:05 +0200 |
commit | e40620cbe225b1a81c751b1344a46e34eec16d2b (patch) | |
tree | d08e2124eee11370fb8fd4d81a852f9b8c864f82 /README | |
parent | rename external lib stdperiph to spl (diff) |
added stm8s-discovery board and some more init fixup
Diffstat (limited to 'README')
-rw-r--r-- | README | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -6,6 +6,37 @@ sdcc libusb-dev (for stm8flash) +udev example rules +================== + +STM8S-Discovery: +---------------- + +SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3744", MODE:="0666", GROUP:="dialout", SYMLINK+="stlink_%n" + +The discovery board also emulates an USB mass storage device. However the +implementation is buggy and it doesn't really work with linux. It's best to +just ignore the usb-storage endpoints. You can do this temporarly using the +following command: + + # echo "0483:3744:i" >/sys/module/usb_storage/parameters/quirks + +To make this permanent, create a file '/etc/modprobe.d/stdiscovery.conf' with +the following content: + +<snip> +options usb-storage quirks=0483:3744:i +</snip> + +The changes will take effect on next reboot or after manually unloading the +usb-storage driver + + # modprobe -r usb_storage + +This might not work if there is another device connected that is or emulates +an USB storage device. + + Build ===== |