There is a function for dynamically loading libraries in rt-thread:
https://www.rt-thread.org/download/rttdoc_1_0_0/structrt__module.html
https://www.rt-thread.org/download/rttdoc_1_0_0/group___module.html
However when looking at rt_module function it doesn't show me a way to call a method dynamically. There is rt_module_load_sethook, but this function's signature tells me I have to know the name of the function in the library module I want to call beforehand, correct?
Please advise.
https://www.rt-thread.io/document/site/programming-manual/dlmodule/dlmodule/
this tutorial can be of great support to you.