mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
468e4084f2
Some boards have a configuration of the flash bank with an address of 0 when it actually starts as 0x08000000 but openocd relies on probing the hardware at runtime. This now allows to first probe the board to get the actual value. If probing fail for any reason, return the value from the configuration. This can happen when the board is unreachable so at least give a valid output instead of an error. This will allow correct flash detection on for example the `stm32f3` and `stm32l4` which have a configured address of 0. |
||
---|---|---|
.. | ||
openocd.sh |