Bug in ''TypeConversionsFree1'' functions

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
talig
Posts: 4
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 10:19 am

Bug in ''TypeConversionsFree1'' functions

Post by talig »

Hi!

here is the compiler msg:

Target folder: C:\Users\GeKo\Desktop\EasyCat_Test
Source name: C:\Users\GeKo\Desktop\EasyCat_Test\Flowcode1.fcfx
Title:
Description:
Device: ARM.F4.32F407ZG
Generated by: Flowcode v10.1.0.38
Date: Tuesday, February 27, 2024 01:48:19
Users: 1
Registered to: <details removed>
Licence key: <details removed>
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ARM\batch\stm32comp.bat "Flowcode1" "C:\Users\GeKo\Desktop\EasyCat_Test\" "32F407xx" "F4" "stm32f_ccm64.ld" "16000000" "1024K" "128K" "C:\Program Files (x86)\Flowcode\Common\Compilers\starm\\"

C:\Users\GeKo\Desktop\EasyCat_Test>REM CRC: 1CECFE3DB3A1BD5169AEA98AD43ADE631EF0A88FFA736FBD84BE44176323F463C8515F4CD0D20BEBDFE06A9E70103FA105C640EF477B79E0C7881D2E5EEC9BD69A0D46BD3B6AACB92DE4D84759EBB5079CA9DA2D2BBCDAE2A4D1C56CD1580BF532505B4DECBAEAC96954F191918D76F05058F85C62E78168DB2117B7F66DFFAB9D4CD39D9819A47B593E224EEC6BA2B1CF18B22880D87C51B667E8BA6E12E6B26FA06B6F4F108199331CCC4A9A2DADF899B5E4011DBDD5202C3050DA273BE4EEBA213254BC0AD6E15FDF8E24F7A49525E37122B659B22A01CA71203F3D907500295E1D946A835C79

C:\Users\GeKo\Desktop\EasyCat_Test>REM REVISION: 1.0

C:\Users\GeKo\Desktop\EasyCat_Test>REM GUID: E810EE73-4726-4718-B23E-B579C5ADBC40

C:\Users\GeKo\Desktop\EasyCat_Test>REM DATE: 08\08\2022

C:\Users\GeKo\Desktop\EasyCat_Test>REM DIR: FCD\ARM\batch\stm32comp.bat

Project Flowcode1
Device STM32F407xx


C:\Users\GeKo\Desktop\EasyCat_Test>arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Os -DSTM32 -DSTM32F4 -DSTM32F407xx -DUSE_HAL_DRIVER -DHSE_VALUE=16000000 -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\\stm32cubeF4\Drivers\CMSIS\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\\stm32cubeF4\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\\inc" -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "Flowcode1.c" -o "Flowcode1_STM32F407xx_16000000\Flowcode1.o"
Flowcode1.c: In function 'FCD_02571_TypeConversionsFree1__SetInt':
Flowcode1.c:156:5: error: 'MX_Conv_Var' undeclared (first use in this function)
Flowcode1.c:156:5: note: each undeclared identifier is reported only once for each function it appears in
Flowcode1.c: In function 'FCD_02571_TypeConversionsFree1__SetLong':
Flowcode1.c:171:3: error: 'MX_Conv_Var' undeclared (first use in this function)
Flowcode1.c: In function 'FCD_02571_TypeConversionsFree1__GetFloat':
Flowcode1.c:185:16: error: 'MX_Conv_Var' undeclared (first use in this function)
Flowcode1.c: In function 'FCD_02571_TypeConversionsFree1__GetLong':
Flowcode1.c:201:16: error: 'MX_Conv_Var' undeclared (first use in this function)
Flowcode1.c: In function 'FCD_02571_TypeConversionsFree1__GetInt':
Flowcode1.c:224:18: error: 'MX_Conv_Var' undeclared (first use in this function)
Flowcode1.c: In function 'FCD_02571_TypeConversionsFree1__SetByte':
Flowcode1.c:249:5: error: 'MX_Conv_Var' undeclared (first use in this function)
Flowcode1.c: In function 'FCD_02571_TypeConversionsFree1__GetByte':
Flowcode1.c:273:18: error: 'MX_Conv_Var' undeclared (first use in this function)
FCR_RETVAL = 0;
^
Flowcode1.c: In function 'FCD_02571_TypeConversionsFree1__SetFloat':
Flowcode1.c:293:3: error: 'MX_Conv_Var' undeclared (first use in this function)
Error(s) in build

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ARM\batch\stm32comp.bat reported error code 0x1

Autoclose turned off


FINISHED
----------------------------

Thank you!
George

WingNut
Posts: 254
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

Re: Bug in ''TypeConversionsFree1'' functions

Post by WingNut »

You might want to post your program so the guys can see how this relates

talig
Posts: 4
Joined: Wed Dec 09, 2020 10:19 am

Re: Bug in ''TypeConversionsFree1'' functions

Post by talig »

Thank you for your interest, I try to test the "easyCat Ethercat" component.

Compiler returns the same errors for both STM and PIC micros

I am sure Ben knows what I am talking about:)

Ben help pls :)

Thanks in advance
George

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Bug in ''TypeConversionsFree1'' functions

Post by BenR »

Hi George,

I've updated the component and pushed an update to the library updates. Hopefully it should solve the issue for you.

talig
Posts: 4
Joined: Wed Dec 09, 2020 10:19 am

Re: Bug in ''TypeConversionsFree1'' functions

Post by talig »

Hello Ben!!

You neiled it!

Thank you!

Post Reply