mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 03:31:56 +00:00
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> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
common | ||
nios2 | ||
posix | ||
riscv | ||
x86 | ||
xtensa | ||
CMakeLists.txt | ||
Kconfig |