Search found 8 matches

by raldone01
Mon Mar 09, 2020 2:53 pm
Forum: ESP-IDF
Topic: Custom RMT interrupt handler in the current master.
Replies: 1
Views: 4281

Custom RMT interrupt handler in the current master.

There seem to have been undocumented changes in the RMT driver implementation. The documentation states: When calling rmt_driver_install() to use the system RMT driver, a default ISR is being installed. In such a case you cannot register a generic ISR handler with rmt_isr_register(). Ok so the steps...
by raldone01
Sat Feb 29, 2020 9:10 am
Forum: ESP-IDF
Topic: How to get an esp_netif handle?
Replies: 0
Views: 2170

How to get an esp_netif handle?

I initialize the netif with the following code: esp_netif_init(); esp_netif_obj * station = esp_netif_create_default_wifi_sta(); esp_netif_obj * ap = esp_netif_create_default_wifi_ap(); Do I have to pass the station and ap object around in my application or is there an easy way to get these later? I...
by raldone01
Mon Jan 27, 2020 12:54 pm
Forum: ESP-IDF
Topic: C++ Atomics implemented?
Replies: 1
Views: 3164

C++ Atomics implemented?

Hy,
Is the <atomic> header usable and performant or do I have to use <stdatomic.h>.
If <atomic> is not available is there some documentation with examples for <stdatomic.h>? I have already understood what all the different memory orders do.
by raldone01
Sat Jan 25, 2020 11:29 am
Forum: ESP-IDF
Topic: atomic test and modify uint32_t
Replies: 4
Views: 8734

Re: atomic test and modify uint32_t

Hi ESP_Angus,
Don't point links to files in the master branch as it changes. (The line is not correct anymore.)
by raldone01
Wed Jul 24, 2019 1:01 pm
Forum: ESP-IDF
Topic: spi_flash size warning
Replies: 4
Views: 22812

Re: spi_flash size warning

I had already selected the correct option and flashed the app multiple times. Reflashing the bootloader fixed the issue.
by raldone01
Tue Jul 23, 2019 6:18 pm
Forum: ESP-IDF
Topic: CMake with CLion - working!
Replies: 7
Views: 15614

Re: CMake with CLion - working!

I don't know if it helps but I created a [template project for clion](https://gitlab.feather.ink/raldone01/es ... t-template) which works for windows without setting environment variables. (ESP-IDF v4)
by raldone01
Thu Jul 18, 2019 5:30 pm
Forum: ESP-IDF
Topic: spi_flash size warning
Replies: 4
Views: 22812

spi_flash size warning

When the chip boots I receive the following warning:

Code: Select all

W (287) spi_flash: Detected size(4096k) larger than the size in the binary image
 header(2048k). Using the size in the binary image header.
What does it mean?
by raldone01
Thu Jul 11, 2019 9:48 am
Forum: ESP-IDF
Topic: Malloc and free threadsafe?
Replies: 2
Views: 4580

Malloc and free threadsafe?

I want to access I2C functionality from multiple tasks. My current plan is to have one task communicate with the I2C driver (the handler task) and pass the i2c_cmd_handle_t s which are created by different tasks to the handler task. Once the handler is done it should free the i2c_cmd_handle_t s. So ...