forked from auracaster/openocd
add support for naming flash banks
Requires users to name their flash banks, allowing them to be used instead of bank numbers in script commands.
This commit is contained in:
@@ -240,6 +240,8 @@ struct flash_driver
|
||||
*/
|
||||
struct flash_bank
|
||||
{
|
||||
char *name;
|
||||
|
||||
struct target *target; /**< Target to which this bank belongs. */
|
||||
|
||||
struct flash_driver *driver; /**< Driver for this bank. */
|
||||
|
||||
Reference in New Issue
Block a user