Search found 50 matches

by papaluna
Fri Mar 15, 2019 10:34 am
Forum: General Discussion
Topic: Using esp_log_set_vprintf() function
Replies: 10
Views: 22852

Re: Using esp_log_set_vprintf() function

How does this work ? I've tried using it inside my code but _log_remote_fp and fileno are undefined. Also, how many logs can the file hold up ? When does it start deleting old logs ? I had provided the code snippets to get you started. This is an example ESP-IDF project in the Starter Kit https://g...
by papaluna
Tue Feb 26, 2019 8:04 am
Forum: ESP-IDF
Topic: How to obtain length of binary COMPONENT_EMBED_FILES
Replies: 3
Views: 5276

How to obtain length of binary COMPONENT_EMBED_FILES

What is the simplest way to obtain the length in bytes of an embedded binary file when using https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html#embedding-binary-data ? Is an attribute available which returns the length or do I have to compute it myself? This is the wa...
by papaluna
Tue Feb 26, 2019 7:49 am
Forum: Hardware
Topic: Steer GPIO input to GPIO output?
Replies: 3
Views: 4392

Re: Steer GPIO input to GPIO output?

Does the steering of IO from input to output work? Yes it works. An example which routes the incoming signal on input pin GPIO_NUM_INPUT (#14) to the output pin corresponding with the on-board LED (#13) of an Huzzah32 dev board: // @doc Only the loopback signals 224-228 can be configured to be rout...
by papaluna
Wed Dec 26, 2018 3:03 pm
Forum: General Discussion
Topic: Board schematics
Replies: 5
Views: 7979

Re: Board schematics

The Feather is the original.
by papaluna
Wed Dec 26, 2018 10:29 am
Forum: General Discussion
Topic: Board schematics
Replies: 5
Views: 7979

Re: Board schematics

I think that board is the same as the Adafruit Huzzah32. I published some notes about the Huzzah32 board at https://github.com/pantaluna/esp32-mjd-starter-kit/tree/master/Development_Boards/01%20Adafruit%20HUZZAH32%20dev%20board If you only want to know the polarity of the JSTPH2 battery connector t...
by papaluna
Sun Nov 25, 2018 3:58 pm
Forum: ESP-IDF
Topic: UART break at first
Replies: 13
Views: 17653

Re: UART break at first

I have used the following approach to enforce a break of a certain length (time) for a Microchip RN2843 LoRa module using UART. The delay must be changed to fit your requirements. uart_set_line_inverse(param_ptr_config->uart_port_num, UART_INVERSE_TXD); ets_delay_us(1250); uart_set_line_inverse(para...
by papaluna
Sat Oct 06, 2018 9:25 pm
Forum: General Discussion
Topic: gettimeofday fails after esp_restart
Replies: 4
Views: 5906

Re: gettimeofday fails after esp_restart

"Internal RTC clock frequency error is about 5%."
viewtopic.php?f=2&t=3715&p=17063&hilit= ... acy#p17063
by papaluna
Tue Sep 11, 2018 12:16 pm
Forum: ESP-IDF
Topic: How to disable massive logging of the memory_layout module?
Replies: 0
Views: 2870

How to disable massive logging of the memory_layout module?

Using the master branch. How can I disable specifically these DEBUG messages from "memory_layout "? I think it is part of the 2nd stage bootloader. The log bootloader level is set to INFO. The ESP32 log level is set to DEBUG. menuconfig settings: - CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y - CONFIG_LOG_DEF...
by papaluna
Thu Aug 30, 2018 8:24 am
Forum: ESP-IDF
Topic: Windows MSYS2: ESP-IDF v3.2-dev requires newer Python package future-0.16.0
Replies: 1
Views: 3723

Windows MSYS2: ESP-IDF v3.2-dev requires newer Python package future-0.16.0

v3.2-dev is checking the Python requirements during each build and that is a good thing. The build stops during the process of checking the Python requirements when using the Windows toolchain with ESP-IDF v3.2-dev (latest). It reports that a newer version of the Python package "future" is required....