Update host_development firmware docs

pull/1093/head
Connor Rigby 2019-12-26 09:31:40 -08:00
parent 2de6c11a66
commit 0bc7001cbd
No known key found for this signature in database
GPG Key ID: 29A88B24B70456E0
1 changed files with 19 additions and 0 deletions

View File

@ -17,6 +17,25 @@ mix compile --force
```
If you're device moves ttys, you will have to redo this step.
Make sure the correct firmware is selected in the frontend. This
value is completely ignored when the `none` option is selected on
the Devices panel.
To check the currently running firmware handler, from a running fbos instance
for the correct `transport` and correct `device` in it's args:
```elixir
iex()> :sys.get_state(FarmbotFirmware)
%FarmbotFirmware{
#...
transport: FarmbotFirmware.UARTTransport,
transport_args: [
handle_gcode: #Function<1.52136448/1 in FarmbotFirmware.handle_call/3>,
device: "ttyUSB0"
]
#...
}
```
## Configurator