Compile-time configuration flags and utility macros for SPP. More...
Go to the source code of this file.
Macros | |
| #define | SPP_NO_MALLOC 0 |
| Disable dynamic memory allocation (malloc/free). | |
| #define | SPP_NO_STORAGE 0 |
| Disable SD card / filesystem storage support. | |
| #define | K_SPP_DATABANK_SIZE (50U) |
| Number of packets in the static databank pool. | |
Compile-time configuration flags and utility macros for SPP.
Feature flags follow the pattern SPP_NO_<FEATURE> — define them to 1 (e.g. in your CMakeLists.txt) to disable the corresponding feature and reduce code size on constrained targets.
Naming conventions used in this file:
Definition in file macros.h.
| #define SPP_NO_MALLOC 0 |
| #define SPP_NO_STORAGE 0 |
| #define K_SPP_DATABANK_SIZE (50U) |
Number of packets in the static databank pool.
Definition at line 49 of file macros.h.
Referenced by SPP_SERVICES_DATABANK_init(), and SPP_SERVICES_DATABANK_returnPacket().