Search found 10 matches

by zampano
Wed Oct 12, 2022 7:21 am
Forum: Hardware
Topic: Reconfigure GPIO as output after analog read
Replies: 2
Views: 1412

Re: Reconfigure GPIO as output after analog read

Solved:
it's necessary to call
rtc_gpio_deinit(PIN_LED_RELAY3);

In this way the pin is connected again to GPIO Matrix instead of RTC Matrix.
by zampano
Tue Oct 11, 2022 12:10 pm
Forum: Hardware
Topic: Reconfigure GPIO as output after analog read
Replies: 2
Views: 1412

Reconfigure GPIO as output after analog read

Hi, to automatically configure firmware I need to read the voltage of a pin (GPIO13) that is normally used as output. Unfortunately it's not useful to read the logic level (same value for the two hardware configurations) so I need to use ADC. The code is: #define PIN_LED_RELAY2 13 int adc_raw; ESP_E...
by zampano
Thu Apr 29, 2021 1:05 pm
Forum: General Discussion
Topic: Esp32 Download tool security setup
Replies: 0
Views: 1619

Esp32 Download tool security setup

Hi,
is there a more detailed documentation of the security configuration flags of Esp32 Flash Download Tool?
Thank you
by zampano
Tue Mar 17, 2020 8:53 am
Forum: Hardware
Topic: ESP32-WROOM-32 - Use RMT with REF_TICK
Replies: 1
Views: 5462

Re: ESP32-WROOM-32 - Use RMT with REF_TICK

I think the pulse filter clock is only APB_CLK so I used pwm peripheral and this works for me.
by zampano
Wed Mar 04, 2020 3:37 pm
Forum: Hardware
Topic: ESP32-WROOM-32 - Use RMT with REF_TICK
Replies: 1
Views: 5462

ESP32-WROOM-32 - Use RMT with REF_TICK

Hi, I need to use one ESP32-WROOM-32 to decode an OOK radio signal with minimum pulse of 250us and idle time of 10ms. When there isn't radio signal the receiver has a very noisy output and so I need to filter small pulses but the maximum interval I can set using APB_CLK is 255 * 1/APB_CLK and it is ...
by zampano
Sun Mar 03, 2019 7:45 pm
Forum: ESP-IDF
Topic: skipping incompatible libraries
Replies: 7
Views: 8868

Re: skipping incompatible libraries

Cloning the sdk from https://github.com/espressif/esp-idf.git it works.

Many thanks.
by zampano
Thu Feb 21, 2019 7:54 pm
Forum: ESP-IDF
Topic: skipping incompatible libraries
Replies: 7
Views: 8868

Re: skipping incompatible libraries

Hi, below the result of the two commands you asked me: xtensa-esp32-elf-objdump -f /opt/esp-idf-sdk/components/esp32/lib/libcore.a In archive /opt/esp-idf-sdk/components/esp32/lib/libcore.a: misc_nvs.o: file format elf32-little architecture: UNKNOWN!, flags 0x00000011: HAS_RELOC, HAS_SYMS start addr...
by zampano
Wed Feb 20, 2019 8:02 am
Forum: ESP-IDF
Topic: skipping incompatible libraries
Replies: 7
Views: 8868

Re: skipping incompatible libraries

file /opt/esp-idf-sdk/components/esp32/lib/libcore.a

shows

libcore.a: current ar archive
by zampano
Tue Feb 19, 2019 9:06 pm
Forum: ESP-IDF
Topic: skipping incompatible libraries
Replies: 7
Views: 8868

Re: skipping incompatible libraries

Thank you for quick answer and sorry for my delay. The requested output is: $ xtensa-esp32-elf-ld --version GNU ld (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 2.25.1 Copyright (C) 2014 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU...
by zampano
Mon Feb 18, 2019 9:26 pm
Forum: ESP-IDF
Topic: skipping incompatible libraries
Replies: 7
Views: 8868

skipping incompatible libraries

Hi, compiling hello-world example the linker command shows a lot of errors about all the libraries. The messages are like these: make LD build/hello-world.elf /usr/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: skipping incompatible /opt/esp-idf-sdk/components/esp32/lib/l...