10000 Old Issues · Issue #4 · pycom/pycom-micropython-sigfox · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Old Issues #4

Closed
robert-hh opened this issue Apr 3, 2017 · 5 comments
Closed

Old Issues #4

robert-hh opened this issue Apr 3, 2017 · 5 comments

Comments

@robert-hh
Copy link
Contributor

Please consider also the open issues from the pycom-micropython branch.
They should not get lost. Most of them are also applicable to this branch.

@danicampora
Copy link

@robert-hh thanks, we haven't forgotten about the issues on the other repo. They will be solved shortly.

@danicampora
Copy link

@me-no-dev: When we met the other week you mentioned me a trick to remove all the print logs from the IDF. Can you tell me how? Thanks :-)

@me-no-dev
Copy link

Hi Daniel :) Nice to "see" you again! Here is the line that you need to add as first thing in app_main : https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-misc.c#L82
This should help with hiding most of the messages

@robert-hh
Copy link
Contributor Author
robert-hh commented May 24, 2017

This line indeed suppressed most of the messages:
esp_log_level_set("*", CONFIG_LOG_DEFAULT_LEVEL);
and I had to add also
#include "esp_log.h"
That's what remained:

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_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:QIO, clock div:2
load:0x3fff9010,len:8
load:0x3fff9018,len:248
load:0x40078000,len:4056
load:0x4009fc00,len:920
entry 0x4009fde4

Update: There are further dependencies from sdkconfig.h, where also CONFIG_LOG_DEFAULT_LEVEL is/may be set to an appropriate value. But that's to be done best at the project configuration time.
With pycom.io's setting, CONFIG_LOG_DEFAULT_LEVEL is set to ESP_LOG_NONE.

@me-no-dev
Copy link

The messages that remain come from the bootloader in ROM and can not be suppressed by software.
I think GPIO12 was the one that is used to suppress those messages.
The messages that the line suppressed were coming from the libs that are in binary form, so they do not follow the log level set in IDF.

iwahdan88 pushed a commit that referenced this issue Dec 7, 2018
* esp32: merged lte changes from release v1.18.1.r6

* esp32/mods/modusocket: intial implementation for socket.connect() timeout woraround

* esp32/mods/modusocket: refactoring of connect timeout workaround

* esp32/lib: added libsmartconfig_ack from IDF
Xykon pushed a commit that referenced this issue Feb 23, 2021
X-Ryl669 pushed a commit to X-Ryl669/pycom-micropython-sigfox that referenced this issue May 12, 2023
* esp32: merged lte changes from release v1.18.1.r6

* esp32/mods/modusocket: intial implementation for socket.connect() timeout woraround

* esp32/mods/modusocket: refactoring of connect timeout workaround

* esp32/lib: added libsmartconfig_ack from IDF
X-Ryl669 pushed a commit to X-Ryl669/pycom-micropython-sigfox that referenced this issue May 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0