Compiler error (SOLVED) internal.c ver 3

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
celebriums
Posts: 42
http://meble-kuchenne.info.pl
Joined: Fri Dec 18, 2020 7:33 am
Has thanked: 23 times
Been thanked: 7 times

Compiler error (SOLVED) internal.c ver 3

Post by celebriums »

Hello Dear Flowcode Family
The software was compiling until today morning, but when I made the updates that came today, I started getting a compilation error. How can I see the library changes you made today?
Everything was working normally until the update.

Sadık

Code: Select all

Target folder: C:\ElektronikProjeler\Measure Mechanic\Software
Source name:   C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.fcfx
Title:         MAX32 DEMO
Description:   
Device:        ARM.F4.32F446RC
Generated by:  Flowcode v10.1.2.40
Date:          Thursday, April 17, 2025 15:11:12
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\ARM\batch\stm32comp.bat  "STM32F446RE-V1.06_BATT" "C:\ElektronikProjeler\Measure Mechanic\Software\" "32F446xx" "F4" "stm32f.ld" "16000000" "256K" "128K" "C:\Program Files (x86)\Flowcode\Common\Compilers\starm\\"

C:\ElektronikProjeler\Measure Mechanic\Software>REM CRC: 1CECFE3DB3A1BD5169AEA98AD43ADE631EF0A88FFA736FBD84BE44176323F463C8515F4CD0D20BEBDFE06A9E70103FA105C640EF477B79E0C7881D2E5EEC9BD69A0D46BD3B6AACB92DE4D84759EBB5079CA9DA2D2BBCDAE2A4D1C56CD1580BF532505B4DECBAEAC96954F191918D76F05058F85C62E78168DB2117B7F66DFFAB9D4CD39D9819A47B593E224EEC6BA2B1CF18B22880D87C51B667E8BA6E12E6B26FA06B6F4F108199331CCC4A9A2DADF899B5E4011DBDD5202C3050DA273BE4EEBA213254BC0AD6E15FDF8E24F7A49525E37122B659B22A01CA71203F3D907500295E1D946A835C79 

C:\ElektronikProjeler\Measure Mechanic\Software>REM REVISION: 1.0 

C:\ElektronikProjeler\Measure Mechanic\Software>REM GUID: E810EE73-4726-4718-B23E-B579C5ADBC40 

C:\ElektronikProjeler\Measure Mechanic\Software>REM DATE: 08\08\2022 

C:\ElektronikProjeler\Measure Mechanic\Software>REM DIR: FCD\ARM\batch\stm32comp.bat 

Project STM32F446RE-V1.06_BATT 
Device STM32F446xx


C:\ElektronikProjeler\Measure Mechanic\Software>arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Os -DSTM32 -DSTM32F4 -DSTM32F446xx -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 "STM32F446RE-V1.06_BATT.c" -o "STM32F446RE-V1.06_BATT_STM32F446xx_16000000\STM32F446RE-V1.06_BATT.o" 
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:589:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_TypeDefs.c:69:3: error: conflicting types for 'MX_Union32'
 } MX_Union32;
   ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:540:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_TypeDefs.c:69:3: note: previous declaration of 'MX_Union32' was here
 } MX_Union32;
   ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:589:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_TypeDefs.c:75:3: error: conflicting types for 'MX_Union16'
 } MX_Union16;
   ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:540:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_TypeDefs.c:75:3: note: previous declaration of 'MX_Union16' was here
 } MX_Union16;
   ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_IO.c:41:0,
                 from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:590,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_IO.h:75:6: error: conflicting types for 'FC_CAL_Port_Out__x'
 void FC_CAL_Port_Out__x (MX_UINT8* Port, MX_UINT8 OutMask, MX_UINT8 OutValue);
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:541:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_IO.c:1145:14: note: previous definition of 'FC_CAL_Port_Out__x' was here
  static void FC_CAL_Port_Out__x (GPIO_TypeDef *PORT, uint16_t OutMask, uint16_t OutValue)
              ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_IO.c:41:0,
                 from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:590,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_IO.h:76:6: error: conflicting types for 'FC_CAL_Port_Out_DDR__x'
 void FC_CAL_Port_Out_DDR__x (MX_UINT8* Port, MX_UINT8* Tris, MX_UINT8 OutMask, MX_UINT8 OutValue);
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:541:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_IO.c:1151:14: note: previous definition of 'FC_CAL_Port_Out_DDR__x' was here
  static void FC_CAL_Port_Out_DDR__x (GPIO_TypeDef *PORT, MX_UINT16 OutMask, MX_UINT16 OutValue)
              ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_IO.c:41:0,
                 from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:590,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_IO.h:77:10: error: conflicting types for 'FC_CAL_Port_In__x'
 MX_UINT8 FC_CAL_Port_In__x (MX_UINT8* Port, MX_UINT8 InMask, MX_UINT8 Shift);
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:541:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_IO.c:1166:18: note: previous definition of 'FC_CAL_Port_In__x' was here
  static MX_UINT8 FC_CAL_Port_In__x (GPIO_TypeDef *PORT, MX_UINT16 InMask, MX_UINT16 Shift)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_IO.c:41:0,
                 from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:590,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_IO.h:78:10: error: conflicting types for 'FC_CAL_Port_In_DDR__x'
 MX_UINT8 FC_CAL_Port_In_DDR__x (MX_UINT8* Port, MX_UINT8* Tris, MX_UINT8 InMask, MX_UINT8 Shift);
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:541:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_IO.c:1172:19: note: previous definition of 'FC_CAL_Port_In_DDR__x' was here
  static MX_UINT16 FC_CAL_Port_In_DDR__x (GPIO_TypeDef *PORT, MX_UINT16 InMask, MX_UINT16 Shift)
                   ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:41:6: error: conflicting types for 'delay_s'
 void delay_s(unsigned char count);
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:123:20: note: previous definition of 'delay_s' was here
 static inline void delay_s(uint32_t __s)
                    ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:42:6: error: conflicting types for 'delay_ms'
 void delay_ms(unsigned char count);
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:116:20: note: previous definition of 'delay_ms' was here
 static inline void delay_ms(uint32_t __ms)
                    ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:43:6: error: conflicting types for 'delay_10us'
 void delay_10us(unsigned int count);
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:110:20: note: previous definition of 'delay_10us' was here
 static inline void delay_10us(uint32_t __us10)
                    ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:44:6: error: conflicting types for 'delay_us'
 void delay_us(unsigned int count);
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:58:13: note: previous definition of 'delay_us' was here
 static void delay_us(uint32_t __us)
             ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c: In function 'delay_10us':
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:68:20: error: 'MCK' undeclared (first use in this function)
 #define US10COUNT (MCK / 800000)
                    ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:97:24: note: in expansion of macro 'US10COUNT'
  unsigned int i, max = US10COUNT * count;
                        ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:68:20: note: each undeclared identifier is reported only once for each function it appears in
 #define US10COUNT (MCK / 800000)
                    ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:97:24: note: in expansion of macro 'US10COUNT'
  unsigned int i, max = US10COUNT * count;
                        ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c: In function 'delay_us':
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:67:18: error: 'MCK' undeclared (first use in this function)
 #define USCOUNT (MCK / 7500000)
                  ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:104:24: note: in expansion of macro 'USCOUNT'
  unsigned int i, max = USCOUNT * count;
                        ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c: At top level:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:109:6: error: redefinition of 'Wdt_Delay_S'
 void Wdt_Delay_S(char delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:145:6: note: previous definition of 'Wdt_Delay_S' was here
 void Wdt_Delay_S(char delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:122:6: error: redefinition of 'Wdt_Delay_Ms'
 void Wdt_Delay_Ms(char delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:158:6: note: previous definition of 'Wdt_Delay_Ms' was here
 void Wdt_Delay_Ms(char delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:133:6: error: redefinition of 'FCI_DELAYINT_US'
 void FCI_DELAYINT_US(MX_UINT16 Delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:168:6: note: previous definition of 'FCI_DELAYINT_US' was here
 void FCI_DELAYINT_US(MX_UINT16 Delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:144:6: error: redefinition of 'FCI_DELAYINT_MS'
 void FCI_DELAYINT_MS(MX_UINT16 Delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:173:6: note: previous definition of 'FCI_DELAYINT_MS' was here
 void FCI_DELAYINT_MS(MX_UINT16 Delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:155:6: error: redefinition of 'FCI_DELAYINTWDT_MS'
 void FCI_DELAYINTWDT_MS(MX_UINT16 Delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:178:6: note: previous definition of 'FCI_DELAYINTWDT_MS' was here
 void FCI_DELAYINTWDT_MS(MX_UINT16 Delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:166:6: error: redefinition of 'FCI_DELAYINT_S'
 void FCI_DELAYINT_S(MX_UINT16 Delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:183:6: note: previous definition of 'FCI_DELAYINT_S' was here
 void FCI_DELAYINT_S(MX_UINT16 Delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:591:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Delay.c:177:6: error: redefinition of 'FCI_DELAYINTWDT_S'
 void FCI_DELAYINTWDT_S(MX_UINT16 Delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:542:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Delay.c:188:6: note: previous definition of 'FCI_DELAYINTWDT_S' was here
 void FCI_DELAYINTWDT_S(MX_UINT16 Delay)
      ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:124:17: error: redefinition of 'FCI_GETCHAR'
 static MX_UINT8 FCI_GETCHAR(MX_STRING sStr1, MX_UINT16 iStr1_len, MX_UINT16 iPos)
                 ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:124:17: note: previous definition of 'FCI_GETCHAR' was here
 static MX_UINT8 FCI_GETCHAR(MX_STRING sStr1, MX_UINT16 iStr1_len, MX_UINT16 iPos)
                 ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:132:18: error: redefinition of 'FCI_GETLENGTH'
 static MX_UINT16 FCI_GETLENGTH(MX_STRING sStr1, MX_UINT16 iStr1_len)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:132:18: note: previous definition of 'FCI_GETLENGTH' was here
 static MX_UINT16 FCI_GETLENGTH(MX_STRING sStr1, MX_UINT16 iStr1_len)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:140:18: error: redefinition of 'FCI_MIDSTRING'
 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)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:140:18: note: previous definition of 'FCI_MIDSTRING' was here
 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)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:170:18: error: redefinition of 'FCI_LEFTSTRING'
 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:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:170:18: note: previous definition of 'FCI_LEFTSTRING' was here
 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:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:193:18: error: redefinition of 'FCI_RIGHTSTRING'
 static MX_STRING FCI_RIGHTSTRING(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:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:193:18: note: previous definition of 'FCI_RIGHTSTRING' was here
 static MX_STRING FCI_RIGHTSTRING(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:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:222:10: error: redefinition of 'FCI_TOSTRS16'
 MX_UINT8 FCI_TOSTRS16(MX_SINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:222:10: note: previous definition of 'FCI_TOSTRS16' was here
 MX_UINT8 FCI_TOSTRS16(MX_SINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:265:10: error: redefinition of 'FCI_TOSTRS32'
 MX_UINT8 FCI_TOSTRS32(MX_SINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:265:10: note: previous definition of 'FCI_TOSTRS32' was here
 MX_UINT8 FCI_TOSTRS32(MX_SINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:308:10: error: redefinition of 'FCI_TOSTRU16'
 MX_UINT8 FCI_TOSTRU16(MX_UINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:308:10: note: previous definition of 'FCI_TOSTRU16' was here
 MX_UINT8 FCI_TOSTRU16(MX_UINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:342:10: error: redefinition of 'FCI_TOSTRU32'
 MX_UINT8 FCI_TOSTRU32(MX_UINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:342:10: note: previous definition of 'FCI_TOSTRU32' was here
 MX_UINT8 FCI_TOSTRU32(MX_UINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:377:18: error: redefinition of 'FCI_TOSTRING'
 static MX_STRING FCI_TOSTRING(MX_SLONG iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:377:18: note: previous definition of 'FCI_TOSTRING' was here
 static MX_STRING FCI_TOSTRING(MX_SLONG iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:435:13: error: redefinition of 'FCI_TOLOWER'
 static void FCI_TOLOWER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
             ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:435:13: note: previous definition of 'FCI_TOLOWER' was here
 static void FCI_TOLOWER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
             ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:461:13: error: redefinition of 'FCI_TOUPPER'
 static void FCI_TOUPPER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
             ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:461:13: note: previous definition of 'FCI_TOUPPER' was here
 static void FCI_TOUPPER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
             ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:487:17: error: redefinition of 'FCI_COMPARE'
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                 ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:487:17: note: previous definition of 'FCI_COMPARE' was here
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                 ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:542:18: error: redefinition of 'FCI_FLOAT_TO_STRING'
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:542:18: note: previous definition of 'FCI_FLOAT_TO_STRING' was here
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:609:18: error: redefinition of 'FCI_NUMBER_TO_HEX'
 static MX_STRING FCI_NUMBER_TO_HEX(MX_ULONG Number, MX_STRING String, MX_UINT16 MSZ_String)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:609:18: note: previous definition of 'FCI_NUMBER_TO_HEX' was here
 static MX_STRING FCI_NUMBER_TO_HEX(MX_ULONG Number, MX_STRING String, MX_UINT16 MSZ_String)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:676:18: error: redefinition of 'FCI_STRING_TO_INT'
 static MX_SINT32 FCI_STRING_TO_INT(MX_STRING String, MX_UINT16 MSZ_String)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:676:18: note: previous definition of 'FCI_STRING_TO_INT' was here
 static MX_SINT32 FCI_STRING_TO_INT(MX_STRING String, MX_UINT16 MSZ_String)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:712:17: error: redefinition of 'FCI_STRING_TO_FLOAT'
 static MX_FLOAT FCI_STRING_TO_FLOAT(MX_STRING String, MX_UINT16 MSZ_String)
                 ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:712:17: note: previous definition of 'FCI_STRING_TO_FLOAT' was here
 static MX_FLOAT FCI_STRING_TO_FLOAT(MX_STRING String, MX_UINT16 MSZ_String)
                 ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:782:18: error: redefinition of 'FCI_STRREV'
 static MX_UINT16 FCI_STRREV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:782:18: note: previous definition of 'FCI_STRREV' was here
 static MX_UINT16 FCI_STRREV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:806:18: error: redefinition of 'FCI_STRMOV'
 static MX_UINT16 FCI_STRMOV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:806:18: note: previous definition of 'FCI_STRMOV' was here
 static MX_UINT16 FCI_STRMOV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                  ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:826:13: error: redefinition of 'FCI_SHEAD'
 static void FCI_SHEAD(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_STRING sDst, MX_UINT16 iDst_len)
             ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:826:13: note: previous definition of 'FCI_SHEAD' was here
 static void FCI_SHEAD(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_STRING sDst, MX_UINT16 iDst_len)
             ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:592:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_String.c:887:13: error: redefinition of 'FCI_SCOPY'
 static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
             ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:543:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_String.c:887:13: note: previous definition of 'FCI_SCOPY' was here
 static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
             ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:593:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Float.c:63:24: error: expected identifier or '(' before 'long'
 #define flt_round(f) ((long)(((f)>=0.0)?(f)+0.5:(f)-0.5))
                        ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Float.c:47:25: note: in definition of macro 'flt_div'
 #define flt_div(a, b) ((a) / (b))
                         ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Float.c:71:32: note: in expansion of macro 'flt_round'
 #define fround(a, b)  (flt_div(flt_round(flt_mul(a,pow(10,b))),pow(10,b)))
                                ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Float.c:67:8: note: in expansion of macro 'fround'
 double fround(double val, int dp);
        ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Float.c:63:29: error: expected ')' before '(' token
 #define flt_round(f) ((long)(((f)>=0.0)?(f)+0.5:(f)-0.5))
                             ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Float.c:47:25: note: in definition of macro 'flt_div'
 #define flt_div(a, b) ((a) / (b))
                         ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Float.c:71:32: note: in expansion of macro 'flt_round'
 #define fround(a, b)  (flt_div(flt_round(flt_mul(a,pow(10,b))),pow(10,b)))
                                ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Float.c:67:8: note: in expansion of macro 'fround'
 double fround(double val, int dp);
        ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Float.c:47:28: error: expected ')' before '/' token
 #define flt_div(a, b) ((a) / (b))
                            ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Float.c:71:24: note: in expansion of macro 'flt_div'
 #define fround(a, b)  (flt_div(flt_round(flt_mul(a,pow(10,b))),pow(10,b)))
                        ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Float.c:67:8: note: in expansion of macro 'fround'
 double fround(double val, int dp);
        ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Float.c:82:11: error: redefinition of 'MX_Map'
 MX_SINT32 MX_Map(MX_SINT32 x, MX_SINT32 in_min, MX_SINT32 in_max, MX_SINT32 out_min, MX_SINT32 out_max)
           ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:544:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Float.c:78:11: note: previous definition of 'MX_Map' was here
 MX_SINT32 MX_Map(MX_SINT32 x, MX_SINT32 in_min, MX_SINT32 in_max, MX_SINT32 out_min, MX_SINT32 out_max)
           ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:593:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ARM\ARM_CAL_Float.c:87:10: error: redefinition of 'MX_Map_Float'
 MX_FLOAT MX_Map_Float(MX_FLOAT x, MX_FLOAT in_min, MX_FLOAT in_max, MX_FLOAT out_min, MX_FLOAT out_max)
          ^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:544:0,
                 from C:\ElektronikProjeler\Measure Mechanic\Software\STM32F446RE-V1.06_BATT.h:48,
                 from STM32F446RE-V1.06_BATT.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM\STARM_CAL_Float.c:83:10: note: previous definition of 'MX_Map_Float' was here
 MX_FLOAT MX_Map_Float(MX_FLOAT x, MX_FLOAT in_min, MX_FLOAT in_max, MX_FLOAT out_min, MX_FLOAT out_max)
          ^
Error(s) in build
.

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

Autoclose turned off


FINISHED
Last edited by celebriums on Thu Apr 17, 2025 9:03 pm, edited 1 time in total.

celebriums
Posts: 42
Joined: Fri Dec 18, 2020 7:33 am
Has thanked: 23 times
Been thanked: 7 times

Re: Compiler error

Post by celebriums »

Version 1.05 was working yesterday and yesterday I upgraded to version 1.06
After updating today morning, it started giving errors.
Attachments
STM32F446RE-V1.06_BATT.fcfx
(245.7 KiB) Downloaded 10 times
STM32F446RE-V1.05_UART.fcfx
(275.67 KiB) Downloaded 8 times

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Flowcode v10 Re: Compiler error

Post by medelec35 »

Hi Sadık.
Many thanks for reporting this.
I will show you how to get your project to compile again.
What you will need to do is rollback the internals update.
As there might be more than one person , including beginners, so I will use images to show how to rollback.
The steps are in yellow on the images.
First select Help > Library Updates...
Then Step 1. Change Files in-use to Full database

Step 2. Click on Show up-to-date files

Step 3. Only click on Internals.c
Rollback1.png
Rollback1.png (56.57 KiB) Viewed 574 times
Step 4. select the drop down arrow and change the revision from 4 to 3
Rollback2.png
Rollback2.png (57.43 KiB) Viewed 574 times
Step 5. Click on Download
Rollback3.png
Rollback3.png (58.99 KiB) Viewed 574 times
Now the Updates window can be closed and then reload your project.
You can use File > Reload or the Reload Icon next to the save icon at the very top on the left.
Reload Icon.png
Reload Icon.png (3.08 KiB) Viewed 574 times
I hope this helps to get your project working again.
Martin

celebriums
Posts: 42
Joined: Fri Dec 18, 2020 7:33 am
Has thanked: 23 times
Been thanked: 7 times

Re: Compiler error

Post by celebriums »

Yes, dear Martin, I'll take a look at my old computer.
I re-downloaded version 3 of Internals.c and it was fixed.
I was about to write to you about this and I just saw your message now.
Thank you very much for the information.

Sadık

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Re: Compiler error (SOLVED) internal.c ver 3

Post by medelec35 »

Hello.
The fixed file is now on the component database.
You can now update to the correct version by changing Files in-use to Full database.
This time don't have Show up-to-date files enabled.
After updating the component, you will need to reload your project.
Martin

Post Reply