Search found 1 match

by grepson
Wed Jan 24, 2024 5:29 pm
Forum: ESP8266
Topic: Setting up C++ code on the ESP8266_RTOS_SDK
Replies: 1
Views: 2626

Setting up C++ code on the ESP8266_RTOS_SDK

Hello ! I'm unable to make hello_world project work as .cpp file. The rename itself was enough for compiler to re-compile but with a error: startup.c:86: undefined reference to `app_main'. I've added to the main file extern to successfully compile the project: #ifdef __cplusplus extern "C"{ #endif v...