@iitm_shakti/devices

An xPack with the µOS++ support for the Shakti devices

Usage no npm install needed!

<script type="module">
  import iitmShaktiDevices from 'https://cdn.skypack.dev/@iitm_shakti/devices';
</script>

README

To Do

Shakti device specific files

This project provides support for Shakti RISC-V based microcontrollers.

Developer info

This section is intended to developers who plan to include this library in their own projects.

Prerequisites

A recent xpm, which is a portable Node.js command line application.

Compiling the source code requires a modern C++ compiler, preferably GCC 5 or higher.

Easy install

This package is available as @iitm_shakti/devices from the npmjs.com registry; with xpm available, installing the latest version of the package is quite easy:

$ xpm install @iitm_shakti/devices

This package is also available from GitLab:

$ git clone https://gitlab.com/shaktiproject/software/shakti-devices-xpack.git shakti-devices-xpack.git

How to use

The standard way to include the device files is

#include <micro-os-plus/device.h>

Macros

  • SHAKTI_CARTY100T
  • SHAKTI_EARTY35T

Known problems

  • the os_terminate() function is not fully implemented, it must use either the Watchdog or PMU+RTC to trigger a system reset.

Maintainer info

How to publish

  • commit all changes
  • update CHANGELOG.md; commit with a message like CHANGELOG: prepare v0.1.2
  • npm version patch
  • push all changes to GitLab
  • npm publish

License

TODO