-
Notifications
You must be signed in to change notification settings - Fork 9
Assembly mapping object #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for the Assembly Mapping Object (0xEB) to enable dynamic assemblies in the ABCC driver API. The implementation allows for mapping application data instances (ADIs) to assembly instances with support for both static and dynamic configurations.
Key changes:
- New assembly mapping object implementation with instance and object command processing
- Configuration options for dynamic instances, name strings, and maximum ADI maps
- EtherNet/IP producing/consuming instance callback functions
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/host_objects/assembly_mapping_object.h | Header file defining public interfaces for Assembly Mapping Object initialization and command processing |
| src/host_objects/assembly_mapping_object.c | Core implementation of Assembly Mapping Object with instance/object command handlers |
| src/abcc_api_handler.c | Removed blocking error directive to enable Assembly Mapping Object support |
| src/abcc_api_config.h | Added configuration macros for Assembly Mapping Object features |
| src/abcc_api_command_handler.c | Added routing for Assembly Mapping Object commands |
| inc/host_objects/abcc_api_command_handler_lookup.h | Added EtherNet/IP producing/consuming instance attribute definitions and callbacks |
| inc/abcc_api.h | Added ASM_InstanceType structure and callback function declarations |
| abcc-driver-api.mk | Added assembly_mapping_object.c to build sources |
| abcc-driver-api.cmake | Added assembly_mapping_object files to CMake build configuration |
Comments suppressed due to low confidence (1)
src/host_objects/assembly_mapping_object.h:1
- Corrected spelling of 'ojbect' to 'object'.
/*******************************************************************************
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Add support for the Assembly Mapping Object