Search found 15 matches

by Stipa88
Thu Aug 08, 2024 7:58 pm
Forum: General Discussion
Topic: Custom OTA; with one OTA partition
Replies: 1
Views: 559

Custom OTA; with one OTA partition

Hello everyone. I use ESP32-C3-MINI, which has a max. 4MB of flash memory. That memory is not enough for me to organize the partition table with two OTA partitions and use the classic OTA. I wanted to organize flash memory in the following way: # ESP-IDF Partition Table # Name, Type, SubType, Offset...
by Stipa88
Mon Aug 05, 2024 7:24 pm
Forum: ESP-IDF
Topic: Simple OTA - does not work in the project
Replies: 0
Views: 402

Simple OTA - does not work in the project

Hello everyone. Official example "simple_ota_example" (\Espressif\frameworks\esp-idf-v5.0\examples\system\ota) it compiles and runs without error. I use Espressif-IDE Version: 3.0.0, and ESP-IDF v5.0. When I copy the c file "simple_ota_example.c" into my own project that is being compiled, errors oc...
by Stipa88
Fri Mar 22, 2024 12:14 pm
Forum: ESP-IDF
Topic: Cpp code with errors, same c code without errors
Replies: 2
Views: 532

Cpp code with errors, same c code without errors

Hey. The code inside the *.c file compiles without errors, the same code inside the *.cpp file has many errors, warnings.. The code is an official LEDC example: #include <stdio.h> #include "esp_system.h" #include "esp_log.h" #include "esp_err.h" #include "driver/ledc.h" #define LEDC_TIMER LEDC_TIMER...
by Stipa88
Thu Jan 25, 2024 7:43 am
Forum: ESP-IDF
Topic: Freertos task, required large stack for one ESP_LOG printout
Replies: 1
Views: 650

Freertos task, required large stack for one ESP_LOG printout

Hi. I am creating a task. In the task function, within the for(;;) loop, I periodically print one LOG message via the ESP_LOGI function-definition. In order for it to work, without crash and ESP reset, a stack of "1650" (stack is defined in words) size is required. 6.44kB is the task necessary? Why ...
by Stipa88
Wed Apr 12, 2023 12:23 pm
Forum: ESP-IDF
Topic: ESP32-C3 JTAG/USB
Replies: 1
Views: 1030

ESP32-C3 JTAG/USB

Hello everyone. I am using ESP32-C3-MINI-1, on my own project. By default, the D+ and D- (USB) lines are used internally for programming/debugging. Can I use the USB lines for my project, without permanently programming the bits inside the "fuse" register. I don't want to permanently disable JTAG/US...
by Stipa88
Fri Mar 10, 2023 12:47 pm
Forum: ESP-IDF
Topic: How to create a new ESP-IDF component
Replies: 0
Views: 736

How to create a new ESP-IDF component

Hello everyone. I created a new empty project -> Right mouse click -> New -> Espressif IDF Component (I looked at the example component/wifi_provisioning) This is my component structure: proto.JPG How to compile and create a component "ProtoGenerator"? (the name of the component is just an example) ...
by Stipa88
Wed Mar 08, 2023 5:56 am
Forum: ESP-IDF
Topic: Provisioning custom data
Replies: 1
Views: 1124

Re: Provisioning custom data

Pls, does anyone know?
by Stipa88
Mon Mar 06, 2023 1:53 pm
Forum: ESP-IDF
Topic: Protobuf example - implementation in own project
Replies: 0
Views: 750

Protobuf example - implementation in own project

Hi. There is a lot of mention of Protobuf, and the message structure, but unfortunately, there is nowhere a simple example of how to implement it. Example. a) Create a new ESP-iDF project (eg hello_world) b) Inside the project I create a proto folder c) Add the msg.proto file to the "proto" folder Q...
by Stipa88
Mon Mar 06, 2023 9:36 am
Forum: ESP-IDF
Topic: Provisioning custom data
Replies: 1
Views: 1124

Provisioning custom data

Hi community, I'm testing an example "Wi-Fi Provisioning" https://github.com/espressif/esp-idf/tree/af805df3cb/examples/provisioning/wifi_prov_mgr and Android App https://github.com/espressif/esp-idf-provisioning-android . I am interested in the following: what should I change in the existing functi...
by Stipa88
Tue Feb 07, 2023 11:13 am
Forum: ESP RainMaker
Topic: RainMaker MQTT server
Replies: 4
Views: 3938

Re: RainMaker MQTT server

Why a mobile app,uses RainMaker API Service, why the mobile app is not simply an MQTT client? Structure of MQTT response messages, when the message sent by ESP and mobile APP is not the same. Example Send ESP to MQTT server: Send: {"ESP_WiFi_Comm":{"Power":false}} Recieive: {"ESP_WiFi_Comm":{"Power"...