pico]OS  1.0.4
Macros
Abstracted Functions
Configuration: Nano Layer

Macros

#define NOSCFG_FEATURE_TASKCREATE   1
#define NOSCFG_FEATURE_SEMAPHORES   POSCFG_FEATURE_SEMAPHORES
#define NOSCFG_FEATURE_MUTEXES   POSCFG_FEATURE_MUTEXES
#define NOSCFG_FEATURE_MSGBOXES   POSCFG_FEATURE_MSGBOXES
#define NOSCFG_FEATURE_FLAGS   POSCFG_FEATURE_FLAGS
#define NOSCFG_FEATURE_TIMER   POSCFG_FEATURE_TIMER

Detailed Description


Macro Definition Documentation

#define NOSCFG_FEATURE_FLAGS   POSCFG_FEATURE_FLAGS

Include flags functions. If this definition is set to 1, the nano layer flag functions are added to the user API. The nano layer supports named flags and other extended flag features.

#define NOSCFG_FEATURE_MSGBOXES   POSCFG_FEATURE_MSGBOXES

Include nano layer message box functions. If this definition is set to 1, the message box functions are added to the user API.

#define NOSCFG_FEATURE_MUTEXES   POSCFG_FEATURE_MUTEXES

Include nano layer mutex functions. If this definition is set to 1, the nano layer mutex functions are added to the user API. The nano layer supports named mutexes and other extended mutex features.

#define NOSCFG_FEATURE_SEMAPHORES   POSCFG_FEATURE_SEMAPHORES

Include nano layer semaphore functions. If this definition is set to 1, the nano layer semaphore functions are added to the user API. The nano layer supports named semaphores and other extended semaphore features.

#define NOSCFG_FEATURE_TASKCREATE   1

Enable nano task create function. The nano layer supports a highly portable version of the pico]OS's posTaskCreate function. Even if the parameter list of the function posTaskCreate can be different dependent on the platform port, the nano task create function has a fixed parameter list. The second advantage of the nano task create function is the fact that it is able to dynamically allocate the stack frame, making the stack frame just as big the application requires.

Set this define to 1 to enable the nano task create function nosTaskCreate.

Note:
If this define is set to 1, also the feature NOSCFG_FEATURE_MEMALLOC must be enabled on platforms that run with POSCFG_TASKSTACKTYPE = 0.
#define NOSCFG_FEATURE_TIMER   POSCFG_FEATURE_TIMER

Include timer functions. If this definition is set to 1, the nano layer timer functions are added to the user API. The nano layer supports named timers and other extended timer features.