Configuring PeakRDL-beam
If using the PeakRDL command line tool,
some aspects of the beam command can be configured via the PeakRDL TOML
file. Any equivalent command-line options will always take precedence.
All BEAM specific options are defined under the [beam] TOML heading.
For example:
[beam]
flavor = "erlang"
bitfields = "ltoh"
- flavor
Select the BEAM languages (
erlangorelixir) that generated output will conform to.
- bitfields
Since the packing order of bit syntax is implementation defined, the packing order must be explicitly specified as
ltohorhtol.