sudo apt-get install codeblocks
sudo apt-get install build-essential bison flex autoconf
sudo apt-get install python-wxgtk2.8 pyro mercurial
sudo apt-get install python-numpy python-nevow python-matplotlib python-lxml
You should also install https://launchpad.net/gcc-arm-embedded
Add arm-none-eabi-gcc toolchain to Code::Blocks IDE
mkdir ~/YAPLC
cd ~/YAPLC
Clone these repos:
hg clone https://bitbucket.org/skvorl/beremiz/
hg clone https://bitbucket.org/skvorl/matiec
git clone https://github.com/nucleron/RTE.git
git clone https://github.com/nucleron/IDE.git
git clone https://github.com/nucleron/freemodbus-v1.5.0.git
git clone https://github.com/nucleron/stm32flash.git
git clone https://github.com/nucleron/libopencm3.git
git clone https://github.com/nucleron/YaPySerial.git
Build matiec:
cd ~/YAPLC/matiec
autoreconf -i
./configure
make
Build libopencm3:
cd ~/YAPLC/libopencm3
make
Build stm32flash
cd ~/YAPLC/stm32flash
make
To build YaPySerial use Code::Blocks, the target is POSIX. To build device runtime systems use Code::Blocks with Debug targets.
Get and build CanFestival-3:
hg clone http://dev.automforge.net/CanFestival-3
cd ~/YAPLC/CanFestival-3
./configure --can=virtual
make
cd ~/YAPLC/IDE
python yaplcide.py
Install dependencies as described above
Clone this repo
mkdir ~/Build
cd ~/Build
git clone https://github.com/nucleron/YAPLC.git
cd YAPLC
make
make clean_installer