Search found 6 matches

by bennyslbs
Mon May 02, 2022 7:35 am
Forum: ESP-IDF
Topic: Captive portal not working
Replies: 1
Views: 3290

Re: Captive portal not working

I don't have the same issue, when using the example in <ESP_IDF v. 4.4.1>/examples/protocols/http_server/captive_portal but I have seen when not finishing sending data, but just httpd_resp_sendstr_chunk(...) and no final httpd_resp_sendstr(...) then I get the same behaviour on the "Sign in to <AP-na...
by bennyslbs
Tue Nov 16, 2021 10:36 am
Forum: Hardware
Topic: ESP32 with ATMEGA328p/Arduino as GPIO+co-processor
Replies: 0
Views: 3579

ESP32 with ATMEGA328p/Arduino as GPIO+co-processor

Hi, I would like to program a ATMEGA328p from a ESP32. I would like to use an ATMEGA328p as advanced GPIO-extender or co-processor for an ESP32. I would like to communicate between the ESP and ATMEGA via I2C (SPI or UART if better/required for programming). Bandwith: Low - I2C or UART is fine. I hav...
by bennyslbs
Thu Aug 13, 2020 8:11 am
Forum: ESP-IDF
Topic: Buildsystem (idf.py) - add custom command
Replies: 4
Views: 4909

Re: Buildsystem (idf.py) - add custom command

This does not answer how to generate version.c, but is better solution Variable PROJECT_VER (https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html?highlight=project_ver#cmake-build-properties) The version of firmware is stored in the firmware and can be extracted f...
by bennyslbs
Tue Aug 11, 2020 8:12 am
Forum: ESP-IDF
Topic: Buildsystem (idf.py) - add custom command
Replies: 4
Views: 4909

Re: Buildsystem (idf.py) - add custom command

The path is wrong, but get_version.py is not even called, (nothing from get_version.py printed on STDOUT or fails if contains errors) Extra: CMake has some PROJECT_VERSION (https://cmake.org/cmake/help/v3.0/command/project.html). It prints Project version first time after committing, but does not de...
by bennyslbs
Thu Jul 30, 2020 7:05 am
Forum: ESP-IDF
Topic: Buildsystem (idf.py) - add custom command
Replies: 4
Views: 4909

Buildsystem (idf.py) - add custom command

Hi, I would like to add custom command for generating a source file, and added the following to main/CMakeLists.txt add_custom_command(OUTPUT version.c COMMAND ../tools/get_version.py > version.c DEPENDS ../.git/HEAD ../.git/index COMMENT Generates version.c from Git version ) But I get the error: x...
by bennyslbs
Tue Jul 14, 2020 8:25 am
Forum: ESP-IDF
Topic: MQTTs - Using esp-aws-iot library or not
Replies: 0
Views: 2249

MQTTs - Using esp-aws-iot library or not

Hi I have used esp-jumpstart (https://github.com/espressif/esp-jumpstart.git) as base for my project, it connects to AWS using the https://github.com/espressif/esp-aws-iot.git component, but I would like to use my own MQTTs broker with (self-signed) client cert etc. The AWS code seems to have some n...