bmbuildkit
No long description provided.
Installation
dagger install github.com/BondMachineHQ/BMBuildkit-dagger@1fb7648617bdb35c87f0e24fde4aeeaf91d95266
Entrypoint
Return Type
Bmbuildkit
Example
func (m *myModule) example() *Bmbuildkit {
return dag.
Bmbuildkit()
}
Types
Bmbuildkit đź”—
build() đź”—
example usage: “dagger call build –device-spec lattice/ice40/yosys –target dciangot/my_fpga_firmware:v1 –context ./examples/blinky/ice40 “
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
deviceSpec | StringKind ! | - | No description provided |
target | StringKind ! | - | No description provided |
contextDir | Directory ! | - | No description provided |
imageRef | StringKind | - | No description provided |
push | BooleanKind | - | No description provided |
appendManifest | BooleanKind | - | No description provided |
Example
func (m *myModule) example(deviceSpec , target , contextDir ) {
return dag.
Bmbuildkit().
Build(deviceSpec, target, contextDir)
}
push() đź”—
example usage: “dagger call push –target dciangot/my_fpga_firmware:v1 –firmware ./examples/blinky/ice40/firmware.bin –bring-context ./examples/blinky/ice40 –device-spec lattice/ice40/yosys”
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
firmware | File ! | - | No description provided |
deviceSpec | StringKind ! | - | No description provided |
target | StringKind ! | - | No description provided |
bringContext | Directory ! | - | No description provided |
appendManifest | BooleanKind | - | No description provided |
Example
func (m *myModule) example(firmware , deviceSpec , target , bringContext ) {
return dag.
Bmbuildkit().
Push(firmware, deviceSpec, target, bringContext)
}