-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
*.flash targets don't work with current openocd and miss references #34
Comments
Just drop the mass erase bit altogether... here's what I use for flashing via oocd on the command line
|
hmmm nice, the "stm32l1x mass_erase 0" isn't needed ? If I understood You correctly, the "erase" option will select appropriate stm32x mass_erase for specified arch automatically, right ? |
Just want to remember, that there are still references to $(SCRIPT_DIR)/stlink_flash.scr in Makefile.rules. But this file is missed in libopencm3 repository. |
Yeah, someone who created the rule should put the file to the right place. Blame reveals author: @karlp: SHA-1: f1f1aa84f30d9496dbaaff1bb252ddb5a0a77660 (from original libopencm3 tree) so maybe karlp have this file on his harddrive :-) |
The flash helping snippets in the examples would be a nice addition to the mk directory |
Likely to be insufficient, but perhaps a start. See #34
This appears to be mostly implemented now. |
There's references to SCRIPT_DIR and stlink_flash.scr and so on, it's duplicated in the different stm32 directories, and some of the flash erase commands aren't correct for recent/current openocd releases
The text was updated successfully, but these errors were encountered: