Could you please help me figure out why the state diagram program for ESP32 always fails to compile? Thank you!
-
- Posts: 105
- http://meble-kuchenne.info.pl
- Joined: Thu Jan 07, 2021 11:28 am
- Has thanked: 3 times
- Been thanked: 4 times
Could you please help me figure out why the state diagram program for ESP32 always fails to compile? Thank you!
Hello, I have chosen the (Arduino UNO R3 PDIP) chip and written a program to control the state of LEDs using state diagram programming. The simulation runs normally during the simulation and the compilation is successful. However, when I switch to (ESP32 WROOM 32), the simulation of the state diagram program also runs normally. But during the compilation of the state diagram program, there is always an error. Could you please help me figure out what the problem is? Thank you! (The two corresponding files are attached below.)
- Attachments
-
- 001_State Diagram for ESP32.fcfx
- (37.32 KiB) Downloaded 147 times
-
- 002_State Diagram for Ard.fcfx
- (37.29 KiB) Downloaded 155 times
-
- Matrix Staff
- Posts: 1384
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 184 times
- Been thanked: 322 times
Re: Could you please help me figure out why the state diagram program for ESP32 always fails to compile? Thank you!
Thanks for the post. We will fix this soon, but for now I can offer a simple workaround to allow a successful compilation:
In "Project Options...Supplementary Code", add the following line in the "Definitions" section:
In "Project Options...Supplementary Code", add the following line in the "Definitions" section:
Code: Select all
void nop() {}
-
- Matrix Staff
- Posts: 1610
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 567 times
- Been thanked: 531 times
Re: Could you please help me figure out why the state diagram program for ESP32 always fails to compile? Thank you!
Hello.
Thanks. Steve.
I have implemented a fix and it will be pushed as soon as possible.
If you would like to try the fix then delete the code added to the Project Options... > Supplementary Code
Browse to this location using File Explorer, it's hidden by default so just paste the link into your address bar.
Replace the existing file with the attached file.
If you run any component updates, then the components you added will be overwritten.
Can you let me know if it works for you, please?
Thanks. Steve.
I have implemented a fix and it will be pushed as soon as possible.
If you would like to try the fix then delete the code added to the Project Options... > Supplementary Code
Browse to this location using File Explorer, it's hidden by default so just paste the link into your address bar.
Code: Select all
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL
If you run any component updates, then the components you added will be overwritten.
Can you let me know if it works for you, please?
- Attachments
-
- internals.c
- (21.16 KiB) Downloaded 165 times
Martin
Re: Could you please help me figure out why the state diagram program for ESP32 always fails to compile? Thank you!
It's already done.
- Attachments
-
- Snipaste_2023-10-13_17-36-32.png (183.53 KiB) Viewed 2855 times