Page 2 of 2

Re: STM32F334K8 Error Compiler

Posted: Tue Apr 06, 2021 11:38 am
by Alan_37
Hi , I am having errors with this one, whit the previous file was compiling ok ( the one downloaded from here before ).


Target folder: C:\Users\alanc\Desktop\X-Core V8.51 Backup 3\X-Core STM V9.41
Source name: C:\Users\alanc\Desktop\X-Core V8.51 Backup 3\X-Core STM V9.41\STM_MUX.fcfx
Title:
Description:
Device: ARM.F4.32F407ZG
Generated by: Flowcode v9.1.0.27
Date: Tuesday, April 06, 2021 12:35:11
Users: 1
Registered to: Alan_37 (61413253)
Licence key: FT9Q5G
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ARM\batch\stm32comp.bat "STM_MUX" "C:\Users\alanc\Desktop\X-Core V8.51 Backup 3\X-Core STM V9.41\" "32F407xx" "F4" "stm32f_ccm64.ld" "16000000" "1024K" "128K" "C:\Program Files (x86)\Flowcode\Common\Compilers\starm\\"

C:\Users\alanc\Desktop\X-Core V8.51 Backup 3\X-Core STM V9.41>REM CRC: 1CECFE3DB3A1BD5169AEA98AD43ADE631EF0A88FFA736FBD84BE44176323F463C8515F4CD0D20BEBDFE06A9E70103FA105C640EF477B79E0C7881D2E5EEC9BD6A32B46A47AAB2D21848A68B9581D31BC91C05B2A7E3ADB3C4D00059D795899820E6BB7AE6771CE586954F191918D76F05058F85C62E78168DB2117B7F66DFFAB9D4CD39D9819A47B593E224EEC6BA2B1CF18B22880D87C51B667E8BA6E12E6B26FA06B6F4F108199331CCC4A9A2DADF899B5E4011DBDD5202C3050DA273BE4EE52BA4E2EEBD6468263A2A9E7E7860458A778383E9CF45D0F850400E5B608E745107C571680B732A8

C:\Users\alanc\Desktop\X-Core V8.51 Backup 3\X-Core STM V9.41>REM REVISION: 3.0

C:\Users\alanc\Desktop\X-Core V8.51 Backup 3\X-Core STM V9.41>REM GUID: E810EE73-4726-4718-B23E-B579C5ADBC40

C:\Users\alanc\Desktop\X-Core V8.51 Backup 3\X-Core STM V9.41>REM DATE: 09\03\2021

C:\Users\alanc\Desktop\X-Core V8.51 Backup 3\X-Core STM V9.41>REM DIR: FCD\ARM\batch\stm32comp.bat

Project STM_MUX
Device STM32F407xx


C:\Users\alanc\Desktop\X-Core V8.51 Backup 3\X-Core STM V9.41>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:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ARM\batch\..\inc" -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "STM_MUX.c" -o "STM_MUX_STM32F407xx_16000000\STM_MUX.o"
In file included from c:\program files (x86)\flowcode\common\compilers\starm\stm32cubef4\drivers\cmsis\device\st\stm32f4xx\include\stm32f4xx.h:250:0,
from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:459,
from STM_MUX.c:50:
c:\program files (x86)\flowcode\common\compilers\starm\stm32cubef4\drivers\stm32f4xx_hal_driver\inc\stm32f4xx_hal.h:30:32: fatal error: stm32f4xx_hal_conf.h: No such file or directory
compilation terminated.
Error(s) in build

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

Autoclose turned off


FINISHED

Re: STM32F334K8 Error Compiler

Posted: Tue Apr 06, 2021 11:47 am
by LeighM
Hi Alan,

That looks like the stm32comp.bat has been updated by the auto-update system
(which still has the faulty previous version - until we get this updated)
So please download both stm32comp.bat and stm32prog.bat from this post and use them instead.

Thanks
Leigh

Re: STM32F334K8 Error Compiler

Posted: Tue Apr 06, 2021 11:48 am
by Alan_37
Hi
It seems that it can't find this file

--> c:\program files (x86)\flowcode\common\compilers\starm\stm32cubef4\drivers\stm32f4xx_hal_driver\inc\stm32f4xx_hal.h <---

Re: STM32F334K8 Error Compiler

Posted: Tue Apr 06, 2021 11:55 am
by Alan_37
HI , LeighM

I just changed it again with the new one you postedit is not being replaced i checked,
it gives the same error.

Only the one posted earlier with 5.33KB compiles ok but then stops at programming

Re: STM32F334K8 Error Compiler

Posted: Tue Apr 06, 2021 12:07 pm
by LeighM
Are you sure you are doing the renaming correctly?
There are two separate files, both in C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ARM\batch
stm32comp.bat – this does the compiling, and is newer than the (faulty) auto-update version
stm32prog.bat – this does the programming, and this will give a bit more info in the msg.txt output to help me diagnose the programming issue

Thanks
Leigh

Re: STM32F334K8 Error Compiler

Posted: Tue Apr 06, 2021 12:14 pm
by Alan_37
Hi LeighM,

Sorry you were right, now I have replaced both of the files again and everything compiles and works fine so in the
update you have to replace both files from your side.

Thanks very much for your help LeighM .