mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-01 03:26:58 +03:00
provide full version descriptor, displayed in debug mode (#4467)
* provide full version descriptor, displayed in debug mode * unix: shows core version like under windows when git is unavailable * store strings in progmem * version string honours NDEBUG * add ARDUINO_ESP8266_GIT_DESC restore ARDUINO_ESP8266_GIT_VER restore global variable "core_version" don't print full version on setDebugOutput(true) set platform.txt version to 2.4.1-pre hide irrelevant boot version fix typo * lwip2: fix disconnection/reconnection issue also: improve version string remove useless message * lwip2: bump tag before 2.4.1 * lwip2: improve netif flags management on git side * full-version string: remove useless NDEBUG in separate source file * do not automatically enable sdk messages along with core messages * automatically reenable sdk messages along with core messages *before* setup not after * check serial port when showing version-string + move sdk messages enabler in hardware serial * + license header * updated and tested windows commands in platform.txt (without git) * updated and tested windows commands in platform.txt (without git) * update package builder accordingly
This commit is contained in:
committed by
Ivan Grokhotkov
parent
5b87c7b82d
commit
8053f285b1
@ -115,9 +115,6 @@ static void loop_wrapper() {
|
||||
preloop_update_frequency();
|
||||
if(!setup_done) {
|
||||
setup();
|
||||
#ifdef DEBUG_ESP_PORT
|
||||
DEBUG_ESP_PORT.setDebugOutput(true);
|
||||
#endif
|
||||
setup_done = true;
|
||||
}
|
||||
loop();
|
||||
@ -150,7 +147,6 @@ void init_done() {
|
||||
system_set_os_print(1);
|
||||
gdb_init();
|
||||
do_global_ctors();
|
||||
printf("\n%08x\n", core_version);
|
||||
esp_schedule();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user