LittleFS implements a few generic utilities (almost all of which are inlined) upon which to build their filesystem. These include:
* CRC calculation aided by a lookuptable (this is the one utility that isn't inlined)
* An indirect wrapper around the `#` preprocessor syntax, I'm not sure how this helps.
* Uses that to load some build flags.
* Logging macros which may or not compile to `printf()` calls.
* A conditional wrapper-macro around `assert()`.
* Min/max routines.
...
1/2?
...
* Align-down routine by subtracting off a remainder, with a wrapper turning it into an align-up operation.
* A bittwiddling routine to compute the next power-of-2 >= a given value.
* Count-Trailing-Zeroes which wraps that helper if the CPU doesn't natively support this operation.
* Bittwiddling routine to count the number of binary 1s, possibly using a binary search.
* Compare unsigned via type-casted subtraction.
* Conditional byte reordering.
* Overridable malloc()/free() wrappers.
2/2!