BMBuildkit
No long description provided.
Installation
dagger install github.com/BondMachineHQ/BMBuildkit-dagger@08f270c85baa82bedc92bc5f393d12a520519123
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
dagger -m github.com/BondMachineHQ/BMBuildkit-dagger@08f270c85baa82bedc92bc5f393d12a520519123 call \
build
func (m *myModule) example(deviceSpec , target , contextDir ) {
return dag.
BMBuildkit().
Build(deviceSpec, target, contextDir)
}
@function
def example(device_spec: , target: , context_dir: ) -> :
return (
dag.b_m_buildkit()
.build(device_spec, target, context_dir)
)
@func()
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
dagger -m github.com/BondMachineHQ/BMBuildkit-dagger@08f270c85baa82bedc92bc5f393d12a520519123 call \
push
func (m *myModule) example(firmware , deviceSpec , target , bringContext ) {
return dag.
BMBuildkit().
Push(firmware, deviceSpec, target, bringContext)
}
@function
def example(firmware: , device_spec: , target: , bring_context: ) -> :
return (
dag.b_m_buildkit()
.push(firmware, device_spec, target, bring_context)
)
@func()
example(firmware: , deviceSpec: , target: , bringContext: ): {
return dag
.bMBuildkit()
.push(firmware, deviceSpec, target, bringContext)
}