Removed the Core/inc folder from the CMake source file list, otherwise fs_data.c will be compiled and give an error during linking.