[FIX] Omit obsolete eventcal.h

Change-Id: I2f9fbbb9d8460cf28d9abe56b194ac2735aa7570
Reviewed-on: http://brateggevoat1/gerrit/1216
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Add Xilinx Microblaze target

Change-Id: I544f3c72f14cc1a4169801c0257acc7b4c7c22c7
Reviewed-on: http://brateggevoat1/gerrit/1217
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Use target function for circular buffer (un-)lock

Since Sharedbuff is deprecated the target functions have to be used.

Change-Id: I86cd687045d21711f50721801a2f32691a9c5055
Reviewed-on: http://brateggevoat1/gerrit/1218
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Add placeholder ATOMIC_EXCHANGE for Nios II and Microblaze

Implement atomic exchange macro for Altera Nios II and Xilinx Microblaze in
order to switch Pdo triple buffers.

NOTE: This is not a real atomic exchange implementation.
Either find a way to do atomic exchange or implement a locking for save
operation.

Change-Id: I60d296624281b182e3fd8750d348496677a4e4aa
Reviewed-on: http://brateggevoat1/gerrit/1219
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] Add noos implementation for new event handler

Add implementations for non-OS systems using circular buffers or
hostinterface.

Change-Id: I7aad48ff77248db6fd2807b9790d6ea392974be7
Reviewed-on: http://brateggevoat1/gerrit/1012
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Revise Altera DirectI/O example software

The demo application demo_directIO for Altera is adapted according to the
cn_directIO FPGA design.
The application is tested on the Altera TERASIC_D2-115 board only.

Change-Id: I352264b5cb1ae17c5132573539930106a5e6299d
Reviewed-on: http://brateggevoat1/gerrit/802
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Revise Xilinx DirectI/O example software

Change-Id: I0bdee4e981fbc439498c289ca1fb2c4884b852c8
Reviewed-on: http://brateggevoat1/gerrit/1220
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Add missing event interface for hostif

Change-Id: Ibb816f2d8845f2b2a602aaf24a0963367bd9f528
Reviewed-on: http://brateggevoat1/gerrit/1221
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Solve queue processing hang in host interface library

If a queue instance at the beginning of the processing array is omit, the
processing never checks the subsequent array entries.
This could happen if no queue is add to the array or the queues are deleted
in any order compared.

Change-Id: I615a9dc0c049a5176a09d8dff58cbed6b7738b7a
Reviewed-on: http://brateggevoat1/gerrit/1222
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Revise pdocal for host interface

The pdo*calmem generally implements shared memory functionality. This is
also applied to hostif-specifics.

Change-Id: Ia14d1e5c9e1a6528824c3f956db3593362b92866
Reviewed-on: http://brateggevoat1/gerrit/1223
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Change FPGA MN SW projects according to previous changes

Adopt create-this-app.settings and Eclipse project files.

Change-Id: I1e7c8a9cd9112e9497b6afae47489f200dd3d91a
Reviewed-on: http://brateggevoat1/gerrit/1224
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Update FPGA MN Nios II designs

* Increase Rpdo buffer size, which is used for Rpdo and Tpdo
* Recompile design

Change-Id: Ice08ac6e5602f356cc87b482d3579340975c3fd7
Reviewed-on: http://brateggevoat1/gerrit/1225
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Fix Quartus project settings of directI/O example

Generated files won't be written into "output_files" directory.

Change-Id: Ib024a29811a1b0e0d652536982f1edfc10bcf406
Reviewed-on: http://brateggevoat1/gerrit/1230
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Revise section definitions according to previous changes

Change-Id: I374e74d472ff846ea5af05e8adf7bba1d9a89c32
Reviewed-on: http://brateggevoat1/gerrit/1226
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Add execution permission to create-this-app scripts

Change-Id: I498528029dbc64f76881e6be40edc7367be8b414
Reviewed-on: http://brateggevoat1/gerrit/1228
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Add return ability to create-this-fpga scripts

Change-Id: I74878fdb8aada2446ebfa170c689bda33e7ecf8f
Reviewed-on: http://brateggevoat1/gerrit/1229
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>