For reasons unknown to me, somebody changed the size of some internal spiffs types from 16 to 32 bits (spiffs_block_ix, spiffs_page_ix, spiffs_obj_id, spiffs_span_ix) on our device.
As I was updating our spiffs source to the current head, I followed the model suggested by params_test.h and I pulled out all of our changes to the default spiffs_config.h into a separate file to minimize future merging headaches. Of course, I had to wrap these type changes with an #ifndef SPIFFS_TYPES_OVERRIDE block to make the scheme work.
For reasons unknown to me, somebody changed the size of some internal spiffs types from 16 to 32 bits (spiffs_block_ix, spiffs_page_ix, spiffs_obj_id, spiffs_span_ix) on our device.
As I was updating our spiffs source to the current head, I followed the model suggested by params_test.h and I pulled out all of our changes to the default spiffs_config.h into a separate file to minimize future merging headaches. Of course, I had to wrap these type changes with an
#ifndef SPIFFS_TYPES_OVERRIDE
block to make the scheme work.