Not Compiling to HEX

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Alan_37
Posts: 186
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 54 times
Been thanked: 26 times

Not Compiling to HEX

Post by Alan_37 »

Hello,

After a recent update, my code can't compile including the message any Ideas why is this happening, please?


Target folder: C:\Users\alanc\Desktop\X-Core V8.52\X-Core STM V9.42
Source name: C:\Users\alanc\Desktop\X-Core V8.52\X-Core STM V9.42\STM_MUX.fcfx
Title:
Description:
Device: ARM.F4.32F407ZG
Generated by: Flowcode v9.1.0.27
Date: Monday, June 07, 2021 11:51:49
Users: 1
Registered to: Alan_37
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.52\X-Core STM V9.42\" "32F407xx" "F4" "stm32f_ccm64.ld" "16000000" "1024K" "128K" "C:\Program Files (x86)\Flowcode\Common\Compilers\starm\\"

C:\Users\alanc\Desktop\X-Core V8.52\X-Core STM V9.42>REM CRC: 1CECFE3DB3A1BD5169AEA98AD43ADE631EF0A88FFA736FBD84BE44176323F463C8515F4CD0D20BEBDFE06A9E70103FA105C640EF477B79E0C7881D2E5EEC9BD63704543BB276A56A4B3DB90A9233D8D5884CAF7C025B08A14D00059D795899820E6BB7AE6771CE586954F191918D76F05058F85C62E78168DB2117B7F66DFFAB9D4CD39D9819A47B593E224EEC6BA2B1CF18B22880D87C51B667E8BA6E12E6B26FA06B6F4F108199331CCC4A9A2DADF899B5E4011DBDD5202C3050DA273BE4EE85C10FF012B9638B6CFC04A888F251985D2A7ED9C36C978514E084950FA5CC8F5270B55B262AFD36

C:\Users\alanc\Desktop\X-Core V8.52\X-Core STM V9.42>REM REVISION: 4.0

C:\Users\alanc\Desktop\X-Core V8.52\X-Core STM V9.42>REM GUID: E810EE73-4726-4718-B23E-B579C5ADBC40

C:\Users\alanc\Desktop\X-Core V8.52\X-Core STM V9.42>REM DATE: 06\04\2021

C:\Users\alanc\Desktop\X-Core V8.52\X-Core STM V9.42>REM DIR: FCD\ARM\batch\stm32comp.bat

Project STM_MUX
Device STM32F407xx


C:\Users\alanc\Desktop\X-Core V8.52\X-Core STM V9.42>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 "STM_MUX.c" -o "STM_MUX_STM32F407xx_16000000\STM_MUX.o"
STM_MUX.c:499:36: error: expected ')' before ',' token
#define FC_CAL_RMT_SetBuffer_2 (Idx, St0, Len0, St1, Len1) MX_RMT_BUFFER_2[Idx] = (rmt_item32_t){{{Len0, St0, Len1, St1}}}
^
STM_MUX.c:501:6: note: in expansion of macro 'FC_CAL_RMT_SetBuffer_2'
void FC_CAL_RMT_SetBuffer_2(MX_UINT16 FCL_INDEX, MX_BOOL FCL_STATE0, MX_UINT16 FCL_LENGTH0, MX_BOOL FCL_STATE1, MX_UINT16 FCL_LENGTH1);
^
STM_MUX.c:501:29: error: expected identifier or '(' before 'MX_UINT16'
void FC_CAL_RMT_SetBuffer_2(MX_UINT16 FCL_INDEX, MX_BOOL FCL_STATE0, MX_UINT16 FCL_LENGTH0, MX_BOOL FCL_STATE1, MX_UINT16 FCL_LENGTH1);
^
STM_MUX.c:626:36: error: expected ')' before ',' token
#define FC_CAL_RMT_SetBuffer_1 (Idx, St0, Len0, St1, Len1) MX_RMT_BUFFER_1[Idx] = (rmt_item32_t){{{Len0, St0, Len1, St1}}}
^
STM_MUX.c:628:6: note: in expansion of macro 'FC_CAL_RMT_SetBuffer_1'
void FC_CAL_RMT_SetBuffer_1(MX_UINT16 FCL_INDEX, MX_BOOL FCL_STATE0, MX_UINT16 FCL_LENGTH0, MX_BOOL FCL_STATE1, MX_UINT16 FCL_LENGTH1);
^
STM_MUX.c:628:29: error: expected identifier or '(' before 'MX_UINT16'
void FC_CAL_RMT_SetBuffer_1(MX_UINT16 FCL_INDEX, MX_BOOL FCL_STATE0, MX_UINT16 FCL_LENGTH0, MX_BOOL FCL_STATE1, MX_UINT16 FCL_LENGTH1);
^
Error(s) in build

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

Autoclose turned off


FINISHED

BenR
Matrix Staff
Posts: 1940
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 506 times
Been thanked: 688 times

Re: Not Compiling to HEX

Post by BenR »

Hello,

Hopefully this issue has now been resolved. Many apologies and thanks for letting us know.

Alan_37
Posts: 186
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 54 times
Been thanked: 26 times

Re: Not Compiling to HEX

Post by Alan_37 »

Hi BenR

Yes everything working fine now

Thanks for your help

Post Reply