ESP CANbus not compiling

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Dutch
Posts: 1
http://meble-kuchenne.info.pl
Joined: Thu Jan 19, 2023 12:00 pm

ESP CANbus not compiling

Post by Dutch »

Hi Team,

Not sure if this is a bug or on my side alone. excuse me if so.

Im new in the ESP boards and purchased the ESP_WROOM_32 as start. I programmed an simple test blink led (on board) and this works. so to me all packages, drivers toolchain datacords cristal freq etc works.

When i only already add the CANBUS component and initialize it the upload fails due a .h file he cant find ?
i tried internal and external MCP2515 and results are different but still stops compiling.

C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_CAN.c from the text below does exist in my pc. it looks like it cannot find the can.h file to include?

The fail allready occurs without the unit connected to the USB so it should be easy to recreate. hope its simple...


Compiler message, i left top text off...

[1/9] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32s_sdkconfig\build\bootloader\esp-idf\esptool_py && C:\FC_ESP\esp-tools\python_env\idf5.3_py3.11_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/FC_ESP/mtxesp32s_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x6880 bytes. 0x780 bytes (7%) free.
[2/7] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
ccache C:\FC_ESP\esp-tools\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DIDF_VER=\"HEAD-HASH-NOTFOUND\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -DUNITY_INCLUDE_CONFIG_H -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IC:/FC_ESP/mtxesp32s_sdkconfig/build/config -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/newlib/platform_include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/freertos/config/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/freertos/config/include/freertos -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/freertos/config/xtensa/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/freertos/FreeRTOS-Kernel/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/freertos/esp_additions/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_hw_support/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_hw_support/include/soc -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_hw_support/include/soc/esp32 -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_hw_support/dma/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_hw_support/ldo/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_hw_support/port/esp32/. -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_hw_support/port/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/heap/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/log/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/soc/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/soc/esp32 -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/soc/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/hal/platform_port/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/hal/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/hal/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_rom/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_rom/include/esp32 -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32 -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_common/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_system/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_system/port/soc -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_system/port/include/private -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/xtensa/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/xtensa/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/xtensa/deprecated_include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/lwip/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/lwip/include/apps -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/lwip/include/apps/sntp -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/lwip/lwip/src/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/lwip/port/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/lwip/port/freertos/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/lwip/port/esp32xx/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/lwip/port/esp32xx/include/arch -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/lwip/port/esp32xx/include/sys -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_gpio/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_pm/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/mbedtls/port/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/mbedtls/mbedtls/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/mbedtls/mbedtls/library -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/mbedtls/esp_crt_bundle/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/mbedtls/mbedtls/3rdparty/everest/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/mbedtls/mbedtls/3rdparty/p256-m -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_app_format/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_bootloader_format/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/app_update/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/bootloader_support/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/bootloader_support/bootloader_flash/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_partition/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/efuse/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/efuse/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_mm/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/spi_flash/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/pthread/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_timer/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_gptimer/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_ringbuf/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_uart/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/vfs/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/app_trace/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_event/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/nvs_flash/
include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_pcnt/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_spi/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_mcpwm/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_ana_cmpr/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_i2s/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/sdmmc/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_sdmmc/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_sdspi/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_sdio/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_dac/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_rmt/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_tsens/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_sdm/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_i2c/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_ledc/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_parlio/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_usb_serial_jtag/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/driver/deprecated -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/driver/i2c/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/driver/touch_sensor/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/driver/twai/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/driver/touch_sensor/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_phy/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_phy/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_vfs_console/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_netif/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/wpa_supplicant/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/wpa_supplicant/port/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/wpa_supplicant/esp_supplicant/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_coex/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_wifi/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_wifi/wifi_apps/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_wifi/wifi_apps/nan_app/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_wifi/include/local -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/bt/include/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/bt/common/osi/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/bt/common/api/include/api -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/bt/common/btc/profile/esp/blufi/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/bt/common/btc/profile/esp/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/bt/common/hci_log/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/bt/host/bluedroid/api/include/api -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/bt/porting/ext/tinycrypt/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/unity/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/unity/unity/src -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/cmock/CMock/src -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/console -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/http_parser -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp-tls -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp-tls/esp-tls-crypto -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_adc/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_adc/interface -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_adc/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_adc/deprecated/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_isp/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_cam/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_cam/interface -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_jpeg/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_driver_ppa/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_eth/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_gdbstub/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_hid/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/tcp_transport/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_http_client/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_http_server/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_https_ota/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_https_server/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_psram/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_lcd/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_lcd/interface -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/protobuf-c/protobuf-c -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/protocomm/include/common -IC:/F
C_ESP/frameworks/esp-idf-v5.3.1/components/protocomm/include/security -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/protocomm/include/transports -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/protocomm/include/crypto/srp6a -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/protocomm/proto-c -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_local_ctrl/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/espcoredump/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/espcoredump/include/port/xtensa -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/wear_levelling/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/fatfs/diskio -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/fatfs/src -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/fatfs/vfs -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/idf_test/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/idf_test/include/esp32 -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/ieee802154/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/json/cJSON -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/mqtt/esp-mqtt/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/nvs_sec_provider/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/perfmon/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/spiffs/include -IC:/FC_ESP/frameworks/esp-idf-v5.3.1/components/wifi_provisioning/include -mlongcalls -Wno-frame-address -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fno-shrink-wrap -fmacro-prefix-map=C:/FC_ESP/mtxesp32s_sdkconfig=. -fmacro-prefix-map=C:/FC_ESP/frameworks/esp-idf-v5.3.1=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -Wno-cpp -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-incompatible-pointer-types -Wno-discarded-qualifiers -Wno-int-conversion -Wno-pointer-sign -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj -MF esp-idf\main\CMakeFiles\__idf_main.dir\esp-project.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj -c C:/FC_ESP/mtxesp32s_sdkconfig/main/esp-project.c
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:291,
from C:/FC_ESP/mtxesp32s_sdkconfig/main/esp-project.c:240:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_CAN.c:150:10: fatal error: driver/can.h: No such file or directory
150 | #include "driver/can.h"
| ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Executing action: all (aliases: build)
Running ninja in directory C:\FC_ESP\mtxesp32s_sdkconfig\build
Executing "ninja all"...

Build Failed.

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat reported error code 0x1

Autoclose turned off


FINISHED
Attachments
led test.fcfx
(12.33 KiB) Downloaded 14 times

BenR
Matrix Staff
Posts: 1958
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 511 times
Been thanked: 700 times

Re: ESP CANbus not compiling

Post by BenR »

Hello,

Thanks for letting us know, could be something related to the version of the IDF ESP compiler. We will investigate and see if there is an easy fix.

celebriums
Posts: 51
Joined: Fri Dec 18, 2020 7:33 am
Location: Turkey
Has thanked: 25 times
Been thanked: 11 times
Contact:

Re: ESP CANbus not compiling

Post by celebriums »

Dear Dutch,

I am downloading your file and running a test. I currently have ESP-IDF 5.5 installed.
I will share the results with you.
Sadık Süme

celebriums
Posts: 51
Joined: Fri Dec 18, 2020 7:33 am
Location: Turkey
Has thanked: 25 times
Been thanked: 11 times
Contact:

Flowcode v10 Re: ESP CANbus not compiling

Post by celebriums »

Dear Dutch ve Dear Ben

The build result when the MCP2515 component is present.

Code: Select all

Target folder: C:\ElektronikProjeler\ESPtest\led test
Source name:   C:\ElektronikProjeler\ESPtest\led test\led test.fcfx
Title:         
Description:   
Device:        ESP.ESP32.ESP32_WROOM_32
Generated by:  Flowcode v10.1.2.40
Date:          Monday, September 15, 2025 14:11:42
Users:         1
Registered to: mehmet64 (99154532)
Licence key: 9P152P
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat  "C:\FC_ESP\frameworks\esp-idf-v5.5\" "led test" "C:\ElektronikProjeler\ESPtest\led test\" esp32s_sdkconfig esp32 

C:\ElektronikProjeler\ESPtest\led test>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB60228F42835EF5B88138FDEE58A4EE9C3A4BAF1B34E38B68E0C3CAEE8E7DA6987B808018476405B65B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE69F15C302679453617F9EA00A6A8712D05E485F25DB02304E4565E63FDA312627DD474674123A97D 

C:\ElektronikProjeler\ESPtest\led test>REM REVISION: 15.0 

C:\ElektronikProjeler\ESPtest\led test>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2 

C:\ElektronikProjeler\ESPtest\led test>REM DATE: 07\04\2025 

C:\ElektronikProjeler\ESPtest\led test>REM DIR: FCD\ESP\Batch\esp32_build.bat 
.
============================== Toolchain Check ==============================
Python 3.13.7
git version 2.51.0.windows.1
ESP toolchain found at "C:\FC_ESP\frameworks\esp-idf-v5.5\"
=============================================================================
.
Building: led test ...
IDF Version: v5.5 ...
Activating ESP-IDF 5.5
Setting IDF_PATH to 'C:\FC_ESP\frameworks\esp-idf-v5.5'.
* Checking python version ... 
3.13.7
* Checking python dependencies ... 
OK
* Deactivating the current ESP-IDF environment (if any) ... 
OK
* Establishing a new ESP-IDF environment ... 
. . .

OK
* Identifying shell ... 
cmd.exe
* Detecting outdated tools in system ... 
Found tools that are not used by active ESP-IDF version.
For removing old versions of idf-driver, idf-python-wheels use command 'python.exe C:\FC_ESP\frameworks\esp-idf-v5.5\tools\idf_tools.py uninstall'
To free up even more space, remove installation packages of those tools.
Use option python.exe C:\FC_ESP\frameworks\esp-idf-v5.5\tools\idf_tools.py uninstall --remove-archives.

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

Target: esp32 ...
[1/10] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build\bootloader\esp-idf\esptool_py && C:\FC_ESP\python_env\idf5.5_py3.13_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.5/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x6680 bytes. 0x980 bytes (8%) free.
[2/10] No install step for 'bootloader'
[3/10] Completed 'bootloader'
[4/10] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj 
ccache C:\FC_ESP\tools\xtensa-esp-elf\esp-14.2.0_20241119\xtensa-esp-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DIDF_VER=\"v5.5-dirty\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -DUNITY_INCLUDE_CONFIG_H -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IC:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/config -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/newlib/platform_include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/freertos/config/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/freertos/config/include/freertos -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/freertos/config/xtensa/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/freertos/FreeRTOS-Kernel/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/freertos/esp_additions/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/include/soc -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/include/soc/esp32 -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/dma/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/ldo/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/debug_probe/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/mspi_timing_tuning/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/mspi_timing_tuning/tuning_scheme_impl/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/power_supply/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/port/esp32/. -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hw_support/port/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/heap/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/heap/tlsf -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/log/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/soc/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/soc/esp32 -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/soc/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/soc/esp32/register -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/hal/platform_port/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/hal/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/hal/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_rom/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_rom/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_rom/esp32/include/esp32 -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_rom/esp32 -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_common/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_system/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_system/port/soc -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_system/port/include/private -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/xtensa/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/xtensa/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/xtensa/deprecated_include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/lwip/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/lwip/include/apps -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/lwip/include/apps/sntp -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/lwip/lwip/src/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/lwip/port/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/lwip/port/freertos/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/lwip/port/esp32xx/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/lwip/port/esp32xx/include/arch -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/lwip/port/esp32xx/include/sys -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_gpio/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_pm/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/mbedtls/port/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/mbedtls/mbedtls/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/mbedtls/mbedtls/library -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/mbedtls/esp_crt_bundle/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/mbedtls/mbedtls/3rdparty/everest/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/mbedtls/mbedtls/3rdparty/p256-m -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_app_format/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_bootloader_format/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/app_update/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bootloader_support/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bootloader_support/bootloader_flash/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_partition/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/efuse/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/efuse/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_mm/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/spi_flash/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_security/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/pthread/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/compon
ents/esp_timer/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_gptimer/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_ringbuf/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_uart/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/vfs/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/app_trace/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_event/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/nvs_flash/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_phy/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_phy/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_usb_serial_jtag/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_vfs_console/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_netif/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/wpa_supplicant/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/wpa_supplicant/port/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/wpa_supplicant/esp_supplicant/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_coex/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_wifi/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_wifi/include/local -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_wifi/wifi_apps/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_wifi/wifi_apps/nan_app/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_spi/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_gdbstub/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bt/include/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bt/common/osi/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bt/common/api/include/api -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bt/common/btc/profile/esp/blufi/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bt/common/btc/profile/esp/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bt/common/hci_log/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bt/common/ble_log/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bt/host/bluedroid/api/include/api -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bt/common/tinycrypt/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/bt/common/tinycrypt/port -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/unity/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/unity/unity/src -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/cmock/CMock/src -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/console -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_pcnt/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_mcpwm/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_ana_cmpr/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_i2s/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/sdmmc/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_sdmmc/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_sdspi/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_sdio/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_dac/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_bitscrambler/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_rmt/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_tsens/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_sdm/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_i2c/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_ledc/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_parlio/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_twai/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/driver/deprecated -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/driver/i2c/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/driver/touch_sensor/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/driver/twai/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/driver/touch_sensor/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/http_parser -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp-tls -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp-tls/esp-tls-crypto -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_adc/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_adc/interface -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_adc/esp32/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_adc/deprecated/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_isp/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_cam/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_cam/interface -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_psram/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_jpeg/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_ppa/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_driver_touch_sens/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/
esp_driver_touch_sens/hw_ver1/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_eth/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_hid/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/tcp_transport/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_http_client/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_http_server/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_https_ota/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_https_server/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_lcd/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_lcd/interface -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/protobuf-c/protobuf-c -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/protocomm/include/common -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/protocomm/include/security -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/protocomm/include/transports -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/protocomm/include/crypto/srp6a -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/protocomm/proto-c -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/esp_local_ctrl/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/espcoredump/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/espcoredump/include/port/xtensa -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/wear_levelling/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/fatfs/diskio -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/fatfs/src -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/fatfs/vfs -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/idf_test/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/idf_test/include/esp32 -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/ieee802154/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/json/cJSON -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/mqtt/esp-mqtt/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/nvs_sec_provider/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/perfmon/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/rt/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/spiffs/include -IC:/FC_ESP/frameworks/esp-idf-v5.5/components/wifi_provisioning/include -mlongcalls -Wno-frame-address  -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fno-shrink-wrap -fmacro-prefix-map=C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig=. -fmacro-prefix-map=C:/FC_ESP/frameworks/esp-idf-v5.5=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -Wno-cpp -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-incompatible-pointer-types -Wno-discarded-qualifiers -Wno-int-conversion -Wno-pointer-sign -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj -MF esp-idf\main\CMakeFiles\__idf_main.dir\esp-project.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj -c C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/main/esp-project.c
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:291,
                 from C:\ElektronikProjeler\ESPtest\led test\led test.h:238,
                 from C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/main/esp-project.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_CAN.c:150:10: fatal error: driver/can.h: No such file or directory
  150 | #include "driver/can.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Executing action: all (aliases: build)
Running ninja in directory C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build
Executing "ninja all"...

Build Failed.

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat reported error code 0x1

Autoclose turned off


FINISHED
Compilation result without the MCP2515 component.

Code: Select all

Target folder: C:\ElektronikProjeler\ESPtest\led test
Source name:   C:\ElektronikProjeler\ESPtest\led test\led test.fcfx
Title:         
Description:   
Device:        ESP.ESP32.ESP32_WROOM_32
Generated by:  Flowcode v10.1.2.40
Date:          Monday, September 15, 2025 14:13:46
Users:         1
Registered to: mehmet64 (99154532)
Licence key: 9P152P
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat  "C:\FC_ESP\frameworks\esp-idf-v5.5\" "led test" "C:\ElektronikProjeler\ESPtest\led test\" esp32s_sdkconfig esp32 

C:\ElektronikProjeler\ESPtest\led test>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB60228F42835EF5B88138FDEE58A4EE9C3A4BAF1B34E38B68E0C3CAEE8E7DA6987B808018476405B65B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE69F15C302679453617F9EA00A6A8712D05E485F25DB02304E4565E63FDA312627DD474674123A97D 

C:\ElektronikProjeler\ESPtest\led test>REM REVISION: 15.0 

C:\ElektronikProjeler\ESPtest\led test>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2 

C:\ElektronikProjeler\ESPtest\led test>REM DATE: 07\04\2025 

C:\ElektronikProjeler\ESPtest\led test>REM DIR: FCD\ESP\Batch\esp32_build.bat 
.
============================== Toolchain Check ==============================
Python 3.13.7
git version 2.51.0.windows.1
ESP toolchain found at "C:\FC_ESP\frameworks\esp-idf-v5.5\"
=============================================================================
.
Building: led test ...
IDF Version: v5.5 ...
Activating ESP-IDF 5.5
Setting IDF_PATH to 'C:\FC_ESP\frameworks\esp-idf-v5.5'.
* Checking python version ... 
3.13.7
* Checking python dependencies ... 
OK
* Deactivating the current ESP-IDF environment (if any) ... 
OK
* Establishing a new ESP-IDF environment ... 
OK
* Identifying shell ... 
cmd.exe
* Detecting outdated tools in system ... 
Found tools that are not used by active ESP-IDF version.
For removing old versions of idf-driver, idf-python-wheels use command 'python.exe C:\FC_ESP\frameworks\esp-idf-v5.5\tools\idf_tools.py uninstall'
To free up even more space, remove installation packages of those tools.
Use option python.exe C:\FC_ESP\frameworks\esp-idf-v5.5\tools\idf_tools.py uninstall --remove-archives.

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

Target: esp32 ...
.

[1/10] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build\bootloader\esp-idf\esptool_py && C:\FC_ESP\python_env\idf5.5_py3.13_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.5/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x6680 bytes. 0x980 bytes (8%) free.
[2/10] No install step for 'bootloader'
[3/10] Completed 'bootloader'
[4/10] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
[5/10] Linking C static library esp-idf\main\libmain.a
. . . . . . . . . . . .

[6/10] Generating esp-idf/esp_system/ld/sections.ld
[7/10] Building C object CMakeFiles/esp-project.elf.dir/project_elf_src_esp32.c.obj
[8/10] Linking CXX executable esp-project.elf
[9/10] Generating binary image from built executable
esptool.py v4.10.dev2
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/esp-project.bin
[10/10] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build\esp-idf\esptool_py && C:\FC_ESP\python_env\idf5.5_py3.13_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.5/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/partition_table/partition-table.bin C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/esp-project.bin"
esp-project.bin binary size 0x36e20 bytes. Smallest app partition is 0x100000 bytes. 0xc91e0 bytes (79%) free.
Executing action: all (aliases: build)
Running ninja in directory C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build
Executing "ninja all"...

Project build complete. To flash, run:
 idf.py flash
or
 idf.py -p PORT flash
or
 python -m esptool --chip esp32 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 2MB --flash_freq 40m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\esp-project.bin
or from the "C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build" directory
 python -m esptool --chip esp32 -b 460800 --before default_reset --after hard_reset write_flash "@flash_args"

Get Project Build Statistics
.

[1/4] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build\esp-idf\esptool_py && C:\FC_ESP\python_env\idf5.5_py3.13_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.5/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/partition_table/partition-table.bin C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/esp-project.bin"
esp-project.bin binary size 0x36e20 bytes. Smallest app partition is 0x100000 bytes. 0xc91e0 bytes (79%) free.
[2/4] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build\bootloader\esp-idf\esptool_py && C:\FC_ESP\python_env\idf5.5_py3.13_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.5/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x6680 bytes. 0x980 bytes (8%) free.
[3/4] No install step for 'bootloader'
[4/4] Completed 'bootloader'
[0/1] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build && C:\FC_ESP\tools\cmake\3.30.2\bin\cmake.exe -D IDF_SIZE_TOOL=C:/FC_ESP/python_env/idf5.5_py3.13_env/Scripts/python.exe;-m;esp_idf_size -D MAP_FILE=C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/esp-project.map -D OUTPUT_JSON= -P C:/FC_ESP/frameworks/esp-idf-v5.5/tools/cmake/run_size_tool.cmake"
                             Memory Type Usage Summary                              
+----------------------------------------------------------------------------------+
| Memory Type/Section   | Used [bytes] | Used [%] | Remain [bytes] | Total [bytes] |
|-----------------------+--------------+----------+----------------+---------------|
| Flash Code            |       107570 |          |                |               |
|    .text              |       107570 |          |                |               |
| IRAM                  |        58151 |    44.37 |          72921 |        131072 |
|    .text              |        57123 |    43.58 |                |               |
|    .vectors           |         1028 |     0.78 |                |               |
| Flash Data            |        44596 |          |                |               |
|    .rodata            |        44340 |          |                |               |
|    .appdesc           |          256 |          |                |               |
| DRAM                  |        16676 |    13.39 |         107904 |        124580 |
|    .data              |        14332 |     11.5 |                |               |
|    .bss               |         2344 |     1.88 |                |               |
| RTC FAST              |           32 |     0.39 |           8160 |          8192 |
|    .force_fast        |           32 |     0.39 |                |               |
| RTC SLOW              |           24 |     0.29 |           8168 |          8192 |
|    .rtc_slow_reserved |           24 |     0.29 |                |               |
+----------------------------------------------------------------------------------+
Total image size: 224681 bytes (.bin may be padded larger)
Note: The reported total sizes may be smaller than those in the technical reference manual due to reserved memory and application configuration. The total flash size available for the application is not included by default, as it cannot be reliably determined due to the presence of other data like the bootloader, partition table, and application partition size.
Executing action: size
Running ninja in directory C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build
Executing "ninja all"...
Running ninja in directory C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build
Executing "ninja size"...
Build completed successfully 

Using FCD settings for linker
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v10\tools\DoNothing\DoNothing.exe  


FINISHED
Sadık Süme

celebriums
Posts: 51
Joined: Fri Dec 18, 2020 7:33 am
Location: Turkey
Has thanked: 25 times
Been thanked: 11 times
Contact:

Re: ESP CANbus not compiling

Post by celebriums »

Dear Dutch, I think I found the problem.

I deleted the component and added it again.
I changed the processor connections.
CHANNEL: Software
MOSI: PORTA23
MISO: PORTA22
CLK: PORTA1
SS: PORTA3


Code: Select all

Target folder: C:\ElektronikProjeler\ESPtest\led test
Source name:   C:\ElektronikProjeler\ESPtest\led test\led test run setting.fcfx
Title:         
Description:   
Device:        ESP.ESP32.ESP32_WROOM_32
Generated by:  Flowcode v10.1.2.40
Date:          Monday, September 15, 2025 14:25:01
Users:         1
Registered to: mehmet64 (99154532)
Licence key: 9P152P
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat  "C:\FC_ESP\frameworks\esp-idf-v5.5\" "led test run setting" "C:\ElektronikProjeler\ESPtest\led test\" esp32s_sdkconfig esp32 

C:\ElektronikProjeler\ESPtest\led test>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB60228F42835EF5B88138FDEE58A4EE9C3A4BAF1B34E38B68E0C3CAEE8E7DA6987B808018476405B65B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE69F15C302679453617F9EA00A6A8712D05E485F25DB02304E4565E63FDA312627DD474674123A97D 

C:\ElektronikProjeler\ESPtest\led test>REM REVISION: 15.0 

C:\ElektronikProjeler\ESPtest\led test>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2 

C:\ElektronikProjeler\ESPtest\led test>REM DATE: 07\04\2025 

C:\ElektronikProjeler\ESPtest\led test>REM DIR: FCD\ESP\Batch\esp32_build.bat 
.
============================== Toolchain Check ==============================
Python 3.13.7
git version 2.51.0.windows.1
ESP toolchain found at "C:\FC_ESP\frameworks\esp-idf-v5.5\"
=============================================================================
.
Building: led test run setting ...
IDF Version: v5.5 ...
Activating ESP-IDF 5.5
Setting IDF_PATH to 'C:\FC_ESP\frameworks\esp-idf-v5.5'.
* Checking python version ... 
3.13.7
* Checking python dependencies ... 
OK
* Deactivating the current ESP-IDF environment (if any) ... 
OK
* Establishing a new ESP-IDF environment ... 
. . .

OK
* Identifying shell ... 
cmd.exe
* Detecting outdated tools in system ... 
Found tools that are not used by active ESP-IDF version.
For removing old versions of idf-driver, idf-python-wheels use command 'python.exe C:\FC_ESP\frameworks\esp-idf-v5.5\tools\idf_tools.py uninstall'
To free up even more space, remove installation packages of those tools.
Use option python.exe C:\FC_ESP\frameworks\esp-idf-v5.5\tools\idf_tools.py uninstall --remove-archives.

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

Target: esp32 ...
[1/9] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build\bootloader\esp-idf\esptool_py && C:\FC_ESP\python_env\idf5.5_py3.13_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.5/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x6680 bytes. 0x980 bytes (8%) free.
[2/9] No install step for 'bootloader'
[3/9] Completed 'bootloader'
[4/9] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
[5/9] Linking C static library esp-idf\main\libmain.a
. . . . . . . . . . . . . .

[6/9] Generating esp-idf/esp_system/ld/sections.ld
[7/9] Linking CXX executable esp-project.elf
[8/9] Generating binary image from built executable
esptool.py v4.10.dev2
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/esp-project.bin
[9/9] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build\esp-idf\esptool_py && C:\FC_ESP\python_env\idf5.5_py3.13_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.5/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/partition_table/partition-table.bin C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/esp-project.bin"
esp-project.bin binary size 0x37370 bytes. Smallest app partition is 0x100000 bytes. 0xc8c90 bytes (78%) free.
Executing action: all (aliases: build)
Running ninja in directory C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build
Executing "ninja all"...

Project build complete. To flash, run:
 idf.py flash
or
 idf.py -p PORT flash
or
 python -m esptool --chip esp32 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 2MB --flash_freq 40m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\esp-project.bin
or from the "C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build" directory
 python -m esptool --chip esp32 -b 460800 --before default_reset --after hard_reset write_flash "@flash_args"

Get Project Build Statistics
[1/4] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build\esp-idf\esptool_py && C:\FC_ESP\python_env\idf5.5_py3.13_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.5/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/partition_table/partition-table.bin C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/esp-project.bin"
esp-project.bin binary size 0x37370 bytes. Smallest app partition is 0x100000 bytes. 0xc8c90 bytes (78%) free.
[2/4] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build\bootloader\esp-idf\esptool_py && C:\FC_ESP\python_env\idf5.5_py3.13_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.5/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x6680 bytes. 0x980 bytes (8%) free.
[3/4] No install step for 'bootloader'
[4/4] Completed 'bootloader'
[0/1] C:\Windows\system32\cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build && C:\FC_ESP\tools\cmake\3.30.2\bin\cmake.exe -D IDF_SIZE_TOOL=C:/FC_ESP/python_env/idf5.5_py3.13_env/Scripts/python.exe;-m;esp_idf_size -D MAP_FILE=C:/FC_ESP/frameworks/esp-idf-v5.5/mtxesp32s_sdkconfig/build/esp-project.map -D OUTPUT_JSON= -P C:/FC_ESP/frameworks/esp-idf-v5.5/tools/cmake/run_size_tool.cmake"
.

                             Memory Type Usage Summary                              
+----------------------------------------------------------------------------------+
| Memory Type/Section   | Used [bytes] | Used [%] | Remain [bytes] | Total [bytes] |
|-----------------------+--------------+----------+----------------+---------------|
| Flash Code            |       108914 |          |                |               |
|    .text              |       108914 |          |                |               |
| IRAM                  |        58151 |    44.37 |          72921 |        131072 |
|    .text              |        57123 |    43.58 |                |               |
|    .vectors           |         1028 |     0.78 |                |               |
| Flash Data            |        44596 |          |                |               |
|    .rodata            |        44340 |          |                |               |
|    .appdesc           |          256 |          |                |               |
| DRAM                  |        16700 |    13.41 |         107880 |        124580 |
|    .data              |        14348 |    11.52 |                |               |
|    .bss               |         2352 |     1.89 |                |               |
| RTC FAST              |           32 |     0.39 |           8160 |          8192 |
|    .force_fast        |           32 |     0.39 |                |               |
| RTC SLOW              |           24 |     0.29 |           8168 |          8192 |
|    .rtc_slow_reserved |           24 |     0.29 |                |               |
+----------------------------------------------------------------------------------+
Total image size: 226041 bytes (.bin may be padded larger)
Note: The reported total sizes may be smaller than those in the technical reference manual due to reserved memory and application configuration. The total flash size available for the application is not included by default, as it cannot be reliably determined due to the presence of other data like the bootloader, partition table, and application partition size.
Executing action: size
Running ninja in directory C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build
Executing "ninja all"...
Running ninja in directory C:\FC_ESP\frameworks\esp-idf-v5.5\mtxesp32s_sdkconfig\build
Executing "ninja size"...
Build completed successfully 

Using FCD settings for linker
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v10\tools\DoNothing\DoNothing.exe  


FINISHED

Attachments
led test run setting.fcfx
(12.34 KiB) Downloaded 3 times
Sadık Süme

Post Reply