Since our hardware which runs WRPC does not have an external SPI Flash memory we wrote an small BRAM to SPI Flash wrapper. Fore simplicity we use simulated block size of 1 byte.
Are there any good reasons to not have the block size in the dot-config file instead of as a define in Flash.h?
It is of course easy to just modify that file, but if possible we like use the released version of WRPC SW except for changes in the config file.
In the end we aim to make WRPC replaceable (e.g. upgrade to latest release) within our Development kit, both Gateware and Software. Maybe the best solution is just to mention to our users that Flash block size needs to be X bytes (in this case 1 byte).