Giter VIP home page Giter VIP logo

Comments (4)

ivmarkov avatar ivmarkov commented on June 16, 2024

Can you please provide the full compiler log output?

from esp-idf-hal.

ivmarkov avatar ivmarkov commented on June 16, 2024

Oh and by the way it would be great if you can share your already-created project. Will save me some time, thanks!

from esp-idf-hal.

JensPfeifle avatar JensPfeifle commented on June 16, 2024

I'm seeing something similar. Here's the build output:

root@8431935541a0:/project# cargo build --lib --target xtensa-esp32-espidf -Z build-std=std,panic_abort   ct/main/bootloader_start.o
   Compiling esp-idf-hal v0.33.1
   Compiling esp-idf-rs v0.1.0 (/project)
error: failed to run custom build command for `esp-idf-hal v0.33.1`
Compiling .pio/build/debug/bootloader/bootloader_
Caused by:
  process didn't exit successfully: `/project/target/debug/build/esp-idf-hal-7b6d453733c9bb01/build-script-build` (exit status: 1)
  --- stdout
  cargo:rustc-cfg=esp_idf_idf_cmake
  cargo:rustc-cfg=esp_idf_idf_target_arch_xtensa
  cargo:rustc-cfg=esp_idf_idf_target="esp32"
  cargo:rustc-cfg=esp_idf_idf_target_esp32
  cargo:rustc-cfg=esp_idf_app_build_type_app_2ndboot
  cargo:rustc-cfg=esp_idf_app_build_generate_binaries
  cargo:rustc-cfg=esp_idf_app_build_bootloader
  cargo:rustc-cfg=esp_idf_app_build_use_flash_sections
  cargo:rustc-cfg=esp_idf_app_compile_time_date
  cargo:rustc-cfg=esp_idf_bootloader_compiler_optimization_size
  cargo:rustc-cfg=esp_idf_bootloader_log_level_warn
  cargo:rustc-cfg=esp_idf_bootloader_vddsdio_boost_1_9v
  cargo:rustc-cfg=esp_idf_bootloader_wdt_enable
  cargo:rustc-cfg=esp_idf_bootloader_flash_xmc_support
  cargo:rustc-cfg=esp_idf_esptoolpy_flashmode_dio
  cargo:rustc-cfg=esp_idf_esptoolpy_flashfreq_40m
  cargo:rustc-cfg=esp_idf_esptoolpy_flashsize_2mb
  cargo:rustc-cfg=esp_idf_esptoolpy_flashsize_detect
  cargo:rustc-cfg=esp_idf_esptoolpy_before_reset
  cargo:rustc-cfg=esp_idf_esptoolpy_after_reset
  cargo:rustc-cfg=esp_idf_esptoolpy_monitor_baud_115200b
  cargo:rustc-cfg=esp_idf_partition_table_single_app
  cargo:rustc-cfg=esp_idf_partition_table_md5
  cargo:rustc-cfg=esp_idf_compiler_optimization_default
  cargo:rustc-cfg=esp_idf_compiler_optimization_assertions_enable
  cargo:rustc-cfg=esp_idf_compiler_stack_check_mode_none
  cargo:rustc-cfg=esp_idf_apptrace_dest_none
  cargo:rustc-cfg=esp_idf_apptrace_lock_enable
  cargo:rustc-cfg=esp_idf_bt_ctrl_ble_adv_report_flow_ctrl_supp
  cargo:rustc-cfg=esp_idf_bt_ctrl_ble_scan_dupl
  cargo:rustc-cfg=esp_idf_bt_nimble_use_esp_timer
  cargo:rustc-cfg=esp_idf_coap_mbedtls_psk
  cargo:rustc-cfg=esp_idf_adc_disable_dac
  cargo:rustc-cfg=esp_idf_spi_master_isr_in_iram
  cargo:rustc-cfg=esp_idf_spi_slave_isr_in_iram
  cargo:rustc-cfg=esp_idf_efuse_code_scheme_compat_3_4
  cargo:rustc-cfg=esp_idf_esp_tls_using_mbedtls
  cargo:rustc-cfg=esp_idf_esp32_eco3_cache_lock_fix
  cargo:rustc-cfg=esp_idf_esp32_rev_min_0
  cargo:rustc-cfg=esp_idf_esp32_dport_workaround
  cargo:rustc-cfg=esp_idf_esp32_default_cpu_freq_160
  cargo:rustc-cfg=esp_idf_esp32_spiram_support
  cargo:rustc-cfg=esp_idf_spiram_type_auto
  cargo:rustc-cfg=esp_idf_spiram_speed_40m
  cargo:rustc-cfg=esp_idf_spiram
  cargo:rustc-cfg=esp_idf_spiram_boot_init
  cargo:rustc-cfg=esp_idf_spiram_use_malloc
  cargo:rustc-cfg=esp_idf_spiram_memtest
  cargo:rustc-cfg=esp_idf_spiram_cache_workaround
  cargo:rustc-cfg=esp_idf_spiram_cache_workaround_strategy_memw
  cargo:rustc-cfg=esp_idf_spiram_bankswitch_enable
  cargo:rustc-cfg=esp_idf_esp32_universal_mac_addresses_four
  cargo:rustc-cfg=esp_idf_esp32_debug_ocdaware
  cargo:rustc-cfg=esp_idf_esp32_brownout_det
  cargo:rustc-cfg=esp_idf_esp32_brownout_det_lvl_sel_0
  cargo:rustc-cfg=esp_idf_esp32_reduce_phy_tx_power
  cargo:rustc-cfg=esp_idf_esp32_time_syscall_use_rtc_frc1
  cargo:rustc-cfg=esp_idf_esp32_rtc_clk_src_int_rc
  cargo:rustc-cfg=esp_idf_esp32_xtal_freq_40
  cargo:rustc-cfg=esp_idf_adc_cal_efuse_tp_enable
  cargo:rustc-cfg=esp_idf_adc_cal_efuse_vref_enable
  cargo:rustc-cfg=esp_idf_adc_cal_lut_enable
  cargo:rustc-cfg=esp_idf_esp_err_to_name_lookup
  cargo:rustc-cfg=esp_idf_esp_ipc_uses_callers_priority
  cargo:rustc-cfg=esp_idf_esp_console_uart_default
  cargo:rustc-cfg=esp_idf_esp_console_uart
  cargo:rustc-cfg=esp_idf_esp_console_multiple_uart
  cargo:rustc-cfg=esp_idf_esp_int_wdt
  cargo:rustc-cfg=esp_idf_esp_int_wdt_check_cpu1
  cargo:rustc-cfg=esp_idf_esp_task_wdt
  cargo:rustc-cfg=esp_idf_esp_mac_addr_universe_wifi_sta
  cargo:rustc-cfg=esp_idf_esp_mac_addr_universe_wifi_ap
  cargo:rustc-cfg=esp_idf_esp_mac_addr_universe_bt
  cargo:rustc-cfg=esp_idf_esp_mac_addr_universe_eth
  cargo:rustc-cfg=esp_idf_eth_enabled
  cargo:rustc-cfg=esp_idf_eth_use_esp32_emac
  cargo:rustc-cfg=esp_idf_eth_phy_interface_rmii
  cargo:rustc-cfg=esp_idf_eth_rmii_clk_input
  cargo:rustc-cfg=esp_idf_eth_use_spi_ethernet
  cargo:rustc-cfg=esp_idf_esp_event_post_from_isr
  cargo:rustc-cfg=esp_idf_esp_event_post_from_iram_isr
  cargo:rustc-cfg=esp_idf_esp_gdbstub_enabled
  cargo:rustc-cfg=esp_idf_esp_gdbstub_support_tasks
  cargo:rustc-cfg=esp_idf_esp_http_client_enable_https
  cargo:rustc-cfg=esp_idf_httpd_err_resp_no_delay
  cargo:rustc-cfg=esp_idf_esp_netif_tcpip_lwip
  cargo:rustc-cfg=esp_idf_esp_netif_tcpip_adapter_compatible_layer
  cargo:rustc-cfg=esp_idf_esp_system_panic_gdbstub
  cargo:rustc-cfg=esp_idf_esp_time_funcs_use_rtc_timer
  cargo:rustc-cfg=esp_idf_esp_time_funcs_use_esp_timer
  cargo:rustc-cfg=esp_idf_esp_timer_impl_tg0_lac
  cargo:rustc-cfg=esp_idf_esp32_wifi_static_tx_buffer
  cargo:rustc-cfg=esp_idf_esp32_wifi_ampdu_tx_enabled
  cargo:rustc-cfg=esp_idf_esp32_wifi_ampdu_rx_enabled
  cargo:rustc-cfg=esp_idf_esp32_wifi_nvs_enabled
  cargo:rustc-cfg=esp_idf_esp32_wifi_task_pinned_to_core_0
  cargo:rustc-cfg=esp_idf_wifi_log_default_level_info
  cargo:rustc-cfg=esp_idf_esp32_wifi_iram_opt
  cargo:rustc-cfg=esp_idf_esp32_wifi_rx_iram_opt
  cargo:rustc-cfg=esp_idf_esp32_wifi_enable_wpa3_sae
  cargo:rustc-cfg=esp_idf_esp32_phy_calibration_and_data_storage
  cargo:rustc-cfg=esp_idf_esp_coredump_enable_to_none
  cargo:rustc-cfg=esp_idf_fatfs_codepage_437
  cargo:rustc-cfg=esp_idf_fatfs_lfn_none
  cargo:rustc-cfg=esp_idf_fatfs_per_file_cache
  cargo:rustc-cfg=esp_idf_fatfs_alloc_prefer_extram
  cargo:rustc-cfg=esp_idf_fmb_comm_mode_tcp_en
  cargo:rustc-cfg=esp_idf_fmb_comm_mode_rtu_en
  cargo:rustc-cfg=esp_idf_fmb_comm_mode_ascii_en
  cargo:rustc-cfg=esp_idf_fmb_port_task_affinity_cpu0
  cargo:rustc-cfg=esp_idf_fmb_controller_slave_id_support
  cargo:rustc-cfg=esp_idf_freertos_coretimer_0
  cargo:rustc-cfg=esp_idf_freertos_assert_on_untested_function
  cargo:rustc-cfg=esp_idf_freertos_check_stackoverflow_canary
  cargo:rustc-cfg=esp_idf_freertos_interrupt_backtrace
  cargo:rustc-cfg=esp_idf_freertos_assert_fail_abort
  cargo:rustc-cfg=esp_idf_freertos_support_static_allocation
  cargo:rustc-cfg=esp_idf_freertos_task_function_wrapper
  cargo:rustc-cfg=esp_idf_freertos_check_mutex_given_by_owner
  cargo:rustc-cfg=esp_idf_freertos_debug_ocdaware
  cargo:rustc-cfg=esp_idf_heap_poisoning_disabled
  cargo:rustc-cfg=esp_idf_heap_tracing_off
  cargo:rustc-cfg=esp_idf_log_default_level_info
  cargo:rustc-cfg=esp_idf_log_colors
  cargo:rustc-cfg=esp_idf_log_timestamp_source_rtos
  cargo:rustc-cfg=esp_idf_lwip_dns_support_mdns_queries
  cargo:rustc-cfg=esp_idf_lwip_timers_ondemand
  cargo:rustc-cfg=esp_idf_lwip_so_reuse
  cargo:rustc-cfg=esp_idf_lwip_so_reuse_rxtoall
  cargo:rustc-cfg=esp_idf_lwip_ip4_frag
  cargo:rustc-cfg=esp_idf_lwip_ip6_frag
  cargo:rustc-cfg=esp_idf_lwip_esp_gratuitous_arp
  cargo:rustc-cfg=esp_idf_lwip_dhcp_does_arp_check
  cargo:rustc-cfg=esp_idf_lwip_dhcps
  cargo:rustc-cfg=esp_idf_lwip_ipv6
  cargo:rustc-cfg=esp_idf_lwip_netif_loopback
  cargo:rustc-cfg=esp_idf_lwip_tcp_high_speed_retransmission
  cargo:rustc-cfg=esp_idf_lwip_tcp_queue_ooseq
  cargo:rustc-cfg=esp_idf_lwip_tcp_oversize_mss
  cargo:rustc-cfg=esp_idf_lwip_checksum_check_icmp
  cargo:rustc-cfg=esp_idf_lwip_tcpip_task_affinity_no_affinity
  cargo:rustc-cfg=esp_idf_lwip_icmp
  cargo:rustc-cfg=esp_idf_lwip_esp_lwip_assert
  cargo:rustc-cfg=esp_idf_lwip_hook_tcp_isn_default
  cargo:rustc-cfg=esp_idf_lwip_hook_ip6_route_none
  cargo:rustc-cfg=esp_idf_lwip_hook_netconn_ext_resolve_none
  cargo:rustc-cfg=esp_idf_mbedtls_internal_mem_alloc
  cargo:rustc-cfg=esp_idf_mbedtls_asymmetric_content_len
  cargo:rustc-cfg=esp_idf_mbedtls_certificate_bundle
  cargo:rustc-cfg=esp_idf_mbedtls_certificate_bundle_default_full
  cargo:rustc-cfg=esp_idf_mbedtls_hardware_aes
  cargo:rustc-cfg=esp_idf_mbedtls_hardware_mpi
  cargo:rustc-cfg=esp_idf_mbedtls_hardware_sha
  cargo:rustc-cfg=esp_idf_mbedtls_rom_md5
  cargo:rustc-cfg=esp_idf_mbedtls_have_time
  cargo:rustc-cfg=esp_idf_mbedtls_ecdsa_deterministic
  cargo:rustc-cfg=esp_idf_mbedtls_sha512_c
  cargo:rustc-cfg=esp_idf_mbedtls_tls_server_and_client
  cargo:rustc-cfg=esp_idf_mbedtls_tls_server
  cargo:rustc-cfg=esp_idf_mbedtls_tls_client
  cargo:rustc-cfg=esp_idf_mbedtls_tls_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_key_exchange_rsa
  cargo:rustc-cfg=esp_idf_mbedtls_key_exchange_dhe_rsa
  cargo:rustc-cfg=esp_idf_mbedtls_key_exchange_elliptic_curve
  cargo:rustc-cfg=esp_idf_mbedtls_key_exchange_ecdhe_rsa
  cargo:rustc-cfg=esp_idf_mbedtls_key_exchange_ecdhe_ecdsa
  cargo:rustc-cfg=esp_idf_mbedtls_key_exchange_ecdh_ecdsa
  cargo:rustc-cfg=esp_idf_mbedtls_key_exchange_ecdh_rsa
  cargo:rustc-cfg=esp_idf_mbedtls_ssl_renegotiation
  cargo:rustc-cfg=esp_idf_mbedtls_ssl_proto_tls1
  cargo:rustc-cfg=esp_idf_mbedtls_ssl_proto_tls1_1
  cargo:rustc-cfg=esp_idf_mbedtls_ssl_proto_tls1_2
  cargo:rustc-cfg=esp_idf_mbedtls_ssl_alpn
  cargo:rustc-cfg=esp_idf_mbedtls_client_ssl_session_tickets
  cargo:rustc-cfg=esp_idf_mbedtls_x509_check_key_usage
  cargo:rustc-cfg=esp_idf_mbedtls_x509_check_extended_key_usage
  cargo:rustc-cfg=esp_idf_mbedtls_server_ssl_session_tickets
  cargo:rustc-cfg=esp_idf_mbedtls_aes_c
  cargo:rustc-cfg=esp_idf_mbedtls_rc4_disabled
  cargo:rustc-cfg=esp_idf_mbedtls_ccm_c
  cargo:rustc-cfg=esp_idf_mbedtls_gcm_c
  cargo:rustc-cfg=esp_idf_mbedtls_pem_parse_c
  cargo:rustc-cfg=esp_idf_mbedtls_pem_write_c
  cargo:rustc-cfg=esp_idf_mbedtls_x509_crl_parse_c
  cargo:rustc-cfg=esp_idf_mbedtls_x509_csr_parse_c
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_c
  cargo:rustc-cfg=esp_idf_mbedtls_ecdh_c
  cargo:rustc-cfg=esp_idf_mbedtls_ecdsa_c
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_secp192r1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_secp224r1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_secp256r1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_secp384r1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_secp521r1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_secp192k1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_secp224k1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_secp256k1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_bp256r1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_bp384r1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_bp512r1_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_dp_curve25519_enabled
  cargo:rustc-cfg=esp_idf_mbedtls_ecp_nist_optim
  cargo:rustc-cfg=esp_idf_mdns_task_affinity_cpu0
  cargo:rustc-cfg=esp_idf_mqtt_protocol_311
  cargo:rustc-cfg=esp_idf_mqtt_transport_ssl
  cargo:rustc-cfg=esp_idf_mqtt_transport_websocket
  cargo:rustc-cfg=esp_idf_mqtt_transport_websocket_secure
  cargo:rustc-cfg=esp_idf_newlib_stdout_line_ending_crlf
  cargo:rustc-cfg=esp_idf_newlib_stdin_line_ending_cr
  cargo:rustc-cfg=esp_idf_openssl_error_stack
  cargo:rustc-cfg=esp_idf_openssl_assert_exit
  cargo:rustc-cfg=esp_idf_pthread_default_core_no_affinity
  cargo:rustc-cfg=esp_idf_spi_flash_rom_driver_patch
  cargo:rustc-cfg=esp_idf_spi_flash_dangerous_write_aborts
  cargo:rustc-cfg=esp_idf_spi_flash_yield_during_erase
  cargo:rustc-cfg=esp_idf_spi_flash_support_issi_chip
  cargo:rustc-cfg=esp_idf_spi_flash_support_mxic_chip
  cargo:rustc-cfg=esp_idf_spi_flash_support_gd_chip
  cargo:rustc-cfg=esp_idf_spi_flash_support_winbond_chip
  cargo:rustc-cfg=esp_idf_spi_flash_enable_encrypted_read_write
  cargo:rustc-cfg=esp_idf_spiffs_cache
  cargo:rustc-cfg=esp_idf_spiffs_cache_wr
  cargo:rustc-cfg=esp_idf_spiffs_page_check
  cargo:rustc-cfg=esp_idf_spiffs_use_magic
  cargo:rustc-cfg=esp_idf_spiffs_use_magic_length
  cargo:rustc-cfg=esp_idf_spiffs_use_mtime
  cargo:rustc-cfg=esp_idf_ws_transport
  cargo:rustc-cfg=esp_idf_unity_enable_float
  cargo:rustc-cfg=esp_idf_unity_enable_double
  cargo:rustc-cfg=esp_idf_unity_enable_idf_test_runner
  cargo:rustc-cfg=esp_idf_vfs_support_io
  cargo:rustc-cfg=esp_idf_vfs_support_dir
  cargo:rustc-cfg=esp_idf_vfs_support_select
  cargo:rustc-cfg=esp_idf_vfs_suppress_select_debug_output
  cargo:rustc-cfg=esp_idf_vfs_support_termios
  cargo:rustc-cfg=esp_idf_wl_sector_size_4096
  cargo:rustc-cfg=esp_idf_wpa_mbedtls_crypto
  cargo:rustc-cfg=esp_idf_epd_display_type_ed047tc1
  cargo:rustc-cfg=esp_idf_epd_board_revision_lilygo_t5_47
  cargo:rustc-cfg=esp_idf_log_bootloader_level_warn
  cargo:rustc-cfg=esp_idf_flashmode_dio
  cargo:rustc-cfg=esp_idf_monitor_baud_115200b
  cargo:rustc-cfg=esp_idf_compiler_optimization_level_debug
  cargo:rustc-cfg=esp_idf_optimization_assertions_enabled
  cargo:rustc-cfg=esp_idf_stack_check_none
  cargo:rustc-cfg=esp_idf_esp32_apptrace_dest_none
  cargo:rustc-cfg=esp_idf_esp32_apptrace_lock_enable
  cargo:rustc-cfg=esp_idf_adc2_disable_dac
  cargo:rustc-cfg=esp_idf_spiram_support
  cargo:rustc-cfg=esp_idf_four_universal_mac_address
  cargo:rustc-cfg=esp_idf_brownout_det
  cargo:rustc-cfg=esp_idf_brownout_det_lvl_sel_0
  cargo:rustc-cfg=esp_idf_reduce_phy_tx_power
  cargo:rustc-cfg=esp_idf_esp32_rtc_clock_source_internal_rc
  cargo:rustc-cfg=esp_idf_console_uart_default
  cargo:rustc-cfg=esp_idf_console_uart
  cargo:rustc-cfg=esp_idf_int_wdt
  cargo:rustc-cfg=esp_idf_int_wdt_check_cpu1
  cargo:rustc-cfg=esp_idf_task_wdt
  cargo:rustc-cfg=esp_idf_post_events_from_isr
  cargo:rustc-cfg=esp_idf_post_events_from_iram_isr
  cargo:rustc-cfg=esp_idf_gdbstub_support_tasks
  cargo:rustc-cfg=esp_idf_esp32s2_panic_gdbstub
  cargo:rustc-cfg=esp_idf_esp32_enable_coredump_to_none
  cargo:rustc-cfg=esp_idf_mb_controller_slave_id_support
  cargo:rustc-cfg=esp_idf_esp_gratuitous_arp
  cargo:rustc-cfg=esp_idf_tcp_queue_ooseq
  cargo:rustc-cfg=esp_idf_tcp_oversize_mss
  cargo:rustc-cfg=esp_idf_tcpip_task_affinity_no_affinity
  cargo:rustc-cfg=esp_idf_esp32_default_pthread_core_no_affinity
  cargo:rustc-cfg=esp_idf_spi_flash_writing_dangerous_regions_aborts
  cargo:rustc-cfg=esp_idf_suppress_select_debug_output
  cargo:rustc-cfg=esp_idf_support_termios
  cargo:rustc-cfg=esp_idf_version_full="4.3.2"
  cargo:rustc-cfg=esp_idf_version="4.3"
  cargo:rustc-cfg=esp_idf_version_major="4"
  cargo:rustc-cfg=esp_idf_version_minor="3"
  cargo:rustc-cfg=esp_idf_version_patch="2"
  cargo:rustc-cfg=esp_idf_comp_app_update_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_adc_cal_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_eth_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_event_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_http_client_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_http_server_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_netif_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_pm_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_serial_slave_link_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_timer_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_tls_enabled
  cargo:rustc-cfg=esp_idf_comp_esp_wifi_enabled
  cargo:rustc-cfg=esp_idf_comp_espcoredump_enabled
  cargo:rustc-cfg=esp_idf_comp_fatfs_enabled
  cargo:rustc-cfg=esp_idf_comp_mdns_enabled
  cargo:rustc-cfg=esp_idf_comp_mqtt_enabled
  cargo:rustc-cfg=esp_idf_comp_nvs_flash_enabled
  cargo:rustc-cfg=esp_idf_comp_spi_flash_enabled
  cargo:rustc-cfg=esp_idf_comp_pthread_enabled
  cargo:rustc-cfg=esp_idf_comp_soc_enabled
  cargo:rustc-cfg=esp_idf_comp_spiffs_enabled
  cargo:rustc-cfg=esp_idf_comp_vfs_enabled
  cargo:rustc-cfg=esp32
1
  --- stderr
  Error: environment variable not found
warning: build failed, waiting for other jobs to finish...
error: build failed

I cant' explain it, but patching Cargo.toml to pull embuild from GitHub fixed it (and unpatching would make it reappear):

[patch.crates-io]
embuild = { git = 'https://github.com/ivmarkov/embuild' }

The version number in Cargo.lock is identical:
Unpatched:

[[package]]
name = "embuild"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf7d180dca4cbfa157261f9ebe5bcbf1006912726ec22a37c1679df59dec8756"
dependencies = [
 <deps>
]

Patched:

[[package]]
name = "embuild"
version = "0.28.5"
source = "git+https://github.com/ivmarkov/embuild#78babd2870576fca51de8cefb6b1f01d768a451c"
dependencies = [
<deps>
]

While trying to pare down to a minimal example for you - the issue disappeared completely, even in the full example.
I'll add a comment if I can figure out what's making a difference.

Here's the repository I'm working on: JensPfeifle/esp-idf-rs/tree/esp-idf-hal-issue. Use the Dockerfile to build a container, then podman run -v /path/to/esp-idf-rs:/project:Z -it localhost/esp-idf-rs and pio run to build.

from esp-idf-hal.

N3xed avatar N3xed commented on June 16, 2024

Should be fixed now as embuild got new releases since then.
Feel free to reopen if this is not the case.

from esp-idf-hal.

Related Issues (20)

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.