During the build of micropython the file frozen_content.c is generated in the build folder. This file contains all frozen modules selected by the manifest. Currently when a file is changed python_modules the changes are not detected by cmake and thus the file is not regenerated.
Expected Behavior
frozen_content is automatically regenerated when python modules change
Workaround
Delete build/frozen_content.c