generated from saji/ecp5-template
53 lines
1.5 KiB
TOML
53 lines
1.5 KiB
TOML
# Groovylight configuration base file.
|
|
# make your edits using this, at the moment the defaults are not stored
|
|
# in the program so every value must be specified.
|
|
|
|
|
|
[hardware]
|
|
# The target platform.
|
|
# Valid options: "cxxrtl", "colorlight"
|
|
type = "cxxrtl"
|
|
|
|
# hardware-specific options, these are gently parsed i.e extra options are ignored.
|
|
# colorlight options
|
|
|
|
# Maps the strings array onto the colorlight connectors.
|
|
# it's fine (but will raise a warning) if the list is longer than the number of strings.
|
|
stringmapping = [ "J1", "J2", "J3", "J4", "J5", "J6", "J7", "J8" ]
|
|
|
|
# cxxrtl options
|
|
|
|
|
|
[network]
|
|
# Network port to listen on for UDP datagrams.
|
|
port = 9999
|
|
|
|
# IPv4 address to use for the Ethernet port.
|
|
# This setting is ignored for CXXRTL.
|
|
# 'dhcp' will get the IP at runtime.
|
|
ip = "dhcp" # Can also be e.g. "192.168.0.123"
|
|
|
|
[display]
|
|
strict = true # allows some wacky configurations, like panels that overlap.
|
|
|
|
[[display.strings]]
|
|
position = { x = 31, y = 0 }
|
|
dimensions = { width = 256, height = 64 }
|
|
rotation = "UPDOWN"
|
|
[[display.strings]]
|
|
position = { x = 32, y = 0 }
|
|
dimensions = { width = 256, height = 64 }
|
|
rotation = "LEFTRIGHT"
|
|
[[display.strings]]
|
|
position = { x = 32, y = 64 }
|
|
dimensions = { width = 256, height = 64 }
|
|
rotation = "LEFTRIGHT"
|
|
[[display.strings]]
|
|
position = { x = 32, y = 128 }
|
|
dimensions = { width = 256, height = 64 }
|
|
rotation = "LEFTRIGHT"
|
|
[[display.strings]]
|
|
position = { x = 32, y = 192 }
|
|
dimensions = { width = 256, height = 64 }
|
|
rotation = "LEFTRIGHT"
|