Contiki 2.6

board.c File Reference

Board file x STM32W108 Kits boards. More...

#include "error.h"
#include "hal/hal.h"
#include "hal/micro/cortexm3/mfg-token.h"
#include <string.h>

Go to the source code of this file.

Functions

void halBoardInit (void)
 Initialize the board description data structure after autodetect of the boards based on the CIB Board name field content.
BoardResourcesType const * halBoardGetDescription (void)
 Return pointer to board description structure.
void halBoardPowerDown (void)
 Perform board specific action to power down the system, usually before going to deep sleep.
void halBoardPowerUp (void)
 Perform board specific action to power up the system.

Detailed Description

Board file x STM32W108 Kits boards.

This file implements a software layer to support all the ST kits boards and deal with the difference in leds, buttons and sensors connected to the board. This a bit too complex for customer boards adaptation and customer can simplify it to adapt it to their hardware environment as they normally don't need to have the software running on several boards. The boards supported are:

  • MB851 A
  • MB851 B
  • MB851 C
  • MB954 A
  • MB954 B
  • MB950 A
  • MB951 A

Definition in file board.c.