Skip to content

Conversation

@AnJoha
Copy link
Collaborator

@AnJoha AnJoha commented Jan 8, 2026

Add support for the Assembly Mapping Object

@AnJoha AnJoha requested review from cldhms and Copilot January 8, 2026 10:47
Copy link

Copilot AI left a 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.

AnJoha and others added 5 commits January 8, 2026 15:16
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>
@AnJoha AnJoha requested review from cldhms and Copilot January 8, 2026 15:21
Copy link

Copilot AI left a 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants