Mini Milestone: Driver loads and connects.

This commit is contained in:
2025-12-18 16:26:51 +01:00
parent b5ed3ff733
commit 2acf280c55
20 changed files with 5407 additions and 59 deletions

26
lib/can_drv_config.h Normal file
View File

@@ -0,0 +1,26 @@
#ifndef __CAN_DRV_CONFIG_H__
#define __CAN_DRV_CONFIG_H__
#ifndef STRICT_CAN_FD_SUPPORT
//#define STRICT_CAN_FD_SUPPORT
#endif
#ifndef CAN_API_TRUE_FUNC
#define CAN_API_TRUE_FUNC
#endif
#ifndef DRV_REF_LOCKING
#define DRV_REF_LOCKING
#endif
#ifndef __WIN32__
#ifndef LINUX_HAVE_GET_API_DRIVER_PATH
#define LINUX_HAVE_GET_API_DRIVER_PATH
#endif
#endif
#ifndef MHS_DRV_DEBUG_OUTPUT
// #define MHS_DRV_DEBUG_OUTPUT
#endif
#endif