esp32 Kompilieren mit Komponenten ause der Werkzeugliste funktioniert nicht.

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Ulrich_Markhoff
Posts: 2
http://meble-kuchenne.info.pl
Joined: Fri Feb 10, 2023 5:44 pm

esp32 Kompilieren mit Komponenten ause der Werkzeugliste funktioniert nicht.

Post by Ulrich_Markhoff »

Hallo,
ich kann eine LED zum blinken bringen aber wenn ich Komponenten z.B. RealTime Clock 32 in mein Progrmm einbaue bekomme ich beim kompilieren
eine Meldung, Ich habe alles was ich hier gefunden habe ausprobiert aber ohne Erfolg. Seid Tagen versuche ich hier weiterzukommen und verzweifele daran.
Von Toochain 5.1 auf Toolchain 4.4 geändert. Im Arbeitsverzeichnis idf.py fullclean und idf.py build ausprobiert ohne Erfolg.
Ich hoff das mir hier jemad helfen kann und bedanke mich schon im Vorraus.

Die Compiler Medungen:
Target folder: D:\flow
Source name: D:\flow\impuls.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v10.1.0.38
Date: Tuesday, February 27, 2024 16:57:28
Users: 1
Registriert für: Ulrich
Lizenzschlüssel:
NICHT FÜR KOMMERZiELLE ANWENDUNGEN
https://www.flowcode.co.uk
Using FCD settings for compiler
Start des Compilers...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat "C:\esp-idf\" "impuls" "D:\flow\" esp32s_sdkconfig esp32

D:\flow>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6CB88D63C2D6E3613A41BF517A6FEAF3A3307584D5060F214711B8143522C2B69DED9A8239BD70B72B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE1A93B7F4BABD60587FC07671DDE8C8B7571E128FEF13BA27

D:\flow>REM REVISION: 8.0

D:\flow>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2

D:\flow>REM DATE: 09\08\2023

D:\flow>REM DIR: FCD\ESP\Batch\esp32_build.bat
.
============================== Toolchain Check ==============================
Python 3.7.3
git version 2.21.0.windows.1
ESP toolchain found at "C:\esp-idf\"
=============================================================================
.
Building: impuls ...
IDF Version: v4.4.6-502-g6897e4e0fa ...
Setting IDF_PATH: C:\esp-idf

Adding ESP-IDF tools to PATH...
C:\espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin
C:\espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin
C:\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin
C:\espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s2-elf\bin
C:\espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin
C:\espressif\tools\riscv32-esp-elf\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\bin
C:\espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin
C:\espressif\tools\cmake\3.23.1\bin
C:\espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin
C:\espressif\tools\ninja\1.10.2\
C:\espressif\tools\idf-exe\1.0.3\
C:\espressif\tools\ccache\4.3\ccache-4.3-windows-64
C:\espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\espressif\python_env\idf4.4_py3.7_env\Scripts
C:\esp-idf\tools

Checking if Python packages are up to date...
Python requirements from C:\esp-idf\requirements.txt are satisfied.

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] cmd.exe /C "cd /D D:\flow\impuls\build\bootloader\esp-idf\esptool_py && C:\espressif\python_env\idf4.4_py3.7_env\Scripts\python.exe C:/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 D:/flow/impuls/build/bootloader/bootloader.bin"
Bootloader binary size 0x6430 bytes. 0xbd0 bytes (11%) 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:\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -ID:/flow/impuls/build/config -IC:/esp-idf/components/newlib/platform_include -IC:/esp-idf/components/freertos/include -IC:/esp-idf/components/freertos/include/esp_additions/freertos -IC:/esp-idf/components/freertos/port/xtensa/include -IC:/esp-idf/components/freertos/include/esp_additions -IC:/esp-idf/components/esp_hw_support/include -IC:/esp-idf/components/esp_hw_support/include/soc -IC:/esp-idf/components/esp_hw_support/include/soc/esp32 -IC:/esp-idf/components/esp_hw_support/port/esp32/. -IC:/esp-idf/components/esp_hw_support/port/esp32/private_include -IC:/esp-idf/components/heap/include -IC:/esp-idf/components/log/include -IC:/esp-idf/components/lwip/include/apps -IC:/esp-idf/components/lwip/include/apps/sntp -IC:/esp-idf/components/lwip/lwip/src/include -IC:/esp-idf/components/lwip/port/esp32/include -IC:/esp-idf/components/lwip/port/esp32/include/arch -IC:/esp-idf/components/soc/include -IC:/esp-idf/components/soc/esp32/. -IC:/esp-idf/components/soc/esp32/include -IC:/esp-idf/components/hal/esp32/include -IC:/esp-idf/components/hal/include -IC:/esp-idf/components/hal/platform_port/include -IC:/esp-idf/components/esp_rom/include -IC:/esp-idf/components/esp_rom/include/esp32 -IC:/esp-idf/components/esp_rom/esp32 -IC:/esp-idf/components/esp_common/include -IC:/esp-idf/components/esp_system/include -IC:/esp-idf/components/esp_system/port/soc -IC:/esp-idf/components/esp_system/port/public_compat -IC:/esp-idf/components/esp32/include -IC:/esp-idf/components/xtensa/include -IC:/esp-idf/components/xtensa/esp32/include -IC:/esp-idf/components/driver/include -IC:/esp-idf/components/driver/esp32/include -IC:/esp-idf/components/esp_pm/include -IC:/esp-idf/components/esp_ringbuf/include -IC:/esp-idf/components/efuse/include -IC:/esp-idf/components/efuse/esp32/include -IC:/esp-idf/components/vfs/include -IC:/esp-idf/components/esp_wifi/include -IC:/esp-idf/components/esp_event/include -IC:/esp-idf/components/esp_netif/include -IC:/esp-idf/components/esp_eth/include -IC:/esp-idf/components/tcpip_adapter/include -IC:/esp-idf/components/esp_phy/include -IC:/esp-idf/components/esp_phy/esp32/include -IC:/esp-idf/components/esp_ipc/include -IC:/esp-idf/components/app_trace/include -IC:/esp-idf/components/esp_timer/include -IC:/esp-idf/components/mbedtls/port/include -IC:/esp-idf/components/mbedtls/mbedtls/include -IC:/esp-idf/components/mbedtls/esp_crt_bundle/include -IC:/esp-idf/components/app_update/include -IC:/esp-idf/components/spi_flash/include -IC:/esp-idf/components/bootloader_support/include -IC:/esp-idf/components/nvs_flash/include -IC:/esp-idf/components/pthread/include -IC:/esp-idf/components/esp_gdbstub/include -IC:/esp-idf/components/esp_gdbstub/xtensa -IC:/esp-idf/components/esp_gdbstub/esp32 -IC:/esp-idf/components/espcoredump/include -IC:/esp-idf/components/espcoredump/include/port/xtensa -IC:/esp-idf/components/wpa_supplicant/include -IC:/esp-idf/components/wpa_supplicant/port/include -IC:/esp-idf/components/wpa_supplicant/esp_supplicant/include -IC:/esp-idf/components/ieee802154/include -IC:/esp-idf/components/console -IC:/esp-idf/components/asio/asio/asio/include -IC:/esp-idf/components/asio/port/include -IC:/esp-idf/components/bt/common/osi/include -IC:/esp-idf/components/bt/include/esp32/include -IC:/esp-idf/components/bt/common/api/include/api -IC:/esp-idf/components/bt/common/btc/profile/esp/blufi/include -IC:/esp-idf/components/bt/common/btc/profile/esp/include -IC:/esp-idf/components/bt/host/bluedroid/api/include/api -IC:/esp-idf/components/cbor/port/include -IC:/esp-idf/components/unity/include -IC:/esp-idf/components/unity/unity/src -IC:/esp-idf/components/cmock/CMock/src -IC:/esp-idf/components/coap/port/include -IC:/esp-idf/components/coap/libcoap/include -IC:/esp-idf/components/nghttp/port/include -IC:/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/esp-idf/components/esp-tls -IC:/esp-idf/components/esp-tls/esp-tls-crypto -IC:/esp-idf/components/esp_adc_cal/include -IC:/esp-idf/components/esp_hid/include -IC:/esp-idf/components/tcp_transport/include -IC:/esp-idf/components/esp_http_client/include -IC:/esp-idf/components/esp_http_server/include -IC:/esp-idf/components/esp_https_ota/include -IC:/esp-idf/components/esp_lcd/include -IC:/esp-idf/components/esp_lcd/interface -IC:/esp-idf/components/protobuf-c/protobuf-c -IC:/esp-idf/components/protocomm/include/common -IC:/esp-idf/components/protocomm/include/security -IC:/esp-idf/components/protocomm/include/transports -IC:/esp-idf/components/mdns/include -IC:/esp-idf/components/esp_local_ctrl/include -IC:/esp-idf/components/sdmmc/include -IC:/esp-idf/components/esp_serial_slave_link/include -IC:/esp-idf/components/esp_websocket_client/include -IC:/esp-idf/components/expat/expat/expat/lib -IC:/esp-idf/components/expat/port/include -IC:/esp-idf/components/wear_levelling/include -IC:/esp-idf/components/fatfs/diskio -IC:/esp-idf/components/fatfs/vf
s -IC:/esp-idf/components/fatfs/src -IC:/esp-idf/components/freemodbus/freemodbus/common/include -IC:/esp-idf/components/idf_test/include -IC:/esp-idf/components/idf_test/include/esp32 -IC:/esp-idf/components/jsmn/include -IC:/esp-idf/components/json/cJSON -IC:/esp-idf/components/libsodium/libsodium/src/libsodium/include -IC:/esp-idf/components/libsodium/port_include -IC:/esp-idf/components/mqtt/esp-mqtt/include -IC:/esp-idf/components/openssl/include -IC:/esp-idf/components/perfmon/include -IC:/esp-idf/components/spiffs/include -IC:/esp-idf/components/ulp/include -IC:/esp-idf/components/wifi_provisioning/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -fmacro-prefix-map=D:/flow/impuls=. -fmacro-prefix-map=C:/esp-idf=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"-128-NOTFOUND\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -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 D:/flow/impuls/main/esp-project.c
In file included from D:/flow/impuls/main/esp-project.c:40:
C:/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:110,
from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
from D:/flow/impuls/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_Float.c:91:6: warning: conflicting types for built-in function '__builtin_isinf_sign' [-Wbuiltin-declaration-mismatch]
char isinf(float f)
^~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:93,
from D:/flow/impuls/main/esp-project.c:193:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_ADC.c: In function 'FC_CAL_ADC_Sample_1':
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_ADC.c:194:50: warning: passing argument 3 of 'adc2_get_raw' from incompatible pointer type [-Wincompatible-pointer-types]
adc2_get_raw(MX_ADC_CHA_X, ADC_WIDTH_BIT_12, &Sample);
^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_ADC.c:133,
from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:93,
from D:/flow/impuls/main/esp-project.c:193:
C:/esp-idf/components/driver/include/driver/adc.h:381:81: note: expected 'int *' but argument is of type 'MX_SINT16 *' {aka 'short int *'}
esp_err_t adc2_get_raw(adc2_channel_t channel, adc_bits_width_t width_bit, int *raw_out);
~~~~~^~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e54_gLCD_Font4__SumWidths':
D:/flow/impuls/main/esp-project.c:318:12: warning: unused variable 'FCL_WIDTH' [-Wunused-variable]
MX_UINT8 FCL_WIDTH;
^~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e54_gLCD_Font4__ReadWidth':
D:/flow/impuls/main/esp-project.c:345:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
MX_UINT8 FCL_PWIDTH;
^~~~~~~~~~
D:/flow/impuls/main/esp-project.c:344:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e54_gLCD_Font4__ReadASCIILUT':
D:/flow/impuls/main/esp-project.c:400:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e53_gLCD_Font3__SumWidths':
D:/flow/impuls/main/esp-project.c:511:12: warning: unused variable 'FCL_WIDTH' [-Wunused-variable]
MX_UINT8 FCL_WIDTH;
^~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e53_gLCD_Font3__ReadWidth':
D:/flow/impuls/main/esp-project.c:538:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
MX_UINT8 FCL_PWIDTH;
^~~~~~~~~~
D:/flow/impuls/main/esp-project.c:537:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e53_gLCD_Font3__ReadASCIILUT':
D:/flow/impuls/main/esp-project.c:593:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e52_gLCD_Font2__SumWidths':
D:/flow/impuls/main/esp-project.c:704:12: warning: unused variable 'FCL_WIDTH' [-Wunused-variable]
MX_UINT8 FCL_WIDTH;
^~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e52_gLCD_Font2__ReadWidth':
D:/flow/impuls/main/esp-project.c:731:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
MX_UINT8 FCL_PWIDTH;
^~~~~~~~~~
D:/flow/impuls/main/esp-project.c:730:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e52_gLCD_Font2__ReadASCIILUT':
D:/flow/impuls/main/esp-project.c:786:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e51_gLCD_Font1__SumWidths':
D:/flow/impuls/main/esp-project.c:896:12: warning: unused variable 'FCL_WIDTH' [-Wunused-variable]
MX_UINT8 FCL_WIDTH;
^~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_09e51_gLCD_Font1__ReadWidth':
D:/flow/impuls/main/esp-project.c:928:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
MX_UINT8 FCL_PWIDTH;
^~~~~~~~~~
D:/flow/impuls/main/esp-project.c:927:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_0ba71_Base_GLCD1__ReadFontStat':
D:/flow/impuls/main/esp-project.c:1155:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_0ba71_Base_GLCD1__ReadFontByte':
D:/flow/impuls/main/esp-project.c:1208:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_04071_LCD_Base1__ScrollDisplay':
D:/flow/impuls/main/esp-project.c:1540:12: warning: unused variable 'FCL_SCROLL' [-Wunused-variable]
// .cmd = 0
^~
D:/flow/impuls/main/esp-project.c: In function 'FCD_04251_RTC_ESP32_NTP1__QueryTimeServer':
D:/flow/impuls/main/esp-project.c:2114:15: warning: passing argument 1 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
#define sntp_set_time_sync_notification_cb esp_sntp_set_time_sync_notification_cb
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
from D:/flow/impuls/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:876:33: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
~~~~~~~~~~^~~~
In file included from D:/flow/impuls/main/esp-project.c:39:
D:/flow/impuls/main/esp-project.c:2134:18: error: 'TAG' undeclared (first use in this function)

^
C:/esp-idf/components/log/include/esp_log.h:421:81: note: in definition of macro 'ESP_LOG_LEVEL'
if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~
C:/esp-idf/components/log/include/esp_log.h:353:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c:2134:9: note: in expansion of macro 'ESP_LOGI'

^
D:/flow/impuls/main/esp-project.c:2134:18: note: each undeclared identifier is reported only once for each function it appears in

^
C:/esp-idf/components/log/include/esp_log.h:421:81: note: in definition of macro 'ESP_LOG_LEVEL'
if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~
C:/esp-idf/components/log/include/esp_log.h:353:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c:2134:9: note: in expansion of macro 'ESP_LOGI'

^
D:/flow/impuls/main/esp-project.c:2145:19: warning: unused variable 'timeinfo' [-Wunused-variable]
if (retry < FCL_RETRY)
^~~~~~~~
D:/flow/impuls/main/esp-project.c:2144:16: warning: unused variable 'now' [-Wunused-variable]

^
D:/flow/impuls/main/esp-project.c: In function 'FCD_04251_RTC_ESP32_NTP1__SetTime':
D:/flow/impuls/main/esp-project.c:2214:18: warning: passing argument 1 of 'settimeofday' from incompatible pointer type [-Wincompatible-pointer-types]
:R??ckgaben : MX_UINT8
^~~~
In file included from C:/esp-idf/components/newlib/platform_include/sys/time.h:16,
from c:\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\_default_fcntl.h:223,
from c:\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\fcntl.h:3,
from C:/esp-idf/components/lwip/port/esp32/include/lwipopts.h:14,
from C:/esp-idf/components/lwip/lwip/src/include/lwip/opt.h:51,
from C:/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:40,
from C:/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/esp-idf/components/esp_event/include/esp_event.h:28,
from C:/esp-idf/components/esp_wifi/include/esp_wifi.h:55,
from D:/flow/impuls/main/esp-project.c:38:
c:\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\time.h:423:19: note: expected 'const struct timeval *' but argument is of type 'time_t *' {aka 'long int *'}
int settimeofday (const struct timeval *, const struct timezone *);
^~~~~~~~~~~~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_04251_RTC_ESP32_NTP1__SetDate':
D:/flow/impuls/main/esp-project.c:2353:18: warning: passing argument 1 of 'settimeofday' from incompatible pointer type [-Wincompatible-pointer-types]
MX_UINT8 FCD_04251_RTC_ESP32_NTP1__GetDate()
^~~~
In file included from C:/esp-idf/components/newlib/platform_include/sys/time.h:16,
from c:\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\_default_fcntl.h:223,
from c:\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\fcntl.h:3,
from C:/esp-idf/components/lwip/port/esp32/include/lwipopts.h:14,
from C:/esp-idf/components/lwip/lwip/src/include/lwip/opt.h:51,
from C:/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:40,
from C:/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/esp-idf/components/esp_event/include/esp_event.h:28,
from C:/esp-idf/components/esp_wifi/include/esp_wifi.h:55,
from D:/flow/impuls/main/esp-project.c:38:
c:\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\time.h:423:19: note: expected 'const struct timeval *' but argument is of type 'time_t *' {aka 'long int *'}
int settimeofday (const struct timeval *, const struct timezone *);
^~~~~~~~~~~~~~~~~~~~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_04251_RTC_ESP32_NTP1__SetTimeServer':
D:/flow/impuls/main/esp-project.c:2391:46: warning: passing argument 3 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
//Lokale Variablen-Definitionen
^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
from D:/flow/impuls/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
~~~~~~~~~~^~~~
D:/flow/impuls/main/esp-project.c: In function 'FCD_04251_RTC_ESP32_NTP1__Initialise':
D:/flow/impuls/main/esp-project.c:2425:32: warning: passing argument 3 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
\*=----------------------------------------------------------------------=*/
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
from D:/flow/impuls/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
~~~~~~~~~~^~~~
At top level:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:795:18: warning: 'FCI_STRMOV' defined but not used [-Wunused-function]
static MX_UINT16 FCI_STRMOV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:771:18: warning: 'FCI_STRREV' defined but not used [-Wunused-function]
static MX_UINT16 FCI_STRREV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:701:17: warning: 'FCI_STRING_TO_FLOAT' defined but not used [-Wunused-function]
static MX_FLOAT FCI_STRING_TO_FLOAT(MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:598:18: warning: 'FCI_NUMBER_TO_HEX' defined but not used [-Wunused-function]
static MX_STRING FCI_NUMBER_TO_HEX(MX_ULONG Number, MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:476:17: warning: 'FCI_COMPARE' defined but not used [-Wunused-function]
static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:450:13: warning: 'FCI_TOUPPER' defined but not used [-Wunused-function]
static void FCI_TOUPPER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:424:13: warning: 'FCI_TOLOWER' defined but not used [-Wunused-function]
static void FCI_TOLOWER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:297:10: warning: 'FCI_TOSTRU16' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRU16(MX_UINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:211:10: warning: 'FCI_TOSTRS16' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRS16(MX_SINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:182:18: warning: 'FCI_RIGHTSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_RIGHTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:159:18: warning: 'FCI_LEFTSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_LEFTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
from D:/flow/impuls/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:129:18: warning: 'FCI_MIDSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_MIDSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iStart, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:113:17: warning: 'FCI_GETCHAR' defined but not used [-Wunused-function]
static MX_UINT8 FCI_GETCHAR(MX_STRING sStr1, MX_UINT16 iStr1_len, MX_UINT16 iPos)
^~~~~~~~~~~
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Executing action: all (aliases: build)
Running ninja in directory D:\flow\impuls\build
Executing "ninja all"...

Build Failed
.

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat Hat den Fehlercode 0x1 gemeldet

Autoclose turned off


BEENDET

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: esp32 Kompilieren mit Komponenten ause der Werkzeugliste funktioniert nicht.

Post by Steve-Matrix »

Please post your Flowcode project file.

Ulrich_Markhoff
Posts: 2
Joined: Fri Feb 10, 2023 5:44 pm

Flowcode v10 Re: esp32 Kompilieren mit Komponenten ause der Werkzeugliste funktioniert nicht.

Post by Ulrich_Markhoff »

Hallo anbei das Testprogram. Ohne RTC funktioniert alles.
MfG Ulrich
Attachments
Flowcode1.fcfx
(8.98 KiB) Downloaded 16 times

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: esp32 Kompilieren mit Komponenten ause der Werkzeugliste funktioniert nicht.

Post by stefan.erni »

Hoi Ulrich

Für die RTC solltest du das wlan einschalten, dann die Uhrzeit setzen via server und dannach wlan wieder auschalten.
Auch wenn du wlan nicht verbinden kannst sollte die Uhr dann laufen

Gruss

Stefan


Hier die infos
https://flowcode.co.uk/forums/viewtopic ... &hilit=rtc

Post Reply