To be able to define main() in C++ code we need to have its prototype defined somewhere visibly. Otherwise name mangling will prevent the linker from finding it. Zephyr assumes a void main(void) prototype and therefore this will be the prototype after renaming: void zephyr_app_main(void); Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com> |
||
|---|---|---|
| .. | ||
| core | ||
| include | ||
| CMakeLists.txt | ||
| Kconfig | ||