mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 13:02:37 +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> |
||
---|---|---|
.. | ||
core | ||
include | ||
CMakeLists.txt | ||
Kconfig |