After creating a project for an external screen driver based on the rt-drive example according to the porting tutorial, it seems that the screen driver is not registered. How can this be resolved?

After creating a project for an external screen driver based on the rt-drive example according to the porting tutorial, it seems that the screen driver is not registered. How can this be resolved?

Add the following line to project/SConscript:
objs.extend(SConscript(cwd + '/../st7789_8080/SConscript', variant_dir='st7789_8080', duplicate=0))
This calls the SConscript file in your driver directory; adjust the path and name according to your driver directory and its name.