smdbg
Complication fail to complete for ESP32 , but works fine for any other board type . Is ESP32 platforms no longer supported ?
 
Bunch of:  undefined reference to '    '  , from ld.exe
 
PS. after updating to latest version from 12.07.2024  - all OK
Reply 0 0
KT
I still have a similar problem with ESP32.
I tried uninstalling and reinstalling openPLC three times using the install file downloaded today (26 Jul 2024).
But, It doesn't work.
 
 
Complication fail to complete for ESP32 , but works fine for any other board type . Is ESP32 platforms no longer supported ?
 
Bunch of: undefined reference to '   ' , from ld.exe
 
PS. after updating to latest version from 12.07.2024 - all OK
Reply 0 0
thiagoralves
Update to the latest version (file->check for updates)
Reply 0 0
bequer
I have the same problem when transferring to esp32 I always get a "compilation failed"I have already uninstalled the program three times and updated but I always get an error.
Reply 0 0
thiagoralves
I have the same problem when transferring to esp32 I always get a "compilation failed"I have already uninstalled the program three times and updated but I always get an error.
runtime: out of memory: cannot allocate 536870912-byte block (1232961536 in use)
fatal error: out of memory
 
You don't have enough memory to install the ESP32 core. Free up some space on disk and try again.
Reply 0 0
KT
Update to the latest version (file->check for updates)
Thank you very much. The compile becomes OK and the openplc editor says "Done!". However, my ESP32 still does not work. An article written in Japanese reported that "Digital Onputs" list in I/O config was improperly modified after the update. Although I amended the list, my ESP32 still does not work.
Reply 0 0
thiagoralves
If it says "Done!", most likely your program is running. If you don't have the behavior you're expecting, then either your program or wiring (or both) is incorrect.
Reply 0 0
KT
Thank you for the quick reply.
 
The problem reported in the Japanese article is that updating omits 01 and 03 pins from the "Digital Outputs" list in "I/O config". On the other hand,
says the digital output assignment of ESP32 is:
Digital Out01, 02, 03, 04, 05, 12, 13, 14
15, 16
 
The 01 and 03 pins are also omitted in line 120 of the source code at
 
Is there anything wrong?
Reply 0 0
thiagoralves
Those pins are the RX and TX UART pins and are used for Modbus RTU or any serial communication over USB. That’s why they were removed from the list. The table on the documentation is outdated, I need to update that
Reply 0 0
KT
Thank you for sharing the information.
Reply 0 0
Write a reply...
Reply