Installing PSoC 5LP Components Library - noeldiviney/P5LP_Comp_repo GitHub Wiki

Create the PSoC_5LP directory

$: mkdir -p ~/projects/P5LP/ComponentsDev
$: cd projects/P5LP/ComponentsDev

Initialise the repositories for PSoC_5LP Components

$: repo init -u https://github.com/noeldiviney/P5LP_Comp_repo

Download the PSoC_5LP Component Libraries

$: repo sync
  • once this has completed you should have PSoC_5LP Component Libraries in place

Component Libs

Configure PSoC Creator to add the CDC Component libraries

  • Launch PSoC Creator

  • select "Tools→Options"

  • Setup the "Options" dialog as per the following image

Options Dialog
  • Ensure that "Projects Location" shows ~\projects\P5LP\ComponentsTest"

  • Now select "Project Management→Default Dependencies"

  • Navigate to "~\projects\P5LP\ComponentsDev"

  • Use the "New Entry" button to find and "open" each Libratiy’s .cyprj file

When finished the "Project Management→Default Dependencies" dialog should look like the following

Default Dependencies
  • When finished press "Ok" to close the dialog

Create "Empty Schematic" project

  • Use "File→New→Project" to launch the "Create Project" dialog

  • Select "Target device"

  • Select "PSoC 5LP" and "CY8C5888LTQ-LP097" and "next" btn

  • Select "Empty Schematic" and "next" btn

  • Select "Finish" btn to launch the new project

  • In "Project Explorer" Window double click on the "TopDesign.cysch"

  • In the "Component Catalog" window on the right select "CDC" tab

The "Component Catalog" tree should look like

Component Catalog

#* Editing the Components in ~projects/P5LP/ComponentsDev

  • After using "Repo sync" to fetch all the librarys
    "Git status" shows that they are detached which means they are unsuitable for git add, git commit etc
    To get around this it is necessary to use the following Git commands.

$: git checkout master   or whatever branch one wishes to use
$: git commit -a
$: git push https://github.com/noeldiviney/CharLCD_I2C_Test.git  (in my case)
⚠️ **GitHub.com Fallback** ⚠️