Search found 2 matches

by bzgec_
Sat Aug 17, 2019 12:25 pm
Forum: ESP-IDF
Topic: SPI, prblem with 'spi_device_polling_end' ("free() target pointer is outside heap areas")
Replies: 2
Views: 5109

Re: SPI, prblem with 'spi_device_polling_end' ("free() target pointer is outside heap areas")

Thank you!

Making variable: spi_transaction_t SPITransaction; static solved my problem.


So i changed this function void ST7789_spi_send_bytes_poll_st(spi_device_handle_t SPIHandle, uint8_t *Data, size_t DataLength, esp_err_t *outErr) {
static spi_transaction_t SPITransaction;
esp_err_t errLocal ...
by bzgec_
Mon Aug 12, 2019 7:45 pm
Forum: ESP-IDF
Topic: SPI, prblem with 'spi_device_polling_end' ("free() target pointer is outside heap areas")
Replies: 2
Views: 5109

SPI, prblem with 'spi_device_polling_end' ("free() target pointer is outside heap areas")

Hello,

i have a problem, that when i call spi_device_polling_start , and than later spi_device_polling_end i get this assertion (it happens when i call spi_device_polling_end ):

assertion "heap != NULL && "free() target pointer is outside heap areas"" failed: file "/home/bzgec/esp/esp-idf ...

Go to advanced search