Matt Johnston | 6586fc1 | 2024-09-10 16:01:27 +0800 | [diff] [blame] | 1 | option( |
| 2 | 'tests', |
| 3 | type: 'feature', |
| 4 | value: 'enabled', |
| 5 | description: 'Build tests' |
| 6 | ) |
| 7 | option( |
| 8 | 'bindings', |
| 9 | type: 'array', |
| 10 | description: 'Bindings to include', |
Matt Johnston | e5b941d | 2024-09-17 16:44:38 +0800 | [diff] [blame] | 11 | choices: ['serial', 'astlpc', 'i2c'], |
| 12 | value: ['serial', 'astlpc', 'i2c'], |
Matt Johnston | 6586fc1 | 2024-09-10 16:01:27 +0800 | [diff] [blame] | 13 | ) |
| 14 | option( |
| 15 | 'default_alloc', |
| 16 | type: 'feature', |
| 17 | description: 'Use libc malloc and free for heap memory', |
| 18 | ) |
| 19 | option( |
| 20 | 'stdio', |
| 21 | type: 'feature', |
| 22 | description: 'Support logging to stdio', |
| 23 | ) |
| 24 | option( |
| 25 | 'fileio', |
| 26 | type: 'feature', |
| 27 | description: 'Support interfaces based on file-descriptors', |
| 28 | ) |
| 29 | option( |
| 30 | 'syslog', |
| 31 | type: 'feature', |
| 32 | description: 'Support logging to syslog', |
| 33 | ) |
Matt Johnston | bbfcc6e | 2024-09-17 16:48:15 +0800 | [diff] [blame] | 34 | option( |
| 35 | 'custom_alloc', |
| 36 | type: 'boolean', |
| 37 | value: false, |
| 38 | description: 'Use fixed application-provided allocators', |
| 39 | ) |
Matt Johnston | 1250727 | 2024-10-01 12:17:19 +0800 | [diff] [blame] | 40 | option( |
| 41 | 'nolog', |
| 42 | type: 'boolean', |
| 43 | value: false, |
| 44 | description: 'Don\'t include any logging functionality', |
| 45 | ) |