Coder Social home page Coder Social logo

esp32-frekvens's Issues

Build fails

Using both esp-idf 3.3 and 4.0 the build fails to complete with the following error message:

Checking Python dependencies...
Python requirements from /home/afarley/esp/esp-idf/requirements.txt are satisfied.
Running make in directory /home/afarley/esp/esp32-frekvens/build
Executing "make -j 10 all"...
[ 1%] Built target idf_component_log
[ 2%] Built target idf_component_xtensa-debug-module
[ 2%] Built target idf_component_vfs
[ 3%] Built target idf_component_heap
[ 5%] Built target idf_component_freertos
[ 5%] Built target dummy_main_src
[ 6%] Built target idf_component_app_trace
[ 6%] Built target idf_component_main
[ 8%] Built target idf_component_newlib
[ 10%] Built target idf_component_soc
[ 10%] Built target idf_component_esp_ringbuf
[ 10%] Built target esp32_linker_script
[ 10%] Built target idf_component_micro-ecc
[ 11%] Built target idf_component_cxx
[ 11%] Built target idf_component_efuse
[ 11%] Built target idf_component_ethernet
[ 12%] Built target idf_component_esp_event
[ 12%] Built target idf_component_app_update
[ 13%] Built target idf_component_bootloader_support
[ 14%] Built target idf_component_nvs_flash
[ 16%] Built target idf_component_driver
[ 17%] Built target idf_component_spi_flash
[ 17%] Built target idf_component_tcpip_adapter
[ 18%] Built target idf_component_pthread
[ 18%] Built target idf_component_smartconfig_ack
[ 18%] Built target idf_component_espcoredump
[ 18%] Built target idf_component_jsmn
[ 18%] Built target idf_component_cxx_sections_info
[ 20%] Built target idf_component_ov2640
[ 20%] Built target idf_component_console
[ 21%] Built target idf_component_asio
[ 23%] Built target idf_component_coap
[ 32%] Built target idf_component_wpa_supplicant
[ 33%] Built target idf_component_tcp_transport
[ 33%] Built target idf_component_esp_adc_cal
[ 34%] Built target idf_component_esp-tls
[ 34%] Built target idf_component_esp_http_client
[ 35%] Built target idf_component_esp_https_ota
[ 38%] Built target idf_component_nghttp
[ 38%] Built target idf_component_esp_http_server
[ 38%] Built target idf_component_esp_https_server
[ 39%] Built target idf_component_wear_levelling
[ 39%] Built target idf_component_expat
[ 40%] Built target idf_component_sdmmc
[ 40%] Built target idf_component_esp_websocket_client
[ 41%] Built target idf_component_json
[ 42%] Built target idf_component_openssl
[ 47%] Built target idf_component_fatfs
[ 54%] Built target idf_component_lwip
[ 54%] Built target idf_component_protobuf-c
[ 56%] Built target idf_component_freemodbus
[ 56%] Built target idf_component_mdns
[ 57%] Built target idf_component_ulp
[ 57%] Built target idf_component_mqtt
[ 57%] Built target idf_component_unity
[ 58%] Built target idf_component_protocomm
[ 58%] Built target gen_secure_boot_signing_key
[ 59%] Built target idf_component_main_sections_info
[ 59%] Built target idf_component_spiffs
[ 60%] Built target partition_table
[ 61%] Built target idf_component_wifi_provisioning
[ 61%] Built target idf_component_soc_sections_info
[ 61%] Built target idf_component_log_sections_info
[ 61%] Built target idf_component_heap_sections_info
[ 61%] Built target idf_component_freertos_sections_info
[ 61%] Built target idf_component_app_trace_sections_info
[ 61%] Built target idf_component_xtensa-debug-module_sections_info
[ 61%] Built target idf_component_vfs_sections_info
[ 62%] Built target idf_component_esp_ringbuf_sections_info
[ 62%] Built target idf_component_newlib_sections_info
[ 62%] Built target idf_component_esp_event_sections_info
[ 69%] Built target idf_component_driver_sections_info
[ 71%] Built target idf_component_ethernet_sections_info
[ 77%] Built target idf_component_libsodium
[ 78%] Built target idf_component_micro-ecc_sections_info
[ 78%] Built target idf_component_app_update_sections_info
[ 78%] Built target idf_component_bootloader_support_sections_info
[ 78%] Built target idf_component_efuse_sections_info
[ 78%] Built target idf_component_nvs_flash_sections_info
[ 78%] Built target idf_component_spi_flash_sections_info
[ 78%] Built target idf_component_pthread_sections_info
[ 78%] Built target idf_component_tcpip_adapter_sections_info
[ 78%] Built target idf_component_lwip_sections_info
[ 78%] Built target idf_component_smartconfig_ack_sections_info
[ 78%] Built target idf_component_wpa_supplicant_sections_info
[ 83%] Built target idf_component_esp32
[ 83%] Built target idf_component_ov2640_sections_info
[ 84%] Built target idf_component_espcoredump_sections_info
[ 84%] Built target idf_component_jsmn_sections_info
[ 84%] Built target idf_component_asio_sections_info
[ 84%] Built target idf_component_console_sections_info
[ 84%] Built target idf_component_nghttp_sections_info
[ 84%] Built target idf_component_esp-tls_sections_info
[ 85%] Built target idf_component_coap_sections_info
[ 85%] Built target idf_component_tcp_transport_sections_info
[ 86%] Built target idf_component_esp_http_client_sections_info
[ 86%] Built target idf_component_openssl_sections_info
[ 86%] Built target idf_component_esp_adc_cal_sections_info
[ 86%] Built target idf_component_esp_https_server_sections_info
[ 86%] Built target idf_component_esp_https_ota_sections_info
[ 86%] Built target idf_component_esp_http_server_sections_info
[ 86%] Built target idf_component_expat_sections_info
[ 86%] Built target idf_component_esp_websocket_client_sections_info
[ 86%] Built target idf_component_sdmmc_sections_info
[ 86%] Built target idf_component_wear_levelling_sections_info
[ 86%] Built target idf_component_freemodbus_sections_info
[ 86%] Built target idf_component_fatfs_sections_info
[ 86%] Built target idf_component_json_sections_info
[ 86%] Built target idf_component_mdns_sections_info
[ 86%] Built target idf_component_protocomm_sections_info
[ 86%] Built target idf_component_libsodium_sections_info
[ 86%] Built target idf_component_protobuf-c_sections_info
[ 86%] Built target idf_component_ulp_sections_info
[ 86%] Built target idf_component_mqtt_sections_info
[ 86%] Built target idf_component_spiffs_sections_info
[ 87%] Built target idf_component_unity_sections_info
[ 87%] Built target idf_component_wifi_provisioning_sections_info
[ 87%] Performing build step for 'bootloader'
[ 87%] Built target idf_component_esp32_sections_info
[ 94%] Built target mbedcrypto
[ 1%] Built target dummy_main_src
[ 95%] Built target mbedx509
[ 5%] Built target idf_component_log
[ 8%] Built target idf_component_main
[ 17%] Built target idf_component_efuse
[ 23%] Built target idf_component_spi_flash
[ 25%] Built target idf_component_micro-ecc
[ 80%] Built target idf_component_soc
[ 80%] Built target idf_component_bootloader_support
[ 82%] Built target idf_component_efuse_sections_info
[ 83%] Built target idf_component_log_sections_info
[ 85%] Built target idf_component_main_sections_info
[ 87%] Built target idf_component_micro-ecc_sections_info
[ 89%] Built target idf_component_spi_flash_sections_info
[ 91%] Built target idf_component_bootloader_support_sections_info
[ 97%] Built target mbedtls
[ 92%] Built target idf_component_soc_sections_info
[ 98%] Built target idf_component_mbedtls
[ 92%] Built target ldgen_section_infos
[ 92%] Built target ldgen
[ 98%] Built target idf_component_mbedtls_sections_info
[ 98%] Built target ldgen_section_infos
[ 98%] Built target bootloader.elf
[ 98%] Built target ldgen_esp32.project.ld_script
[100%] Built target bootloader
[ 98%] No install step for 'bootloader'
[ 98%] Built target ldgen
[ 98%] Linking CXX executable blink.elf
[ 98%] Completed 'bootloader'
[100%] Built target bootloader
esp-idf/main/libmain.a(main.c.obj):(.literal.app_main+0x34): undefined reference to `_binary_eye_raw_start'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/blink.elf.dir/build.make:163: blink.elf] Error 1
make[1]: *** [CMakeFiles/Makefile2:1808: CMakeFiles/blink.elf.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
make failed with exit code 2

Not sure if this is the source of the problem, but in order to get the firmware to compile I had to modify main/CMakeLists.txt to this:

cmake_minimum_required(VERSION 3.5)

set(COMPONENT_SRCS "main.c"
"display.c"
"val2pwm.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")

register_component()

Not sure how to debug if I am using an incompatible library or program.
OS is Debian Testing with all software updated for 2020-06-23

Can test on Ubuntu 20.04 or Raspbian if that makes sense.

I really love this project and I am excited to get it working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.