Hello,
My situation is the following: I am using the ST modified Linux kernel where GPIOs are not exported with the usual "gpio%d" formatting to sysfs, so I am not able to use the -i option to insert a bootloader entry/exit sequence correctly. I would need something like -i pioe11,-pioe10....
I've modified the parsing of the bootloader sequence in order to help with my problem (changes), with the sole limitation that symbolic GPIOs (those which use a different formatting) cannot be exported by stm32flash since you would also need to know the GPIO number, so they need to be exported beforehand manually.
I was wondering, is this something you would be interested in adding to this tool?
Thank you!
Anonymous
There are many kernels that export GPIOs to sysfs using symbolic names, and this is not currently supported by the bootloader entry/exit sequence in stm32flash. The workaround is to implement the bootloader entry/exit sequence manually before/after running stm32flash, but that's not very convenient. Looks like this patch would solve this problem. Would the maintainers consider to merge this?
ditto! we have the same issue as the pin names are exported as PXX_X in our case.