Search found 9 matches

by leemoore1966
Fri Sep 01, 2023 7:36 am
Forum: ESP-IDF
Topic: Using OTA with multi-partition application
Replies: 6
Views: 4970

Re: Using OTA with multi-partition application

@mbratch Many thanks for your pointers, I finally got this implemented. Just a note for anyone reading, I made a silly mistake of using the API call of esp_partition_find_first() incorrectly I simply called with const esp_partition_t *part = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PART...
by leemoore1966
Mon Aug 28, 2023 8:21 am
Forum: ESP-IDF
Topic: sdkconfig, partitions.csv, esptool.py
Replies: 2
Views: 914

Re: sdkconfig, partitions.csv, esptool.py

CONFIG_PARTITION_TABLE_OFFSET=0x10000 and factory, app, factory, 0x010000 , 1M, Looks like a conflict where the partition table and the application both want to reside at address 0x10000. I guess you'll have to move all partitions after the partition table up by 64kb. I did try this, and unfortunat...
by leemoore1966
Sun Aug 27, 2023 12:01 pm
Forum: ESP-IDF
Topic: sdkconfig, partitions.csv, esptool.py
Replies: 2
Views: 914

sdkconfig, partitions.csv, esptool.py

Hi All, I have got myself into a very confusing situation. Partly I think my issue is that I have taken a lot of boilerplate code from other projects, without fully understanding the underlying usage. I am having issues building and writing to my device, having had to change the settings of the loca...
by leemoore1966
Fri Jun 30, 2023 10:34 am
Forum: ESP-IDF
Topic: APSTA Mode and SNTP
Replies: 0
Views: 955

APSTA Mode and SNTP

Hi All I hope I am posting in the correct part of the forum! I have an example which sets up the WiFi in APSTA mode. It creates a local SoftAP, and also connects to a Station - I seem to have this working correctly I am now trying to integrate the code here to obtain WireGuard capability to a remote...
by leemoore1966
Mon Apr 17, 2023 12:04 pm
Forum: ESP-IDF
Topic: v4.1 to v4.2 - esp_timer issue
Replies: 0
Views: 638

v4.1 to v4.2 - esp_timer issue

Hi All I have a large codebase running on v4.1 of esp-idf. I need to add a feature that requires moving to v4.2 If I rebuild my code under v4.2, when I run I keep getting a PANIC in the esp_timer thread Firstly, I do not start this thread, so I am assuming this is a system level thread. I do not hav...
by leemoore1966
Mon Apr 17, 2023 10:18 am
Forum: ESP-IDF
Topic: Using OTA with multi-partition application
Replies: 6
Views: 4970

Re: Using OTA with multi-partition application

Many thanks for your comprehensive response.

I was also wondering about the redundant copy of the SPIFFS in the program binary, luckily I am in a similar situation to yourself that, the convenience of this approach outweighs the redundant data
many thanks

Lee
by leemoore1966
Thu Apr 06, 2023 1:13 pm
Forum: ESP-IDF
Topic: Using OTA with multi-partition application
Replies: 6
Views: 4970

Re: Using OTA with multi-partition application

@mbratch

Hi, did you find a solution to your problem ?
I have exactly the same requirement, I need to update my code AND the html/js files which are in a spiffs file system
I would be very interested if you were able to solve your issue, having great difficulty finding a solution
Thx
Lee
by leemoore1966
Mon Feb 17, 2020 8:00 pm
Forum: General Discussion
Topic: Redircting STDOUT
Replies: 4
Views: 9147

Re: Redircting STDOUT

To redirect stdout, you can simply reassign stdout to a new FILE* stream. An example of this can be found in https://esp32.com/viewtopic.php?f=13&t=13997&p=55141#p55141. (The specific example redirects to app_trace, in your case it will be something different). If only writing is required, you can ...
by leemoore1966
Sat Feb 15, 2020 1:44 pm
Forum: General Discussion
Topic: Redircting STDOUT
Replies: 4
Views: 9147

Redircting STDOUT

Hi All I need to re-purpose UART0 for my project from its default usage as the monitor This seems pretty easy from the menuconfig. However, I still need to have debug messages from the STDOUT file descriptor I have setup WiFi and I have a method of easily sending UDP messages to a remote listening n...