This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Create a rule for the DFU | |
$ (echo '# DFU (Internal bootloader for STM32 MCUs)' echo 'ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="0664", GROUP="plugdev"') | sudo tee /etc/udev/rules.d/45-stdfu-permissions.rules > /dev/null | |
2. Monitor connection and find your model (unplug/plug the fc while this cmd is active) | |
$ udevadm monitor --environment --udev | grep ID_MODEL_ID | |
3. Update the /etc/udev/rules.d/45-stdfu-permissions.rules file with your model. E.g, my MODEL_ID is 5740, and the .rules file | |
ends up like this: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install flake8 | |
pip install flake8-pep257 | |
apm install linter | |
apm install linter-flake8 | |
apm install autocomplete-python | |
apm install hyperclick | |
apm install script | |
Description: | |
flake8 takes care of pep8 and docstrings linting, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
taulink serial connector -> cp2102 uart-usb | |
Rx -> Rx | |
Tx -> Tx | |
Vin -> 3V3 | |
GND -> GND | |
Flash loader demonstrator | |
Baud 256000 | |
Parity even | |
Echo disabled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
This files include my first example for MSBuild. | |
It includes some properties (with condition), items and one target. | |
Created mostly for future reference. | |
--> | |
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |