BSPACM  20150113
Board Support Package for ARM Cortex-M Microcontrollers
Macros
config.h File Reference

Application/board-specific header. More...

#include <bspacm/appconf.h>

Go to the source code of this file.

Macros

#define BSPACM_CONFIG_ENABLE_UART   0
 
#define BSPACM_CONFIG_DEFAULT_UART_TX_BUFFER_SIZE   32
 
#define BSPACM_CONFIG_DEFAULT_UART_RX_BUFFER_SIZE   8
 

Detailed Description

Application/board-specific header.

This file is a wrapper that provides fallback definitions for the <bspacm/appconf.h> must exist somewhere in the application, board, or device include hieararchies. The purpose of these two files is to control the features of the application-specific periph_config.c file, which provides infrastructure for generic access to resources such as UARTs and interrupt demultiplexers.

Nothing in this file is permitted to affect the compilation of material that is not application-specific.

Homepage
http://github.com/pabigot/bspacm

Macro Definition Documentation

#define BSPACM_CONFIG_DEFAULT_UART_RX_BUFFER_SIZE   8

The size of the receive buffer for the default UART device.

This may be set to zero if it is ok that iBSPACMperiphUARTread() always fail.

Defaulted:
The value here is superseded by previously encountered definitions.
Dependency:
BSPACM_CONFIG_ENABLE_UART
#define BSPACM_CONFIG_DEFAULT_UART_TX_BUFFER_SIZE   32

The size of the transmit buffer for the default UART device.

This may be set to zero to prevent interrupt-driven transmission.

Defaulted:
The value here is superseded by previously encountered definitions.
Dependency:
BSPACM_CONFIG_ENABLE_UART
#define BSPACM_CONFIG_ENABLE_UART   0

Define to a true value to create the data structures and functions that support UART operations on the target board or for the current application.

C Preprocessor Only:
This macro may have a value that restricts its use to C preprocessor conditional directives.
Defaulted:
The value here is superseded by previously encountered definitions.