Skip to content

renesas/indexrepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Introduction

Index Repo for Packs Produced by Renesas for use with cpackget provided by Open-CMSIS-Toolbox. See GitHub-hosted Packs in the Open-CMSIS-Pack specification

Using this index Repo

  1. Create a folder called cpackget-test.
  2. In powershell run the init command with a new pack root folder
.\cpackget.exe init --pack-root <path-to>\cpackget-test  https://github.com/renesas/indexrepo/raw/main/renesas.pidx -v

When successful, you should see the following as a part of the output.

D: Downloading https://github.com/renesas/indexrepo/raw/main/renesas.pidx to <path-to>\cpackget-test
...
D: Registring "Renesas.Button.6.4.0"
D: Copying file from "<path-to>\cpackget-test\.Download\renesas.pidx" to "<path-to>\cpackget-test\.Web\index.pidx"
...
  1. List installed packs using the command
.\cpackget.exe list -p -R <path-to>\cpackget-test

When successful, you should see the following as a part of the output.

I: Listing packs from the public index
...
I: Renesas::Button@6.4.0
...
  1. Add desired Open-CMSIS-Pack packages using the command
.\cpackget.exe add Renesas::Button@6.4.0 -R <path-to>\cpackget-test

When successful, you should see the following as a part of the output.

...
I: Adding pack "Renesas::Button@6.4.0"
I: Downloading Renesas.Button.6.4.0.pack...
...

As noted on the README of cpackget, cpackget will determine the pack root folder based on the Operating System and user environment.

This "default mode" enables a fast bootstrapping process, as cpackget will detect the presence of the public index file .Web/index.pidx in the default pack root and if it's missing, automatically populates/initializes it using the current index reference. This is the equivalent of running cpackget init https://www.keil.com/pack/index.pidx.

Finally, to change the pack root folder use command below, or it's equivalent for your environment.

$env:CMSIS_PACK_ROOT = path\to\pack-root

About

Experimental! Delivery Mechanism for Software Packs by Renesas. Repository for the PIDX file for Renesas per Open-CMSIS-Pack specification.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors