-
Notifications
You must be signed in to change notification settings - Fork 13.3k
getCoreVersion results in empty String #8072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Done with a Git worktree, checkout is master, revision at tagged 3.0.0At first, the MCVE sketch doesn't compile - removing
helps with that.
Done with Arduino board manager BSP version 3.0.0Just as invalid as with Git checkout:
Removed that line, again.
|
@d-a-v I don't know about the packaging process, do you have an idea what's wrong? |
Plain pasting the code seems to remove underscores. so again the code here enclosed within Back Quotes:
|
it is this #8049 |
Very likely #8049 |
closing as duplicate, please follow #8049 |
Basic Infos
Platform
Settings in IDE
Problem Description
getCoreVersion results in empty String
MCVE Sketch
void setup() {
Serial.begin(115200);
Serial.println(""); Serial.println(""); Serial.println("");
Serial.println("Booting : ");
Serial.println("");
display_Running_Sketch_Serial();
}
void display_Running_Sketch_Serial(void){ // displays at startup the Sketch running in the Arduino
//String Compiled = String(F(DATE))+ ", "+String(F(TIME))+", "+String(F(VERSION));
//int Arduino_IDE_version=ARDUINO;
Serial.print("Sketch Compiled : #" + String(F(DATE))+ ", "+String(F(TIME))+", "+String(F(VERSION))); Serial.print("#\r\n");
Serial.print("Arduino version : #" + String (ARDUINO)); Serial.print("#\r\n");
Serial.print("ESP SdkVersion : #"); Serial.print(ESP.getSdkVersion()); Serial.print("#\r\n");
Serial.print("ESP CoreVersion : #"); Serial.print(ESP.getCoreVersion()); Serial.print("#\r\n");
Serial.print("ESP FullVersion : #"); Serial.print(ESP.getFullVersion()); Serial.print("#\r\n");
}
void loop() {
// put your main code here, to run repeatedly:
}
Serial output:
Booting :
Sketch Compiled : #May 23 2021, 10:01:19, 10.2.0#
Arduino version : #10813#
ESP SdkVersion : #2.2.2-dev(38a443e)#
ESP CoreVersion : ## <== NOTHING (EMPTY STRING) HERE
ESP FullVersion : #SDK:2.2.2-dev(38a443e)/Core:3.0.0=30000000/lwIP:STABLE-2_1_2_RELEASE/glue:1.2-48-g7421258/BearSSL:c0b69df#
The text was updated successfully, but these errors were encountered: