atanisoft / esp32olcbio Goto Github PK
View Code? Open in Web Editor NEWESP32 OpenLCB IO Board
ESP32 OpenLCB IO Board
I cant build firmware with esp-idf 4.4. Looks like dependencies don't match.
`
bash-5.2$ idf.py menuconfig
Executing action: menuconfig
Running ninja in directory /Users/utement/Projects/esp/Esp32OlcbIO/firmware/build
Executing "ninja menuconfig"...
[0/1] cd /Users/utement/Projects/esp/Esp32OlcbIO/firmware/build && /Users/utement/.espressif/python_env/idf5....F_TARGET=esp32 --env IDF_ENV_FPGA= --output config /Users/utement/Projects/esp/Esp32OlcbIO/firmware/sdkconfig
Loading defaults file /Users/utement/Projects/esp/Esp32OlcbIO/firmware/sdkconfig.defaults...
/Users/utement/Projects/esp/Esp32OlcbIO/firmware/sdkconfig.defaults:102 CONFIG_ESP_TASK_WDT was replaced with CONFIG_ESP_TASK_WDT_INIT
TERM environment variable is set to "xterm-256color"
/Users/utement/.espressif/python_env/idf5.0_py3.10_env/lib/python3.10/site-packages/menuconfig.py: /Users/utement/Projects/esp/esp-idf-5.0/components/esp_psram/./esp32/Kconfig.spiram:62: '/Users/utement/Projects/esp/esp-idf-4.4/components/esp_psram/Kconfig.spiram.common' not found (in 'source "$IDF_PATH/components/esp_psram/Kconfig.spiram.common" # insert non-chip-specific items here'). Check that environment variables are set correctly (e.g. $srctree, which is unset or blank). Also note that unset environment variables expand to the empty string.
FAILED: CMakeFiles/menuconfig /Users/utement/Projects/esp/Esp32OlcbIO/firmware/build/CMakeFiles/menuconfig
cd /Users/utement/Projects/esp/Esp32OlcbIO/firmware/build && /Users/utement/.espressif/python_env/idf5.0_py3.10_env/bin/python /Users/utement/Projects/esp/esp-idf-5.0/tools/kconfig_new/prepare_kconfig_files.py --list-separator=semicolon --env-file /Users/utement/Projects/esp/Esp32OlcbIO/firmware/build/config.env && /Users/utement/.espressif/python_env/idf5.0_py3.10_env/bin/python /Users/utement/Projects/esp/esp-idf-5.0/tools/kconfig_new/confgen.py --list-separator=semicolon --kconfig /Users/utement/Projects/esp/esp-idf-5.0/Kconfig --sdkconfig-rename /Users/utement/Projects/esp/esp-idf-5.0/sdkconfig.rename --config /Users/utement/Projects/esp/Esp32OlcbIO/firmware/sdkconfig --defaults /Users/utement/Projects/esp/Esp32OlcbIO/firmware/sdkconfig.defaults --env-file /Users/utement/Projects/esp/Esp32OlcbIO/firmware/build/config.env --env IDF_TARGET=esp32 --env IDF_ENV_FPGA= --dont-write-deprecated --output config /Users/utement/Projects/esp/Esp32OlcbIO/firmware/sdkconfig && /Users/utement/.espressif/python_env/idf5.0_py3.10_env/bin/python /Users/utement/Projects/esp/esp-idf-5.0/tools/check_term.py && /opt/local/bin/cmake -E env COMPONENT_KCONFIGS_SOURCE_FILE=/Users/utement/Projects/esp/Esp32OlcbIO/firmware/build/kconfigs.in COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE=/Users/utement/Projects/esp/Esp32OlcbIO/firmware/build/kconfigs_projbuild.in KCONFIG_CONFIG=/Users/utement/Projects/esp/Esp32OlcbIO/firmware/sdkconfig IDF_TARGET=esp32 IDF_ENV_FPGA= /Users/utement/.espressif/python_env/idf5.0_py3.10_env/bin/python -m menuconfig /Users/utement/Projects/esp/esp-idf-5.0/Kconfig && /Users/utement/.espressif/python_env/idf5.0_py3.10_env/bin/python /Users/utement/Projects/esp/esp-idf-5.0/tools/kconfig_new/confgen.py --list-separator=semicolon --kconfig /Users/utement/Projects/esp/esp-idf-5.0/Kconfig --sdkconfig-rename /Users/utement/Projects/esp/esp-idf-5.0/sdkconfig.rename --config /Users/utement/Projects/esp/Esp32OlcbIO/firmware/sdkconfig --defaults /Users/utement/Projects/esp/Esp32OlcbIO/firmware/sdkconfig.defaults --env-file /Users/utement/Projects/esp/Esp32OlcbIO/firmware/build/config.env --env IDF_TARGET=esp32 --env IDF_ENV_FPGA= --output config /Users/utement/Projects/esp/Esp32OlcbIO/firmware/sdkconfig
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
bash-5.2$ idf.py menuconfig
Executing action: menuconfig
Running ninja in directory /Users/utement/Projects/esp/Esp32OlcbIO/firmware/build
Executing "ninja menuconfig"...
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32
Solving dependencies requirements
Skipping optional dependency: espressif/mdns
.................................CMake Error at /Users/utement/Projects/esp/esp-idf-4.4/tools/cmake/build.cmake:463 (message):
HINT: Please check manifest file of the following component(s): main
ERROR: Because project depends on idf (>=5.0) which doesn't match any
versions, version solving failed.
Call Stack (most recent call first):
/Users/utement/Projects/esp/esp-idf-4.4/tools/cmake/project.cmake:476 (idf_build_process)
CMakeLists.txt:7 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/utement/Projects/esp/Esp32OlcbIO/firmware/build/CMakeFiles/CMakeOutput.log".
FAILED: build.ninja
/opt/local/bin/cmake --regenerate-during-build -S/Users/utement/Projects/esp/Esp32OlcbIO/firmware -B/Users/utement/Projects/esp/Esp32OlcbIO/firmware/build
ninja: error: rebuilding 'build.ninja': subcommand failed
ninja failed with exit code 1
bash-5.2$ idf.py build
Executing action: all (aliases: build)
Running ninja in directory /Users/utement/Projects/esp/Esp32OlcbIO/firmware/build
Executing "ninja all"...
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32
Solving dependencies requirements
Skipping optional dependency: espressif/mdns
.................................CMake Error at /Users/utement/Projects/esp/esp-idf-4.4/tools/cmake/build.cmake:463 (message):
HINT: Please check manifest file of the following component(s): main
ERROR: Because project depends on idf (>=5.0) which doesn't match any
versions, version solving failed.
Call Stack (most recent call first):
/Users/utement/Projects/esp/esp-idf-4.4/tools/cmake/project.cmake:476 (idf_build_process)
CMakeLists.txt:7 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/utement/Projects/esp/Esp32OlcbIO/firmware/build/CMakeFiles/CMakeOutput.log".
FAILED: build.ninja
/opt/local/bin/cmake --regenerate-during-build -S/Users/utement/Projects/esp/Esp32OlcbIO/firmware -B/Users/utement/Projects/esp/Esp32OlcbIO/firmware/build
ninja: error: rebuilding 'build.ninja': subcommand failed
ninja failed with exit code 1
`
a clean clone of the master branch has the compiler error:
In file included from ../main/esp32io_bootloader.cpp:39:
../components/OpenMRNIDF/src/freertos_drivers/esp32/Esp32BootloaderHal.hxx: In function 'void esp32_bootloader_run(uint64_t, gpio_num_t, gpio_num_t, bool)':
../components/OpenMRNIDF/src/freertos_drivers/esp32/Esp32BootloaderHal.hxx:354:12: error: enumeration value 'CHIP_ESP32H2' not handled in switch [-Werror=switch]
switch (chip_info.model)
^
This enum value was added on 1/7/22 in 0f6073123ebb836d6515858a56661fb36ddd23e5
The servo branch is using newer version (9/18/22) 10b7e3cf3c65cf0e71788427e6c3227b100f4802
Currently the code will create N instances of CDIRequestProcessor
where N is the number of requests. This causes the heap to become dangerously low at times and can lead to heap fragmentation.
It would be better to allocate a single instance of CDIRequestProcessor
and send it requests similar to openlcb::MemoryConfigClient
.
[Web] OTA Update starting (1249878 bytes, target:ota_1)...
16:00:29.473: free heap: 195.46kB (max block size: 111.12kB), mainBufferPool: 0.59kB, task count: 15
E (47831) esp_image: invalid segment length 0x41360000
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0x1503 (ESP_ERR_OTA_VALIDATE_FAILED) at 0x40086ddb
0x40086ddb: _esp_error_check_failed_without_abort at esp-idf/components/esp_common/src/esp_err.c:40
file: "../main/web_server.cpp" line 120
func: http::AbstractHttpResponse* process_ota(http::HttpRequest*, const string&, size_t, const uint8_t*, size_t, size_t, bool, bool*)
expression: esp_ota_end(otaHandle)
[Web] OTA end failed, aborting!
Currently the RJ45s obstruct easy access to the USB port, it would be ideal if the space could be widened, moving the CAN activity LEDS between the RJ45 jacks.
Add a note about needing to connect SVP (pin 36) and SVN (pin 39) to 3.3v if updating firmware on ESP32 board when it's removed from IO board
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.