Llosa de Viango Tollos – primer2 library

Introduction

Features

Getting started

Download


Libraries

  Tollos libraries

  Device libraries

    boards

    microcontrollers

    peripherals


Background

  Sample application

  Troubleshooting

The library for the Primer2 board from Raisonance and STMicroelectronics comprises:

  • the primer2.ld link script, which defines the configuration of the microcontroller
  • the debug module, which provides the ‘glue’ for the Tollos debug function
  • the LED module, which provides the ‘glue’ for controlling the two on-board LEDs.

Functions that are not determined by the board but by the microcontroller that is on the board – for example, GPIO – are provided by the microcontroller library for the STM32F103VE chip used on the board.

Debug module

These functions effect I/O for the debug device (USB Virtual COM port).

See pri2Debug for details.

  • debugGetcIO – get character from debug device/terminal
  • debugInitIO – initialize debug device (will be called before first Getc or Putc)
  • debugPutcIO – put character to debug device

LED module

This function carries out the I/O for the on-board LEDs (if any).

See pri2LED for details.

  • ledIO – clear, set, invert, or query a system LED

Tollos and these web pages were written by Mike Cowlishaw; Please send me any corrections, suggestions, etc.
All content © Mike Cowlishaw, 2010–2012, except where marked otherwise. All rights reserved. The pages here are for non-commercial use only (see the separate licence for Tollos source code). Privacy policy: the Speleotrove website records no personal information and sets no ‘cookies’. However, statistics, etc. might be recorded by the web hosting service.

This page was last updated on 2010-12-17 by mfc.