Tool/software: Linux
Hi,
I want to increase the total number of Message Objects.
I m using DCAN. My can.h has the default configuration as follows
/* message object split */
#define C_CAN_NO_OF_OBJECTS 64
#define C_CAN_MSG_OBJ_RX_NUM 16
#define C_CAN_MSG_OBJ_TX_NUM 16
I want to increase the Tx and Rx msg numbers as 64 each & total no of msg objects as 128
While doing compilation, I m getting the following error.
kernel.h:6,
| from /home/embadmin/fmssdk/build/arago-tmp-external-linaro-toolchain/work-shared/sfms/kernel-source/drivers/net/can/c_can/c_can.c:28:
| In function 'c_can_do_rx_poll',
| inlined from 'c_can_poll' at /home/embadmin/fmssdk/build/arago-tmp-external-linaro-toolchain/work-shared/sfms/kernel-source/drivers/net/can/c_can/c_can.c:1068:15:
| /home/embadmin/fmssdk/build/arago-tmp-external-linaro-toolchain/work-shared/sfms/kernel-source/include/linux/compiler.h:518:38: error: call to '__compiletime_assert_848' declared with attribute error: Implementation does not support more message objects than 16
| _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
| ^
| /home/embadmin/fmssdk/build/arago-tmp-external-linaro-toolchain/work-shared/sfms/kernel-source/include/linux/compiler.h:501:4: note: in definition of macro '__compiletime_assert'
| prefix ## suffix(); \
Is it possible to configure as per my requirement ? can anyone help me to resolve this.