Search found 8 matches

by ecc esp
Tue Aug 04, 2020 8:02 pm
Forum: ESP-IDF
Topic: uart_hal_write_txfifo panic in 4.2 but not 4.1
Replies: 4
Views: 4633

uart_hal_write_txfifo panic in 4.2 but not 4.1

My code has been working fine when built with the espressif/idf:release-v4.1 docker image. But with the v4.2 image, I get panics like the following: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0). Core 0 register dump: PC : 0x400825e8 PS : 0x00050034 A0 : 0x4000bff0 A1 : 0x3f...
by ecc esp
Fri Apr 10, 2020 4:03 pm
Forum: ESP-IDF
Topic: how to enable additional LWIP config options?
Replies: 0
Views: 2584

how to enable additional LWIP config options?

I would like to use the netif_set_status_callback and netif_set_link_callback functions in my code, so that I can block instead of polling. But these require LWIP_NETIF_STATUS_CALLBACK and LWIP_NETIF_LINK_CALLBACK to be defined as non-zero, which they're not in the current version. Is there some way...
by ecc esp
Fri Mar 13, 2020 10:01 pm
Forum: Report Bugs
Topic: SPI no longer working to radio on TTGO LoRa OLED v1
Replies: 0
Views: 7369

SPI no longer working to radio on TTGO LoRa OLED v1

I've written a project that uses the radio (RFM95 / SX1276) on the TTGO LoRa OLED v1 module. I developed it with the 4.1-dev branch of ESP-IDF about 6 months ago. The project is here: https://github.com/ecc1/gnarl I got it working reasonably well and just revisited it. I installed a fresh ESP-IDF re...
by ecc esp
Tue Feb 19, 2019 5:21 pm
Forum: ESP-IDF
Topic: how to structure a project to build multiple binaries?
Replies: 3
Views: 5270

Re: how to structure a project to build multiple binaries?

The tests and utilities are also ESP32 applications. The issue is how to organize them in a github repo -- they only make sense along with the "main" application, so should somehow be in the same repo. I was thinking the top-level of the repo should be the top level of the project, but I guess I'll ...
by ecc esp
Mon Feb 18, 2019 4:42 pm
Forum: ESP-IDF
Topic: how to structure a project to build multiple binaries?
Replies: 3
Views: 5270

how to structure a project to build multiple binaries?

I would like to build a number of small utilities and test programs along with the main application in my project. Can anyone point me at an example or "best practice" of how to use the build system to do this? (Preferably using GNU make rather than CMake.)
by ecc esp
Thu Jan 31, 2019 3:24 pm
Forum: ESP-IDF
Topic: how to include correct variant when using arduino-esp32 as component?
Replies: 1
Views: 2986

Re: how to include correct variant when using arduino-esp32 as component?

I'm currently making this work by moving variants/esp32 out of the way and making it a symlink to variants/<MY BOARD>, but I'd like a less kludgy solution.
by ecc esp
Wed Jan 30, 2019 6:09 pm
Forum: ESP-IDF
Topic: how to include correct variant when using arduino-esp32 as component?
Replies: 1
Views: 2986

how to include correct variant when using arduino-esp32 as component?

I found that the reason my sketch worked with the Arduino environment, but not when compiled as an esp-idf project with arduino-esp32 as a component, was that the Arduino IDE was correctly including variants/<MY BOARD>/, but arduino-esp32/components.mk only includes variants/esp32/. What's the prefe...
by ecc esp
Mon Jan 28, 2019 10:26 pm
Forum: ESP-IDF
Topic: using RadioHead library in esp-idf
Replies: 1
Views: 3610

using RadioHead library in esp-idf

I'm trying to move an Arduino sketch that uses the RadioHead library to an esp-idf project. I've added the arduino-esp32 component and the radio library to the project and it compiles correctly, but it fails at a low level, with SPI reads coming back with all zeros instead of the expected values fro...