Open pashka32 opened 3 years ago
This is caused by running flash_algo.py
directly instead of running generate_blobs.py
. (Sorry it's not very obvious!)
You can see here that generate_blobs.py
defines the dictionary used for the Jinja template, including header_size
:
https://github.com/pyocd/FlashAlgo/blob/1244f427929884425ed09dab17e7a120749dada8/scripts/generate_blobs.py#L64-L70
Hello. I am trying to run a flash_algo.py file. I need to create an algo file for stm32h7. However, I am getting the error. What could be the reason for this?