pico]OS
1.0.4
|
Macros | |
#define | POSCFG_FASTCODE 1 |
#define | POSCFG_SMALLCODE 1 |
#define | POSCFG_ARGCHECK 1 |
#define POSCFG_ARGCHECK 1 |
Function argument checking. There are three methods of argument checking:
Type 0
Don't do any argument checking. This speeds up the code but corrupted parameters would not be detected and could crash the system. This is only recommandet for well tested embedded systems.
Type 1
Do a minimum set of argument checking. For example, NULL pointers will be detected. This is recommanded for a release version of the operating system.
Type 2
Do the full set of argument checking, including magic number tests in internal data structures. This is the recommanded setting for a debug version of the operating system.
#define POSCFG_FASTCODE 1 |
Configure code speed. Set this define to 1 to get a fast code. Very much code lines are then inlined instead of doing subroutine calls. Note that the fastest possible code is generated when also the define POSCFG_SMALLCODE is set to 0.
#define POSCFG_SMALLCODE 1 |
Configure code size. Set this define to 1 to get a small code. This only touches some pico]OS features, so expect not too much. Note that the smallest possible code is generated when also the define POSCFG_FASTCODE is set to 0.