[Solved] How to disable boot and wifi log messages.

BluCode
Posts: 3
Joined: Thu Jul 13, 2017 12:48 am

[Solved] How to disable boot and wifi log messages.

Postby BluCode » Sun Jul 16, 2017 3:36 pm

I am using the arduino-esp32 library with esp-idf and I am wondering how to disable the following log messages:

Code: Select all

[0;32mI (11) boot: ESP-IDF v3.0-dev-80-g9b30f66 2nd stage bootloader[0m
[0;32mI (11) boot: compile time 17:52:24[0m
[0;32mI (11) boot: Enabling RNG early entropy source...[0m
[0;32mI (25) boot: SPI Speed      : 80MHz[0m
[0;32mI (38) boot: SPI Mode       : DIO[0m
[0;32mI (50) boot: SPI Flash Size : 4MB[0m
[0;32mI (63) boot: Partition Table:[0m
[0;32mI (74) boot: ## Label            Usage          Type ST Offset   Length[0m
[0;32mI (96) boot:  0 nvs              WiFi data        01 02 00009000 00005000[0m
[0;32mI (119) boot:  1 otadata          OTA data         01 00 0000e000 00002000[0m
[0;32mI (143) boot:  2 app0             OTA app          00 10 00010000 00140000[0m
[0;32mI (166) boot:  3 app1             OTA app          00 11 00150000 00140000[0m
[0;32mI (189) boot:  4 spiffs           Unknown data     01 82 00290000 00170000[0m
[0;32mI (212) boot: End of partition table[0m
[0;32mI (226) boot: Disabling RNG early entropy source...[0m
[0;32mI (242) boot: Loading app partition at offset 00010000[0m
[0;32mI (939) boot: segment 0: paddr=0x00010018 vaddr=0x00000000 size=0x0ffe8 ( 65512) [0m
[0;32mI (940) boot: segment 1: paddr=0x00020008 vaddr=0x3f400010 size=0x0c3a0 ( 50080) map[0m
[0;32mI (956) boot: segment 2: paddr=0x0002c3b0 vaddr=0x3ffc0000 size=0x02cb0 ( 11440) load[0m
[0;32mI (985) boot: segment 3: paddr=0x0002f068 vaddr=0x40080000 size=0x00400 (  1024) load[0m
[0;32mI (1009) boot: segment 4: paddr=0x0002f470 vaddr=0x40080400 size=0x130d4 ( 78036) load[0m
[0;32mI (1058) boot: segment 5: paddr=0x0004254c vaddr=0x400c0000 size=0x00064 (   100) load[0m
[0;32mI (1062) boot: segment 6: paddr=0x000425b8 vaddr=0x00000000 size=0x0da50 ( 55888) [0m
[0;32mI (1087) boot: segment 7: paddr=0x00050010 vaddr=0x400d0018 size=0x48750 (296784) map[0m
[0;32mI (1113) boot: segment 8: paddr=0x00098768 vaddr=0x50000000 size=0x00008 (     8) load[0m
[0;32mI (1140) cpu_start: Pro cpu up.[0m
[0;32mI (1151) cpu_start: Starting app cpu, entry point is 0x40080ee4[0m
[0;32mI (0) cpu_start: App cpu up.[0m
[0;32mI (1184) heap_alloc_caps: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (1206) heap_alloc_caps: At 3FFAFF10 len 000000F0 (0 KiB): DRAM[0m
[0;32mI (1227) heap_alloc_caps: At 3FFC7F90 len 00018070 (96 KiB): DRAM[0m
[0;32mI (1247) heap_alloc_caps: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM[0m
[0;32mI (1269) heap_alloc_caps: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (1291) heap_alloc_caps: At 400934D4 len 0000CB2C (50 KiB): IRAM[0m
[0;32mI (1311) cpu_start: Pro cpu start user code[0m
[0;32mI (1368) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (199) cpu_start: Starting scheduler on APP CPU.[0m

and:

Wait for WiFi... I (229) wifi: wifi firmware version: 72ddf26
I (229) wifi: config NVS flash: enabled
I (229) wifi: config nano formating: disabled
[0;32mI (229) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
[0;32mI (239) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
I (269) wifi: Init dynamic tx buffer num: 32
I (269) wifi: Init dynamic rx buffer num: 32
I (269) wifi: wifi driver task: 3ffc99f4, prio:23, stack:4096
I (269) wifi: Init static rx buffer num: 10
I (269) wifi: Init dynamic rx buffer num: 32
I (279) wifi: Init rx ampdu len mblock:7
I (279) wifi: Init lldesc rx ampdu entry mblock:4
I (289) wifi: wifi power manager task: 0x3ffd4b2c prio: 21 stack: 2560
I (289) wifi: wifi timer task: 3ffd5bac, prio:22, stack:3584
[0;32mI (319) phy: phy_version: 355.1, 59464c5, Jun 14 2017, 20:25:06, 0, 0[0m
I (319) wifi: mode : sta (24:0a:c4:81:8c:cc)
I (2439) wifi: n:6 2, o:1 0, ap:255 255, sta:6 2, prof:1
I (3419) wifi: state: init -> auth (b0)
I (3419) wifi: state: auth -> assoc (0)
I (3449) wifi: state: assoc -> run (10)
I (3459) wifi: connected with [MY_WIFI], channel 6
[0;32mI (4209) event: ip: 192.168.1.166, mask: 255.255.255.0, gw: 192.168.1.1[0m
Pulling GPIO15 to ground didn't work, and in make menuconfig I have the bootloader log level, the default log level and the arduino log level all at error, to no avail. Is there a different log level setting in make menuconfig that I am missing, or is there another way to go about doing this?
Last edited by BluCode on Sun Jul 16, 2017 8:05 pm, edited 1 time in total.

BluCode
Posts: 3
Joined: Thu Jul 13, 2017 12:48 am

Re: How to disable boot and wifi log messages.

Postby BluCode » Sun Jul 16, 2017 8:05 pm

I solved the issue my doing a make clean and recompiling.

Who is online

Users browsing this forum: No registered users and 86 guests