disable all logs debug in blufi example

davdav
Posts: 208
Joined: Thu Nov 17, 2016 2:33 pm

disable all logs debug in blufi example

Postby davdav » Tue May 16, 2017 8:54 am

Hi everybody,

I'm testing blufi example and I would like to disable all the debug log. I have setup in "make menuconfig" the level for bootloader and component log to NONE, but I still have these debugs at start-up

ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0008,len:8
load:0x3fff0010,len:40
load:0x40078000,len:8956
ho 0 tail 12 room 4
load:0x40080000,len:252
entry 0x40080034
BTDM CONTROLLER VERSION: 010101
btip start
copy .data from 4000d890 to 3ffae6e0, len 00001830
set .bss 0x0 from 3ffb8000 to 3ffbff70, len 00007f70
BTDM ROM VERSION 0101
BD_ADDR: 24:0A:C4:00:44:A2
NVDS MAGIC FAILED
RF Init OK with coex
Enable Classic BT
Enable Low Energy

The first part (up to "entry 0x40080034") I know that it can be removed pulling GPIO15 to GND, however I can't do that on our PCB.
The second part it seems included in the library "libbtdm_app.a".

My questions are:
-How can I disable the first part of the log from software or configuration?
-How can I disable the Dual mode bluetooth debug?

Thanks

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: disable all logs debug in blufi example

Postby ESP_igrr » Tue May 16, 2017 10:43 am

The first part (ROM bootloader log) can only be disabled using GPIO15.

Regarding the second part, will check and let you know.

davdav
Posts: 208
Joined: Thu Nov 17, 2016 2:33 pm

Re: disable all logs debug in blufi example

Postby davdav » Tue May 16, 2017 12:58 pm

OK thank you.

Who is online

Users browsing this forum: Baidu [Spider] and 93 guests