Difference between revisions of "STM32 arduino setup"
 (Created page with "Github resources (board manager):  https://github.com/stm32duino/Arduino_Core_STM32  General github link: https://github.com/stm32duino/")  | 
				|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
General github link: https://github.com/stm32duino/  | General github link: https://github.com/stm32duino/  | ||
| + | |||
| + | |||
| + | =Raspberry Pi stuff=  | ||
| + | https://github.com/koendv/stm32duino-raspberrypi  | ||
| + | |||
| + | Installing dfu-utils: sudo apt install dfu-util  | ||
| + | |||
| + | Add /etc/udev/rules.d/45-maple.rules  | ||
| + | [code]  | ||
| + | ATTRS{idProduct}=="1001", ATTRS{idVendor}=="0110", MODE="664", GROUP="uucp"  | ||
| + | ATTRS{idProduct}=="1002", ATTRS{idVendor}=="0110", MODE="664", GROUP="uucp"  | ||
| + | ATTRS{idProduct}=="0003", ATTRS{idVendor}=="1eaf", MODE="664", GROUP="uucp" SYMLINK+="maple", ENV{ID_MM_DEVICE_IGNORE}="1"  | ||
| + | ATTRS{idProduct}=="0004", ATTRS{idVendor}=="1eaf", MODE="664", GROUP="uucp" SYMLINK+="maple", ENV{ID_MM_DEVICE_IGNORE}="1"  | ||
| + | [/code]  | ||
| + | |||
| + | Upload command:  | ||
| + | ./maple_upload maple 2 1EAF:0003 ./XmasTReeWS2812b.ino.bin  | ||
| + | |||
| + | Modify maple_upload to set delay from 750ms to 1500ms for upload-reset  | ||
Latest revision as of 00:37, 28 January 2020
Github resources (board manager):
https://github.com/stm32duino/Arduino_Core_STM32
General github link: https://github.com/stm32duino/
Raspberry Pi stuff
https://github.com/koendv/stm32duino-raspberrypi
Installing dfu-utils: sudo apt install dfu-util
Add /etc/udev/rules.d/45-maple.rules [code] ATTRS{idProduct}=="1001", ATTRS{idVendor}=="0110", MODE="664", GROUP="uucp" ATTRS{idProduct}=="1002", ATTRS{idVendor}=="0110", MODE="664", GROUP="uucp" ATTRS{idProduct}=="0003", ATTRS{idVendor}=="1eaf", MODE="664", GROUP="uucp" SYMLINK+="maple", ENV{ID_MM_DEVICE_IGNORE}="1" ATTRS{idProduct}=="0004", ATTRS{idVendor}=="1eaf", MODE="664", GROUP="uucp" SYMLINK+="maple", ENV{ID_MM_DEVICE_IGNORE}="1" [/code]
Upload command: ./maple_upload maple 2 1EAF:0003 ./XmasTReeWS2812b.ino.bin
Modify maple_upload to set delay from 750ms to 1500ms for upload-reset