Hello NXP,
I new a LIN_master project from your Example. But I can't build successfully.
The compiler log is the following. What can I do? Thanks!
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:197:5: error: unknown type name 'l_signal_handle'
l_signal_handle response_error; /*!< Signal used to update response error */
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:201:11: error: unknown type name 'l_signal_handle'
const l_signal_handle *fault_state_signal_ptr; /*!< List of fault state signal */
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:243:11: error: unknown type name 'l_frame_handle'
const l_frame_handle * associated_uncond_frame_ptr; /*!< Associated unconditional frame ID */
^~~~~~~~~~~~~~
In file included from D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:27:0,
from ../Generated_Code/Cpu.h:63,
from ../Generated_Code/Cpu.c:53:
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:290:5: error: unknown type name 'l_frame_handle'
l_frame_handle frm_id; /*!< Frame ID, in case of unconditional or event triggered frame. For sporadic frame the value will be 0 (zero) */
^~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:370:57: error: unknown type name 'l_ifc_handle'
extern lin_tl_callback_return_t lin_tl_callback_handler(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:527:5: error: unknown type name 'l_ifc_slave_handle'
l_ifc_slave_handle slave_ifc_handle; /*!< Interface handler of slave node */
^~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:528:5: error: unknown type name 'l_ifc_master_handle'
l_ifc_master_handle master_ifc_handle; /*!< Interface handler of master node */
^~~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:586:35: error: unknown type name 'l_ifc_handle'
extern l_u8 ld_read_by_id_callout(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:598:69: error: 'LIN_NUM_OF_MASTER_IFCS' undeclared here (not in a function)
extern lin_master_data_t g_lin_master_data_array[LIN_NUM_OF_MASTER_IFCS];
^~~~~~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:601:71: error: 'LIN_NUM_OF_IFCS' undeclared here (not in a function)
extern lin_tl_descriptor_t g_lin_tl_descriptor_array[LIN_NUM_OF_IFCS];
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:604:69: error: 'LIN_FRAME_BUF_SIZE' undeclared here (not in a function)
extern l_u8 g_lin_frame_data_buffer[LIN_FRAME_BUF_SIZE];
^~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:605:67: error: 'LIN_FLAG_BUF_SIZE' undeclared here (not in a function)
extern l_u8 g_lin_flag_handle_tbl[LIN_FLAG_BUF_SIZE];
^~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:606:73: error: 'LIN_NUM_OF_FRMS' undeclared here (not in a function)
extern l_bool g_lin_frame_flag_handle_tbl[LIN_NUM_OF_FRMS];
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:608:14: error: unknown type name 'l_ifc_handle'
extern const l_ifc_handle g_lin_hardware_ifc[HARDWARE_INSTANCE_COUNT];
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:608:64: error: 'HARDWARE_INSTANCE_COUNT' undeclared here (not in a function)
extern const l_ifc_handle g_lin_hardware_ifc[HARDWARE_INSTANCE_COUNT];
^~~~~~~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:678:43: error: unknown type name 'l_ifc_handle'
extern void lin_pid_resp_callback_handler(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:699:21: error: unknown type name 'l_ifc_handle'
l_bool lin_lld_init(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:709:21: error: unknown type name 'l_ifc_handle'
void lin_lld_deinit(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:718:25: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_int_enable(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:727:26: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_int_disable(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:735:36: error: unknown type name 'l_ifc_handle'
lin_node_state_t lin_lld_get_state(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:747:24: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_tx_header(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:757:25: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_tx_wake_up(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:766:30: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_ignore_response(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:775:33: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_set_low_power_mode(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:788:27: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_set_response(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:803:26: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_rx_response(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:821:30: error: unknown type name 'l_ifc_handle'
void lin_lld_timeout_service(l_ifc_handle iii);
^~~~~~~~~~~~
In file included from ../Generated_Code/Cpu.h:63:0,
from ../Generated_Code/Cpu.c:53:
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:77:17: error: unknown type name 'l_ifc_handle'
l_u8 l_sch_tick(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:90:16: error: unknown type name 'l_ifc_handle'
void l_sch_set(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:91:16: error: unknown type name 'l_schedule_handle'
l_schedule_handle schedule_iii,
^~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:114:19: error: unknown type name 'l_ifc_handle'
l_bool l_ifc_init(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:131:23: error: unknown type name 'l_ifc_handle'
void l_ifc_goto_sleep(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:141:20: error: unknown type name 'l_ifc_handle'
void l_ifc_wake_up(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:149:25: error: unknown type name 'l_ifc_handle'
l_u16 l_ifc_read_status(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:163:25: error: unknown type name 'l_ifc_handle'
l_u16 l_sys_irq_disable(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:171:24: error: unknown type name 'l_ifc_handle'
void l_sys_irq_restore(l_ifc_handle iii);
^~~~~~~~~~~~
In file included from D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:27:0,
from ../Generated_Code/Cpu.h:63,
from ../Generated_Code/clockMan1.h:51,
from ../Generated_Code/clockMan1.c:39:
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:197:5: error: unknown type name 'l_signal_handle'
l_signal_handle response_error; /*!< Signal used to update response error */
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:201:11: error: unknown type name 'l_signal_handle'
const l_signal_handle *fault_state_signal_ptr; /*!< List of fault state signal */
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:243:11: error: unknown type name 'l_frame_handle'
const l_frame_handle * associated_uncond_frame_ptr; /*!< Associated unconditional frame ID */
^~~~~~~~~~~~~~
In file included from D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:27:0,
from ../Generated_Code/Cpu.h:63,
from ../Generated_Code/clockMan1.h:51,
from ../Generated_Code/clockMan1.c:39:
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:290:5: error: unknown type name 'l_frame_handle'
l_frame_handle frm_id; /*!< Frame ID, in case of unconditional or event triggered frame. For sporadic frame the value will be 0 (zero) */
^~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:370:57: error: unknown type name 'l_ifc_handle'
extern lin_tl_callback_return_t lin_tl_callback_handler(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:527:5: error: unknown type name 'l_ifc_slave_handle'
l_ifc_slave_handle slave_ifc_handle; /*!< Interface handler of slave node */
^~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:528:5: error: unknown type name 'l_ifc_master_handle'
l_ifc_master_handle master_ifc_handle; /*!< Interface handler of master node */
^~~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:586:35: error: unknown type name 'l_ifc_handle'
extern l_u8 ld_read_by_id_callout(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:598:69: error: 'LIN_NUM_OF_MASTER_IFCS' undeclared here (not in a function)
extern lin_master_data_t g_lin_master_data_array[LIN_NUM_OF_MASTER_IFCS];
^~~~~~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:601:71: error: 'LIN_NUM_OF_IFCS' undeclared here (not in a function)
extern lin_tl_descriptor_t g_lin_tl_descriptor_array[LIN_NUM_OF_IFCS];
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:604:69: error: 'LIN_FRAME_BUF_SIZE' undeclared here (not in a function)
extern l_u8 g_lin_frame_data_buffer[LIN_FRAME_BUF_SIZE];
^~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:605:67: error: 'LIN_FLAG_BUF_SIZE' undeclared here (not in a function)
extern l_u8 g_lin_flag_handle_tbl[LIN_FLAG_BUF_SIZE];
^~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:606:73: error: 'LIN_NUM_OF_FRMS' undeclared here (not in a function)
extern l_bool g_lin_frame_flag_handle_tbl[LIN_NUM_OF_FRMS];
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:608:14: error: unknown type name 'l_ifc_handle'
extern const l_ifc_handle g_lin_hardware_ifc[HARDWARE_INSTANCE_COUNT];
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:608:64: error: 'HARDWARE_INSTANCE_COUNT' undeclared here (not in a function)
extern const l_ifc_handle g_lin_hardware_ifc[HARDWARE_INSTANCE_COUNT];
^~~~~~~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:678:43: error: unknown type name 'l_ifc_handle'
extern void lin_pid_resp_callback_handler(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:699:21: error: unknown type name 'l_ifc_handle'
l_bool lin_lld_init(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:709:21: error: unknown type name 'l_ifc_handle'
void lin_lld_deinit(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:718:25: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_int_enable(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:727:26: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_int_disable(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:735:36: error: unknown type name 'l_ifc_handle'
lin_node_state_t lin_lld_get_state(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:747:24: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_tx_header(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:757:25: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_tx_wake_up(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:766:30: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_ignore_response(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:775:33: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_set_low_power_mode(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:788:27: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_set_response(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:803:26: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_rx_response(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:821:30: error: unknown type name 'l_ifc_handle'
void lin_lld_timeout_service(l_ifc_handle iii);
^~~~~~~~~~~~
Executing target #4 ../Generated_Code/lin1.c
make: *** [Generated_Code/subdir.mk:91: Generated_Code/Cpu.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../Generated_Code/Cpu.h:63:0,
from ../Generated_Code/clockMan1.h:51,
from ../Generated_Code/clockMan1.c:39:
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:77:17: error: unknown type name 'l_ifc_handle'
l_u8 l_sch_tick(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:90:16: error: unknown type name 'l_ifc_handle'
void l_sch_set(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:91:16: error: unknown type name 'l_schedule_handle'
l_schedule_handle schedule_iii,
^~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:114:19: error: unknown type name 'l_ifc_handle'
l_bool l_ifc_init(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:131:23: error: unknown type name 'l_ifc_handle'
void l_ifc_goto_sleep(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:141:20: error: unknown type name 'l_ifc_handle'
void l_ifc_wake_up(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:149:25: error: unknown type name 'l_ifc_handle'
l_u16 l_ifc_read_status(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:163:25: error: unknown type name 'l_ifc_handle'
l_u16 l_sys_irq_disable(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:171:24: error: unknown type name 'l_ifc_handle'
void l_sys_irq_restore(l_ifc_handle iii);
^~~~~~~~~~~~
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Generated_Code/dmaController1.args" -MMD -MP -MF"Generated_Code/dmaController1.d" -MT"Generated_Code/dmaController1.o" -o "Generated_Code/dmaController1.o" "../Generated_Code/dmaController1.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Generated_Code/lin1.args" -MMD -MP -MF"Generated_Code/lin1.d" -MT"Generated_Code/lin1.o" -o "Generated_Code/lin1.o" "../Generated_Code/lin1.c"
make: *** [Generated_Code/subdir.mk:99: Generated_Code/clockMan1.o] Error 1
In file included from D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:27:0,
from ../Generated_Code/Cpu.h:63,
from ../Generated_Code/clockMan1.h:51,
from ../Generated_Code/dmaController1.h:83,
from ../Generated_Code/dmaController1.c:49:
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:197:5: error: unknown type name 'l_signal_handle'
l_signal_handle response_error; /*!< Signal used to update response error */
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:201:11: error: unknown type name 'l_signal_handle'
const l_signal_handle *fault_state_signal_ptr; /*!< List of fault state signal */
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:243:11: error: unknown type name 'l_frame_handle'
const l_frame_handle * associated_uncond_frame_ptr; /*!< Associated unconditional frame ID */
^~~~~~~~~~~~~~
In file included from D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:27:0,
from ../Generated_Code/Cpu.h:63,
from ../Generated_Code/clockMan1.h:51,
from ../Generated_Code/dmaController1.h:83,
from ../Generated_Code/dmaController1.c:49:
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:290:5: error: unknown type name 'l_frame_handle'
l_frame_handle frm_id; /*!< Frame ID, in case of unconditional or event triggered frame. For sporadic frame the value will be 0 (zero) */
^~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:370:57: error: unknown type name 'l_ifc_handle'
extern lin_tl_callback_return_t lin_tl_callback_handler(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:527:5: error: unknown type name 'l_ifc_slave_handle'
l_ifc_slave_handle slave_ifc_handle; /*!< Interface handler of slave node */
^~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:528:5: error: unknown type name 'l_ifc_master_handle'
l_ifc_master_handle master_ifc_handle; /*!< Interface handler of master node */
^~~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:586:35: error: unknown type name 'l_ifc_handle'
extern l_u8 ld_read_by_id_callout(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:598:69: error: 'LIN_NUM_OF_MASTER_IFCS' undeclared here (not in a function)
extern lin_master_data_t g_lin_master_data_array[LIN_NUM_OF_MASTER_IFCS];
^~~~~~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:601:71: error: 'LIN_NUM_OF_IFCS' undeclared here (not in a function)
extern lin_tl_descriptor_t g_lin_tl_descriptor_array[LIN_NUM_OF_IFCS];
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:604:69: error: 'LIN_FRAME_BUF_SIZE' undeclared here (not in a function)
extern l_u8 g_lin_frame_data_buffer[LIN_FRAME_BUF_SIZE];
^~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:605:67: error: 'LIN_FLAG_BUF_SIZE' undeclared here (not in a function)
extern l_u8 g_lin_flag_handle_tbl[LIN_FLAG_BUF_SIZE];
^~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:606:73: error: 'LIN_NUM_OF_FRMS' undeclared here (not in a function)
extern l_bool g_lin_frame_flag_handle_tbl[LIN_NUM_OF_FRMS];
^~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:608:14: error: unknown type name 'l_ifc_handle'
extern const l_ifc_handle g_lin_hardware_ifc[HARDWARE_INSTANCE_COUNT];
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:608:64: error: 'HARDWARE_INSTANCE_COUNT' undeclared here (not in a function)
extern const l_ifc_handle g_lin_hardware_ifc[HARDWARE_INSTANCE_COUNT];
^~~~~~~~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:678:43: error: unknown type name 'l_ifc_handle'
extern void lin_pid_resp_callback_handler(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:699:21: error: unknown type name 'l_ifc_handle'
l_bool lin_lld_init(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:709:21: error: unknown type name 'l_ifc_handle'
void lin_lld_deinit(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:718:25: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_int_enable(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:727:26: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_int_disable(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:735:36: error: unknown type name 'l_ifc_handle'
lin_node_state_t lin_lld_get_state(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:747:24: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_tx_header(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:757:25: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_tx_wake_up(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:766:30: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_ignore_response(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:775:33: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_set_low_power_mode(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:788:27: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_set_response(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:803:26: error: unknown type name 'l_ifc_handle'
l_u8 lin_lld_rx_response(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin.h:821:30: error: unknown type name 'l_ifc_handle'
void lin_lld_timeout_service(l_ifc_handle iii);
^~~~~~~~~~~~
In file included from ../Generated_Code/Cpu.h:63:0,
from ../Generated_Code/clockMan1.h:51,
from ../Generated_Code/dmaController1.h:83,
from ../Generated_Code/dmaController1.c:49:
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:77:17: error: unknown type name 'l_ifc_handle'
l_u8 l_sch_tick(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:90:16: error: unknown type name 'l_ifc_handle'
void l_sch_set(l_ifc_handle iii,
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:91:16: error: unknown type name 'l_schedule_handle'
l_schedule_handle schedule_iii,
^~~~~~~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:114:19: error: unknown type name 'l_ifc_handle'
l_bool l_ifc_init(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:131:23: error: unknown type name 'l_ifc_handle'
void l_ifc_goto_sleep(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:141:20: error: unknown type name 'l_ifc_handle'
void l_ifc_wake_up(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:149:25: error: unknown type name 'l_ifc_handle'
l_u16 l_ifc_read_status(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:163:25: error: unknown type name 'l_ifc_handle'
l_u16 l_sys_irq_disable(l_ifc_handle iii);
^~~~~~~~~~~~
D:/program files/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_BETA_2.9.0/middleware/lin/include/lin_common_api.h:171:24: error: unknown type name 'l_ifc_handle'
void l_sys_irq_restore(l_ifc_handle iii);
^~~~~~~~~~~~
make: *** [Generated_Code/subdir.mk:107: Generated_Code/dmaController1.o] Error 1
Finished building: ../Generated_Code/lin1.c
Hello Daniel,
I have checked the Generated_code folder, It contain code.
I new other project from the example, It's no problem. Only the
you can try it with the S32DS R1 2018, The sdk is S32SDK_S32K1xx_BETA_2.9.0.
Regards,
He.
Hello,
It works for me without any problem, but I can reproduce the issue, for example:
if I remove the l_signal_handler definition from Generated_code/lin_cfg.h
That's why I'm asking if you have this very code in the lin_cfg.h file, for example in this case.
Regards,
Daniel
Hello Daniel,
I have compared my LIN_cfg.h with your, But I can't found the l_signal_handle. It seems to be missing a lot. Is there any configuration problem? It's like this:
/** ###################################################################
** This component module is generated by Processor Expert. Do not modify it.
**
** @file lin_cfg.h
**
** @date 14:55:38, 2018-12-17
**
** @brief Hardware configuration file
**
** Copyright : 1997 - 2015 Freescale Semiconductor, Inc.
** Copyright 2016 - 2017 NXP
** All Rights Reserved.
**
** THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED OR
** IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
** OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
** IN NO EVENT SHALL NXP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
** INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
** SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
** STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
** IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
** THE POSSIBILITY OF SUCH DAMAGE.
** ###################################################################*/
/*!
* @file lin_cfg.h
*
* @page misra_violations MISRA-C:2012 violations
*
* @section [global]
* Violates MISRA 2012 Advisory Rule 2.3, A project should not contain unused type declarations.
* The type can be used by user application.
*
* @section [global]
* Violates MISRA 2012 Advisory Rule 2.5, A project should not contain unused macro declarations.
* The macro can be used by user application.
*
* @section [global]
* Violates MISRA 2012 Required Rule 5.1, External identifiers shall be distinct.
* The identifiers are generated from signal names. The signal name is defined by users and we can not control this.
*
* @section [global]
* Violates MISRA 2012 Required Rule 5.2, Identifiers declared in the same scope and name
* space shall be distinct.
* The name of signal is defined by user and we can not control this.
*
* @section [global]
* Violates MISRA 2012 Required Rule 5.4, Macro identifiers shall be distinct.
* The name of signal is defined by user and we can not control this.
*
* @section [global]
* Violates MISRA 2012 Required Rule 5.5, Identifier shall be distinct from macro names.
* The name of signal is defined by user and we can not control this.
*
* @section [global]
* Violates MISRA 2012 Advisory Directive 4.9, A function should be used in preference
* to a function-like macro where they are interchangeable.
* The macro is used to define static or dynamic implementation of API functions.
* This way is more efficient.
*
* @section [global]
* Violates MISRA 2012 Advisory Rule 20.10, The #/ ## preprocessor operator should not be used.
* The operator is used to define dynamic implementation of API functions of signal interaction.
* This way is more efficient.
*/
#ifndef LIN_CFG_H
#define LIN_CFG_H
#include <stdint.h>
#include "lin_driver.h"
#include "lin1.h"
/* Implements : SUPPORT_MASTER_MODE_Class */
#define SUPPORT_MASTER_MODE 1U /* Equal to 1 when have at least one master interface */
/* Implements : SUPPORT_SLAVE_MODE_Class */
#define SUPPORT_SLAVE_MODE 0U /* Equal to 1 when have at least one slave interface */
/* Implements : SUPPORT_PROTOCOL_21_Class */
#define SUPPORT_PROTOCOL_21 1U /* Equal to 1 when have at least one LIN2.1 or LIN2.2 interface */
/* Implements : SUPPORT_PROTOCOL_J2602_Class */
#define SUPPORT_PROTOCOL_J2602 0U /* Equal to 1 when have at least one J2602 interface */
/* Implements : SUPPORT_DIAG_CLASS_III_Class */
#define SUPPORT_DIAG_CLASS_III 0U /* Equal to 1 when have at least one ifc with diagnostic class III */
/* Implements : SUPPORT_DIAG_CLASS_II_Class */
#define SUPPORT_DIAG_CLASS_II 0U /* Equal to 1 when have at least one ifc with diagnostic class II or III */
/* Implements : SUPPORT_TRANSPORT_LAYER_Class */
#define SUPPORT_TRANSPORT_LAYER 1U /* Equal to 1 to use transport layer */
/* Implements : SUPPORT_DIAG_SERVICE_Class */
#define SUPPORT_DIAG_SERVICE 1U /* Equal to 1 to use diagnostic service layer */
#define TIME_OUT_UNIT_US 500U
#define LI0_DIAG_NUMBER_OF_SERVICES 5U
#define LI0_DIAGSRV_ASSIGN_NAD_ORDER 0U
#define LI0_DIAGSRV_READ_BY_IDENTIFIER_ORDER 1U
#define LI0_DIAGSRV_CONDITIONAL_CHANGE_NAD_ORDER 2U
#define LI0_DIAGSRV_SAVE_CONFIGURATION_ORDER 3U
#define LI0_DIAGSRV_ASSIGN_FRAME_ID_RANGE_ORDER 4U
#define MAX_LENGTH_SERVICE 6
#endif /* _LIN_CFG_H_ */
Hi,
The code is not generated, most likely due to the java version.
I had a similar problem a year ago.
I have this version:
You can also update the Design Studio.
Regards,
Daniel
The issue is fixed. Update the Java version can resolve it. Thanks!
I have another computer which is WIN7 32bit version, It can be generated.
Is it related to the version of Windows?
Because my two computers have the same Java version.
Hello,
There might be a problem with your Java version, can you update it?
Thanks,
Daniel
Hello Daniel,
My Java version is 9.0.1
Hi,
Please generate PE code and check all the .c .h files in the Generated_code folder if they contain any code?
Regards,
Daniel