- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I'm trying to integrate my device driver in HAL. I generate _hw.tcl, wrote _sw.tcl and class.ptf. BSP Editor added all files .h and .c and in the Driver tab I can see my driver name and version. When I'm trying to build whole project in Eclipse in file alt_sys_init.c in line: MY_DRIVER_INIT ( MY_DRIVER,my_driver); I got errors: 'my_driver' undeclared (first use in this function) 'MY_DRIVER' undeclared (first use in this function) and warnings: data definition has no type or storage class implicit declaration of function 'MY_DRIVER_INIT' type defaults to 'int' in declaration of 'MY_DRIVER_INSTANCE' class.ptf: CLASS my_driver { MODULE_DEFAULTS { class = "my_driver"; class_version = "2.0"; } } Please help :)Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page