-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson_options.txt
37 lines (33 loc) · 1.6 KB
/
meson_options.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# SPDX-License-Identifier: BSD-3-Clause
option(
'chip', type: 'combo', description: 'Which chip you wish to target', choices:
[
'unknown',
'tm4c123gh6pm',
'stm32f1',
'stm32h7',
'atxmega256a3u'
]
)
option('interfaces', type: 'integer', min: 1, max: 32, value: 1,
description: 'The number of interfaces you need')
option('endpoints', type: 'integer', min: 0, max: 7, value: 0,
description: 'The number of endpoints you use (excluding EP0)')
option('epBufferSize', type: 'integer', min: 8, max: 64, value: 64,
description: 'How big a buffer to use for endpoint data')
option('configDescriptors', type: 'integer', min: 1, max: 8, value: 1,
description: 'How many configuration descriptors you have')
option('ifaceDescriptors', type: 'integer', min: 1, max: 32, value: 1,
description: 'How many interface descriptors you have')
option('endpointDescriptors', type: 'integer', min: 0, max: 64, value: 0,
description: 'How many endpoint descriptors you have')
option('strings', type: 'integer', min: 0, max: 255, value: 0,
description: 'How many string you have that need sending over USB')
option('drivers', type: 'array', value: [], description: 'Which drivers you wish to enable',
choices: ['dfu'])
option('dfuFlashPageSize', type: 'integer', min: 0, max: 8192, value: 0,
description: '[DFU] How big a Flash page is on the device')
option('dfuFlashBufferSize', type: 'integer', min: 0, max: 8192, value: 0,
description: '[DFU] How big the Flash write buffer is on the device')
option('dfuFlashEraseSize', type: 'integer', min: 0, max: 8192, value: 0,
description: '[DFU] How big a Flash erase page is on the device')