-->
Page 1 of 1

How do I know I have the latest version?

PostPosted: Mon Aug 03, 2015 6:08 am
by Nico van der Dussen
Hi,

I guess these are very newby questions :)

How do I know my ESP8266 software has upgraded in Arduino IDE?

I'm using Arduino IDE 1.6.5 r2

Is there an ESP function I can call to show me which version is running?

Does updating happen automatically as a stable version is released?

Thanks
Nico

Re: How do I know I have the latest version?

PostPosted: Mon Aug 03, 2015 4:06 pm
by Mario Mikočević
Heya,

I'm using this code snippet -
Code: Select allextern "C" {
#include "user_interface.h"
uint32_t readvdd33(void);
}
void setup() {
  Serial.println();
  Serial.print(F("Heap: ")); Serial.println(system_get_free_heap_size());
  Serial.print(F("Boot Vers: ")); Serial.println(system_get_boot_version());
  Serial.print(F("CPU: ")); Serial.println(system_get_cpu_freq());
  Serial.print(F("SDK: ")); Serial.println(system_get_sdk_version());
  Serial.print(F("Chip ID: ")); Serial.println(system_get_chip_id());
  Serial.print(F("Flash ID: ")); Serial.println(spi_flash_get_id());
  Serial.print(F("Vcc: ")); Serial.println(readvdd33());
  Serial.println();
}


AFAIK, updating does not come automaticaly, you have to browse to menu Tools -> Boards Manager and then all the magic happens.

--
Mozz