5 Creating and Editing a Schematic Macro Component - noeldiviney/P5LP_Development_repo GitHub Wiki

Creating and Editing a Schematic Macro Component

  • Issue a "repo sync" from ~/projects/P5LP directory

  • Navigate to the Schematic Macro Libray

$ git checkout master
 Switched to branch 'master'
 Your branch is up to date with 'ND_P5LP_Sch_Macro_lib/master'.
  • Launch PSoC Creator and open "ND_P5LP_Sch_Macro_lib"

  • In the Project Explorer window right click on the "Project"

  • Select "Add Component item"

  • In the "Add Component item" dialog select "Add blank schematic" and enter Component Name

  • Select "Create New"

  • Populate the schematic with the desired Components using drag’n drop from Component Catalog

  • When finished use the "Select" btn to group all the Components

  • Right click on the selection and select "Generate Macro"

  • Select the new ".cymacro" tab and right click on the canvas to select "Properties"

  • Navigate to the "Doc.CatalogPlacement" line and select the "…​" btn

  • Define where the schematic Macro will be listed in the "Component Catalog"

  • In cygwin64 terminal use git to add the changes

  • git status will prompt what is required

git status
  • Issue git push and follow the prompt to push the changes to Github

  • Issue a "repo sync" fetch the changed libraries

All done Back to PSoC Creator to check the Component Catalog to confirm

⚠️ **GitHub.com Fallback** ⚠️