pico]OS  1.0.4
Macros
Nano Layer Port
Configuration: Pico Layer

Macros

#define NOSCFG_STACK_GROWS_UP   0
#define NOSCFG_DEFAULT_STACKSIZE   2048
#define NOSCFG_CONOUT_HANDSHAKE   0
#define NOSCFG_CONOUT_FIFOSIZE   256

Detailed Description

This section is used to configure port dependent settings for the nano layer. (file port.h)


Macro Definition Documentation

#define NOSCFG_CONOUT_FIFOSIZE   256

Set the size of the console output FIFO. If NOSCFG_CONOUT_HANDSHAKE is enabled, a FIFO buffer can be used to speed up console output and to reduce CPU usage. This option is useful when console output is done through a serial line that does not have a hardware FIFO. To enable the FIFO, set this define to the FIFO size in bytes. A zero will disable the FIFO buffer.

#define NOSCFG_CONOUT_HANDSHAKE   0

Enable generic console output handshake. Please see description of function c_nos_putcharReady for details.

#define NOSCFG_DEFAULT_STACKSIZE   2048

Set the default stack size. If the functions nosTaskCreate or nosInit are called with a stack size of zero, this value is taken as the default stack size.

#define NOSCFG_STACK_GROWS_UP   0

Set the direction the stack grows. When the processor stack grows from bottom to top, this define must be set to 1. On platforms where the stack grows from top to bottom, this define must be set to 0.