DolphinV4 API  1.6.1.0
Application project structure

Every application shares the following files.

FilenameShort Description
EO3100I_API-ERP2.LIB The DolphinV4 API library
EO3100I_API.h Interface definition for the DolphinV4 API library
EO3100I_CFG.h Configuration header file generated by DolphinV4 Suite DolphinV4APIConfigurator
EO3100I_CFG.c Configuration c file generated by DolphinV4 Suite DolphinV4APIConfigurator
STARTUP.a51 Configuration assembler file generated by DolphinV4 Suite DolphinV4APIConfigurator
MAIN.c Your application source code

There is a template application structure located in the DolphinV4API\EO3100I_API\Examples folder. It is recommended to use this template for a new application development. The template name can be customized with the help of the copy_template.cmd which is also located in the example folder.

EO3100I_CFG.h
This file is generated by DolphinV4 Suite DolphinV4APIConfigurator. It contains various definitions like radio buffer size, radio buffer number, UART buffer size etc. This file can be also included in the application source code.

EO3100I_CFG.c
This file is generated by DolphinV4 Suite DolphinV4APIConfigurator. It allocates various buffers like radio, uart, filter buffers etc.. Furthermore, it implements the two functions: mainInit and startupInit. These functions contains the calls to the various module initialization functions. DolphinV4 Suite DolphinV4APIConfigurator controls those functions depending on the user sw module initialization. For more information please read DolphinV4 API Initialization.

STARTUP.a51
This file is generated by DolphinV4 Suite DolphinV4APIConfigurator. It contains the standard Keil C51 compiler startup procedures like initializing global variables, registers, stack pointer, etc.. Prior these init functions are executed the startupInit() is called. This allows some module initialization (like pwr_enableXTAL and io_init) immediately after reset or wakeup. For more information read http://www.keil.com/support/docs/1296.htm and also DolphinV4 API Initialization.

Note:
For more information how the library is configured using the DolphinV4 Suite DolphinV4APIConfigurator generated files make sure to read the DolphinV4 API Initialization.