Crate loadstone_config

Crate loadstone_config 

Source
Expand description

This loadstone sub-crate contains all definitions to help generate final loadstone binaries.

NOTE: This code is not included anywhere from Loadstone itself! This is a dependency of the Loadstone build script. The build script uses this dependency to help generate the code that Loadstone includes (things like feature flags, memory map configuration, etc).

Modules§

codegen
Generates code from parsed .ron configuration. This is where concrete Loadstone modules are constructed from user configuration gathered from the web app GUI.
features
memory
pins
port
security

Macros§

KB
Helper macro for kilobytes in any type (simply multiplies by 1024).

Structs§

Configuration
Defines all configuration for a “codegen” loadstone port. This struct is meant to be modified live by the loadstone_front GUI, then serialized into a .ron file, which will be read by the loadstone build.rs script and turned into the port source.

Enums§

RequiredConfigurationStep
Configuration steps that may be required to properly define a loadstone binary.