npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@mchp-mcc/scf-pic8-crc-v5

v1.0.0

Published

MCC PLIB Module

Downloads

128

Readme

SCF Auto-Module Workflow

Prerequisites:

  • Download & Install nodejs

  • Download & Install yarn (Depends on Node.js)

  • Download & Install JRE 8u201 (We have tested with 8u201, but it will probably work with others if you have a newer version.)

  • Setup node, yarn, & java in enviroment path

  • Download & Install a Code Editor. We are using VSCode

  • Run the following commands to set your registry to our internal artifactory server. This only needs to be done once per machine:

    • yarn config set registry https://artifacts.microchip.com/artifactory/api/npm/npm/
    • npm config set registry https://artifacts.microchip.com/artifactory/api/npm/npm/

Setup

  • cd to the project root
  • run the following commands:
    • yarn install
      • this downloads all of the project dependencies to your machine
    • yarn build-run-dir
      • this builds a run directory in your project
      • if download fails, checkout and build Scripted Content Framework and copy the generated run folder to your project's root directory

Hardware Module

  • A hardware file should already be created in the next step as long as you followed the prompts when running create scf-module, but in case you need to add a peripheral later follow the next step:
  • create a file called peripheral.json in the src directory. Place a JSON object copied from the device and peripheral you wish to use for this project

Compile & Build

  • yarn create-auto-module
    • Generates a moduleConfig.json file and creates a set of files in the generated_module directory specific to the data in src/peripheral.json. -moduleConfig.json can now be modified to customize your project.
  • yarn build
    • Builds the project and distributes the output files to the run directory. This also runs create-auto-module as part of the build process
  • yarn start
    • Creates a watcher on the project that detects changes in the source files. When a change is detected, a short compilation is performed and the new files are distributed. It is intended to speed up the design process.
  • In a different terminal open MCC by running ./launch on unix / linux or ./launch.bat on windows. Update the default device indicated in the launch file to your desired device. Under Device Resources you should see your module.

Unit Tests

  • yarn test
    • Triggers all the unit test cases specified by any file ending in .test.ts
    • Unit test report is available at coverage/lcov-report/index.html

Changelog

All notable changes to this project will be documented in this file.

[1.0.0] - 2023-12-20

New Features

  • CC8SCRIP-16438 :- scf-pic8-crc-v5 - interface import/export updates