this code adds support for structured ADIs #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added code for selecting structured ADIs instead of the speed-refspeed-example of the starterkit code;
the structured ADIs had already been defined in the header file abcc_interface_data_interface.h of abcc_driver\inc.
I added
_**//added to support structured ADIs; start
#ifndef ABCC_CFG_DRV_STRUCTURED_ADIS
#define ABCC_CFG_DRV_STRUCTURED_ADIS 1
#endif
#ifdef ABCC_CFG_DRV_STRUCTURED_ADIS
#ifndef ABCC_CFG_STRUCT_DATA_TYPE_ENABLED
#define ABCC_CFG_STRUCT_DATA_TYPE_ENABLED 1
#endif
#endif
//added to support structured ADIs; end**_
inside the file abcc_driver_config.h.
These 2 compiler switches will be used inside the code to switch between the structured ADI version and the Speed / Refspeed version.