Skip to content

Commit 6c7c08d

Browse files
committed
Updated example sysinfo
Signed-off-by: Mikhail Grigorev <[email protected]>
1 parent 5e48c40 commit 6c7c08d

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Espressif/changelog.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ v2.0.5 (19.05.2015):
1111
* Update a utility "utils\esptool-ck.exe" to version 0.4.4:
1212
+ add flash size options for 8M, 16M, 32M;
1313
* fix uploading with CH340;
14+
* Update RTOS SDK, directory "ESP8266_RTOS_SDK";
1415
* Updated documentation:
1516
+ Added files:
1617
0A-ESP8266__WiFi_Specifications__EN_v4.2.pdf
@@ -22,6 +23,7 @@ v2.0.5 (19.05.2015):
2223
99C-ESP8266__OTA_Upgrade__EN_v1.5.pdf
2324
* Updated examples:
2425
nodemcu-firmware;
26+
sysinfo;
2527

2628
v2.0.4 (09.05.2015):
2729
+ Added official AT firmware from Espressif, directory "ESP8266_SDK\bin\at";

Espressif/changelog_ru.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ v2.0.5 (19.05.2015):
1111
* ��������� ������� "utils\esptool-ck.exe" �� ������ 0.4.4:
1212
+ ��������� ��������� flash �������� 8M, 16M, 32M;
1313
* ���������� �������� ��� �������� ����� ���������� USB-to-RS232 �� CH340;
14+
* ��������� RTOS SDK, ������� "ESP8266_RTOS_SDK";
1415
* ��������� ������������:
1516
+ ��������� �����:
1617
0A-ESP8266__WiFi_Specifications__EN_v4.2.pdf
@@ -22,6 +23,7 @@ v2.0.5 (19.05.2015):
2223
99C-ESP8266__OTA_Upgrade__EN_v1.5.pdf
2324
* ��������� �������:
2425
nodemcu-firmware;
26+
sysinfo;
2527

2628
v2.0.4 (09.05.2015):
2729
+ ��������� ����������� AT �������� �� Espressif, ������� "ESP8266_SDK\bin\at";

Espressif/examples/sysinfo/user/user_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ LOCAL void ICACHE_FLASH_ATTR info_cb(void *arg)
2424
ets_uart_printf(temp);
2525
os_sprintf(temp, "Chip id = 0x%x\r\n", system_get_chip_id());
2626
ets_uart_printf(temp);
27+
os_sprintf(temp, "CPU freq = %d MHz\r\n", system_get_cpu_freq());
28+
ets_uart_printf(temp);
2729
os_sprintf(temp, "Free heap size = %d\r\n", system_get_free_heap_size());
2830
ets_uart_printf(temp);
2931
ets_uart_printf("==========================================\r\n");

0 commit comments

Comments
 (0)