/murasaki_samples

Sample programs of the Murasaki Class library

Primary LanguageCMIT LicenseMIT

Sample programs of Murasaki Class library

A set of the Murasaki class library sample program which runs on ST Micro Nucleo boards.

Talbe of Contents

Description

This repogitory contains the sample programs for Nucleo 64 and 144

The samples programs demonstrate following functionality :

  • GPIO output
  • Interrupt and Task synchronization
  • Task
  • I2C master
  • Printf() functionality

Once started, the program prints out a message to the serial terminal and blinks the LED on the Nucleo board. The serial terminal specification is :

  • 115200baud
  • 8bit
  • None parity
  • 1 stop bit

When a user push a user button (blue button) on the Nucleo board, it raises an EXTI interrupt, and this interrupt releases a task to search for I2C.

The demonstration on the Nucleo 32 is just a blinking LED.

What's new

Adapted to Murasaki v4.0.0.

Test environment

Supported target

Known issue : At the point of the Jul/07/2023, following target doesn't work correctly.

  • Nucleo L152RE : The bug in the CubeIDE 1.12 prevents to build the EXTI class. See the report .

Where to get

The Murasaki Samples can be obtained from Github project page

Install

Clone the repository

Run the following command on the shell window to clone the git repository of the Murasaki Samples. Note: Do not clone the repository into the Eclipse workspace. The repository must be located at an independent path.

git clone --recursive git@github.com:suikan4github/murasaki_samples.git

Import project from git

You have to import a desired project from the cloned repository. Again, the workspace of the SW4STM32 must be located other place from the cloned repository.

First. From the Menu bar, Chose File->Import. Then, select the "Projects from Git", and click "Next" button.

Choose Projects from Git

Select Repository Source

Select the "Existing local repository" and click "Next".

Chose Existing local repository

Select a Git Repository

You don't have the murasaki_samples repository for the first time. So, click the "Add..." button.

No murasaki_samples repository at this moment

Search and select Git repositories on your local file system

To identify the repository directory, click the "Browse..." button and chose the cloned repository. Then, select the murasaki_samples in the search results.

And click "Next"

Search the repository and select

Select a Git Repository

We are back again. Now, select the "murasaki_samples", then click "Next".

Choose a murasaki_sample

Select a wizard to use for importing project

Select the "import existing Eclipse projects" radio button. Then, select the desired project to import. Then click.

Now, you are ready to import. Follow the instructions.

Chose a project to import

License

The Murasaki Sample programs are distributed under MIT License

Author

Seiichi "Suikan" Horie