The commit separates conditionally compiled API calls to separate C files and moves conditional compilation to CMakeLists.txt. Inline helpers have been moved to flash_map_priv.h. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>