Hi,
A small finding - when using datatypes >32bit for the process image, gcc refuses to compile sources which include the generated xap.h:
#define COMPUTED_PI_OUT_SIZE 76 typedef struct { .... unsigned PADDING_VAR_1:48; .... } PI_OUT; In file included from apps/demo_mn_console/src/app.c:54:0: apps/demo_mn_console/src/xap.h:15:11: error: width of ‘PADDING_VAR_1’ exceeds its type unsigned PADDING_VAR_1:48;
... which is quite correct, stuffing 48bits into a 32-bit datatype won't work ;)
Br, Clemens
Hi Clemens,
Thanks for reporting. Can you please provide me your OC project for testing my fix.
br Christoph
Hi Christoph,
Please find an OC project exhibiting the issue at: http://93.83.133.214/newnet.tar.gz
Thx for providing the project. The issue has been fixed within: https://github.com/OpenAutomationTechnologies/openCONFIGURATOR_library/commit/34c32f8a293d7ca862d212c8f887e101afc2331c
Thanks a lot for fixing the issue!
Log in to post a comment.
Hi,
A small finding - when using datatypes >32bit for the process image, gcc refuses to compile sources which include the generated xap.h:
... which is quite correct, stuffing 48bits into a 32-bit datatype won't work ;)
Br, Clemens
Hi Clemens,
Thanks for reporting. Can you please provide me your OC project for testing my fix.
br
Christoph
Hi Christoph,
Please find an OC project exhibiting the issue at: http://93.83.133.214/newnet.tar.gz
Br, Clemens
Hi Clemens,
Thx for providing the project. The issue has been fixed within:
https://github.com/OpenAutomationTechnologies/openCONFIGURATOR_library/commit/34c32f8a293d7ca862d212c8f887e101afc2331c
br
Christoph
Thanks a lot for fixing the issue!
Br, Clemens