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-lxmlYou should also install https://launchpad.net/gcc-arm-embedded
Add arm-none-eabi-gcc toolchain to Code::Blocks IDE
mkdir ~/YAPLC
cd ~/YAPLCClone 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.gitBuild matiec:
cd ~/YAPLC/matiec
autoreconf -i
./configure
makeBuild libopencm3:
cd ~/YAPLC/libopencm3
makeBuild stm32flash
cd ~/YAPLC/stm32flash
makeTo 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
makecd ~/YAPLC/IDE
python yaplcide.pyInstall dependencies as described above
Clone this repo
mkdir ~/Build
cd ~/Build
git clone https://github.com/nucleron/YAPLC.gitcd YAPLC
makemake clean_installer