|
发表于 2010-8-19 15:08:09
|
显示全部楼层
\mbm_core.c你的源码是不是不全呀。你看下面的描述。
/*
*********************************************************************************************************
* MODBUS PROTOCOL INCLUDE FILES
*
* Note(s) : (1) The modbus protocol suite files are located in the following directories :
*
* (a) (1) \<Your Product Application>\app_cfg.h
* (2) \mb_cfg.h
* (3) \mb_data.c
*
* (b) \<Modbus Protocol Suite>\Source\mb.h
* \mb.c
* \mb_def.c
* \mb_util.c
* \mbm_core.c
* \mbs_core.c
*
* (c) \<Modbus Protocol Suite>\Ports\<cpu>\mb_bsp.*
*
* (d) \<Modbus Protocol Suite>\OS\<os>\mb_os.*
*
* where
* <Your Product Application> directory path for Your Product's Application
* <Modbus Protocol Suite> directory path for modbus protocol suite
* <cpu> directory name for specific processor (CPU)
* <compiler> directory name for specific compiler
* <os> directory name for specific operating system (OS)
*
* (2) NO compiler-supplied standard library functions are used by the modbus protocol suite.
*
* (a) Standard library functions are implemented in the custom library module(s) :
*
* \<Custom Library Directory>\lib*.*
*
* where
* <Custom Library Directory> directory path for custom library software
*
*
* (3) CPU-configuration software files are located in the following directories :
*
* (a) (1) \<CPU-Compiler Directory>\cpu_def.h
*
* (2) \<CPU-Compiler Directory>\<cpu>\<compiler>\cpu*.*
*
* where
* <Custom Library Directory> directory path for custom library software
* <CPU-Compiler Directory> directory path for common CPU-compiler software
* <cpu> directory name for specific processor (CPU)
* <compiler> directory name for specific compiler
*
* (4) Compiler MUST be configured to include the '\<Custom Library Directory>\uC-LIB\',
* '\<CPU-Compiler Directory>\' directory, & the specific CPU-compiler directory as
* additional include path directories.
*
* (5) NO compiler-supplied standard library functions SHOULD be used.
*
**********************************************************************************************************
缺少 mbm_core.c ? |
|