You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you encounter an error like "XXX module unsupported" when using the linemb platform, it's because the module's `manifest.json` file doesn't specify a C language implementation for the linemb platform.
88
+
89
+
The simplest solution is to copy the implementation from the "lin" platform. Follow these steps:
90
+
91
+
1. Open the module's `manifest.json` file (e.g., `modules/files/file/manifest.json` for file module)
92
+
2. Ensure the linemb platform configuration includes the module implementation, for example:
93
+
94
+
```json
95
+
"linemb": {
96
+
"modules": {
97
+
"*": "$(MODULES)/files/file/lin/*"
98
+
},
99
+
"config": {
100
+
"file": {
101
+
"root": "/tmp/"
102
+
}
103
+
}
104
+
}
105
+
```
106
+
107
+
Please note that many modules for the `lin` platform (especially hardware-related ones) have not been thoroughly tested. It's recommended to enable modules according to your specific needs and perform adequate testing to ensure proper functionality.
108
+
109
+
If you encounter issues with the `lin` platform implementation, a better approach is to create a linemb-specific implementation:
110
+
111
+
1. Create a new folder for the linemb platform implementation (e.g., `modules/files/file/linemb/`)
112
+
2. Implement the necessary C files specifically for the linemb platform
113
+
3. Update the manifest.json to use this implementation:
114
+
115
+
```json
116
+
"linemb": {
117
+
"modules": {
118
+
"*": "$(MODULES)/files/file/linemb/*"
119
+
},
120
+
"config": {
121
+
"file": {
122
+
"root": "/tmp/"
123
+
}
124
+
}
125
+
}
126
+
```
81
127
128
+
This approach allows you to create optimized implementations tailored to the linemb platform.
0 commit comments