nucleron / ide Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Столкнулся со следующей проблемой. yaplcide.py не стартует, так как
import features
импортирует вместо ../beremiz/features.py другой файл: /usr/lib64/python2.7/site-packages/PIL/features.py
Этот модуль PIL/features.py обладает большим приоритетом при импортировании.
От этого модуля PIL зависит ряд важных пакетов, поэтому так просто его не удалишь.
Поэтому желательно как-то по другому импортировать ../beremiz/features.py, чтоб приоритет был выше у него.
How is the correct way to transfer application to the PLC?
After I have download the YAPLC/IDE beremiz matiec in the same folder, put the src of RTE in the home directory and set de PATH with arm-gcc I can build the project in the beremiz using the target - yaplc.
I also built and tested the stm32flash and put it in the same folder of the beremiz ide.
Therefore I can't deploy the application in the plc.
The procedure that I followed after build was:
but I got this error:
Transfer failed
PLCobject : Traceback (most recent call last):
File "/home/felipe/tests/beremiz/runtime/PLCObject.py", line 433, in NewPLC
'wb').write(data)
TypeError: argument 1 must be string or buffer, not list
I opened the file PLCObject.py in the line 433 and print the argument 1 that is:
['/home/felipe/nucleron/IDE/yaplctargets/../../stm32flash/stm32flash', '-w', u'/home/felipe/yaplcide-projects/test1/build/test1.elf.hex', '-v', '-g', '0x0', '-S', '0x08008000', '%(serial_port)s']
When compiling multiple times in a row, the cflags and ldflags grow.
This is caused by the copy-by-reference of self.base_flags (in toolchain_stm32.py).
Change in getBuilderCFLAGS() and getBuilderLDFLAGS :
flags = self.base_flags
to:
flags = []
flags += self.base_flags
I have 10 years of working experience in Industrial Automation with many PLCs. I have switched to software developmend for embedded devices. I came across your project and find it interesting and wanted to know that in anyway I can contribute to you project in sofrware developement.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.