Git Product home page Git Product logo

ide's People

Contributors

antohami avatar nucleron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ide's Issues

Не запускается из-за перекрытия модуля features

Столкнулся со следующей проблемой. yaplcide.py не стартует, так как
import features
импортирует вместо ../beremiz/features.py другой файл: /usr/lib64/python2.7/site-packages/PIL/features.py
Этот модуль PIL/features.py обладает большим приоритетом при импортировании.
От этого модуля PIL зависит ряд важных пакетов, поэтому так просто его не удалишь.
Поэтому желательно как-то по другому импортировать ../beremiz/features.py, чтоб приоритет был выше у него.

Transfer PLC failed

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:

  • Click in the Connect to the target PLC ( This open an connection with PYRO)
  • Click in Transfer PLC

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']

Compiling multiple times in a row fails + bugfix

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.