Matt Johnston | 6586fc1 | 2024-09-10 16:01:27 +0800 | [diff] [blame] | 1 | option( |
| 2 | 'bindings', |
| 3 | type: 'array', |
| 4 | description: 'Bindings to include', |
Matt Johnston | e5b941d | 2024-09-17 16:44:38 +0800 | [diff] [blame] | 5 | choices: ['serial', 'astlpc', 'i2c'], |
| 6 | value: ['serial', 'astlpc', 'i2c'], |
Matt Johnston | 6586fc1 | 2024-09-10 16:01:27 +0800 | [diff] [blame] | 7 | ) |
| 8 | option( |
Matt Johnston | b04447c | 2025-09-18 15:51:04 +0800 | [diff] [blame^] | 9 | 'control', |
| 10 | type: 'boolean', |
| 11 | value: true, |
| 12 | description: 'Include MCTP control protocol handler', |
Matt Johnston | 6586fc1 | 2024-09-10 16:01:27 +0800 | [diff] [blame] | 13 | ) |
Matt Johnston | bbfcc6e | 2024-09-17 16:48:15 +0800 | [diff] [blame] | 14 | option( |
| 15 | 'custom_alloc', |
| 16 | type: 'boolean', |
| 17 | value: false, |
| 18 | description: 'Use fixed application-provided allocators', |
| 19 | ) |
Matt Johnston | 1250727 | 2024-10-01 12:17:19 +0800 | [diff] [blame] | 20 | option( |
Matt Johnston | b04447c | 2025-09-18 15:51:04 +0800 | [diff] [blame^] | 21 | 'default_alloc', |
| 22 | type: 'feature', |
| 23 | description: 'Use libc malloc and free for heap memory', |
| 24 | ) |
| 25 | option( |
| 26 | 'default_clock_gettime', |
| 27 | type: 'boolean', |
| 28 | value: true, |
| 29 | description: 'Use clock_gettime() for time', |
| 30 | ) |
| 31 | option( |
| 32 | 'fileio', |
| 33 | type: 'feature', |
| 34 | description: 'Support interfaces based on file-descriptors', |
| 35 | ) |
| 36 | option( |
Matt Johnston | 1250727 | 2024-10-01 12:17:19 +0800 | [diff] [blame] | 37 | 'nolog', |
| 38 | type: 'boolean', |
| 39 | value: false, |
| 40 | description: 'Don\'t include any logging functionality', |
| 41 | ) |
Matt Johnston | b04447c | 2025-09-18 15:51:04 +0800 | [diff] [blame^] | 42 | option('stdio', type: 'feature', description: 'Support logging to stdio') |
| 43 | option('syslog', type: 'feature', description: 'Support logging to syslog') |
| 44 | option('tests', type: 'feature', value: 'enabled', description: 'Build tests') |
| 45 | |
| 46 | |
Matt Johnston | 4058b2c | 2024-11-07 14:53:50 +0800 | [diff] [blame] | 47 | option( |
Matt Johnston | b04447c | 2025-09-18 15:51:04 +0800 | [diff] [blame^] | 48 | 'max_message_size', |
| 49 | type: 'integer', |
| 50 | value: 65536, |
| 51 | description: 'Maximum message size', |
| 52 | ) |
| 53 | option( |
| 54 | 'reassembly_contexts', |
| 55 | type: 'integer', |
| 56 | value: 16, |
| 57 | description: 'Number of concurrent reassembly contexts', |
| 58 | ) |
| 59 | option( |
| 60 | 'request_tags', |
| 61 | type: 'integer', |
| 62 | value: 16, |
| 63 | description: 'Number of outbound request tags', |
| 64 | ) |
| 65 | |
| 66 | |
| 67 | option('i2c_mtu', type: 'integer', value: 64, description: 'I2C packet MTU') |
| 68 | option( |
| 69 | 'i2c_neigh_count', |
| 70 | type: 'integer', |
| 71 | value: 4, |
| 72 | description: 'I2C neighbour table size', |
Matt Johnston | 4058b2c | 2024-11-07 14:53:50 +0800 | [diff] [blame] | 73 | ) |