Add a New File Into the Project to Contain the Stub Function Code
Add a New File Into the Project to Contain the Stub Function Code

Add a New File Into the Project to Contain the Stub Function Code

  1. Create a new empty
    .c
    file in the
    ProjectFolder/Drivers/BSP/Feature
    .
    For example:
    vendor_stubfn.c
    The Drivers/BSP/Feature folder is associated with the Feature Group – displayed in IAR Workbench IDE. When done it should look like the following:
  2. Add a new file in the Feature Group by right-clicking
    Feature
    within IAR Workbench IDE.
  3. Select
    Add
    >
    Add Files
    .
  4. Select the file that you introduced. (
    vendor_stubfn.c
    )
    When done your IDE Should show the new file.