modm-io / lbuild

lbuild: a generic, modular code generator in Python 3
https://pypi.org/project/lbuild
BSD 2-Clause "Simplified" License
37 stars 12 forks source link

Better formatting of inputs for NumericOption #35

Closed salkinium closed 5 years ago

salkinium commented 5 years ago

Prints the input string in the description.

Examples:

>>> modm:tlsf:minimum_pool_size  [NumericOption]

Minimum pool size in byte

Value: 2**19 (524288)
Inputs: [2**12 .. 2**19 .. 2**29]
Module(modm:platform:cortex-m)   ARM Cortex-M Core
├── NumericOption(linkerscript.flash_offset) = 0 in [0 ... 0x40000]   Add an offset to the default start address o ...
╰── NumericOption(main_stack_size) = 3040 in [256 .. 3040 .. 2**16]   Minimum size of the application main stack

cc @dergraaf