esp compile error

For general Flowcode discussion that does not belong in the other sections.
Post Reply
noovas
Posts: 5
http://meble-kuchenne.info.pl
Joined: Fri Dec 08, 2023 10:53 am

esp compile error

Post by noovas »

Hello,
I am new with Flowcode 10 (free version). I have experience with Flowcode 6 but this was long time ago.....

So, when I try to compile to target I have this error:
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj

what I have found till now is if I have even just one component macro I receive this error.
Maybe I am doing something wrong or I should install something additional, or maybe component macros are not for the free version?
I appreciate any help.
thanks


===================
Python 3.7.3
git version 2.21.0.windows.1
ESP toolchain found at "C:\Users\User\Desktop\esp-idf\"
=========================

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: esp compile error

Post by medelec35 »

Hello.
Can you post your Project name.fcfx project file and Project name.msg.txt fie
Martin

noovas
Posts: 5
Joined: Fri Dec 08, 2023 10:53 am

Re: esp compile error

Post by noovas »

medelec35 wrote:
Tue Jan 16, 2024 3:31 pm
Hello.
Can you post your Project name.fcfx project file and Project name.msg.txt fie
Hello, medelec35
project name is: Flowcode2.fcfx
attached file is the .txt file
Attachments
Flowcode2.msg.txt
(175.23 KiB) Downloaded 131 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: esp compile error

Post by medelec35 »

Hello.
Cam you post your .fcfx project file, please.
Martin

noovas
Posts: 5
Joined: Fri Dec 08, 2023 10:53 am

Re: esp compile error

Post by noovas »

inside there is just one component macro (in my case PWM enable)
Attachments
Flowcode2.fcfx
(8.56 KiB) Downloaded 120 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: esp compile error

Post by medelec35 »

Hello.
After selecting PWM:0 Timer:0 Pin:A from the PWM Timer properties, your project compiled for me.
Can you give that a try and attach the latest .msg.txt if still not compiling for you.
At least now compiling will be a lot quicker as it won't be the first time of compiling.
noovas wrote:
Tue Jan 16, 2024 3:05 pm
Maybe I am doing something wrong or I should install something additional, or maybe component macros are not for the free version?
Flowcode 10 is free for makers and hobbyists.
That means all the components are now free and there are no code size restrictions, unlike all the other versions of Flowcode.
Martin

noovas
Posts: 5
Joined: Fri Dec 08, 2023 10:53 am

Re: esp compile error

Post by noovas »

I have tried many times with different projects, different versions of Python. Few times I reinstall and the ESP toolchain, but without success.
If the project contains output, loops and delays it compiles without problem (making a led flash is not a problem and it uploads ).
here is latest .txt report....
Attachments
Flowcode2.msg.txt
(30.56 KiB) Downloaded 99 times

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

Re: esp compile error

Post by BenR »

Hello,

This is the error you're getting.
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_PWM.c:48:8: error: no macro name given in #define directive
48 | #define
It looks like you need to go to Help -> Library Updates and get the latest files. Hopefully that should allow you to compile.

noovas
Posts: 5
Joined: Fri Dec 08, 2023 10:53 am

Re: esp compile error

Post by noovas »

Hello BenR and thank you for the help!!!
Actually thank you very much, it is working now!! :D

Post Reply