This is first module of the modules example example.
#include "pru_1.h"
#include "common.h"
void m1_f1_shd(){
prts("m1_f1_shd \n");
}
void m1_f2_shd(){
prts("m1_f2_shd \n");
}
char* msg1 mc_mod1_dat = mc_cstr("m1_f3_workeru \n");
void m1_f3_workeru(){
prts(msg1);
}
void m1_main() {
prts("STARTED m1_main !!\n");
m1_f1_shd();
m1_f3_workeru();
m1_f2_shd();
comm_f1_workeru();
prts("FINISHED m1_main !!\n");
}