Open
Description
Environment
-
Development Kit: Nodemcu
-
IDF version (
git rev-parse --short HEAD
to get the commit id.): 35c9415
ver 3.4 -
Development Env: make
-
Operating System: [Windows
-
Power Supply: [USB
Problem Description
I am compiling a program in cpp. when ever I use the header file iostream, on flashing my module keep restarting. I tried other cpp headers like fstream and string. they both just work fine.
The program works fine with esp32.
//Detailed problem description goes here.
Expected Behavior
program should compile flawlessly and able to use the std::cout with that
Actual Behavior
node mcu in boot loop
Steps to repropduce
- step1 just add line #include
- ...
// It helps if you attach a picture of your setup/wiring here.
Code to reproduce this issue
// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"
#include <iostream>
extern "C" void app_main();
void app_main()
{
std::cout<<"hello World";
}
// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
Debug log goes here.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.
Other items if possible
- sdkconfig file (attach the sdkconfig file from your project folder)
- elf file in the
build
folder (note this may contain all the code details and symbols of your project.) - coredump (This provides stacks of tasks.)
Metadata
Metadata
Assignees
Labels
No labels