Search found 35 matches

by RobMeades
Fri Jun 05, 2020 11:55 am
Forum: ESP32 IDF
Topic: [Solved] Python requirements not met, even though they are
Replies: 1
Views: 63

Re: Python requirements not met, even though they are

Sussed it. This post: https://superuser.com/questions/433897/python-in-command-line-runs-the-wrong-version ...explains that because I'm calling idf.py , Windows uses the registry entry for the .py extension to determine which Python version to run, not the order in the path. If, however, I call pyth...
by RobMeades
Fri Jun 05, 2020 10:46 am
Forum: ESP32 IDF
Topic: [Solved] Python requirements not met, even though they are
Replies: 1
Views: 63

[Solved] Python requirements not met, even though they are

I'm having trouble persuading ESP-IDF to find the right version of Python on Windows, even though it has just run all of its install processes. Here is the procedure I have followed (after uninstalling/deleting all traces of Espressif tools and associated paths/environment variables): 1. Open a comm...
by RobMeades
Tue Jun 02, 2020 7:07 am
Forum: ESP32 IDF
Topic: [Solved] EXTRA_COMPONENT_DIRS not working for me
Replies: 2
Views: 209

Re: EXTRA_COMPONENT_DIRS not working for me

Ah, yes, of course, EXTRA_COMPONENT_DIRS makes the component directory available to the CMake system but it doesn't actually _include_ the component in my case, main has to pull it in by naming it explicitly. That must be it.

Thank you for pointing out my "deliberate" mistake :-).
by RobMeades
Sat May 30, 2020 12:25 pm
Forum: ESP32 IDF
Topic: [Solved] EXTRA_COMPONENT_DIRS not working for me
Replies: 2
Views: 209

[Solved] EXTRA_COMPONENT_DIRS not working for me

I have arranged my builds such that I have a common CMakeLists.txt in one directory and below it, in sub-directories, I have builds that make use of this common CMakeLists.txt, e.g. "thing1", which will in turn have the usual "main" sub-directory inside them. The common CMakeLists.txt pulls in gener...
by RobMeades
Mon Jan 06, 2020 5:27 pm
Forum: ESP32 IDF
Topic: Changing stdout to a pin that is also an RTC pin
Replies: 2
Views: 532

Re: Changing stdout to a pin that is also an RTC pin

FYI, I found no way to make this work in the end so instead I re-directed stdio once I got into main and that worked fine, code below in case anyone else finds it useful. #include "esp_vfs_dev.h" // For redirection of stdio // More header inclusions here #define CONFIG_DEBUG_UART_PORT 0 #define CONF...
by RobMeades
Fri Dec 20, 2019 11:32 am
Forum: ESP32 IDF
Topic: Changing stdout to a pin that is also an RTC pin
Replies: 2
Views: 532

Re: Changing stdout to a pin that is also an RTC pin

Anyone have any ideas on this? I've tried slapping in a: DPORT_CLEAR_PERI_REG_MASK(RTC_IO_TOUCH_PAD6_REG, RTC_IO_TOUCH_PAD6_MUX_SEL_M); ...before the UART is configured in uart_console_configure() inside bootloader_init.c , since that's what rtc_gpio_deinit() would do for GPIO14, but that hasn't hel...
by RobMeades
Tue Dec 17, 2019 5:07 pm
Forum: ESP32 IDF
Topic: Changing stdout to a pin that is also an RTC pin
Replies: 2
Views: 532

Changing stdout to a pin that is also an RTC pin

I need console output to exit through an alternative pin on my board. I know this works physically because I can cheerfully obtain serial output on that pin with a UART driver. However, I cannot get the menuconfig console output redirection to do the same thing: I never get anything out of the pin, ...
by RobMeades
Tue Dec 03, 2019 9:04 am
Forum: ESP32 IDF
Topic: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)
Replies: 12
Views: 1204

Re: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)

Confirmed: with a vTaskDelay() of 100 ms after the task was deleted on an overnight run of 832 cycles there were no more occurrences of the panic. Just wish I hadn't spent 3 days trying to find a nasty memory-stomp in my code! I guess from a FreeRTOS point of view doing any checking to defend agains...
by RobMeades
Mon Dec 02, 2019 5:40 pm
Forum: ESP32 IDF
Topic: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)
Replies: 12
Views: 1204

Re: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)

A possible answer (still testing): allow the idle task to run. If I put a vTaskDelay() of 100 ms after deleting my "LED" task then, so far at least, the problem does not occur. Is it possible that FreeRTOS is getting confused when the task is created once more after it has been deleted if FreeRTOS i...
by RobMeades
Mon Dec 02, 2019 2:13 pm
Forum: ESP32 IDF
Topic: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)
Replies: 12
Views: 1204

Re: Clutching at straws: guru doesn't like me in uxListRemove() (freertos/list.c: 218)

OK, I have got my soldering iron out and removed that problem. I've also switched on the FreeRTOS list integrity checking. I can see that the ListItem * passed into uxListRemove has the integrity words on either end of it but that pvContainer in the middle is set to NULL: uxListRemove (pxItemToRemov...

Go to advanced search