Search found 908 matches

by ESP_igrr
Mon Feb 05, 2018 12:55 am
Forum: ESP32 SDK
Topic: 'Relocation truncated to fit' error when moving adc_channel to bss section in ulp_adc_example
Replies: 2
Views: 100

Re: 'Relocation truncated to fit' error when moving adc_channel to bss section in ulp_adc_example

The third argument to the ADC instruction has to be a literal value, not a pointer or a register.


adc r1, 0, adc_channel + 1 means that you are doing ADC conversion with the ADC channel number set to the address of 'adc_channel' variable, which is probably not what you want.
by ESP_igrr
Fri Feb 02, 2018 2:48 pm
Forum: ESP32 HDK
Topic: Time taken by ESP-WROOM-32D Module to wakeup from Light Sleep mode
Replies: 4
Views: 219

Re: Time taken by ESP-WROOM-32D Module to wakeup from Light Sleep mode

From memory, the time it takes to enter/exit sleep mode, without powering down the flash chip, is about 350us (at 240MHz CPU clock). In addition to that, real sleep time may overshoot the set time by (+1ms +/- 5%), due to the internal RTC clock drift. When flash is powered down when entering light s...
by ESP_igrr
Thu Feb 01, 2018 4:14 am
Forum: General Discussion
Topic: single channel frequency generator
Replies: 1
Views: 107

Re: single channel frequency generator

LEDC peripheral can be used to generate PWM signals between 40 MHz (half of APB clock) and approximately 0.001 Hz.
Please check the LEDC chapter in Technical Reference Manual.
Here's a quick example which generates a ~1Hz signal.

https://gist.github.com/igrr/2875a9ca3a ... 47bee9850f
by ESP_igrr
Mon Jan 22, 2018 6:52 am
Forum: ESP32 SDK
Topic: How can I implement FTP client?
Replies: 2
Views: 195

Re: How can I implement FTP client?

In addition to that, CURL has a lot of CURL_DISABLE_XXXX configuration options, which can be used to reduce code size if you only need specific protocols. Like, CURL_DISABLE_SMTP, CURL_DISABLE_RTSP, and so on. Have a look at curl_config.h.
by ESP_igrr
Mon Jan 22, 2018 6:48 am
Forum: ESP32 SDK
Topic: Implementing A Custom ESP32 Runtime Linker
Replies: 5
Views: 362

Re: Implementing A Custom ESP32 Runtime Linker

Having gone through this exercise some time ago, I recall there wasn't a good reference on Xtensa relocations.
This comment and ones which follow have some info and pointers: https://github.com/jcmvbkbc/gcc-xtensa/ ... -102174847 But mostly, use binutils source code as reference.
by ESP_igrr
Wed Jan 17, 2018 2:59 pm
Forum: General Discussion
Topic: ESP 32 wrover kit Linux OpenOCD
Replies: 2
Views: 178

Re: ESP 32 wrover kit Linux OpenOCD

Perhaps some jumpers on JTAG lines missing? Please check that you have four jumpers connecting MTDI, MTDO, MTCK, and MTMS between the FTDI and the ESP32.
by ESP_igrr
Wed Jan 17, 2018 2:56 pm
Forum: ESP32 SDK
Topic: ESP32 Wifi Station Modem Sleep Delay
Replies: 5
Views: 528

Re: ESP32 Wifi Station Modem Sleep Delay

Could you please quantify "long"? Once the station is connected to the AP, there shouldn't be much of a delay.
by ESP_igrr
Wed Jan 17, 2018 2:55 pm
Forum: ESP32 SDK
Topic: ESP32 How to turn off automatic log of system output
Replies: 2
Views: 176

Re: ESP32 How to turn off automatic log of system output

1. Disabling ROM bootloader output: pull down GPIO15. 2. Disabling 2nd stage bootloader output: make menuconfig, go to "Bootloader config" and set "Bootloader log verbosity" to "No output" 3. Application: make menuconfig, go to "Component config", "Log ou...
by ESP_igrr
Tue Jan 16, 2018 10:01 am
Forum: Report Bugs
Topic: esp_log_level_set() for a tag is not effective if tag has already logged
Replies: 3
Views: 209

Re: esp_log_level_set() for a tag is not effective if tag has already logged

Looks like a bug, and something we would accept a PR for if you submit it. As far as i understand this means replacing
`if (s_log_cache[i].tag == tag) {`
with
`if (strcmp(s_log_cache[i].tag, tag) == 0) {`,
right?
by ESP_igrr
Tue Jan 16, 2018 12:52 am
Forum: General Discussion
Topic: esp_wifi_set_ps(WIFI_PS_MODEM), BLE, and light sleep?
Replies: 8
Views: 565

Re: esp_wifi_set_ps(WIFI_PS_MODEM), BLE, and light sleep?

We're aiming to have the feature freeze by mid February (before spring festival). This means that it is likely that this particular feature will trickle down to the master branch by then. If we miss that date for some reason, then end of February is likely.

Go to advanced search