This is an error that was accidentally triggered when creating the firmware library project. The reason is that Add Files as Image… was accidentally selected when adding a project file, as shown below. We do not set it as Add Image, it should be Add as source code.